package d3;

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

/* JADX INFO: renamed from: d3.b1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class RunnableC0771b1 implements Runnable {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final /* synthetic */ int f11899q = 1;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final /* synthetic */ int f11900r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ Object f11901s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final /* synthetic */ Object f11902t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public final /* synthetic */ Cloneable f11903u;

    /* JADX WARN: Multi-variable type inference failed */
    public /* synthetic */ RunnableC0771b1(RunnableC0770b0 runnableC0770b0, int i, IOException iOException, byte[] bArr, Map map) {
        this.f11901s = runnableC0770b0;
        this.f11900r = i;
        this.f11902t = iOException;
        this.f11903u = bArr;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f11899q) {
            case n4.u0.f15495q /* 0 */:
                ((InterfaceC0768a1) ((RunnableC0770b0) this.f11901s).f11896u).c(this.f11900r, (IOException) this.f11902t, (byte[]) this.f11903u);
                break;
            default:
                Service service = (Service) ((V0) this.f11901s).f11784r;
                InterfaceC0833w1 interfaceC0833w1 = (InterfaceC0833w1) service;
                int i = this.f11900r;
                if (interfaceC0833w1.b(i)) {
                    ((Z) this.f11902t).D.c(Integer.valueOf(i), "Local AppMeasurementService processed last upload request. StartId");
                    Z z8 = C0817r0.q(service, null, null).f12150y;
                    C0817r0.k(z8);
                    z8.D.b("Completed wakeful intent.");
                    interfaceC0833w1.a((Intent) this.f11903u);
                }
                break;
        }
    }

    public /* synthetic */ RunnableC0771b1(V0 v02, int i, Z z8, Intent intent) {
        this.f11901s = v02;
        this.f11900r = i;
        this.f11902t = z8;
        this.f11903u = intent;
    }
}
