package com.google.firebase.firestore;

import com.google.android.gms.tasks.TaskCompletionSource;
import com.google.firebase.firestore.LoadBundleTask;

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

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

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

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

    public /* synthetic */ s(int i6, Object obj, Object obj2) {
        this.f14135a = i6;
        this.f14136b = obj;
        this.f14137c = obj2;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f14135a) {
            case 0:
                ((LoadBundleTask.ManagedListener) this.f14136b).lambda$invokeAsync$0((LoadBundleTaskProgress) this.f14137c);
                break;
            case 1:
                ((FirebaseFirestore) this.f14136b).lambda$clearPersistence$5((TaskCompletionSource) this.f14137c);
                break;
            default:
                ((LoadBundleTask) this.f14136b).lambda$addOnProgressListener$0((OnProgressListener) this.f14137c);
                break;
        }
    }
}
