package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Q20 extends AbstractC0706aK implements OC {
    public final /* synthetic */ int m;
    public final /* synthetic */ R20 n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ Q20(R20 r20, int i) {
        super(1);
        this.m = i;
        this.n = r20;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.m) {
            case 0:
                double dDoubleValue = ((Number) obj).doubleValue();
                return Double.valueOf(this.n.n.c(AbstractC0940cn0.i(dDoubleValue, r10.e, r10.f)));
            default:
                return Double.valueOf(AbstractC0940cn0.i(this.n.k.c(((Number) obj).doubleValue()), r10.e, r10.f));
        }
    }
}
