o.smali

.class public final synthetic Lcom/google/android/exoplayer2/util/o;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic a:I

.field public final synthetic b:I

.field public final synthetic c:Ljava/lang/Object;

.field public final synthetic d:Ljava/lang/Object;


# direct methods
.method public synthetic constructor <init>(Ljava/lang/Object;ILjava/lang/Object;I)V
    .registers 5

    .line 1
    iput p4, p0, Lcom/google/android/exoplayer2/util/o;->a:I

    iput-object p1, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    iput p2, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    iput-object p3, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public synthetic constructor <init>(Ljava/lang/Object;Ljava/lang/Object;II)V
    .registers 5

    .line 2
    iput p4, p0, Lcom/google/android/exoplayer2/util/o;->a:I

    iput-object p1, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    iput-object p2, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    iput p3, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 9

    iget v0, p0, Lcom/google/android/exoplayer2/util/o;->a:I

    const/4 v1, -0x1

    const/4 v2, 0x2

    const/4 v3, 0x0

    const/4 v4, 0x1

    packed-switch v0, :pswitch_data_ec

    goto/16 :goto_b0

    :pswitch_b
    iget-object v0, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/magic/l$d;

    iget-object v1, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    check-cast v1, Lcom/shopee/sz/mediasdk/magic/SSZMediaMagicEffectEntity;

    iget v3, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    .line 1
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/magic/l$d;->c:Lcom/shopee/sz/mediasdk/magic/l;

    .line 2
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/magic/l;->c:Ljava/util/HashMap;

    .line 3
    invoke-virtual {v1}, Lcom/shopee/sz/mediasdk/magic/SSZMediaMagicEffectEntity;->getTabId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/shopee/sz/mediasdk/magic/l$e;

    invoke-interface {v0, v2, v3}, Lcom/shopee/sz/mediasdk/magic/l$e;->c(II)V

    const-string v0, "MagicEffectHelper"

    const-string v1, "magic download pause"

    .line 4
    invoke-static {v0, v1}, Lcom/shopee/sz/loadtask/datasource/a;->G(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 5
    :pswitch_2e
    iget-object v0, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sszrtc/srtn/sfu/l;

    iget v1, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    iget-object v2, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    check-cast v2, Ljava/lang/String;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const/16 v4, 0x3e8

    if-ne v1, v4, :cond_49

    .line 6
    iget-object v3, v0, Lcom/shopee/sszrtc/srtn/sfu/l;->l:Lcom/shopee/sszrtc/helpers/proto/logstream/o;

    iget-object v0, v0, Lcom/shopee/sszrtc/srtn/sfu/l;->c:Ljava/lang/String;

    const-string v4, "close1000"

    invoke-virtual {v3, v0, v1, v2, v4}, Lcom/shopee/sszrtc/helpers/proto/logstream/o;->j(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    goto :goto_65

    .line 7
    :cond_49
    new-instance v4, Lcom/shopee/sszrtc/protoo/j;

    invoke-direct {v4, v1, v2}, Lcom/shopee/sszrtc/protoo/j;-><init>(ILjava/lang/String;)V

    .line 8
    invoke-virtual {v0, v4, v3}, Lcom/shopee/sszrtc/srtn/sfu/l;->u(Ljava/lang/Throwable;Lokhttp3/Response;)Z

    move-result v1

    iput-boolean v1, v0, Lcom/shopee/sszrtc/srtn/sfu/l;->M:Z

    .line 9
    iget-object v2, v0, Lcom/shopee/sszrtc/srtn/sfu/l;->l:Lcom/shopee/sszrtc/helpers/proto/logstream/o;

    iget-object v0, v0, Lcom/shopee/sszrtc/srtn/sfu/l;->c:Ljava/lang/String;

    invoke-static {v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 10
    new-instance v5, Lcom/shopee/sszrtc/helpers/proto/logstream/n;

    invoke-direct {v5, v0, v3, v4, v1}, Lcom/shopee/sszrtc/helpers/proto/logstream/n;-><init>(Ljava/lang/String;Lokhttp3/Response;Ljava/lang/Throwable;Z)V

    const-string v0, "sfuDisconnected"

    invoke-virtual {v2, v0, v5}, Lcom/shopee/sszrtc/helpers/proto/d;->g(Ljava/lang/String;Lio/reactivex/functions/f;)V

    :goto_65
    return-void

    .line 11
    :pswitch_66
    iget-object v0, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/render/v3/DRERecyclerView;

    iget-object v1, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    iget v2, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    invoke-static {v0, v1, v2}, Lcom/shopee/leego/render/v3/DRERecyclerView;->B(Lcom/shopee/leego/render/v3/DRERecyclerView;Ljava/lang/String;I)V

    return-void

    :pswitch_74
    iget-object v0, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/context/DREEngine;

    iget v1, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    iget-object v2, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    check-cast v2, Lkotlin/jvm/internal/y;

    invoke-static {v0, v1, v2}, Lcom/shopee/leego/context/DREEngine;->k(Lcom/shopee/leego/context/DREEngine;ILkotlin/jvm/internal/y;)V

    return-void

    :pswitch_82
    iget-object v0, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    check-cast v0, Ljava/util/concurrent/CopyOnWriteArraySet;

    iget v2, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    iget-object v3, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    check-cast v3, Lcom/google/android/exoplayer2/util/p$a;

    .line 12
    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArraySet;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_90
    :goto_90
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_af

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/google/android/exoplayer2/util/p$c;

    .line 13
    iget-boolean v6, v5, Lcom/google/android/exoplayer2/util/p$c;->d:Z

    if-nez v6, :cond_90

    if-eq v2, v1, :cond_a7

    .line 14
    iget-object v6, v5, Lcom/google/android/exoplayer2/util/p$c;->b:Lcom/google/android/exoplayer2/util/k$a;

    invoke-virtual {v6, v2}, Lcom/google/android/exoplayer2/util/k$a;->a(I)Lcom/google/android/exoplayer2/util/k$a;

    .line 15
    :cond_a7
    iput-boolean v4, v5, Lcom/google/android/exoplayer2/util/p$c;->c:Z

    .line 16
    iget-object v5, v5, Lcom/google/android/exoplayer2/util/p$c;->a:Ljava/lang/Object;

    invoke-interface {v3, v5}, Lcom/google/android/exoplayer2/util/p$a;->invoke(Ljava/lang/Object;)V

    goto :goto_90

    :cond_af
    return-void

    .line 17
    :goto_b0
    iget-object v0, p0, Lcom/google/android/exoplayer2/util/o;->c:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/preview/c$a;

    iget v5, p0, Lcom/google/android/exoplayer2/util/o;->b:I

    iget-object v6, p0, Lcom/google/android/exoplayer2/util/o;->d:Ljava/lang/Object;

    check-cast v6, Lcom/shopee/sz/mediasdk/media/SSZLocalMedia;

    const-string v7, "$localMedia"

    .line 18
    invoke-static {v6, v7}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 19
    invoke-static {v0}, Lcom/shopee/sz/mediasdk/preview/c;->f(Lcom/shopee/sz/mediasdk/preview/c$a;)V

    .line 20
    invoke-virtual {v6}, Lcom/shopee/sz/mediasdk/media/SSZLocalMedia;->getPath()Ljava/lang/String;

    move-result-object v6

    .line 21
    sget-object v7, Landroidx/fragment/a;->o:Lcom/shopee/sz/mediasdk/template/d;

    if-eqz v7, :cond_cf

    invoke-virtual {v7, v2, v5, v6, v3}, Lcom/shopee/sz/mediasdk/template/d;->d(IILjava/lang/String;Ljava/lang/String;)I

    move-result v2

    goto :goto_d0

    :cond_cf
    const/4 v2, -0x1

    :goto_d0
    if-eq v2, v1, :cond_eb

    if-ne v2, v4, :cond_d5

    goto :goto_d6

    :cond_d5
    const/4 v4, 0x0

    :goto_d6
    if-eqz v4, :cond_dc

    .line 22
    invoke-static {v0}, Lcom/shopee/sz/mediasdk/preview/c;->g(Lcom/shopee/sz/mediasdk/preview/c$a;)V

    goto :goto_eb

    :cond_dc
    const v1, 0x7f12049e

    .line 23
    invoke-static {v1}, Landroidx/core/provider/d;->j0(I)Ljava/lang/String;

    move-result-object v1

    const-string v2, "string(R.string.media_sd\u2026toast_template_humanhead)"

    invoke-static {v1, v2}, Lcom/shopee/sz/loadtask/datasource/a;->x(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {v0, v1}, Lcom/shopee/sz/mediasdk/preview/c;->e(Lcom/shopee/sz/mediasdk/preview/c$a;Ljava/lang/String;)V

    :cond_eb
    :goto_eb
    return-void

    :pswitch_data_ec
    .packed-switch 0x0
        :pswitch_82
        :pswitch_74
        :pswitch_66
        :pswitch_2e
        :pswitch_b
    .end packed-switch
.end method