package com.google.firebase.components;

import com.google.firebase.FirebaseApp;
import com.google.firebase.inject.Provider;
import com.google.firebase.installations.FirebaseInstallations;

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

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

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

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

    @Override // com.google.firebase.inject.Provider
    public final Object get() {
        switch (this.f13845a) {
            case 0:
                return ComponentDiscovery.instantiate((String) this.f13846b);
            default:
                return FirebaseInstallations.lambda$new$0((FirebaseApp) this.f13846b);
        }
    }
}
