package o; import android.os.Handler; import io.beid.beidk.processor.FaceProcessor; /* renamed from: o.fQJ, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C13083fQJ extends fQH implements fQG { private Integer a; private Integer b; private Integer c; Integer d; fQE e; private Integer f; private Integer h; private Runnable i; private Handler j; @Override // o.fQG public final void b() { this.i = new Runnable(this) { // from class: o.fQJ.3 private C13083fQJ d; @Override // java.lang.Runnable public final void run() { this.d.d = -1; this.d.e.b(new Throwable("timeout")); } { this.d = this; } }; Handler handler = new Handler(); this.j = handler; handler.postDelayed(this.i, this.c.intValue()); this.d = 0; } /* JADX WARN: Removed duplicated region for block: B:25:0x0070 */ /* JADX WARN: Removed duplicated region for block: B:28:0x0092 */ /* JADX WARN: Removed duplicated region for block: B:30:? A[RETURN, SYNTHETIC] */ @Override // o.fQG /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void c(o.C13099fQm r6) { /* r5 = this; java.lang.Integer r0 = r5.f int r0 = r0.intValue() r1 = 1 int r0 = r0 + r1 java.lang.Integer r0 = java.lang.Integer.valueOf(r0) r5.f = r0 java.lang.Integer r0 = r5.d int r0 = r0.intValue() r2 = -1 if (r0 != r2) goto L18 return L18: boolean r0 = r6.b if (r0 == 0) goto L23 com.google.firebase.ml.vision.face.FirebaseVisionFace r0 = r6.d float r0 = r0.getRightEyeOpenProbability() goto L29 L23: com.google.firebase.ml.vision.face.FirebaseVisionFace r0 = r6.d float r0 = r0.getLeftEyeOpenProbability() L29: r3 = -1082130432(0xffffffffbf800000, float:-1.0) int r0 = (r0 > r3 ? 1 : (r0 == r3 ? 0 : -1)) if (r0 != 0) goto L45 boolean r0 = r6.b if (r0 == 0) goto L3a com.google.firebase.ml.vision.face.FirebaseVisionFace r0 = r6.d float r0 = r0.getLeftEyeOpenProbability() goto L40 L3a: com.google.firebase.ml.vision.face.FirebaseVisionFace r0 = r6.d float r0 = r0.getRightEyeOpenProbability() L40: int r0 = (r0 > r3 ? 1 : (r0 == r3 ? 0 : -1)) if (r0 != 0) goto L45 return L45: java.lang.Integer r0 = r5.d int r0 = r0.intValue() r3 = 2 r4 = 3 if (r0 == 0) goto L58 if (r0 == r1) goto L58 if (r0 != r3) goto L68 java.lang.Integer r6 = java.lang.Integer.valueOf(r4) goto L66 L58: java.lang.Boolean r6 = a(r6) boolean r6 = r6.booleanValue() if (r6 == 0) goto L68 java.lang.Integer r6 = java.lang.Integer.valueOf(r3) L66: r5.d = r6 L68: java.lang.Integer r6 = r5.d int r6 = r6.intValue() if (r6 != r4) goto L84 r6 = 0 java.lang.Integer r6 = java.lang.Integer.valueOf(r6) r5.d = r6 java.lang.Integer r6 = r5.h int r6 = r6.intValue() int r6 = r6 + r1 java.lang.Integer r6 = java.lang.Integer.valueOf(r6) r5.h = r6 L84: java.lang.Integer r6 = r5.h int r6 = r6.intValue() java.lang.Integer r0 = r5.a int r0 = r0.intValue() if (r6 < r0) goto La9 android.os.Handler r6 = r5.j java.lang.Runnable r0 = r5.i r6.removeCallbacks(r0) o.fQE r6 = r5.e android.os.Message r0 = new android.os.Message r0.() r6.b() java.lang.Integer r6 = java.lang.Integer.valueOf(r2) r5.d = r6 La9: return */ throw new UnsupportedOperationException("Method not decompiled: o.C13083fQJ.c(o.fQm):void"); } @Override // o.fQG public final String a() { return "turn_head_left"; } @Override // o.fQG public final Integer e() { return this.b; } @Override // o.fQG public final void e(fQE fqe) { this.e = fqe; } public C13083fQJ(Integer num, Integer num2) { this.b = FaceProcessor.LivenessActivity.TURN_FACE_LEFT; this.a = num; this.c = num2; this.d = 0; this.h = 0; this.f = -1; } public C13083fQJ() { this(1, 5000); } }