package defpackage;

import android.net.Uri;
import j$.util.Objects;
import java.io.IOException;
import java.util.concurrent.Callable;
import java.util.logging.Level;

/* JADX INFO: renamed from: ᵱᵪ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class CallableC4458 implements Callable {

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

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final /* synthetic */ Object f17004;

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

    public CallableC4458(C2894 c2894, C2847 c2847) {
        this.f17005 = 2;
        this.f17004 = c2847;
        Objects.requireNonNull(c2894);
        this.f17003 = c2894;
    }

    public /* synthetic */ CallableC4458(BinderC3227 binderC3227, Object obj, int i) {
        this.f17005 = i;
        this.f17004 = obj;
        this.f17003 = binderC3227;
    }

    public /* synthetic */ CallableC4458(C4512 c4512, C3095 c3095) {
        this.f17005 = 3;
        this.f17004 = c4512;
        this.f17003 = c3095;
    }

    @Override // java.util.concurrent.Callable
    public final Object call() throws Throwable {
        int i = this.f17005;
        Object obj = this.f17003;
        Object obj2 = this.f17004;
        switch (i) {
            case 0:
                BinderC3227 binderC3227 = (BinderC3227) obj;
                binderC3227.f12288.m6913();
                C1694 c1694 = binderC3227.f12288.f11109;
                C2894.m6882(c1694);
                break;
            case 1:
                BinderC3227 binderC32272 = (BinderC3227) obj;
                binderC32272.f12288.m6913();
                break;
            case 2:
                C2847 c2847 = (C2847) obj2;
                String str = c2847.f10910;
                ᵘᵞʿⁱ.ᵶᵥᵝ(str);
                C2894 c2894 = (C2894) obj;
                C0875 c0875M6888 = c2894.m6888(str);
                EnumC0174 enumC0174 = EnumC0174.f1598;
                if (!c0875M6888.m3073(enumC0174) || !C0875.m3065(100, c2847.f10926).m3073(enumC0174)) {
                    c2894.mo3572().f13414.m4476("Analytics storage consent denied. Returning null app instance id");
                }
                break;
            default:
                C4512 c4512 = (C4512) obj2;
                C3095 c3095 = (C3095) obj;
                C5429 c5429 = c4512.f17166;
                C2991 c2991 = new C2991();
                try {
                    C0355 c0355 = (C0355) c5429.f20606.get();
                    Uri uri = c4512.f17164;
                    ʽᵺᴵ r8 = new ʽᵺᴵ(c3095);
                    r8.ᵔᵖᵹᵫ = new C2991[]{c2991};
                } catch (IOException | RuntimeException e) {
                    ᵽˊᵘᵬ.ᵶˇᵱ(Level.WARNING, c5429.m11045(), e, "Failed to update snapshot for %s flags may be stale.", new Object[]{c4512.f17165});
                }
                break;
        }
        return null;
    }
}
