package t4;

import k4.S;

/* JADX INFO: loaded from: classes3.dex */
public final class f implements S {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final S f24312b;

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

    public /* synthetic */ f(AbstractC2951b abstractC2951b, S s6, int i6) {
        this.f24311a = i6;
        this.f24313c = abstractC2951b;
        this.f24312b = s6;
    }

    @Override // k4.S
    public final void a(k4.r rVar) {
        switch (this.f24311a) {
            case 0:
                this.f24312b.a(rVar);
                ((g) this.f24313c).f24315b.a(rVar);
                break;
            default:
                s sVar = (s) this.f24313c;
                sVar.f24356d = rVar;
                if (!sVar.f24355c) {
                    this.f24312b.a(rVar);
                }
                break;
        }
    }
}
