package B;

import G0.InterfaceC0273s;
import G0.InterfaceC0274t;
import h1.C2069a;

/* JADX INFO: renamed from: B.u0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0089u0 extends AbstractC0085s0 {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public EnumC0083r0 f385b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public boolean f386c;

    @Override // B.AbstractC0085s0, I0.InterfaceC0315y
    public final int maxIntrinsicWidth(InterfaceC0274t interfaceC0274t, InterfaceC0273s interfaceC0273s, int i6) {
        return this.f385b == EnumC0083r0.f365a ? interfaceC0273s.G(i6) : interfaceC0273s.K(i6);
    }

    @Override // B.AbstractC0085s0, I0.InterfaceC0315y
    public final int minIntrinsicWidth(InterfaceC0274t interfaceC0274t, InterfaceC0273s interfaceC0273s, int i6) {
        return this.f385b == EnumC0083r0.f365a ? interfaceC0273s.G(i6) : interfaceC0273s.K(i6);
    }

    @Override // B.AbstractC0085s0
    public final long t0(G0.Z z6, long j4) {
        int iG = this.f385b == EnumC0083r0.f365a ? z6.G(C2069a.g(j4)) : z6.K(C2069a.g(j4));
        if (iG < 0) {
            iG = 0;
        }
        if (iG < 0) {
            h1.i.a("width must be >= 0");
        }
        return h1.b.h(iG, iG, 0, Integer.MAX_VALUE);
    }

    @Override // B.AbstractC0085s0
    public final boolean u0() {
        return this.f386c;
    }
}
