58 lines
1.4 KiB
Java
58 lines
1.4 KiB
Java
package h0.a.a;
|
|
/* compiled from: Handler */
|
|
public final class o {
|
|
public final p a;
|
|
public final p b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final p f2805c;
|
|
public final int d;
|
|
public final String e;
|
|
public o f;
|
|
|
|
public o(o oVar, p pVar, p pVar2) {
|
|
p pVar3 = oVar.f2805c;
|
|
int i = oVar.d;
|
|
String str = oVar.e;
|
|
this.a = pVar;
|
|
this.b = pVar2;
|
|
this.f2805c = pVar3;
|
|
this.d = i;
|
|
this.e = str;
|
|
this.f = oVar.f;
|
|
}
|
|
|
|
public o(p pVar, p pVar2, p pVar3, int i, String str) {
|
|
this.a = pVar;
|
|
this.b = pVar2;
|
|
this.f2805c = pVar3;
|
|
this.d = i;
|
|
this.e = str;
|
|
}
|
|
|
|
public static o a(o oVar, p pVar, p pVar2) {
|
|
if (oVar == null) {
|
|
return null;
|
|
}
|
|
o a = a(oVar.f, pVar, pVar2);
|
|
oVar.f = a;
|
|
p pVar3 = oVar.a;
|
|
int i = pVar3.e;
|
|
p pVar4 = oVar.b;
|
|
int i2 = pVar4.e;
|
|
int i3 = pVar.e;
|
|
int i4 = pVar2 == null ? Integer.MAX_VALUE : pVar2.e;
|
|
if (i3 >= i2 || i4 <= i) {
|
|
return oVar;
|
|
}
|
|
if (i3 <= i) {
|
|
return i4 >= i2 ? a : new o(oVar, pVar2, pVar4);
|
|
}
|
|
if (i4 >= i2) {
|
|
return new o(oVar, pVar3, pVar);
|
|
}
|
|
oVar.f = new o(oVar, pVar2, pVar4);
|
|
return new o(oVar, oVar.a, pVar);
|
|
}
|
|
}
|