package o;

import com.google.android.gms.common.internal.Preconditions;
import java.util.Objects;
import java.util.concurrent.Callable;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Mr0 implements Callable {
    public final /* synthetic */ int a;
    public final /* synthetic */ Object b;
    public final /* synthetic */ Object c;

    public /* synthetic */ Mr0(BinderC1237fs0 binderC1237fs0, Object obj, int i) {
        this.a = i;
        this.c = obj;
        this.b = binderC1237fs0;
    }

    @Override // java.util.concurrent.Callable
    public final Object call() {
        switch (this.a) {
            case 0:
                BinderC1237fs0 binderC1237fs0 = (BinderC1237fs0) this.b;
                binderC1237fs0.d.B();
                C2940xo0 c2940xo0 = binderC1237fs0.d.c;
                C1051dv0.T(c2940xo0);
                return c2940xo0.n0((String) this.c);
            case 1:
                BinderC1237fs0 binderC1237fs02 = (BinderC1237fs0) this.b;
                binderC1237fs02.d.B();
                return new C1896mo0(binderC1237fs02.d.o0(((C1531iw0) this.c).l));
            default:
                C1531iw0 c1531iw0 = (C1531iw0) this.c;
                String str = (String) Preconditions.checkNotNull(c1531iw0.l);
                C1051dv0 c1051dv0 = (C1051dv0) this.b;
                C2284qs0 c2284qs0A = c1051dv0.a(str);
                EnumC2094os0 enumC2094os0 = EnumC2094os0.n;
                if (c2284qs0A.i(enumC2094os0) && C2284qs0.c(100, c1531iw0.D).i(enumC2094os0)) {
                    return c1051dv0.b0(c1531iw0).E();
                }
                c1051dv0.b().n.b("Analytics storage consent denied. Returning null app instance id");
                return null;
        }
    }

    public Mr0(C1051dv0 c1051dv0, C1531iw0 c1531iw0) {
        this.a = 2;
        this.c = c1531iw0;
        Objects.requireNonNull(c1051dv0);
        this.b = c1051dv0;
    }
}
