package z7;

import A6.n;
import O6.r;
import n4.u0;

/* JADX INFO: loaded from: classes.dex */
public final class e extends P6.h implements r {

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

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ h f19388s;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ e(h hVar, int i) {
        super(4);
        this.f19387r = i;
        this.f19388s = hVar;
    }

    /* JADX WARN: Type inference failed for: r1v0, types: [O6.r, P6.h] */
    /* JADX WARN: Type inference failed for: r1v1, types: [O6.r, P6.h] */
    @Override // O6.r
    public final Object g(Object obj, Object obj2, Object obj3, Object obj4) {
        switch (this.f19387r) {
            case u0.f15495q /* 0 */:
                c cVar = (c) obj;
                D7.a aVar = (D7.a) obj2;
                int iIntValue = ((Number) obj3).intValue();
                int iIntValue2 = ((Number) obj4).intValue();
                P6.g.e(cVar, "$this$null");
                P6.g.e(aVar, "canvas");
                h hVar = this.f19388s;
                hVar.f19398e.g(cVar, aVar, Integer.valueOf(iIntValue), Integer.valueOf(iIntValue2));
                hVar.f19400g.g(cVar, aVar, Integer.valueOf(iIntValue), Integer.valueOf(iIntValue2));
                break;
            default:
                c cVar2 = (c) obj;
                D7.a aVar2 = (D7.a) obj2;
                int iIntValue3 = ((Number) obj3).intValue();
                int iIntValue4 = ((Number) obj4).intValue();
                P6.g.e(cVar2, "$this$null");
                P6.g.e(aVar2, "canvas");
                h hVar2 = this.f19388s;
                hVar2.f19399f.g(cVar2, aVar2, Integer.valueOf(iIntValue3), Integer.valueOf(iIntValue4));
                hVar2.f19401h.g(cVar2, aVar2, Integer.valueOf(iIntValue3), Integer.valueOf(iIntValue4));
                break;
        }
        return n.f457a;
    }
}
