package o; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.zxing.NotFoundException; /* loaded from: classes2.dex */ final class hOP { final C8902dZc a; final qCz b; final int c; final int d; final qCz e; final qCz g; final int h; final qCz i; final int j; /* JADX INFO: Access modifiers changed from: package-private */ public hOP(C8902dZc c8902dZc, qCz qcz, qCz qcz2, qCz qcz3, qCz qcz4) throws NotFoundException { boolean z = qcz == null || qcz2 == null; boolean z2 = qcz3 == null || qcz4 == null; if (z && z2) { throw NotFoundException.b(); } if (z) { qcz = new qCz(BitmapDescriptorFactory.HUE_RED, qcz3.e); qcz2 = new qCz(BitmapDescriptorFactory.HUE_RED, qcz4.e); } else if (z2) { qcz3 = new qCz(c8902dZc.e - 1, qcz.e); qcz4 = new qCz(c8902dZc.e - 1, qcz2.e); } this.a = c8902dZc; this.g = qcz; this.e = qcz2; this.i = qcz3; this.b = qcz4; this.j = (int) Math.min(qcz.a, qcz2.a); this.c = (int) Math.max(qcz3.a, qcz4.a); this.h = (int) Math.min(qcz.e, qcz3.e); this.d = (int) Math.max(qcz2.e, qcz4.e); } /* JADX INFO: Access modifiers changed from: package-private */ public hOP(hOP hop) { this.a = hop.a; this.g = hop.g; this.e = hop.e; this.i = hop.i; this.b = hop.b; this.j = hop.j; this.c = hop.c; this.h = hop.h; this.d = hop.d; } }