package o;

import android.view.Choreographer;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class M5 implements Choreographer.FrameCallback {
    public final /* synthetic */ C2448sg l;
    public final /* synthetic */ OC m;

    public M5(C2448sg c2448sg, N5 n5, OC oc) {
        this.l = c2448sg;
        this.m = oc;
    }

    @Override // android.view.Choreographer.FrameCallback
    public final void doFrame(long j) {
        Object h20;
        try {
            h20 = this.m.g(Long.valueOf(j));
        } catch (Throwable th) {
            h20 = new H20(th);
        }
        this.l.resumeWith(h20);
    }
}
