package defpackage;

import android.os.Bundle;
import android.os.DeadObjectException;
import android.text.TextUtils;
import android.util.Log;
import ar.tvplayer.core.data.network.parse.ᵴᵳ;
import ar.tvplayer.core.domain.ᵨᵳʝ;
import j$.util.Objects;
import java.util.concurrent.Callable;

/* renamed from: ᵗᵗʿ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final /* synthetic */ class CallableC2458 implements Callable {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final /* synthetic */ Object f9603;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ int f9604;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ C3768 f9605;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final /* synthetic */ Object f9606;

    public /* synthetic */ CallableC2458(C3768 c3768, Object obj, Object obj2, int i) {
        this.f9604 = i;
        this.f9605 = c3768;
        this.f9603 = obj;
        this.f9606 = obj2;
    }

    public CallableC2458(C3768 c3768, InterfaceC1792 interfaceC1792, String str) {
        this.f9604 = 3;
        this.f9606 = interfaceC1792;
        this.f9603 = str;
        Objects.requireNonNull(c3768);
        this.f9605 = c3768;
    }

    /* JADX WARN: Code restructure failed: missing block: B:25:0x00ae, code lost:
    
        r0 = r1.m8401(defpackage.AbstractC5497.f20622, 107, r4);
     */
    /* renamed from: ˏᵙ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    private final java.lang.Object m6269() {
        /*
            Method dump skipped, instructions count: 674
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.CallableC2458.m6269():java.lang.Object");
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    private final Object m6270() {
        Bundle bundleM5209;
        InterfaceC0233 interfaceC0233;
        C3768 c3768 = this.f9605;
        String str = (String) this.f9603;
        String str2 = (String) this.f9606;
        try {
            synchronized (c3768.f14080) {
                interfaceC0233 = c3768.f14055;
            }
            if (interfaceC0233 == null) {
                return AbstractC1845.m5209(AbstractC5497.f20622, 107);
            }
            return ((C0157) interfaceC0233).m1316(c3768.f14072.getPackageName(), str, str2);
        } catch (DeadObjectException e) {
            C3297 c3297 = AbstractC5497.f20622;
            String strM10445 = AbstractC4993.m10445(e);
            bundleM5209 = AbstractC1845.m5209(c3297, 5);
            if (strM10445 != null) {
                bundleM5209.putString("ADDITIONAL_LOG_DETAILS", strM10445);
            }
            return bundleM5209;
        } catch (Exception e2) {
            C3297 c32972 = AbstractC5497.f20625;
            String strM104452 = AbstractC4993.m10445(e2);
            bundleM5209 = AbstractC1845.m5209(c32972, 5);
            if (strM104452 != null) {
                bundleM5209.putString("ADDITIONAL_LOG_DETAILS", strM104452);
            }
            return bundleM5209;
        }
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    private final Object m6271() {
        InterfaceC0233 interfaceC0233;
        C3768 c3768 = this.f9605;
        ᵴᵳ r1 = (ᵴᵳ) this.f9603;
        C0204 c0204 = (C0204) this.f9606;
        try {
            if (!c3768.m8404(ᵱᵞᵪ.ᵺʙ)) {
                c3768.m8398(2, 3, AbstractC5497.f20622);
                boolean z = ᵨᵳʝ.ᵥᵯˎ;
                return null;
            }
            if (TextUtils.isEmpty(c0204.f1690)) {
                int i = AbstractC1845.f7462;
                Log.isLoggable("BillingClient", 5);
                c3768.m8398(26, 3, AbstractC5497.f20611);
                boolean z2 = ᵨᵳʝ.ᵥᵯˎ;
                return null;
            }
            if (!c3768.f14059) {
                c3768.m8398(27, 3, AbstractC5497.f20617);
                boolean z3 = ᵨᵳʝ.ᵥᵯˎ;
                return null;
            }
            synchronized (c3768.f14080) {
                interfaceC0233 = c3768.f14055;
            }
            if (interfaceC0233 == null) {
                c3768.m8400(r1, AbstractC5497.f20622, 107, null);
                return null;
            }
            String packageName = c3768.f14072.getPackageName();
            String str = c0204.f1690;
            String str2 = c3768.f14079;
            long jLongValue = c3768.f14084.longValue();
            int i2 = AbstractC1845.f7462;
            Bundle bundle = new Bundle();
            AbstractC1845.m5212(bundle, str2, jLongValue);
            Bundle bundleM1318 = ((C0157) interfaceC0233).m1318(packageName, str, bundle);
            AbstractC5497.m11122(AbstractC1845.m5211("BillingClient", bundleM1318), AbstractC1845.m5208("BillingClient", bundleM1318));
            boolean z4 = ᵨᵳʝ.ᵥᵯˎ;
            return null;
        } catch (DeadObjectException e) {
            c3768.m8400(r1, AbstractC5497.f20622, 28, e);
            return null;
        } catch (Exception e2) {
            c3768.m8400(r1, AbstractC5497.f20625, 28, e2);
            return null;
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:22:0x009a, code lost:
    
        r17 = r3;
     */
    /* JADX WARN: Removed duplicated region for block: B:100:0x0239  */
    /* JADX WARN: Removed duplicated region for block: B:101:0x023d  */
    /* JADX WARN: Removed duplicated region for block: B:120:0x015b A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:67:0x0161  */
    @Override // java.util.concurrent.Callable
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object call() throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 606
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.CallableC2458.call():java.lang.Object");
    }
}
