package defpackage;

import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.SparseArray;
import ar.tvplayer.core.data.repositories.UpdateTvGuideWorker;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/* JADX INFO: renamed from: ᵬᵖ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C4055 implements ᵙʼ, InterfaceC3069, InterfaceC2559 {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final /* synthetic */ int f15556;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final Object f15557;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final Object f15558;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public Object f15559;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public Object f15560;

    public C4055(int i) {
        this.f15556 = i;
        switch (i) {
            case 5:
                C2918 c2918 = new C2918();
                this.f15558 = c2918;
                C2918 c29182 = new C2918();
                this.f15557 = c29182;
                this.f15559 = c29182;
                this.f15560 = c2918;
                break;
            case 9:
                ʽᵺᴵ r4 = new ʽᵺᴵ(7);
                this.f15558 = r4;
                C4055 c4055 = new C4055((C4055) null, r4);
                this.f15559 = c4055;
                this.f15557 = c4055.m8882();
                C1563 c1563 = new C1563(3);
                this.f15560 = c1563;
                c4055.m8884("require", new C2254(c1563));
                c1563.f6260.put("internal.platform", CallableC0834.f3729);
                c4055.m8884("runtime.counter", new C4102(Double.valueOf(0.0d)));
                break;
            default:
                this.f15558 = new C3310(0);
                this.f15557 = new SparseArray();
                this.f15559 = new C3162();
                this.f15560 = new C3310(0);
                break;
        }
    }

    public /* synthetic */ C4055(Object obj, Object obj2, Object obj3, Object obj4, int i) {
        this.f15556 = i;
        this.f15558 = obj;
        this.f15557 = obj2;
        this.f15559 = obj3;
        this.f15560 = obj4;
    }

    public C4055(ExecutorService executorService) {
        this.f15556 = 8;
        this.f15559 = new Handler(Looper.getMainLooper());
        this.f15560 = new ˆـᵨʾ(3, this);
        ExecutorC4005 executorC4005 = new ExecutorC4005(executorService, 0);
        this.f15558 = executorC4005;
        this.f15557 = ˑᵕʾ.ᵱʡˏ(executorC4005);
    }

    public C4055(C1059 c1059, InterfaceC3930 interfaceC3930, AbstractC2576 abstractC2576) {
        this.f15556 = 4;
        this.f15558 = c1059;
        this.f15557 = interfaceC3930;
        this.f15559 = abstractC2576;
        this.f15560 = new ᵖˊʨ(10);
    }

    public C4055(ᵟˑʽ r2, C2991 c2991) {
        this.f15556 = 0;
        this.f15558 = r2;
        this.f15557 = c2991;
        this.f15559 = new Object();
        this.f15560 = new LinkedHashMap();
    }

    public C4055(C3740 c3740, String str) {
        this.f15556 = 11;
        this.f15560 = c3740;
        ᵘᵞʿⁱ.ˊᵫᵗ(str);
        this.f15558 = str;
        this.f15557 = new Bundle();
    }

    public C4055(C4055 c4055, ʽᵺᴵ r3) {
        this.f15556 = 10;
        this.f15559 = new HashMap();
        this.f15560 = new HashMap();
        this.f15558 = c4055;
        this.f15557 = r3;
    }

    @Override // defpackage.InterfaceC2559
    public /* synthetic */ ListenableFuture call() {
        int i = this.f15556;
        Object obj = this.f15557;
        EnumC2921 enumC2921 = EnumC2921.f11255;
        Object obj2 = this.f15558;
        switch (i) {
            case 12:
                final C4735 c4735 = (C4735) obj2;
                final int i2 = 0;
                final C5326 c5326M9196 = AbstractC4226.m9196((ListenableFuture) obj, new C3626(c4735, i2), enumC2921);
                final C5326 c5326M91962 = AbstractC4226.m9196(c5326M9196, (C3574) this.f15559, (Executor) this.f15560);
                return AbstractC4226.m9196(c5326M91962, AbstractC1818.m4991(new InterfaceC4422() { // from class: ʾᵭᵸ
                    @Override // defpackage.InterfaceC4422
                    public final /* synthetic */ ListenableFuture apply(Object obj3) {
                        switch (i2) {
                            case 0:
                                C4735 c47352 = (C4735) c4735;
                                C5326 c5326 = (C5326) c5326M9196;
                                C5326 c53262 = (C5326) c5326M91962;
                                if (AbstractC4226.m9192(c5326).equals(AbstractC4226.m9192(c53262))) {
                                    return AbstractC4226.m9197(obj3);
                                }
                                C5326 c5326M91963 = AbstractC4226.m9196(c53262, AbstractC1818.m4991(new C3574(c47352, 2, c53262)), (ExecutorC1225) c47352.f17998);
                                synchronized (c47352.f17999) {
                                    break;
                                }
                                return c5326M91963;
                            default:
                                C0516 c0516 = (C0516) c4735;
                                return c0516.f2675.m9899((C3574) c5326M9196, (Executor) c5326M91962);
                        }
                    }
                }), enumC2921);
            default:
                final C0516 c0516 = (C0516) obj2;
                final C3574 c3574 = (C3574) this.f15559;
                final Executor executor = (Executor) this.f15560;
                final int i3 = 1;
                return AbstractC4226.m9196((AbstractC5343) obj, AbstractC1818.m4991(new InterfaceC4422() { // from class: ʾᵭᵸ
                    @Override // defpackage.InterfaceC4422
                    public final /* synthetic */ ListenableFuture apply(Object obj3) {
                        switch (i3) {
                            case 0:
                                C4735 c47352 = (C4735) c0516;
                                C5326 c5326 = (C5326) c3574;
                                C5326 c53262 = (C5326) executor;
                                if (AbstractC4226.m9192(c5326).equals(AbstractC4226.m9192(c53262))) {
                                    return AbstractC4226.m9197(obj3);
                                }
                                C5326 c5326M91963 = AbstractC4226.m9196(c53262, AbstractC1818.m4991(new C3574(c47352, 2, c53262)), (ExecutorC1225) c47352.f17998);
                                synchronized (c47352.f17999) {
                                    break;
                                }
                                return c5326M91963;
                            default:
                                C0516 c05162 = (C0516) c0516;
                                return c05162.f2675.m9899((C3574) c3574, (Executor) executor);
                        }
                    }
                }), enumC2921);
        }
    }

    @Override // defpackage.InterfaceC2142
    public Object get() {
        return new C4055((Executor) ((InterfaceC2142) this.f15558).get(), (C0520) ((InterfaceC2142) this.f15557).get(), (ᵯᵨᵲ) ((C5398) this.f15559).get(), (C0520) ((InterfaceC2142) this.f15560).get(), 6);
    }

    public String toString() {
        switch (this.f15556) {
            case 5:
                return "horizontal=" + ((C2918) this.f15557) + "; vertical=" + ((C2918) this.f15558);
            default:
                return super.toString();
        }
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public Object m8873(ᵡᵔ r1, InterfaceC2643 interfaceC2643) {
        ((ᵤᵰᵿ) this.f15558).ʽˈˋ(((ᵼᵨᵔ) this.f15557).ᵲᵶᵳˈ(r1), r1);
        return C5063.f19112;
    }

    /* JADX INFO: renamed from: ˉᵲ, reason: contains not printable characters */
    public InterfaceC2992 m8874(String str) {
        HashMap map = (HashMap) this.f15559;
        if (map.containsKey(str)) {
            return (InterfaceC2992) map.get(str);
        }
        C4055 c4055 = (C4055) this.f15558;
        if (c4055 != null) {
            return c4055.m8874(str);
        }
        ᵕᵩʽᵲ.ᵮᵣᵗˈ(AbstractC0793.m2879(str, " is not defined"));
        return null;
    }

    /* JADX INFO: renamed from: ˊᵙᵾᵲ, reason: contains not printable characters */
    public void m8875(String str, InterfaceC2992 interfaceC2992) {
        if (((HashMap) this.f15560).containsKey(str)) {
            return;
        }
        HashMap map = (HashMap) this.f15559;
        if (interfaceC2992 == null) {
            map.remove(str);
        } else {
            map.put(str, interfaceC2992);
        }
    }

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public AbstractC4442 m8876(C4397 c4397, String str) {
        AbstractC4442 abstractC4442;
        AbstractC4442 abstractC4442Mo8664;
        C4533 c4533;
        C0727 c0727;
        synchronized (((ᵖˊʨ) this.f15560)) {
            try {
                abstractC4442 = (AbstractC4442) ((C1059) this.f15558).f4555.get(str);
                if (c4397.m9409(abstractC4442)) {
                    InterfaceC3930 interfaceC3930 = (InterfaceC3930) this.f15557;
                    if ((interfaceC3930 instanceof C4533) && (c0727 = (c4533 = (C4533) interfaceC3930).f17251) != null) {
                        C1709 c1709 = c4533.f17249;
                        C5079 c5079 = (C5079) abstractC4442.m9450("androidx.lifecycle.savedstate.vm.tag");
                        if (c5079 != null && !c5079.f19150) {
                            c5079.m10405(c1709, c0727);
                            EnumC0038 enumC0038 = c0727.f3300;
                            if (enumC0038 == EnumC0038.f1191 || enumC0038.m1024(EnumC0038.f1192)) {
                                c1709.m4730();
                            } else {
                                c0727.m2595(new C3640(c0727, 1, c1709));
                            }
                        }
                    }
                } else {
                    C4090 c4090 = new C4090((AbstractC2576) this.f15559);
                    c4090.m8954(AbstractC1842.f7297, str);
                    InterfaceC3930 interfaceC39302 = (InterfaceC3930) this.f15557;
                    try {
                        try {
                            abstractC4442Mo8664 = interfaceC39302.mo8663(c4397, c4090);
                        } catch (AbstractMethodError unused) {
                            abstractC4442Mo8664 = interfaceC39302.mo8662(c4397.f16695, c4090);
                        }
                    } catch (AbstractMethodError unused2) {
                        abstractC4442Mo8664 = interfaceC39302.mo8664(c4397.f16695);
                    }
                    abstractC4442 = abstractC4442Mo8664;
                    AbstractC4442 abstractC44422 = (AbstractC4442) ((C1059) this.f15558).f4555.put(str, abstractC4442);
                    if (abstractC44422 != null) {
                        abstractC44422.m9451();
                    }
                }
            } catch (Throwable th) {
                throw th;
            }
        }
        return abstractC4442;
    }

    /* JADX INFO: renamed from: ˋˈ, reason: contains not printable characters */
    public void m8877(Bundle bundle) {
        C3740 c3740 = (C3740) this.f15560;
        Bundle bundle2 = bundle == null ? new Bundle() : new Bundle(bundle);
        SharedPreferences sharedPreferencesM8407 = c3740.m8407();
        C1103 c1103 = (C1103) ((ᵜᵪʾ) c3740).ˌᴵ;
        SharedPreferences.Editor editorEdit = sharedPreferencesM8407.edit();
        int size = bundle2.size();
        String str = (String) this.f15558;
        if (size == 0) {
            editorEdit.remove(str);
        } else {
            JSONArray jSONArray = new JSONArray();
            for (String str2 : bundle2.keySet()) {
                Object obj = bundle2.get(str2);
                if (obj != null) {
                    try {
                        JSONObject jSONObject = new JSONObject();
                        jSONObject.put("n", str2);
                        C0756.m2702();
                        if (c1103.f4726.m8314(null, AbstractC3818.f14526)) {
                            if (obj instanceof String) {
                                jSONObject.put("v", obj.toString());
                                jSONObject.put("t", "s");
                            } else if (obj instanceof Long) {
                                jSONObject.put("v", obj.toString());
                                jSONObject.put("t", "l");
                            } else if (obj instanceof int[]) {
                                jSONObject.put("v", Arrays.toString((int[]) obj));
                                jSONObject.put("t", "ia");
                            } else if (obj instanceof long[]) {
                                jSONObject.put("v", Arrays.toString((long[]) obj));
                                jSONObject.put("t", "la");
                            } else if (obj instanceof Double) {
                                jSONObject.put("v", obj.toString());
                                jSONObject.put("t", "d");
                            } else {
                                C3485 c3485 = c1103.f4729;
                                C1103.m3564(c3485);
                                c3485.f13423.m4474(obj.getClass(), "Cannot serialize bundle value to SharedPreferences. Type");
                            }
                            jSONArray.put(jSONObject);
                        } else {
                            jSONObject.put("v", obj.toString());
                            if (obj instanceof String) {
                                jSONObject.put("t", "s");
                            } else if (obj instanceof Long) {
                                jSONObject.put("t", "l");
                            } else if (obj instanceof Double) {
                                jSONObject.put("t", "d");
                            } else {
                                C3485 c34852 = c1103.f4729;
                                C1103.m3564(c34852);
                                c34852.f13423.m4474(obj.getClass(), "Cannot serialize bundle value to SharedPreferences. Type");
                            }
                            jSONArray.put(jSONObject);
                        }
                    } catch (JSONException e) {
                        C3485 c34853 = c1103.f4729;
                        C1103.m3564(c34853);
                        c34853.f13423.m4474(e, "Cannot serialize bundle value to SharedPreferences");
                    }
                }
            }
            editorEdit.putString(str, jSONArray.toString());
        }
        editorEdit.apply();
        this.f15559 = bundle2;
    }

    /* 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 Object m8878(ᵫᵨᵤˎ r6, InterfaceC2643 interfaceC2643) {
        ʿʾᵧ r0;
        if (interfaceC2643 instanceof ʿʾᵧ) {
            r0 = (ʿʾᵧ) interfaceC2643;
            int i = r0.ˈᵲᵢ;
            if ((i & Integer.MIN_VALUE) != 0) {
                r0.ˈᵲᵢ = i - Integer.MIN_VALUE;
            } else {
                r0 = new ʿʾᵧ(this, (AbstractC3500) interfaceC2643);
            }
        }
        Object obj = r0.ᵯᵷʽ;
        int i2 = r0.ˈᵲᵢ;
        if (i2 == 0) {
            ᵟˌᵫ.ˊˌˊ(obj);
            ᵘʓᵢᵪ r7 = ᵘʓᵢᵪ.ᵜᵪʾ;
            r7.getClass();
            if (((Number) ᵘʓᵢᵪ.ᵶˇᵱ.ˀᵭ(ᵘʓᵢᵪ.ᵔᵖᵹᵫ[2], r7)).intValue() != -1) {
                ᵤᵰᵿ r72 = (ᵤᵰᵿ) this.f15558;
                r0.ᵨᵼⁱ = r6;
                r0.ˈᵲᵢ = 1;
                obj = r72.ᵻʽᵯ(r6, r0);
                EnumC0111 enumC0111 = EnumC0111.f1384;
                if (obj == enumC0111) {
                    return enumC0111;
                }
            }
            return C5063.f19112;
        }
        if (i2 != 1) {
            ᵕᵩʽᵲ.ᵪᵹᵥᵻ("call to 'resume' before 'invoke' with coroutine");
            return null;
        }
        r6 = r0.ᵨᵼⁱ;
        ᵟˌᵫ.ˊˌˊ(obj);
        if (((Boolean) obj).booleanValue()) {
            long j = r6.ʽˈˋ;
            C5124 c5124 = (C5124) this.f15559;
            if (j > c5124.f19281) {
                c5124.f19281 = j;
            }
        }
        return C5063.f19112;
    }

    /* JADX INFO: renamed from: ᵝᵶ, reason: contains not printable characters */
    public InterfaceC2992 m8879(C4446 c4446) {
        InterfaceC2992 interfaceC2992 = InterfaceC2992.f11526;
        Iterator itM9466 = c4446.m9466();
        while (itM9466.hasNext()) {
            interfaceC2992 = ((ʽᵺᴵ) this.f15557).ˊᵨᵧ(this, c4446.m9462(((Integer) itM9466.next()).intValue()));
            if (interfaceC2992 instanceof C2221) {
                break;
            }
        }
        return interfaceC2992;
    }

    /* JADX INFO: renamed from: ᵟᵹᵙ, reason: contains not printable characters */
    public boolean m8880(String str) {
        if (((HashMap) this.f15559).containsKey(str)) {
            return true;
        }
        C4055 c4055 = (C4055) this.f15558;
        if (c4055 != null) {
            return c4055.m8880(str);
        }
        return false;
    }

    /* 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 Object m8881(String str, InterfaceC2643 interfaceC2643) {
        ᵻᵤᵡ r4;
        if (interfaceC2643 instanceof ᵻᵤᵡ) {
            r4 = (ᵻᵤᵡ) interfaceC2643;
            int i = r4.ᵶˇᵱ;
            if ((i & Integer.MIN_VALUE) != 0) {
                r4.ᵶˇᵱ = i - Integer.MIN_VALUE;
            } else {
                r4 = new ᵻᵤᵡ(this, (AbstractC3500) interfaceC2643);
            }
        }
        Object obj = r4.ᵨᵼⁱ;
        int i2 = r4.ᵶˇᵱ;
        if (i2 == 0) {
            ᵟˌᵫ.ˊˌˊ(obj);
            ᵤᵰᵿ r3 = (ᵤᵰᵿ) this.f15558;
            r4.ᵶˇᵱ = 1;
            Object obj2 = r3.ᵱᵽʡᵚ(r4);
            EnumC0111 enumC0111 = EnumC0111.f1384;
            if (obj2 == enumC0111) {
                return enumC0111;
            }
        } else {
            if (i2 != 1) {
                ᵕᵩʽᵲ.ᵪᵹᵥᵻ("call to 'resume' before 'invoke' with coroutine");
                return null;
            }
            ᵟˌᵫ.ˊˌˊ(obj);
        }
        return Boolean.TRUE;
    }

    /* JADX INFO: renamed from: ᵪᵹᵥᵻ, reason: contains not printable characters */
    public C4055 m8882() {
        return new C4055(this, (ʽᵺᴵ) this.f15557);
    }

    /* JADX INFO: renamed from: ᵮᵣᵗˈ, reason: contains not printable characters */
    public InterfaceC2992 m8883(InterfaceC2992 interfaceC2992) {
        return ((ʽᵺᴵ) this.f15557).ˊᵨᵧ(this, interfaceC2992);
    }

    /* JADX INFO: renamed from: ᵱʡˏ, reason: contains not printable characters */
    public void m8884(String str, InterfaceC2992 interfaceC2992) {
        C4055 c4055;
        HashMap map = (HashMap) this.f15559;
        if (!map.containsKey(str) && (c4055 = (C4055) this.f15558) != null && c4055.m8880(str)) {
            c4055.m8884(str, interfaceC2992);
        } else {
            if (((HashMap) this.f15560).containsKey(str)) {
                return;
            }
            if (interfaceC2992 == null) {
                map.remove(str);
            } else {
                map.put(str, interfaceC2992);
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:51:0x00fe A[Catch: NumberFormatException | JSONException -> 0x010b, NumberFormatException | JSONException -> 0x010b, TRY_LEAVE, TryCatch #0 {NumberFormatException | JSONException -> 0x010b, blocks: (B:10:0x0031, B:24:0x0065, B:24:0x0065, B:26:0x0072, B:26:0x0072, B:28:0x0084, B:28:0x0084, B:29:0x008d, B:29:0x008d, B:51:0x00fe, B:51:0x00fe, B:33:0x009a, B:33:0x009a, B:35:0x00a7, B:35:0x00a7, B:37:0x00b9, B:37:0x00b9, B:38:0x00c2, B:38:0x00c2, B:42:0x00ce, B:42:0x00ce, B:46:0x00de, B:46:0x00de, B:50:0x00f2, B:50:0x00f2), top: B:63:0x0031, outer: #1 }] */
    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public Bundle m8885() {
        C3740 c3740 = (C3740) this.f15560;
        if (((Bundle) this.f15559) == null) {
            String str = (String) this.f15558;
            SharedPreferences sharedPreferencesM8407 = c3740.m8407();
            C1103 c1103 = (C1103) ((ᵜᵪʾ) c3740).ˌᴵ;
            String string = sharedPreferencesM8407.getString(str, null);
            if (string != null) {
                try {
                    Bundle bundle = new Bundle();
                    JSONArray jSONArray = new JSONArray(string);
                    for (int i = 0; i < jSONArray.length(); i++) {
                        try {
                            JSONObject jSONObject = jSONArray.getJSONObject(i);
                            String string2 = jSONObject.getString("n");
                            String string3 = jSONObject.getString("t");
                            int iHashCode = string3.hashCode();
                            if (iHashCode != 100) {
                                if (iHashCode != 108) {
                                    if (iHashCode != 115) {
                                        if (iHashCode != 3352) {
                                            if (iHashCode == 3445 && string3.equals("la")) {
                                                C0756.m2702();
                                                if (c1103.f4726.m8314(null, AbstractC3818.f14526)) {
                                                    JSONArray jSONArray2 = new JSONArray(jSONObject.getString("v"));
                                                    int length = jSONArray2.length();
                                                    long[] jArr = new long[length];
                                                    for (int i2 = 0; i2 < length; i2++) {
                                                        jArr[i2] = jSONArray2.optLong(i2);
                                                    }
                                                    bundle.putLongArray(string2, jArr);
                                                }
                                            } else {
                                                C3485 c3485 = c1103.f4729;
                                                C1103.m3564(c3485);
                                                c3485.f13423.m4474(string3, "Unrecognized persisted bundle type. Type");
                                            }
                                        } else if (string3.equals("ia")) {
                                            C0756.m2702();
                                            if (c1103.f4726.m8314(null, AbstractC3818.f14526)) {
                                                JSONArray jSONArray3 = new JSONArray(jSONObject.getString("v"));
                                                int length2 = jSONArray3.length();
                                                int[] iArr = new int[length2];
                                                for (int i3 = 0; i3 < length2; i3++) {
                                                    iArr[i3] = jSONArray3.optInt(i3);
                                                }
                                                bundle.putIntArray(string2, iArr);
                                            }
                                        }
                                    } else if (string3.equals("s")) {
                                        bundle.putString(string2, jSONObject.getString("v"));
                                    }
                                } else if (string3.equals("l")) {
                                    bundle.putLong(string2, Long.parseLong(jSONObject.getString("v")));
                                }
                            } else if (string3.equals("d")) {
                                bundle.putDouble(string2, Double.parseDouble(jSONObject.getString("v")));
                            }
                        } catch (NumberFormatException | JSONException unused) {
                            C3485 c34852 = c1103.f4729;
                            C1103.m3564(c34852);
                            c34852.f13423.m4476("Error reading value from SharedPreferences. Value dropped");
                        }
                    }
                    this.f15559 = bundle;
                } catch (JSONException unused2) {
                    C3485 c34853 = c1103.f4729;
                    C1103.m3564(c34853);
                    c34853.f13423.m4476("Error loading bundle from SharedPreferences. Values will be lost");
                }
            }
            if (((Bundle) this.f15559) == null) {
                this.f15559 = (Bundle) this.f15557;
            }
        }
        Bundle bundle2 = (Bundle) this.f15559;
        ᵘᵞʿⁱ.ᵶᵥᵝ(bundle2);
        return new Bundle(bundle2);
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public void m8886(C5242 c5242) {
        Runnable runnable;
        synchronized (this.f15559) {
            runnable = (Runnable) ((LinkedHashMap) this.f15560).remove(c5242);
        }
        if (runnable != null) {
            ((Handler) ((ᵟˑʽ) this.f15558).ˌᴵ).removeCallbacks(runnable);
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0017  */
    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public Object m8887(String str, InterfaceC2643 interfaceC2643) {
        ːᵿˀ r1;
        ᵤᵰᵿ r0 = (ᵤᵰᵿ) this.f15558;
        if (interfaceC2643 instanceof ːᵿˀ) {
            r1 = (ːᵿˀ) interfaceC2643;
            int i = r1.ˈᵲᵢ;
            if ((i & Integer.MIN_VALUE) != 0) {
                r1.ˈᵲᵢ = i - Integer.MIN_VALUE;
            } else {
                r1 = new ːᵿˀ(this, (AbstractC3500) interfaceC2643);
            }
        }
        Object obj = r1.ᵯᵷʽ;
        int i2 = r1.ˈᵲᵢ;
        if (i2 == 0) {
            ᵟˌᵫ.ˊˌˊ(obj);
            r1.ᵨᵼⁱ = str;
            r1.ˈᵲᵢ = 1;
            Object obj2 = r0.ᵶᵥᵝ(r1);
            EnumC0111 enumC0111 = EnumC0111.f1384;
            if (obj2 == enumC0111) {
                return enumC0111;
            }
        } else {
            if (i2 != 1) {
                ᵕᵩʽᵲ.ᵪᵹᵥᵻ("call to 'resume' before 'invoke' with coroutine");
                return null;
            }
            str = r1.ᵨᵼⁱ;
            ᵟˌᵫ.ˊˌˊ(obj);
        }
        return Boolean.valueOf(((C4622) r0.ˊᵫᵗ).m9761(str) >= 0);
    }

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public InterfaceC2992 m8888(C4055 c4055, C0282... c0282Arr) {
        InterfaceC2992 interfaceC2992 = InterfaceC2992.f11526;
        for (C0282 c0282 : c0282Arr) {
            interfaceC2992 = ᵺᵘ.ʽᵡᵢᵾ(c0282);
            ˀᵳˎᵹ.ᵛˑﹳ((C4055) this.f15559);
            if ((interfaceC2992 instanceof C4572) || (interfaceC2992 instanceof C3137)) {
                interfaceC2992 = ((ʽᵺᴵ) this.f15558).ˊᵨᵧ(c4055, interfaceC2992);
            }
        }
        return interfaceC2992;
    }

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public void m8889(Runnable runnable) {
        ((ExecutorC4005) this.f15558).execute(runnable);
    }

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public void m8890(C5242 c5242) {
        RunnableC2093 runnableC2093 = new RunnableC2093(this, 19, c5242);
        synchronized (this.f15559) {
        }
        ((Handler) ((ᵟˑʽ) this.f15558).ˌᴵ).postDelayed(runnableC2093, 5400000L);
    }

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public Boolean m8891() {
        return Boolean.valueOf(((UpdateTvGuideWorker) this.f15560).m4014());
    }
}
