package o; import o.C17026tNn; /* loaded from: classes.dex */ public final class Cdx { static boolean[] c = new boolean[3]; public static final boolean c(int i, int i2) { return (i & i2) == i2; } /* JADX INFO: Access modifiers changed from: package-private */ public static void c(WqU wqU, Npn npn, C17026tNn c17026tNn) { c17026tNn.v = -1; c17026tNn.aa = -1; if (wqU.B[0] != C17026tNn.LWm.WRAP_CONTENT && c17026tNn.B[0] == C17026tNn.LWm.MATCH_PARENT) { int i = c17026tNn.D.b; int i2 = (wqU.Z == 8 ? 0 : wqU.ac) - c17026tNn.X.b; c17026tNn.D.h = npn.b(c17026tNn.D); c17026tNn.X.h = npn.b(c17026tNn.X); npn.c(c17026tNn.D.h, i); npn.c(c17026tNn.X.h, i2); c17026tNn.v = 2; c17026tNn.e(i, i2); } if (wqU.B[1] == C17026tNn.LWm.WRAP_CONTENT || c17026tNn.B[1] != C17026tNn.LWm.MATCH_PARENT) { return; } int i3 = c17026tNn.V.b; int i4 = (wqU.Z != 8 ? wqU.p : 0) - c17026tNn.n.b; c17026tNn.V.h = npn.b(c17026tNn.V); c17026tNn.n.h = npn.b(c17026tNn.n); npn.c(c17026tNn.V.h, i3); npn.c(c17026tNn.n.h, i4); if (c17026tNn.k > 0 || c17026tNn.Z == 8) { c17026tNn.f9277o.h = npn.b(c17026tNn.f9277o); npn.c(c17026tNn.f9277o.h, c17026tNn.k + i3); } c17026tNn.aa = 2; c17026tNn.f(i3, i4); } }