package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Li0 extends AbstractC0706aK implements OC {
    public final /* synthetic */ int m;
    public final /* synthetic */ Mi0 n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ Li0(Mi0 mi0, int i) {
        super(1);
        this.m = i;
        this.n = mi0;
    }

    /* JADX WARN: Type inference failed for: r10v3, types: [o.NC, o.aK] */
    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.m) {
            case 0:
                Mi0 mi0 = this.n;
                mi0.d = true;
                mi0.f.a();
                return Oh0.a;
            default:
                InterfaceC2095ot interfaceC2095ot = (InterfaceC2095ot) obj;
                Mi0 mi02 = this.n;
                C2130pE c2130pE = mi02.b;
                float f = mi02.k;
                float f2 = mi02.l;
                C3126zm0 c3126zm0E = interfaceC2095ot.E();
                long jD = c3126zm0E.D();
                c3126zm0E.x().n();
                try {
                    ((OD) c3126zm0E.m).G(f, f2, 0L);
                    c2130pE.a(interfaceC2095ot);
                    AbstractC2462sn.t(c3126zm0E, jD);
                    return Oh0.a;
                } catch (Throwable th) {
                    AbstractC2462sn.t(c3126zm0E, jD);
                    throw th;
                }
        }
    }
}
