package defpackage;

import android.net.ConnectivityManager;
import android.net.Network;
import android.net.NetworkCapabilities;

/* JADX INFO: renamed from: ᵡʜ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3184 extends ConnectivityManager.NetworkCallback {

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public static final /* synthetic */ int f12088 = 0;

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

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

    public /* synthetic */ C3184(int i, Object obj) {
        this.f12090 = i;
        this.f12089 = obj;
    }

    public C3184(ˁـᵫ r2) {
        this.f12090 = 0;
        this.f12089 = r2;
    }

    @Override // android.net.ConnectivityManager.NetworkCallback
    public void onAvailable(Network network) {
        switch (this.f12090) {
            case 2:
                ᵽʣᵛᵽ r3 = (ᵽʣᵛᵽ) this.f12089;
                if (r3.f13046 != null) {
                    ᵲᵧˇ.ᵱʡˏ(ᵕᵛ.ˈⁱᵡ(r3), (InterfaceC3822) null, 0, new ᵴᵮᵳ(r3, (InterfaceC2643) null, 0), 3);
                }
                break;
            case 3:
                ᵱˉˈ.ᵨᵼⁱ().post(new RunnableC2801(2, this, true));
                break;
            default:
                super.onAvailable(network);
                break;
        }
    }

    @Override // android.net.ConnectivityManager.NetworkCallback
    public void onBlockedStatusChanged(Network network, boolean z) {
        switch (this.f12090) {
            case 1:
                if (network.equals(((C4673) this.f12089).f17759.getActiveNetwork())) {
                    C3814 c3814M8515 = C3814.m8515();
                    int i = AbstractC0771.f3439;
                    c3814M8515.getClass();
                    C4673 c4673 = (C4673) this.f12089;
                    Object objMo1981 = c4673.f2630;
                    if (objMo1981 == null) {
                        objMo1981 = c4673.mo1981();
                    }
                    C4246 c4246 = (C4246) objMo1981;
                    C4673 c46732 = (C4673) this.f12089;
                    synchronized (c46732.f17757) {
                        if (c46732.f17756 == z) {
                            return;
                        }
                        c46732.f17756 = z;
                        ((C4673) this.f12089).m1979(new C4246(c4246.f16204, c4246.f16201, c4246.f16202, c4246.f16205, z));
                        return;
                    }
                }
                return;
            default:
                super.onBlockedStatusChanged(network, z);
                return;
        }
    }

    @Override // android.net.ConnectivityManager.NetworkCallback
    public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) {
        switch (this.f12090) {
            case 0:
                C3814 c3814M8515 = C3814.m8515();
                int i = AbstractC2674.f10335;
                c3814M8515.getClass();
                ((ˁـᵫ) this.f12089).ʽˈˋ(C1108.f4741);
                break;
            case 1:
                C3814 c3814M85152 = C3814.m8515();
                int i2 = AbstractC0771.f3439;
                networkCapabilities.toString();
                c3814M85152.getClass();
                C4673 c4673 = (C4673) this.f12089;
                c4673.m1979(AbstractC0771.m2787(c4673.f17759, c4673.f17756));
                break;
            default:
                super.onCapabilitiesChanged(network, networkCapabilities);
                break;
        }
    }

    @Override // android.net.ConnectivityManager.NetworkCallback
    public void onLost(Network network) {
        int i = this.f12090;
        Object obj = this.f12089;
        switch (i) {
            case 0:
                C3814 c3814M8515 = C3814.m8515();
                int i2 = AbstractC2674.f10335;
                c3814M8515.getClass();
                ((ˁـᵫ) obj).ʽˈˋ(new C0963(7));
                break;
            case 1:
                C3814 c3814M85152 = C3814.m8515();
                int i3 = AbstractC0771.f3439;
                c3814M85152.getClass();
                ((C4673) obj).m1979(new C4246(false, false, false, false, false));
                break;
            case 2:
            default:
                super.onLost(network);
                break;
            case 3:
                ᵱˉˈ.ᵨᵼⁱ().post(new RunnableC2801(2, this, false));
                break;
        }
    }
}
