package com.google.android.gms.internal.ads;

import android.os.IInterface;
import android.os.RemoteException;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class ra1 implements x7.a {

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

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

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

    public ra1(sa1 sa1Var, n7.c2 c2Var) {
        this.f16087b = c2Var;
        Objects.requireNonNull(sa1Var);
        this.f16088c = sa1Var;
    }

    @Override // x7.a
    public final void a() {
        int i10 = this.f16086a;
        IInterface iInterface = this.f16087b;
        zi ziVar = this.f16088c;
        switch (i10) {
            case 0:
                if (((sa1) ziVar).S2() != null) {
                    try {
                        ((n7.c2) iInterface).zze();
                    } catch (RemoteException e10) {
                        q7.j.zzl("#007 Could not call remote method.", e10);
                        return;
                    }
                }
                break;
            default:
                if (((ua1) ziVar).V2() != null) {
                    try {
                        n7.t0 t0Var = (n7.t0) ((n7.v0) iInterface);
                        t0Var.O0(1, t0Var.O());
                    } catch (RemoteException e11) {
                        q7.j.zzl("#007 Could not call remote method.", e11);
                    }
                }
                break;
        }
    }

    public ra1(ua1 ua1Var, n7.v0 v0Var) {
        this.f16087b = v0Var;
        Objects.requireNonNull(ua1Var);
        this.f16088c = ua1Var;
    }
}
