.class public final Lcom/facebook/c/a; .super Ljava/lang/Object; # interfaces .implements Lcom/facebook/c/c$a; # static fields .field private static final Le:[B .field private static final Lf:I .field private static final Lg:[B .field private static final Lh:I .field private static final Li:[B .field private static final Lj:[B .field private static final Lk:[B .field private static final Ll:I .field private static final Lm:[B .field private static final Ln:I .field private static final Lo:[Ljava/lang/String; .field private static final Lp:I # instance fields .field final Ld:I # direct methods .method static constructor ()V .locals 6 const/4 v0, 0x3 new-array v1, v0, [B fill-array-data v1, :array_0 sput-object v1, Lcom/facebook/c/a;->Le:[B sput v0, Lcom/facebook/c/a;->Lf:I const/16 v1, 0x8 new-array v2, v1, [B fill-array-data v2, :array_1 sput-object v2, Lcom/facebook/c/a;->Lg:[B sput v1, Lcom/facebook/c/a;->Lh:I const-string v1, "GIF87a" invoke-static {v1}, Lcom/facebook/c/e;->aq(Ljava/lang/String;)[B move-result-object v1 sput-object v1, Lcom/facebook/c/a;->Li:[B const-string v1, "GIF89a" invoke-static {v1}, Lcom/facebook/c/e;->aq(Ljava/lang/String;)[B move-result-object v1 sput-object v1, Lcom/facebook/c/a;->Lj:[B const-string v1, "BM" invoke-static {v1}, Lcom/facebook/c/e;->aq(Ljava/lang/String;)[B move-result-object v1 sput-object v1, Lcom/facebook/c/a;->Lk:[B array-length v1, v1 sput v1, Lcom/facebook/c/a;->Ll:I const/4 v1, 0x4 new-array v2, v1, [B fill-array-data v2, :array_2 sput-object v2, Lcom/facebook/c/a;->Lm:[B sput v1, Lcom/facebook/c/a;->Ln:I const/4 v2, 0x6 new-array v2, v2, [Ljava/lang/String; const-string v3, "heic" const/4 v4, 0x0 aput-object v3, v2, v4 const-string v3, "heix" const/4 v5, 0x1 aput-object v3, v2, v5 const-string v3, "hevc" const/4 v5, 0x2 aput-object v3, v2, v5 const-string v3, "hevx" aput-object v3, v2, v0 const-string v0, "mif1" aput-object v0, v2, v1 const-string v0, "msf1" const/4 v1, 0x5 aput-object v0, v2, v1 sput-object v2, Lcom/facebook/c/a;->Lo:[Ljava/lang/String; new-instance v0, Ljava/lang/StringBuilder; const-string v1, "ftyp" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V sget-object v1, Lcom/facebook/c/a;->Lo:[Ljava/lang/String; aget-object v1, v1, v4 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-static {v0}, Lcom/facebook/c/e;->aq(Ljava/lang/String;)[B move-result-object v0 array-length v0, v0 sput v0, Lcom/facebook/c/a;->Lp:I return-void nop :array_0 .array-data 1 -0x1t -0x28t -0x1t .end array-data :array_1 .array-data 1 -0x77t 0x50t 0x4et 0x47t 0xdt 0xat 0x1at 0xat .end array-data :array_2 .array-data 1 0x0t 0x0t 0x1t 0x0t .end array-data .end method .method public constructor ()V .locals 4 invoke-direct {p0}, Ljava/lang/Object;->()V const/16 v0, 0x8 new-array v0, v0, [I const/4 v1, 0x0 const/16 v2, 0x15 aput v2, v0, v1 const/4 v1, 0x1 const/16 v2, 0x14 aput v2, v0, v1 sget v1, Lcom/facebook/c/a;->Lf:I const/4 v2, 0x2 aput v1, v0, v2 sget v1, Lcom/facebook/c/a;->Lh:I const/4 v2, 0x3 aput v1, v0, v2 const/4 v1, 0x6 const/4 v2, 0x4 aput v1, v0, v2 sget v2, Lcom/facebook/c/a;->Ll:I const/4 v3, 0x5 aput v2, v0, v3 sget v2, Lcom/facebook/c/a;->Ln:I aput v2, v0, v1 sget v1, Lcom/facebook/c/a;->Lp:I const/4 v2, 0x7 aput v1, v0, v2 invoke-static {v0}, Lcom/facebook/common/d/g;->b([I)I move-result v0 iput v0, p0, Lcom/facebook/c/a;->Ld:I return-void .end method # virtual methods .method public final c([BI)Lcom/facebook/c/c; .locals 7 .annotation runtime Ljavax/annotation/Nullable; .end annotation invoke-static {p1}, Lcom/facebook/common/d/i;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; const/4 v0, 0x0 invoke-static {p1, v0, p2}, Lcom/facebook/common/k/c;->a([BII)Z move-result v1 if-eqz v1, :cond_5 invoke-static {p1, v0, p2}, Lcom/facebook/common/k/c;->a([BII)Z move-result v0 invoke-static {v0}, Lcom/facebook/common/d/i;->checkArgument(Z)V invoke-static {p1}, Lcom/facebook/common/k/c;->d([B)Z move-result v0 if-eqz v0, :cond_0 sget-object p1, Lcom/facebook/c/b;->Lv:Lcom/facebook/c/c; return-object p1 :cond_0 invoke-static {p1}, Lcom/facebook/common/k/c;->e([B)Z move-result v0 if-eqz v0, :cond_1 sget-object p1, Lcom/facebook/c/b;->Lw:Lcom/facebook/c/c; return-object p1 :cond_1 invoke-static {p1, p2}, Lcom/facebook/common/k/c;->b([BI)Z move-result p2 if-eqz p2, :cond_4 invoke-static {p1}, Lcom/facebook/common/k/c;->c([B)Z move-result p2 if-eqz p2, :cond_2 sget-object p1, Lcom/facebook/c/b;->Lz:Lcom/facebook/c/c; return-object p1 :cond_2 invoke-static {p1}, Lcom/facebook/common/k/c;->f([B)Z move-result p1 if-eqz p1, :cond_3 sget-object p1, Lcom/facebook/c/b;->Ly:Lcom/facebook/c/c; return-object p1 :cond_3 sget-object p1, Lcom/facebook/c/b;->Lx:Lcom/facebook/c/c; return-object p1 :cond_4 sget-object p1, Lcom/facebook/c/c;->LB:Lcom/facebook/c/c; return-object p1 :cond_5 sget-object v1, Lcom/facebook/c/a;->Le:[B array-length v1, v1 const/4 v2, 0x1 if-lt p2, v1, :cond_6 sget-object v1, Lcom/facebook/c/a;->Le:[B invoke-static {p1, v1}, Lcom/facebook/c/e;->a([B[B)Z move-result v1 if-eqz v1, :cond_6 const/4 v1, 0x1 goto :goto_0 :cond_6 const/4 v1, 0x0 :goto_0 if-eqz v1, :cond_7 sget-object p1, Lcom/facebook/c/b;->Lq:Lcom/facebook/c/c; return-object p1 :cond_7 sget-object v1, Lcom/facebook/c/a;->Lg:[B array-length v1, v1 if-lt p2, v1, :cond_8 sget-object v1, Lcom/facebook/c/a;->Lg:[B invoke-static {p1, v1}, Lcom/facebook/c/e;->a([B[B)Z move-result v1 if-eqz v1, :cond_8 const/4 v1, 0x1 goto :goto_1 :cond_8 const/4 v1, 0x0 :goto_1 if-eqz v1, :cond_9 sget-object p1, Lcom/facebook/c/b;->Lr:Lcom/facebook/c/c; return-object p1 :cond_9 const/4 v1, 0x6 if-lt p2, v1, :cond_b sget-object v1, Lcom/facebook/c/a;->Li:[B invoke-static {p1, v1}, Lcom/facebook/c/e;->a([B[B)Z move-result v1 if-nez v1, :cond_a sget-object v1, Lcom/facebook/c/a;->Lj:[B invoke-static {p1, v1}, Lcom/facebook/c/e;->a([B[B)Z move-result v1 if-eqz v1, :cond_b :cond_a const/4 v1, 0x1 goto :goto_2 :cond_b const/4 v1, 0x0 :goto_2 if-eqz v1, :cond_c sget-object p1, Lcom/facebook/c/b;->Ls:Lcom/facebook/c/c; return-object p1 :cond_c sget-object v1, Lcom/facebook/c/a;->Lk:[B array-length v1, v1 if-ge p2, v1, :cond_d const/4 v1, 0x0 goto :goto_3 :cond_d sget-object v1, Lcom/facebook/c/a;->Lk:[B invoke-static {p1, v1}, Lcom/facebook/c/e;->a([B[B)Z move-result v1 :goto_3 if-eqz v1, :cond_e sget-object p1, Lcom/facebook/c/b;->Lt:Lcom/facebook/c/c; return-object p1 :cond_e sget-object v1, Lcom/facebook/c/a;->Lm:[B array-length v1, v1 if-ge p2, v1, :cond_f const/4 v1, 0x0 goto :goto_4 :cond_f sget-object v1, Lcom/facebook/c/a;->Lm:[B invoke-static {p1, v1}, Lcom/facebook/c/e;->a([B[B)Z move-result v1 :goto_4 if-eqz v1, :cond_10 sget-object p1, Lcom/facebook/c/b;->Lu:Lcom/facebook/c/c; return-object p1 :cond_10 sget v1, Lcom/facebook/c/a;->Lp:I if-lt p2, v1, :cond_12 const/4 p2, 0x3 aget-byte p2, p1, p2 const/16 v1, 0x8 if-lt p2, v1, :cond_12 sget-object p2, Lcom/facebook/c/a;->Lo:[Ljava/lang/String; array-length v1, p2 const/4 v3, 0x0 :goto_5 if-ge v3, v1, :cond_12 aget-object v4, p2, v3 array-length v5, p1 const-string v6, "ftyp" invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String; move-result-object v4 invoke-virtual {v6, v4}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; move-result-object v4 invoke-static {v4}, Lcom/facebook/c/e;->aq(Ljava/lang/String;)[B move-result-object v4 sget v6, Lcom/facebook/c/a;->Lp:I invoke-static {p1, v5, v4, v6}, Lcom/facebook/c/e;->a([BI[BI)I move-result v4 if-ltz v4, :cond_11 const/4 v0, 0x1 goto :goto_6 :cond_11 add-int/lit8 v3, v3, 0x1 goto :goto_5 :cond_12 :goto_6 if-eqz v0, :cond_13 sget-object p1, Lcom/facebook/c/b;->LA:Lcom/facebook/c/c; return-object p1 :cond_13 sget-object p1, Lcom/facebook/c/c;->LB:Lcom/facebook/c/c; return-object p1 .end method .method public final gX()I .locals 1 iget v0, p0, Lcom/facebook/c/a;->Ld:I return v0 .end method