package com.google.firebase.firestore.util;

import com.google.firebase.firestore.util.AsyncQueue;

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

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

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

    public /* synthetic */ b(Object obj, int i6) {
        this.f14140a = i6;
        this.f14141b = obj;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f14140a) {
            case 0:
                AsyncQueue.lambda$panic$3((Throwable) this.f14141b);
                break;
            case 1:
                ((AsyncQueue.DelayedTask) this.f14141b).handleDelayElapsed();
                break;
            default:
                Util.lambda$crashMainThread$1((RuntimeException) this.f14141b);
                break;
        }
    }
}
