package defpackage;

import android.view.View;
import android.view.ViewGroup;

/* renamed from: ᵲᵬᵮ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4519 extends AbstractC2544 implements InterfaceC3759 {

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public final /* synthetic */ View f16830;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public /* synthetic */ Object f16831;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public int f16832;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C4519(View view, InterfaceC4943 interfaceC4943) {
        super(2, interfaceC4943);
        this.f16830 = view;
    }

    @Override // defpackage.AbstractC1297
    /* renamed from: ˌʾˀ */
    public final InterfaceC4943 mo1245(InterfaceC4943 interfaceC4943, Object obj) {
        C4519 c4519 = new C4519(this.f16830, interfaceC4943);
        c4519.f16831 = obj;
        return c4519;
    }

    @Override // defpackage.InterfaceC3759
    /* renamed from: ᵯٴᵦ */
    public final Object mo1246(Object obj, Object obj2) {
        return ((C4519) mo1245((InterfaceC4943) obj2, (C3625) obj)).mo1109(C3637.f13536);
    }

    @Override // defpackage.AbstractC1297
    /* renamed from: ᵸʓᵠ */
    public final Object mo1109(Object obj) {
        Object obj2;
        int i = this.f16832;
        View view = this.f16830;
        Object obj3 = EnumC3346.f12524;
        if (i == 0) {
            ʼٴ.ᵺᵠ(obj);
            C3625 c3625 = (C3625) this.f16831;
            this.f16831 = c3625;
            this.f16832 = 1;
            c3625.m8226(view, this);
            return obj3;
        }
        Object obj4 = C3637.f13536;
        if (i != 1) {
            if (i == 2) {
                ʼٴ.ᵺᵠ(obj);
                return obj4;
            }
            ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
            return null;
        }
        C3625 c36252 = (C3625) this.f16831;
        ʼٴ.ᵺᵠ(obj);
        if (view instanceof ViewGroup) {
            this.f16831 = null;
            this.f16832 = 2;
            c36252.getClass();
            C2649 c2649 = new C2649(new C0777(3, (ViewGroup) view));
            if (c2649.f10257.hasNext()) {
                c36252.f13513 = c2649;
                c36252.f13511 = 2;
                c36252.f13512 = this;
                obj2 = obj3;
            } else {
                obj2 = obj4;
            }
            if (obj2 != obj3) {
                obj2 = obj4;
            }
            if (obj2 == obj3) {
                return obj3;
            }
        }
        return obj4;
    }
}
