package com.google.firebase.firestore.util;

import com.google.android.gms.tasks.TaskCompletionSource;
import com.google.firebase.firestore.util.AsyncQueue;
import java.util.concurrent.Callable;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class e implements Runnable {

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

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

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

    public /* synthetic */ e(int i6, Object obj, Object obj2) {
        this.f14145a = i6;
        this.f14146b = obj;
        this.f14147c = obj2;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f14145a) {
            case 0:
                AsyncQueue.SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1((TaskCompletionSource) this.f14146b, (Callable) this.f14147c);
                break;
            case 1:
                ((ThrottledForwardingExecutor) this.f14146b).lambda$execute$0((Runnable) this.f14147c);
                break;
            case 2:
                ((AsyncQueue) this.f14146b).lambda$runDelayedTasksUntil$6((AsyncQueue.TimerId) this.f14147c);
                break;
            case 3:
                ((BackgroundQueue) this.f14146b).lambda$execute$0((Runnable) this.f14147c);
                break;
            default:
                ((ExponentialBackoff) this.f14146b).lambda$backoffAndRun$0((Runnable) this.f14147c);
                break;
        }
    }
}
