package e0;

/* loaded from: classes.dex */
public abstract class q0 {

    /* renamed from: a, reason: collision with root package name */
    public static final a f16727a = new a(null);

    /* renamed from: b, reason: collision with root package name */
    private static final int f16728b;

    /* renamed from: c, reason: collision with root package name */
    private static final int f16729c;

    /* renamed from: d, reason: collision with root package name */
    private static final int f16730d;

    /* renamed from: e, reason: collision with root package name */
    private static final int f16731e;

    /* renamed from: f, reason: collision with root package name */
    private static final int f16732f;

    /* renamed from: g, reason: collision with root package name */
    private static final int f16733g;

    /* renamed from: h, reason: collision with root package name */
    private static final int f16734h;

    /* renamed from: i, reason: collision with root package name */
    private static final int f16735i;

    /* renamed from: j, reason: collision with root package name */
    private static final int f16736j;

    /* renamed from: k, reason: collision with root package name */
    private static final int f16737k;

    /* renamed from: l, reason: collision with root package name */
    private static final int f16738l;

    /* renamed from: m, reason: collision with root package name */
    private static final int f16739m;

    /* loaded from: classes.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        public final int a() {
            return q0.f16728b;
        }

        public final int b() {
            return q0.f16730d;
        }

        public final int c() {
            return q0.f16729c;
        }

        public final int d() {
            return q0.f16731e;
        }

        public final int e() {
            return q0.f16735i;
        }

        public final int f() {
            return q0.f16738l;
        }

        public final int g() {
            return q0.f16734h;
        }
    }

    static {
        int h10 = h(8);
        f16728b = h10;
        int h11 = h(4);
        f16729c = h11;
        int h12 = h(2);
        f16730d = h12;
        int h13 = h(1);
        f16731e = h13;
        f16732f = l(h10, h13);
        f16733g = l(h11, h12);
        int h14 = h(16);
        f16734h = h14;
        int h15 = h(32);
        f16735i = h15;
        int l10 = l(h10, h12);
        f16736j = l10;
        int l11 = l(h11, h13);
        f16737k = l11;
        f16738l = l(l10, l11);
        f16739m = l(h14, h15);
    }

    private static int h(int i10) {
        return i10;
    }

    public static final boolean i(int i10, int i11) {
        return i10 == i11;
    }

    public static final boolean j(int i10, int i11) {
        return (i10 & i11) != 0;
    }

    public static int k(int i10) {
        return Integer.hashCode(i10);
    }

    public static final int l(int i10, int i11) {
        return h(i10 | i11);
    }

    public static String m(int i10) {
        return "WindowInsetsSides(" + n(i10) + ')';
    }

    private static final String n(int i10) {
        StringBuilder sb2 = new StringBuilder();
        int i11 = f16732f;
        if ((i10 & i11) == i11) {
            o(sb2, "Start");
        }
        int i12 = f16736j;
        if ((i10 & i12) == i12) {
            o(sb2, "Left");
        }
        int i13 = f16734h;
        if ((i10 & i13) == i13) {
            o(sb2, "Top");
        }
        int i14 = f16733g;
        if ((i10 & i14) == i14) {
            o(sb2, "End");
        }
        int i15 = f16737k;
        if ((i10 & i15) == i15) {
            o(sb2, "Right");
        }
        int i16 = f16735i;
        if ((i10 & i16) == i16) {
            o(sb2, "Bottom");
        }
        String sb3 = sb2.toString();
        kotlin.jvm.internal.t.f(sb3, "StringBuilder().apply(builderAction).toString()");
        return sb3;
    }

    private static final void o(StringBuilder sb2, String str) {
        if (sb2.length() > 0) {
            sb2.append('+');
        }
        sb2.append(str);
    }
}
