package defpackage;

import android.content.IntentFilter;
import android.util.Log;

/* renamed from: ᵨᵤᵽ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class RunnableC3748 implements Runnable {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final /* synthetic */ C3669 f13987;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ int f13988;

    public /* synthetic */ RunnableC3748(C3669 c3669, int i) {
        this.f13988 = i;
        this.f13987 = c3669;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f13988) {
            case 0:
                C3669 c3669 = this.f13987;
                c3669.f13676 = c3669.m8258();
                try {
                    C3669 c36692 = this.f13987;
                    c36692.f13674.registerReceiver(c36692.f13672, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"));
                    this.f13987.f13671 = true;
                    break;
                } catch (SecurityException unused) {
                    Log.isLoggable("ConnectivityMonitor", 5);
                    this.f13987.f13671 = false;
                    return;
                }
            case 1:
                if (this.f13987.f13671) {
                    this.f13987.f13671 = false;
                    C3669 c36693 = this.f13987;
                    c36693.f13674.unregisterReceiver(c36693.f13672);
                    break;
                }
                break;
            default:
                boolean z = this.f13987.f13676;
                C3669 c36694 = this.f13987;
                c36694.f13676 = c36694.m8258();
                if (z != this.f13987.f13676) {
                    Log.isLoggable("ConnectivityMonitor", 3);
                    C3669 c36695 = this.f13987;
                    ˊˉʤﹳ.ˀᵗᵝᵭ().post(new RunnableC4146(3, c36695, c36695.f13676));
                    break;
                }
                break;
        }
    }
}
