package j$.util.stream;

import java.util.function.IntConsumer;
import java.util.function.IntFunction;

/* compiled from: r8-map-id-d03341a5c506013191640b89b63ea5cf7ac75763b497b0603d90d740714f0f53 */
/* loaded from: classes2.dex */
public final class t0 extends f5 {
    public final /* synthetic */ int b;
    public final /* synthetic */ a c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ t0(a aVar, l5 l5Var, int i) {
        super(l5Var);
        this.b = i;
        this.c = aVar;
    }

    @Override // j$.util.stream.j5, j$.util.stream.l5
    public final void accept(int i) {
        int i2 = this.b;
        l5 l5Var = this.a;
        a aVar = this.c;
        switch (i2) {
            case 0:
                l5Var.accept((l5) ((IntFunction) ((p) aVar).m).apply(i));
                break;
            default:
                ((IntConsumer) ((u0) aVar).m).accept(i);
                l5Var.accept(i);
                break;
        }
    }
}
