package Y;

import kotlin.jvm.internal.Ref;
import kotlinx.coroutines.sync.Mutex;

/* loaded from: classes.dex */
public final class x {

    /* renamed from: a, reason: collision with root package name */
    public final /* synthetic */ Mutex f2123a;

    /* renamed from: b, reason: collision with root package name */
    public final /* synthetic */ Ref.BooleanRef f2124b;

    /* renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Ref.ObjectRef f2125c;

    /* renamed from: d, reason: collision with root package name */
    public final /* synthetic */ F f2126d;

    public x(Mutex mutex, Ref.BooleanRef booleanRef, Ref.ObjectRef objectRef, F f2) {
        this.f2123a = mutex;
        this.f2124b = booleanRef;
        this.f2125c = objectRef;
        this.f2126d = f2;
    }

    /* JADX WARN: Code restructure failed: missing block: B:50:0x008d, code lost:
    
        if (r10.lock(null, r0) == r1) goto L39;
     */
    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:30:0x00b4 A[Catch: all -> 0x0056, TRY_LEAVE, TryCatch #0 {all -> 0x0056, blocks: (B:27:0x0052, B:28:0x00ac, B:30:0x00b4), top: B:26:0x0052 }] */
    /* JADX WARN: Removed duplicated region for block: B:35:0x00c8  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x0094 A[Catch: all -> 0x00cf, TRY_LEAVE, TryCatch #2 {all -> 0x00cf, blocks: (B:40:0x0090, B:42:0x0094, B:45:0x00d2, B:46:0x00d9), top: B:39:0x0090 }] */
    /* JADX WARN: Removed duplicated region for block: B:45:0x00d2 A[Catch: all -> 0x00cf, TRY_ENTER, TryCatch #2 {all -> 0x00cf, blocks: (B:40:0x0090, B:42:0x0094, B:45:0x00d2, B:46:0x00d9), top: B:39:0x0090 }] */
    /* JADX WARN: Removed duplicated region for block: B:49:0x0072  */
    /* JADX WARN: Removed duplicated region for block: B:8:0x0026  */
    /* JADX WARN: Type inference failed for: r7v3, types: [kotlin.jvm.functions.Function2] */
    /* JADX WARN: Type inference failed for: r8v12, types: [T] */
    /* JADX WARN: Type inference failed for: r8v18 */
    /* JADX WARN: Type inference failed for: r8v8 */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object a(Y.C0090f r9, kotlin.coroutines.jvm.internal.ContinuationImpl r10) {
        /*
            Method dump skipped, instructions count: 222
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: Y.x.a(Y.f, kotlin.coroutines.jvm.internal.ContinuationImpl):java.lang.Object");
    }
}
