granularity level: instruction
.class public abstract Lp0/a;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lr0/c;
.implements Lv0/a;
.field public static a:Ljava/lang/Boolean;
.field public static b:Ljava/lang/Boolean;
.field public static c:Ljava/lang/Boolean;
.field public static d:Ljava/lang/Boolean;
.field public static final e:[I
.field public static final f:[Ljava/lang/Object;
.field public static g:Ljava/lang/String;
.field public static h:I
.field public static final i:Lz0/e;
.field public static final j:Lz0/e;
.field public static final k:Lz0/e;
.field public static final l:Lw0/a;
.method static synthetic constructor <clinit>()V
.locals 2
const/4 v0, 0x0
new-array v1, v0, [I
sput-object v1, Lp0/a;->e:[I
new-array v0, v0, [Ljava/lang/Object;
sput-object v0, Lp0/a;->f:[Ljava/lang/Object;
new-instance v0, Lz0/e;
const/4 v1, 0x1
invoke-direct {v0, v1}, Lz0/e;-><init>(I)V
sput-object v0, Lp0/a;->i:Lz0/e;
new-instance v0, Lz0/e;
const/4 v1, 0x3
invoke-direct {v0, v1}, Lz0/e;-><init>(I)V
sput-object v0, Lp0/a;->j:Lz0/e;
new-instance v0, Lz0/e;
const/4 v1, 0x5
invoke-direct {v0, v1}, Lz0/e;-><init>(I)V
sput-object v0, Lp0/a;->k:Lz0/e;
new-instance v0, Lw0/a;
const/4 v1, 0x2
invoke-direct {v0, v1}, Lw0/a;-><init>(I)V
sput-object v0, Lp0/a;->l:Lw0/a;
return-void
.end method
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static A(Landroid/os/Parcel;I)I
.locals 1
const/4 v0, 0x4
invoke-static {p0, p1, v0}, Lp0/a;->G(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result p0
return p0
.end method
.method public static B(Landroid/os/Parcel;I)I
.locals 2
const/high16 v0, -0x10000
and-int v1, p1, v0
if-eq v1, v0, :cond_0
shr-int/lit8 p0, p1, 0x10
int-to-char p0, p0
return p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result p0
return p0
.end method
.method public static C(Landroid/content/Intent;)Z
.locals 3
const/4 v0, 0x0
if-eqz p0, :cond_2
invoke-virtual {p0}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object v1
const-string v2, "com.google.firebase.messaging.RECEIVE_DIRECT_BOOT"
invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
move-result-object p0
if-nez p0, :cond_1
goto :goto_0
:cond_1
const-string v0, "google.c.a.e"
invoke-virtual {p0, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
const-string v0, "1"
invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
:cond_2
:goto_0
return v0
.end method
.method public static D(Landroid/os/Parcel;I)V
.locals 1
invoke-static {p0, p1}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-void
.end method
.method public static E(Lh1/d;)[B
.locals 10
new-instance v0, Ljava/util/ArrayDeque;
const/16 v1, 0x14
invoke-direct {v0, v1}, Ljava/util/ArrayDeque;-><init>(I)V
const/4 v1, 0x0
invoke-static {v1}, Ljava/lang/Integer;->highestOneBit(I)I
move-result v2
const/4 v3, 0x2
mul-int/lit8 v2, v2, 0x2
const/16 v4, 0x80
invoke-static {v4, v2}, Ljava/lang/Math;->max(II)I
move-result v2
const/16 v4, 0x2000
invoke-static {v4, v2}, Ljava/lang/Math;->min(II)I
move-result v2
const/4 v4, 0x0
:goto_0
const/4 v5, -0x1
const v6, 0x7ffffff7
if-ge v4, v6, :cond_5
sub-int/2addr v6, v4
invoke-static {v2, v6}, Ljava/lang/Math;->min(II)I
move-result v6
new-array v7, v6, [B
invoke-virtual {v0, v7}, Ljava/util/ArrayDeque;->add(Ljava/lang/Object;)Z
const/4 v8, 0x0
:goto_1
if-ge v8, v6, :cond_1
sub-int v9, v6, v8
invoke-virtual {p0, v7, v8, v9}, Lh1/d;->read([BII)I
move-result v9
if-ne v9, v5, :cond_0
invoke-static {v0, v4}, Lp0/a;->l(Ljava/util/ArrayDeque;I)[B
move-result-object p0
goto :goto_3
:cond_0
add-int/2addr v8, v9
add-int/2addr v4, v9
goto :goto_1
:cond_1
int-to-long v5, v2
const/16 v7, 0x1000
if-ge v2, v7, :cond_2
const/4 v2, 0x4
goto :goto_2
:cond_2
const/4 v2, 0x2
:goto_2
int-to-long v7, v2
mul-long v5, v5, v7
const-wide/32 v7, 0x7fffffff
cmp-long v2, v5, v7
if-lez v2, :cond_3
const v2, 0x7fffffff
goto :goto_0
:cond_3
const-wide/32 v7, -0x80000000
cmp-long v2, v5, v7
if-gez v2, :cond_4
const/high16 v2, -0x80000000
goto :goto_0
:cond_4
long-to-int v2, v5
goto :goto_0
:cond_5
invoke-virtual {p0}, Lh1/d;->read()I
move-result p0
if-ne p0, v5, :cond_6
invoke-static {v0, v6}, Lp0/a;->l(Ljava/util/ArrayDeque;I)[B
move-result-object p0
:goto_3
return-object p0
:cond_6
new-instance p0, Ljava/lang/OutOfMemoryError;
const-string v0, "input is too large to fit in a byte array"
invoke-direct {p0, v0}, Ljava/lang/OutOfMemoryError;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static F(Landroid/os/Parcel;)I
.locals 5
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result v0
invoke-static {p0, v0}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result v1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v2
int-to-char v3, v0
const/16 v4, 0x4f45
if-ne v3, v4, :cond_1
add-int/2addr v1, v2
if-lt v1, v2, :cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->dataSize()I
move-result v0
if-gt v1, v0, :cond_0
return v1
:cond_0
new-instance v0, Lb0/b;
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, "Size read is invalid start="
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v2, " end="
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1, p0}, Lb0/b;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
:cond_1
new-instance v1, Lb0/b;
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
const-string v2, "Expected object header. Got 0x"
invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0, p0}, Lb0/b;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v1
.end method
.method public static G(Landroid/os/Parcel;II)V
.locals 4
invoke-static {p0, p1}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result p1
if-ne p1, p2, :cond_0
return-void
:cond_0
new-instance v0, Lb0/b;
invoke-static {p1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Expected size "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p2, " got "
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " (0x"
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, ")"
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1, p0}, Lb0/b;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
.end method
.method public static e([III)I
.locals 3
add-int/lit8 p1, p1, -0x1
const/4 v0, 0x0
:goto_0
if-gt v0, p1, :cond_2
add-int v1, v0, p1
ushr-int/lit8 v1, v1, 0x1
aget v2, p0, v1
if-ge v2, p2, :cond_0
add-int/lit8 v1, v1, 0x1
move v0, v1
goto :goto_0
:cond_0
if-le v2, p2, :cond_1
add-int/lit8 v1, v1, -0x1
move p1, v1
goto :goto_0
:cond_1
return v1
:cond_2
not-int p0, v0
return p0
.end method
.method public static f(Lh0/d;)V
.locals 4
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v0
invoke-virtual {p0}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v1
if-eq v0, v1, :cond_1
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroid/os/Looper;->getThread()Ljava/lang/Thread;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v0
goto :goto_0
:cond_0
const-string v0, "null current looper"
:goto_0
new-instance v1, Ljava/lang/IllegalStateException;
invoke-virtual {p0}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object p0
invoke-virtual {p0}, Landroid/os/Looper;->getThread()Ljava/lang/Thread;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object p0
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Must be called on "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " thread, but got "
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, "."
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_1
return-void
.end method
.method public static g(Ljava/lang/String;)V
.locals 1
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p0
if-nez p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Given String is empty or null"
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static h(Ljava/lang/String;Ljava/lang/String;)V
.locals 0
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p1
if-nez p1, :cond_0
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static i(Ljava/lang/Object;Ljava/lang/String;)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static j(Ljava/lang/Object;)V
.locals 1
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
const-string v0, "null reference"
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static k(Ljava/lang/String;Z)V
.locals 0
if-eqz p1, :cond_0
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static l(Ljava/util/ArrayDeque;I)[B
.locals 6
invoke-virtual {p0}, Ljava/util/ArrayDeque;->isEmpty()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
new-array p0, v1, [B
return-object p0
:cond_0
invoke-virtual {p0}, Ljava/util/ArrayDeque;->remove()Ljava/lang/Object;
move-result-object v0
check-cast v0, [B
array-length v2, v0
if-ne v2, p1, :cond_1
return-object v0
:cond_1
array-length v2, v0
sub-int v2, p1, v2
invoke-static {v0, p1}, Ljava/util/Arrays;->copyOf([BI)[B
move-result-object v0
:goto_0
if-lez v2, :cond_2
invoke-virtual {p0}, Ljava/util/ArrayDeque;->remove()Ljava/lang/Object;
move-result-object v3
check-cast v3, [B
array-length v4, v3
invoke-static {v2, v4}, Ljava/lang/Math;->min(II)I
move-result v4
sub-int v5, p1, v2
invoke-static {v3, v1, v0, v5, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
sub-int/2addr v2, v4
goto :goto_0
:cond_2
return-object v0
.end method
.method public static m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
.locals 9
new-instance v0, Lj1/a;
invoke-direct {v0, p0, p1}, Lj1/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V
const-class p0, Lj1/a;
const/4 p1, 0x0
new-array p1, p1, [Ljava/lang/Class;
const/4 v2, 0x0
new-instance v1, Ljava/util/HashSet;
invoke-direct {v1}, Ljava/util/HashSet;-><init>()V
new-instance v3, Ljava/util/HashSet;
invoke-direct {v3}, Ljava/util/HashSet;-><init>()V
const/4 v5, 0x0
new-instance v8, Ljava/util/HashSet;
invoke-direct {v8}, Ljava/util/HashSet;-><init>()V
invoke-virtual {v1, p0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
invoke-static {v1, p1}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
const/4 v6, 0x1
new-instance v7, Lj/b;
const/4 p0, 0x1
invoke-direct {v7, p0, v0}, Lj/b;-><init>(ILjava/lang/Object;)V
new-instance p0, Lr0/b;
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1, v1}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
new-instance v4, Ljava/util/HashSet;
invoke-direct {v4, v3}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
move-object v1, p0
move-object v3, p1
invoke-direct/range {v1 .. v8}, Lr0/b;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILr0/e;Ljava/util/Set;)V
return-object p0
.end method
.method public static n(Landroid/os/Parcel;I)Landroid/os/Bundle;
.locals 2
invoke-static {p0, p1}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readBundle()Landroid/os/Bundle;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static o(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable;
.locals 1
invoke-static {p0, p1}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-interface {p2, p0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroid/os/Parcelable;
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object p2
.end method
.method public static p(Landroid/os/Parcel;I)Ljava/lang/String;
.locals 2
invoke-static {p0, p1}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static q(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)[Ljava/lang/Object;
.locals 1
invoke-static {p0, p1}, Lp0/a;->B(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0, p2}, Landroid/os/Parcel;->createTypedArray(Landroid/os/Parcelable$Creator;)[Ljava/lang/Object;
move-result-object p2
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object p2
.end method
.method public static r(Landroid/os/Parcel;I)V
.locals 3
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-ne v0, p1, :cond_0
return-void
:cond_0
new-instance v0, Lb0/b;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Overread allowed size end="
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1, p0}, Lb0/b;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
.end method
.method public static s(Ljava/lang/String;Lj/c;)Lr0/b;
.locals 11
const-class v0, Lj1/a;
const/4 v1, 0x0
new-array v2, v1, [Ljava/lang/Class;
const/4 v4, 0x0
new-instance v3, Ljava/util/HashSet;
invoke-direct {v3}, Ljava/util/HashSet;-><init>()V
new-instance v5, Ljava/util/HashSet;
invoke-direct {v5}, Ljava/util/HashSet;-><init>()V
const/4 v7, 0x0
new-instance v10, Ljava/util/HashSet;
invoke-direct {v10}, Ljava/util/HashSet;-><init>()V
invoke-virtual {v3, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
array-length v0, v2
const/4 v6, 0x0
:goto_0
if-ge v6, v0, :cond_1
aget-object v8, v2, v6
if-eqz v8, :cond_0
add-int/lit8 v6, v6, 0x1
goto :goto_0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
const-string p1, "Null interface"
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
:cond_1
invoke-static {v3, v2}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
const/4 v8, 0x1
const-class v0, Landroid/content/Context;
new-instance v2, Lr0/k;
const/4 v6, 0x1
invoke-direct {v2, v0, v6, v1}, Lr0/k;-><init>(Ljava/lang/Class;II)V
iget-object v0, v2, Lr0/k;->a:Ljava/lang/Class;
invoke-virtual {v3, v0}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
move-result v0
xor-int/2addr v0, v6
if-eqz v0, :cond_2
invoke-virtual {v5, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
new-instance v9, Lj1/e;
invoke-direct {v9, p0, p1, v1}, Lj1/e;-><init>(Ljava/lang/String;Ljava/lang/Object;I)V
new-instance p0, Lr0/b;
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1, v3}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
new-instance v6, Ljava/util/HashSet;
invoke-direct {v6, v5}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
move-object v3, p0
move-object v5, p1
invoke-direct/range {v3 .. v10}, Lr0/b;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILr0/e;Ljava/util/Set;)V
return-object p0
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Components are not allowed to depend on interfaces they themselves provide."
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static t()Ljava/lang/String;
.locals 5
sget-object v0, Lp0/a;->g:Ljava/lang/String;
if-nez v0, :cond_2
sget v0, Lp0/a;->h:I
if-nez v0, :cond_0
invoke-static {}, Landroid/os/Process;->myPid()I
move-result v0
sput v0, Lp0/a;->h:I
:cond_0
const/4 v1, 0x0
if-gtz v0, :cond_1
goto :goto_3
:try_start_0
:cond_1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "/proc/"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v0, "/cmdline"
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {}, Landroid/os/StrictMode;->allowThreadDiskReads()Landroid/os/StrictMode$ThreadPolicy;
move-result-object v2
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
.catchall {:try_start_0 .. :try_end_0} :catchall_2
:try_start_1
new-instance v3, Ljava/io/BufferedReader;
new-instance v4, Ljava/io/FileReader;
invoke-direct {v4, v0}, Ljava/io/FileReader;-><init>(Ljava/lang/String;)V
invoke-direct {v3, v4}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
:try_start_2
invoke-static {v2}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1
.catchall {:try_start_2 .. :try_end_2} :catchall_2
:try_start_3
invoke-virtual {v3}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lp0/a;->j(Ljava/lang/Object;)V
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v0
:try_end_3
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_0
.catchall {:try_start_3 .. :try_end_3} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
move-object v1, v3
goto :goto_1
:catch_0
move-object v0, v1
:goto_0
move-object v1, v3
goto :goto_2
:catchall_1
move-exception v0
:try_start_4
invoke-static {v2}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
throw v0
:try_end_4
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_1
.catchall {:try_start_4 .. :try_end_4} :catchall_2
:catchall_2
move-exception v0
:goto_1
invoke-static {v1}, Lf0/a;->e(Ljava/io/BufferedReader;)V
throw v0
:catch_1
move-object v0, v1
:goto_2
invoke-static {v1}, Lf0/a;->e(Ljava/io/BufferedReader;)V
move-object v1, v0
:goto_3
sput-object v1, Lp0/a;->g:Ljava/lang/String;
:cond_2
sget-object v0, Lp0/a;->g:Ljava/lang/String;
return-object v0
.end method
.method public static u()Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1a
if-lt v0, v1, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public static v(Landroid/content/Context;)Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x18
if-lt v0, v1, :cond_0
const-class v0, Landroid/os/UserManager;
invoke-static {p0, v0}, Lf/e;->a(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/os/UserManager;
invoke-static {p0}, Ld/a;->c(Landroid/os/UserManager;)Z
move-result p0
return p0
:cond_0
const/4 p0, 0x1
return p0
.end method
.method public static w(Landroid/content/Context;)Z
.locals 4
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
sget-object v1, Lp0/a;->a:Ljava/lang/Boolean;
if-nez v1, :cond_0
const-string v1, "android.hardware.type.watch"
invoke-virtual {v0, v1}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result v0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
sput-object v0, Lp0/a;->a:Ljava/lang/Boolean;
:cond_0
sget-object v0, Lp0/a;->a:Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
const/4 v1, 0x0
const/4 v2, 0x1
if-eqz v0, :cond_2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x18
if-lt v0, v3, :cond_1
const/4 v0, 0x1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_5
:cond_2
sget-object v0, Lp0/a;->b:Ljava/lang/Boolean;
if-nez v0, :cond_3
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
const-string v0, "cn.google"
invoke-virtual {p0, v0}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result p0
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
sput-object p0, Lp0/a;->b:Ljava/lang/Boolean;
:cond_3
sget-object p0, Lp0/a;->b:Ljava/lang/Boolean;
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
move-result p0
if-eqz p0, :cond_6
invoke-static {}, Lp0/a;->u()Z
move-result p0
if-eqz p0, :cond_5
sget p0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v0, 0x1e
if-lt p0, v0, :cond_4
const/4 p0, 0x1
goto :goto_1
:cond_4
const/4 p0, 0x0
:goto_1
if-eqz p0, :cond_6
:cond_5
return v2
:cond_6
return v1
.end method
.method public static x(Ljava/lang/String;Landroid/os/Bundle;)V
.locals 5
const-string v0, "FirebaseMessaging"
:try_start_0
invoke-static {}, Lp0/g;->b()Lp0/g;
:try_end_0
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_2
if-nez p1, :cond_0
new-instance p1, Landroid/os/Bundle;
invoke-direct {p1}, Landroid/os/Bundle;-><init>()V
:cond_0
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
const-string v2, "google.c.a.c_id"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_1
const-string v3, "_nmid"
invoke-virtual {v1, v3, v2}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
const-string v2, "google.c.a.c_l"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_2
const-string v3, "_nmn"
invoke-virtual {v1, v3, v2}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_2
const-string v2, "google.c.a.m_l"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_3
const-string v3, "label"
invoke-virtual {v1, v3, v2}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_3
const-string v2, "google.c.a.m_c"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_4
const-string v3, "message_channel"
invoke-virtual {v1, v3, v2}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_4
const-string v2, "from"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
const/4 v3, 0x0
if-eqz v2, :cond_5
const-string v4, "/topics/"
invoke-virtual {v2, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v4
if-eqz v4, :cond_5
goto :goto_0
:cond_5
move-object v2, v3
:goto_0
if-eqz v2, :cond_6
const-string v4, "_nt"
invoke-virtual {v1, v4, v2}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_6
const-string v2, "google.c.a.ts"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_7
:try_start_1
const-string v4, "_nmt"
invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v2
invoke-virtual {v1, v4, v2}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
:try_end_1
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0
goto :goto_1
:catch_0
move-exception v2
const-string v4, "Error while parsing timestamp in GCM event"
invoke-static {v0, v4, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_1
:cond_7
const-string v2, "google.c.a.udt"
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->containsKey(Ljava/lang/String;)Z
move-result v4
if-eqz v4, :cond_8
invoke-virtual {p1, v2}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
:cond_8
if-eqz v3, :cond_9
:try_start_2
const-string v2, "_ndt"
invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v3
invoke-virtual {v1, v2, v3}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
:try_end_2
.catch Ljava/lang/NumberFormatException; {:try_start_2 .. :try_end_2} :catch_1
goto :goto_2
:catch_1
move-exception v2
const-string v3, "Error while parsing use_device_time in GCM event"
invoke-static {v0, v3, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_2
:cond_9
invoke-static {p1}, Lp/e;->j(Landroid/os/Bundle;)Z
move-result p1
if-eqz p1, :cond_a
const-string p1, "display"
goto :goto_3
:cond_a
const-string p1, "data"
:goto_3
const-string v2, "_nr"
invoke-virtual {v2, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_b
const-string v2, "_nf"
invoke-virtual {v2, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_c
:cond_b
const-string v2, "_nmc"
invoke-virtual {v1, v2, p1}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_c
const/4 p1, 0x3
invoke-static {v0, p1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result p1
if-eqz p1, :cond_d
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Logging to scion event="
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " scionPayload="
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {v0, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_d
invoke-static {}, Lp0/g;->b()Lp0/g;
move-result-object p0
const-class p1, Lq0/a;
invoke-virtual {p0}, Lp0/g;->a()V
iget-object p0, p0, Lp0/g;->d:Lr0/h;
invoke-virtual {p0, p1}, Lp0/a;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lq0/a;
if-eqz p0, :cond_e
invoke-interface {p0}, Lq0/a;->b()V
goto :goto_4
:cond_e
const-string p0, "Unable to log event: analytics library is missing"
invoke-static {v0, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:goto_4
return-void
:catch_2
const-string p0, "Default FirebaseApp has not been initialized. Skip logging event to GA."
invoke-static {v0, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public static y(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 3
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v1
sub-int/2addr v0, v1
if-ltz v0, :cond_2
const/4 v1, 0x1
if-gt v0, v1, :cond_2
new-instance v0, Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v1
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v2
add-int/2addr v2, v1
invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(I)V
const/4 v1, 0x0
:goto_0
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v2
if-ge v1, v2, :cond_1
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
move-result v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v2
if-le v2, v1, :cond_0
invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C
move-result v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Invalid input received"
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static z(Landroid/os/Parcel;I)Z
.locals 1
const/4 v0, 0x4
invoke-static {p0, p1, v0}, Lp0/a;->G(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public a(Ljava/lang/Class;)Ljava/lang/Object;
.locals 0
invoke-interface {p0, p1}, Lr0/c;->b(Ljava/lang/Class;)Lb1/a;
move-result-object p1
if-nez p1, :cond_0
const/4 p1, 0x0
return-object p1
:cond_0
invoke-interface {p1}, Lb1/a;->get()Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public c(Ljava/lang/Class;)Ljava/util/Set;
.locals 0
invoke-interface {p0, p1}, Lr0/c;->d(Ljava/lang/Class;)Lb1/a;
move-result-object p1
invoke-interface {p1}, Lb1/a;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/util/Set;
return-object p1
.end method