a.smali

.class public Lqa/a;
.super Landroid/content/BroadcastReceiver;
.source "LogBroadcastReceiver.kt"


# annotations
.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0008\u0016\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u001c\u0010\u0003\u001a\u00020\u00042\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0008\u0010\u0007\u001a\u0004\u0018\u00010\u0008H\u0016\u00a8\u0006\t"
    }
    d2 = {
        "Lcom/shopee/android/log/impl/LogBroadcastReceiver;",
        "Landroid/content/BroadcastReceiver;",
        "()V",
        "onReceive",
        "",
        "context",
        "Landroid/content/Context;",
        "intent",
        "Landroid/content/Intent;",
        "impl_release"
    }
    k = 0x1
    mv = {
        0x1,
        0x1,
        0x10
    }
.end annotation


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .registers 8

    const/4 p1, 0x0

    if-eqz p2, :cond_8

    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    goto :goto_9

    :cond_8
    move-object v0, p1

    :goto_9
    if-nez v0, :cond_c

    goto :goto_64

    :cond_c
    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v1

    const v2, -0x15964eba

    const-string v3, "log_collect_key"

    const-string v4, "LogBroadcastReceiver"

    if-eq v1, v2, :cond_42

    const v2, -0x92f49a3

    if-eq v1, v2, :cond_1f

    goto :goto_64

    :cond_1f
    const-string v1, "log_parse_action"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_64

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    sget-object v1, Lqa/a$b;->a:Lqa/a$b;

    invoke-virtual {v0, v4, v1}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    invoke-virtual {p2, v3}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p2

    instance-of v0, p2, Lra/b;

    if-nez v0, :cond_37

    goto :goto_38

    :cond_37
    move-object p1, p2

    :goto_38
    check-cast p1, Lra/b;

    if-eqz p1, :cond_64

    sget-object p2, Lqa/d;->e:Lqa/d$a;

    invoke-virtual {p2, p1}, Lqa/d$a;->a(Lra/b;)V

    goto :goto_64

    :cond_42
    const-string v1, "log_collect_action"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_64

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    sget-object v1, Lqa/a$a;->a:Lqa/a$a;

    invoke-virtual {v0, v4, v1}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    invoke-virtual {p2, v3}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p2

    instance-of v0, p2, Lra/b;

    if-nez v0, :cond_5a

    goto :goto_5b

    :cond_5a
    move-object p1, p2

    :goto_5b
    check-cast p1, Lra/b;

    if-eqz p1, :cond_64

    sget-object p2, Lqa/d;->e:Lqa/d$a;

    invoke-virtual {p2, p1}, Lqa/d$a;->b(Lra/b;)V

    :cond_64
    :goto_64
    return-void
.end method