package o;

import android.view.View;
import java.util.concurrent.atomic.AtomicReference;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class V4 implements InterfaceC0065Cn {
    public final View l;
    public final Ee0 m;
    public final InterfaceC0065Cn n;

    /* renamed from: o, reason: collision with root package name */
    public final AtomicReference f368o = new AtomicReference(null);

    public V4(View view, Ee0 ee0, InterfaceC0065Cn interfaceC0065Cn) {
        this.l = view;
        this.m = ee0;
        this.n = interfaceC0065Cn;
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void a(o.NK r5, o.AbstractC0298Lm r6) {
        /*
            r4 = this;
            boolean r0 = r6 instanceof o.T4
            if (r0 == 0) goto L13
            r0 = r6
            o.T4 r0 = (o.T4) r0
            int r1 = r0.q
            r2 = -2147483648(0xffffffff80000000, float:-0.0)
            r3 = r1 & r2
            if (r3 == 0) goto L13
            int r1 = r1 - r2
            r0.q = r1
            goto L18
        L13:
            o.T4 r0 = new o.T4
            r0.<init>(r4, r6)
        L18:
            java.lang.Object r6 = r0.f337o
            int r1 = r0.q
            r2 = 1
            if (r1 == 0) goto L2d
            if (r1 == r2) goto L29
            java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
            java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
            r5.<init>(r6)
            throw r5
        L29:
            o.IJ.H(r6)
            goto L4f
        L2d:
            o.IJ.H(r6)
            o.K3 r6 = new o.K3
            r1 = 2
            r6.<init>(r1, r5, r4)
            o.p r5 = new o.p
            r1 = 3
            r3 = 0
            r5.<init>(r4, r3, r1)
            r0.q = r2
            o.z4 r1 = new o.z4
            java.util.concurrent.atomic.AtomicReference r2 = r4.f368o
            r1.<init>(r6, r2, r5, r3)
            java.lang.Object r5 = o.C80.r(r1, r0)
            o.Dn r6 = o.EnumC0091Dn.l
            if (r5 != r6) goto L4f
            return
        L4f:
            o.pj r5 = new o.pj
            r5.<init>()
            throw r5
        */
        throw new UnsupportedOperationException("Method not decompiled: o.V4.a(o.NK, o.Lm):void");
    }

    @Override // o.InterfaceC0065Cn
    public final InterfaceC2747vn i() {
        return this.n.i();
    }
}
