package p028j; /* renamed from: j.y2 */ /* loaded from: classes.dex */ public class C1245y2 { /* renamed from: a */ public int f2939a = 0; /* renamed from: b */ public int f2940b = 0; /* renamed from: c */ public int f2941c = Integer.MIN_VALUE; /* renamed from: d */ public int f2942d = Integer.MIN_VALUE; /* renamed from: e */ public int f2943e = 0; /* renamed from: f */ public int f2944f = 0; /* renamed from: g */ public boolean f2945g = false; /* renamed from: h */ public boolean f2946h = false; /* renamed from: a */ public int m1794a() { return this.f2945g ? this.f2939a : this.f2940b; } /* renamed from: b */ public int m1793b() { return this.f2939a; } /* renamed from: c */ public int m1792c() { return this.f2940b; } /* renamed from: d */ public int m1791d() { return this.f2945g ? this.f2940b : this.f2939a; } /* renamed from: e */ public void m1790e(int i, int i2) { this.f2946h = false; if (i != Integer.MIN_VALUE) { this.f2943e = i; this.f2939a = i; } if (i2 != Integer.MIN_VALUE) { this.f2944f = i2; this.f2940b = i2; } } /* JADX WARN: Code restructure failed: missing block: B:14:0x001a, code lost: if (r2 != Integer.MIN_VALUE) goto L15; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0028, code lost: if (r2 != Integer.MIN_VALUE) goto L15; */ /* renamed from: f */ /* Code decompiled incorrectly, please refer to instructions dump. */ public void m1789f(boolean z) { int i; if (z == this.f2945g) { return; } this.f2945g = z; if (!this.f2946h) { this.f2939a = this.f2943e; } else if (z) { int i2 = this.f2942d; if (i2 == Integer.MIN_VALUE) { i2 = this.f2943e; } this.f2939a = i2; i = this.f2941c; } else { int i3 = this.f2941c; if (i3 == Integer.MIN_VALUE) { i3 = this.f2943e; } this.f2939a = i3; i = this.f2942d; } i = this.f2944f; this.f2940b = i; } /* renamed from: g */ public void m1788g(int i, int i2) { this.f2941c = i; this.f2942d = i2; this.f2946h = true; if (this.f2945g) { if (i2 != Integer.MIN_VALUE) { this.f2939a = i2; } if (i != Integer.MIN_VALUE) { this.f2940b = i; return; } return; } if (i != Integer.MIN_VALUE) { this.f2939a = i; } if (i2 != Integer.MIN_VALUE) { this.f2940b = i2; } } }