package defpackage;

import java.util.concurrent.atomic.AtomicReference;

/* renamed from: ˎᵙᵽˏ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1748 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final AtomicReference f6972 = new AtomicReference();

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C2103 f6973;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final InterfaceC2715 f6974;

    public C1748(InterfaceC2262 interfaceC2262, C2103 c2103, InterfaceC2715 interfaceC2715) {
        this.f6973 = c2103;
        this.f6974 = interfaceC2715;
        ᵮʛˀ.ᵞʡ(ᵳʿˉ.ᵥᵯˎ(interfaceC2262), (InterfaceC2262) null, 0, new C0239(this, null, 0), 3);
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    /* renamed from: ˏᵙ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object m4965(defpackage.C1306 r5, defpackage.AbstractC1989 r6) {
        /*
            r4 = this;
            boolean r0 = r6 instanceof defpackage.C1135
            if (r0 == 0) goto L13
            r0 = r6
            ˉʟ r0 = (defpackage.C1135) r0
            int r1 = r0.f4870
            r2 = -2147483648(0xffffffff80000000, float:-0.0)
            r3 = r1 & r2
            if (r3 == 0) goto L13
            int r1 = r1 - r2
            r0.f4870 = r1
            goto L18
        L13:
            ˉʟ r0 = new ˉʟ
            r0.<init>(r4, r6)
        L18:
            java.lang.Object r6 = r0.f4872
            int r1 = r0.f4870
            r2 = 0
            r3 = 1
            if (r1 == 0) goto L2c
            if (r1 != r3) goto L26
            ʼٴ.ᵺᵠ(r6)     // Catch: java.io.IOException -> L43
            goto L47
        L26:
            java.lang.String r4 = "call to 'resume' before 'invoke' with coroutine"
            ᵹˉᵞ.ᵳٴᵶ(r4)
            return r2
        L2c:
            ʼٴ.ᵺᵠ(r6)
            ᵛʙᵰ r4 = r4.f6974     // Catch: java.io.IOException -> L43
            ᵛˈᵤ r6 = new ᵛˈᵤ     // Catch: java.io.IOException -> L43
            r1 = 20
            r6.<init>(r5, r2, r1)     // Catch: java.io.IOException -> L43
            r0.f4870 = r3     // Catch: java.io.IOException -> L43
            java.lang.Object r4 = r4.mo1303(r6, r0)     // Catch: java.io.IOException -> L43
            ᵣˊᵛ r5 = defpackage.EnumC3346.f12524
            if (r4 != r5) goto L47
            return r5
        L43:
            r4 = move-exception
            r4.toString()
        L47:
            ᵧˈᵽᵰ r4 = defpackage.C3637.f13536
            return r4
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C1748.m4965(ˊˌː, ːᵱ):java.lang.Object");
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C1306 m4966() {
        AtomicReference atomicReference = this.f6972;
        if (atomicReference.get() == null) {
            Object obj = ᵮʛˀ.ˀᵗᵝᵭ(C4555.f16926, new C0239(this, null, 1));
            while (!atomicReference.compareAndSet(null, obj) && atomicReference.get() == null) {
            }
        }
        return (C1306) atomicReference.get();
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final boolean m4967() {
        Long l = m4966().f5390;
        Integer num = m4966().f5394;
        if (l == null || num == null) {
            return true;
        }
        this.f6973.getClass();
        return C2103.m5692().f16868 - l.longValue() >= ((long) num.intValue());
    }
}
