package defpackage;

import java.io.IOException;
import java.util.concurrent.atomic.AtomicReference;

/* JADX INFO: renamed from: ᵖˋᵜ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C2408 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final InterfaceC2389 f9393;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final AtomicReference f9394 = new AtomicReference();

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C1826 f9395;

    public C2408(InterfaceC3822 interfaceC3822, C1826 c1826, InterfaceC2389 interfaceC2389) {
        this.f9395 = c1826;
        this.f9393 = interfaceC2389;
        ᵲᵧˇ.ᵱʡˏ(ˋˀᵧ.ᵲᵶᵳˈ(interfaceC3822), (InterfaceC3822) null, 0, new C2045(this, null, 0), 3);
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final boolean m6127() {
        Long l = m6129().f13650;
        Integer num = m6129().f13652;
        if (l == null || num == null) {
            return true;
        }
        this.f9395.getClass();
        return C1826.m5009().f10292 - l.longValue() >= ((long) num.intValue());
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object m6128(C3564 c3564, AbstractC3500 abstractC3500) {
        C1620 c1620;
        if (abstractC3500 instanceof C1620) {
            c1620 = (C1620) abstractC3500;
            int i = c1620.f6487;
            if ((i & Integer.MIN_VALUE) != 0) {
                c1620.f6487 = i - Integer.MIN_VALUE;
            } else {
                c1620 = new C1620(this, abstractC3500);
            }
        }
        Object obj = c1620.f6485;
        int i2 = c1620.f6487;
        try {
            if (i2 == 0) {
                ᵟˌᵫ.ˊˌˊ(obj);
                InterfaceC2389 interfaceC2389 = this.f9393;
                ˑᵕ r6 = new ˑᵕ(c3564, (InterfaceC2643) null, 19);
                c1620.f6487 = 1;
                Object objMo4450 = interfaceC2389.mo4450(r6, c1620);
                EnumC0111 enumC0111 = EnumC0111.f1384;
                if (objMo4450 == enumC0111) {
                    return enumC0111;
                }
            } else {
                if (i2 != 1) {
                    ᵕᵩʽᵲ.ᵪᵹᵥᵻ("call to 'resume' before 'invoke' with coroutine");
                    return null;
                }
                ᵟˌᵫ.ˊˌˊ(obj);
            }
        } catch (IOException e) {
            e.toString();
        }
        return C5063.f19112;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C3564 m6129() {
        AtomicReference atomicReference = this.f9394;
        if (atomicReference.get() == null) {
            Object obj = ᵲᵧˇ.ˌᵨʠᵫ(C0887.f3911, new C2045(this, null, 1));
            while (!atomicReference.compareAndSet(null, obj) && atomicReference.get() == null) {
            }
        }
        return (C3564) atomicReference.get();
    }
}
