package o;

import android.app.Service;
import android.content.Intent;
import java.util.Map;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.bt0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class RunnableC0857bt0 implements Runnable {
    public final /* synthetic */ int l = 0;
    public final /* synthetic */ int m;
    public final /* synthetic */ Object n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ Object f465o;
    public final /* synthetic */ Cloneable p;

    public /* synthetic */ RunnableC0857bt0(C1696kj0 c1696kj0, int i, Nq0 nq0, Intent intent) {
        this.n = c1696kj0;
        this.m = i;
        this.f465o = nq0;
        this.p = intent;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                Sq0 sq0 = (Sq0) this.n;
                ((InterfaceC0761at0) sq0.q).b(this.m, (Exception) this.f465o, (byte[]) this.p);
                break;
            default:
                C1696kj0 c1696kj0 = (C1696kj0) this.n;
                Nq0 nq0 = (Nq0) this.f465o;
                Intent intent = (Intent) this.p;
                Service service = (Service) c1696kj0.m;
                Zt0 zt0 = (Zt0) service;
                int i = this.m;
                if (zt0.a(i)) {
                    nq0.n.c(Integer.valueOf(i), "Local AppMeasurementService processed last upload request. StartId");
                    Nq0 nq02 = Kr0.r(service, null, null).f;
                    Kr0.l(nq02);
                    nq02.n.b("Completed wakeful intent.");
                    zt0.b(intent);
                    break;
                }
                break;
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public /* synthetic */ RunnableC0857bt0(Sq0 sq0, int i, Exception exc, byte[] bArr, Map map) {
        this.n = sq0;
        this.m = i;
        this.f465o = exc;
        this.p = bArr;
    }
}
