package o;

import android.content.Intent;
import android.os.Bundle;
import com.google.android.gms.common.internal.Preconditions;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Fp0 extends Rp0 {
    public final /* synthetic */ int p;
    public final /* synthetic */ Wp0 q;
    public final /* synthetic */ Object r;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ Fp0(Wp0 wp0, Object obj, int i) {
        super(wp0, true);
        this.p = i;
        this.r = obj;
        this.q = wp0;
    }

    @Override // o.Rp0
    public final void a() {
        switch (this.p) {
            case 0:
                ((InterfaceC1993np0) Preconditions.checkNotNull(this.q.g)).setUserProperty("fcm", "_ln", new BinderC1385hT(this.r), true, this.l);
                break;
            case 1:
                ((InterfaceC1993np0) Preconditions.checkNotNull(this.q.g)).setConditionalUserProperty((Bundle) this.r, this.l);
                break;
            case 2:
                ((InterfaceC1993np0) Preconditions.checkNotNull(this.q.g)).retrieveAndUploadBatches(new Mp0(this, (Js0) this.r));
                break;
            case 3:
                ((InterfaceC1993np0) Preconditions.checkNotNull(this.q.g)).logHealthData(5, "Error with data collection. Data lost.", new BinderC1385hT((Exception) this.r), new BinderC1385hT(null), new BinderC1385hT(null));
                break;
            case 4:
                ((InterfaceC1993np0) Preconditions.checkNotNull(this.q.g)).setSgtmDebugInfo((Intent) this.r);
                break;
            default:
                ((InterfaceC1993np0) Preconditions.checkNotNull(this.q.g)).registerOnMeasurementEventListener((Sp0) this.r);
                break;
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public Fp0(Wp0 wp0, Exception exc) {
        super(wp0, false);
        this.p = 3;
        this.r = exc;
        this.q = wp0;
    }
}
