g.smali
.class public final Lf/b/b/b/q1/m/g;
.super Ljava/lang/Object;
.source ""
# direct methods
.method public static a(JLf/b/b/b/s1/y;[Lf/b/b/b/k1/v;)V
.registers 14
:goto_0
invoke-virtual {p2}, Lf/b/b/b/s1/y;->a()I
move-result v0
const/4 v1, 0x1
if-le v0, v1, :cond_70
invoke-static {p2}, Lf/b/b/b/q1/m/g;->c(Lf/b/b/b/s1/y;)I
move-result v0
invoke-static {p2}, Lf/b/b/b/q1/m/g;->c(Lf/b/b/b/s1/y;)I
move-result v2
invoke-virtual {p2}, Lf/b/b/b/s1/y;->c()I
move-result v3
add-int/2addr v3, v2
const/4 v4, -0x1
if-eq v2, v4, :cond_61
invoke-virtual {p2}, Lf/b/b/b/s1/y;->a()I
move-result v4
if-le v2, v4, :cond_1e
goto :goto_61
:cond_1e
const/4 v4, 0x4
if-ne v0, v4, :cond_6c
const/16 v0, 0x8
if-lt v2, v0, :cond_6c
invoke-virtual {p2}, Lf/b/b/b/s1/y;->A()I
move-result v0
invoke-virtual {p2}, Lf/b/b/b/s1/y;->G()I
move-result v2
const/16 v4, 0x31
const/4 v5, 0x0
if-ne v2, v4, :cond_37
invoke-virtual {p2}, Lf/b/b/b/s1/y;->k()I
move-result v6
goto :goto_38
:cond_37
const/4 v6, 0x0
:goto_38
invoke-virtual {p2}, Lf/b/b/b/s1/y;->A()I
move-result v7
const/16 v8, 0x2f
if-ne v2, v8, :cond_43
invoke-virtual {p2, v1}, Lf/b/b/b/s1/y;->O(I)V
:cond_43
const/16 v9, 0xb5
if-ne v0, v9, :cond_50
if-eq v2, v4, :cond_4b
if-ne v2, v8, :cond_50
:cond_4b
const/4 v0, 0x3
if-ne v7, v0, :cond_50
const/4 v0, 0x1
goto :goto_51
:cond_50
const/4 v0, 0x0
:goto_51
if-ne v2, v4, :cond_5b
const v2, 0x47413934
if-ne v6, v2, :cond_59
goto :goto_5a
:cond_59
const/4 v1, 0x0
:goto_5a
and-int/2addr v0, v1
:cond_5b
if-eqz v0, :cond_6c
invoke-static {p0, p1, p2, p3}, Lf/b/b/b/q1/m/g;->b(JLf/b/b/b/s1/y;[Lf/b/b/b/k1/v;)V
goto :goto_6c
:cond_61
:goto_61
const-string v0, "CeaUtil"
const-string v1, "Skipping remainder of malformed SEI NAL unit."
invoke-static {v0, v1}, Lf/b/b/b/s1/r;->h(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {p2}, Lf/b/b/b/s1/y;->d()I
move-result v3
:cond_6c
:goto_6c
invoke-virtual {p2, v3}, Lf/b/b/b/s1/y;->N(I)V
goto :goto_0
:cond_70
return-void
.end method
.method public static b(JLf/b/b/b/s1/y;[Lf/b/b/b/k1/v;)V
.registers 15
invoke-virtual {p2}, Lf/b/b/b/s1/y;->A()I
move-result v0
and-int/lit8 v1, v0, 0x40
const/4 v2, 0x0
const/4 v3, 0x1
if-eqz v1, :cond_c
const/4 v1, 0x1
goto :goto_d
:cond_c
const/4 v1, 0x0
:goto_d
if-nez v1, :cond_10
return-void
:cond_10
and-int/lit8 v0, v0, 0x1f
invoke-virtual {p2, v3}, Lf/b/b/b/s1/y;->O(I)V
mul-int/lit8 v0, v0, 0x3
invoke-virtual {p2}, Lf/b/b/b/s1/y;->c()I
move-result v1
array-length v3, p3
:goto_1c
if-ge v2, v3, :cond_31
aget-object v4, p3, v2
invoke-virtual {p2, v1}, Lf/b/b/b/s1/y;->N(I)V
invoke-interface {v4, p2, v0}, Lf/b/b/b/k1/v;->b(Lf/b/b/b/s1/y;I)V
const/4 v7, 0x1
const/4 v9, 0x0
const/4 v10, 0x0
move-wide v5, p0
move v8, v0
invoke-interface/range {v4 .. v10}, Lf/b/b/b/k1/v;->c(JIIILf/b/b/b/k1/v$a;)V
add-int/lit8 v2, v2, 0x1
goto :goto_1c
:cond_31
return-void
.end method
.method private static c(Lf/b/b/b/s1/y;)I
.registers 4
const/4 v0, 0x0
:cond_1
invoke-virtual {p0}, Lf/b/b/b/s1/y;->a()I
move-result v1
if-nez v1, :cond_9
const/4 p0, -0x1
return p0
:cond_9
invoke-virtual {p0}, Lf/b/b/b/s1/y;->A()I
move-result v1
add-int/2addr v0, v1
const/16 v2, 0xff
if-eq v1, v2, :cond_1
return v0
.end method