k.smali

.class public final synthetic Landroidx/room/k;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic a:I

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


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

    iput p2, p0, Landroidx/room/k;->a:I

    iput-object p1, p0, Landroidx/room/k;->b:Ljava/lang/Object;

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

    return-void
.end method


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

    iget v0, p0, Landroidx/room/k;->a:I

    const/4 v1, 0x0

    const/4 v2, 0x1

    packed-switch v0, :pswitch_data_2c8

    goto/16 :goto_2bf

    :pswitch_9
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/sszplayer/audio/c;

    const-string v1, "this$0"

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

    .line 2
    iget v1, v0, Lcom/shopee/sz/sszplayer/audio/c;->g:I

    const/4 v2, 0x2

    if-ge v1, v2, :cond_2c

    const-string v1, "pause error state, currentState = "

    .line 3
    invoke-static {v1}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 4
    iget v0, v0, Lcom/shopee/sz/sszplayer/audio/c;->g:I

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "SSZAudioComposePlayer"

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

    goto :goto_38

    .line 5
    :cond_2c
    iget-object v1, v0, Lcom/shopee/sz/sszplayer/audio/c;->f:Landroid/os/Handler;

    if-eqz v1, :cond_35

    iget-object v2, v0, Lcom/shopee/sz/sszplayer/audio/c;->m:Lcom/shopee/sz/sszplayer/audio/e;

    invoke-virtual {v1, v2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    :cond_35
    const/4 v1, 0x4

    .line 6
    iput v1, v0, Lcom/shopee/sz/sszplayer/audio/c;->g:I

    :goto_38
    return-void

    .line 7
    :pswitch_39
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/fragment/c0;

    sget-object v1, Lcom/shopee/sz/mediasdk/ui/fragment/c0;->U:Ljava/lang/String;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/ui/fragment/c0;->h()V

    return-void

    :pswitch_43
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;->h()V

    return-void

    :pswitch_4b
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/sticker/framwork/stickerpicker/e;

    .line 8
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/sticker/framwork/stickerpicker/e;->l:Lcom/shopee/sz/mediasdk/widget/loading/SSZMediaLoadingView;

    invoke-virtual {v0, v1}, Lcom/shopee/sz/mediasdk/widget/loading/SSZMediaLoadingView;->setVisibility(I)V

    return-void

    .line 9
    :pswitch_55
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/magic/view/presenter/j;

    const-string v1, "this$0"

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

    .line 11
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/magic/view/presenter/j;->a:Lcom/shopee/sz/mediasdk/magic/view/presenter/b;

    if-eqz v0, :cond_65

    invoke-interface {v0}, Lcom/shopee/sz/mediasdk/magic/view/presenter/b;->g()V

    :cond_65
    return-void

    .line 12
    :pswitch_66
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/sticker/framwork/model/StickerVm;

    const-string v1, "$stickerVm"

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

    .line 14
    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/sticker/framwork/model/StickerVm;->getComponent()Lcom/shopee/sz/mediasdk/sticker/framwork/common/component/a;

    move-result-object v0

    invoke-interface {v0, v2}, Lcom/shopee/sz/mediasdk/sticker/framwork/common/component/a;->e(Z)V

    return-void

    .line 15
    :pswitch_77
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/downloadmanager/viewpanel/d;

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

    .line 16
    invoke-static {}, Lcom/shopee/sz/loadtask/a;->b()Lcom/shopee/sz/loadtask/a;

    move-result-object v2

    .line 17
    iget-object v2, v2, Lcom/shopee/sz/loadtask/a;->a:Landroid/content/Context;

    const-string v3, "SP_CACHE_DEBUG_VIEW"

    .line 18
    invoke-virtual {v2, v3, v1}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    const-string v3, "OPEN_DEBUG_VIEW"

    .line 19
    invoke-interface {v2, v3, v1}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v1

    iput-boolean v1, v0, Lcom/shopee/sz/downloadmanager/viewpanel/d;->a:Z

    if-eqz v1, :cond_a1

    .line 20
    invoke-static {}, Lcom/shopee/sz/loadtask/a;->b()Lcom/shopee/sz/loadtask/a;

    move-result-object v0

    .line 21
    iget-object v0, v0, Lcom/shopee/sz/loadtask/a;->e:Landroid/os/Handler;

    .line 22
    sget-object v1, Lcom/shopee/app/ui/home/native_home/cache/e;->e:Lcom/shopee/app/ui/home/native_home/cache/e;

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_a1
    return-void

    .line 23
    :pswitch_a2
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/shopeetracker/eventhandler/sender/EventSenderInterface;

    invoke-static {v0}, Lcom/shopee/shopeetracker/eventhandler/sender/EventSenderInterface$DefaultImpls;->c(Lcom/shopee/shopeetracker/eventhandler/sender/EventSenderInterface;)V

    return-void

    :pswitch_aa
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

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

    invoke-static {v0}, Lcom/shopee/leego/render/v3/DRERecyclerView;->K(Lcom/shopee/leego/render/v3/DRERecyclerView;)V

    return-void

    :pswitch_b2
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/shopee/leego/adapter/tracker/JSErrorTrackerUtils;->a(Ljava/lang/String;)V

    return-void

    :pswitch_ba
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/addon/dynamicfeatures/proto/i0;

    if-eqz v0, :cond_c7

    .line 24
    invoke-static {}, Lcom/shopee/addon/common/a;->g()Lcom/shopee/addon/common/a;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/shopee/addon/dynamicfeatures/proto/i0;->a(Lcom/shopee/addon/common/a;)V

    :cond_c7
    return-void

    .line 25
    :pswitch_c8
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/base/a;

    sget-object v1, Lcom/shopee/app/plugin/w;->a:Lcom/shopee/app/plugin/w;

    .line 26
    check-cast v0, Lcom/shopee/base/network/b;

    invoke-interface {v0}, Lcom/shopee/base/network/b;->provideX509KeyManager()Ljava/util/List;

    move-result-object v0

    .line 27
    invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_f4

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

    move-result-object v1

    check-cast v1, Landroid/util/Pair;

    .line 28
    sget-object v2, Lcom/shopee/app/network/keymanagers/g;->f:Ljava/util/HashSet;

    .line 29
    sget-object v2, Lcom/shopee/app/network/keymanagers/g$a;->a:Lcom/shopee/app/network/keymanagers/g;

    .line 30
    iget-object v3, v1, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v3, Ljava/lang/String;

    iget-object v1, v1, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v1, Ljavax/net/ssl/X509KeyManager;

    invoke-virtual {v2, v3, v1}, Lcom/shopee/app/network/keymanagers/g;->a(Ljava/lang/String;Ljavax/net/ssl/X509KeyManager;)V

    goto :goto_d8

    :cond_f4
    return-void

    .line 31
    :pswitch_f5
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lkotlin/jvm/functions/l;

    .line 32
    sget-object v1, Lcom/shopee/app/network/captcha/i$a;->a:Lcom/shopee/app/network/captcha/i$a;

    invoke-interface {v0, v1}, Lkotlin/jvm/functions/l;->invoke(Ljava/lang/Object;)Ljava/lang/Object;

    return-void

    .line 33
    :pswitch_ff
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/diskusagemanager/js/d;

    .line 34
    iget-object v0, v0, Lcom/shopee/app/diskusagemanager/js/d;->a:Lcom/shopee/app/diskusagemanager/js/util/c;

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

    .line 35
    invoke-static {}, Lcom/shopee/app/react/modules/app/appmanager/a;->e()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v3

    .line 36
    iget-object v5, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->c:Lcom/shopee/app/data/store/setting/DiskUsageManagerConfig;

    invoke-virtual {v5}, Lcom/shopee/app/data/store/setting/DiskUsageManagerConfig;->getDiskThresholdManagerConfig()Lcom/shopee/app/data/store/setting/DiskThresholdManagerConfig;

    move-result-object v5

    invoke-virtual {v5}, Lcom/shopee/app/data/store/setting/DiskThresholdManagerConfig;->getConfigs()Ljava/util/List;

    move-result-object v5

    .line 37
    new-instance v6, Lcom/shopee/app/diskusagemanager/js/util/b;

    invoke-direct {v6}, Lcom/shopee/app/diskusagemanager/js/util/b;-><init>()V

    invoke-static {v5, v6}, Lkotlin/collections/t;->z1(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/List;

    move-result-object v5

    .line 38
    invoke-static {v5}, Lkotlin/collections/t;->F1(Ljava/lang/Iterable;)Ljava/util/List;

    move-result-object v5

    .line 39
    invoke-interface {v5}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v5

    const-string v6, ""

    move-object v7, v6

    :cond_12e
    :goto_12e
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_16e

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

    move-result-object v8

    check-cast v8, Lcom/shopee/app/data/store/setting/ThresholdConfig;

    .line 40
    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getStartVersion()J

    move-result-wide v9

    cmp-long v11, v9, v3

    if-gtz v11, :cond_153

    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getEndVersion()J

    move-result-wide v9

    cmp-long v11, v3, v9

    if-gez v11, :cond_153

    .line 41
    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getJsUrl()Ljava/lang/String;

    move-result-object v6

    .line 42
    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getMd5()Ljava/lang/String;

    move-result-object v7

    goto :goto_12e

    .line 43
    :cond_153
    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getStartVersion()J

    move-result-wide v9

    cmp-long v11, v3, v9

    if-ltz v11, :cond_12e

    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getEndVersion()J

    move-result-wide v9

    const-wide/16 v11, -0x1

    cmp-long v13, v9, v11

    if-nez v13, :cond_12e

    .line 44
    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getJsUrl()Ljava/lang/String;

    move-result-object v6

    .line 45
    invoke-virtual {v8}, Lcom/shopee/app/data/store/setting/ThresholdConfig;->getMd5()Ljava/lang/String;

    move-result-object v7

    goto :goto_12e

    .line 46
    :cond_16e
    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v3

    if-nez v3, :cond_176

    const/4 v3, 0x1

    goto :goto_177

    :cond_176
    const/4 v3, 0x0

    :goto_177
    if-nez v3, :cond_291

    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v3

    if-nez v3, :cond_180

    const/4 v1, 0x1

    :cond_180
    if-eqz v1, :cond_184

    goto/16 :goto_291

    .line 47
    :cond_184
    new-instance v1, Ljava/io/File;

    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v3

    invoke-virtual {v3}, Lcom/shopee/app/application/n2;->getFilesDir()Ljava/io/File;

    move-result-object v3

    const-string v4, "disk_threshold_logic_check.js"

    invoke-direct {v1, v3, v4}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    .line 48
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v3

    const/4 v5, 0x0

    if-eqz v3, :cond_1a1

    .line 49
    sget-object v3, Lcom/shopee/app/pkgsize/Md5Util;->INSTANCE:Lcom/shopee/app/pkgsize/Md5Util;

    invoke-virtual {v3, v1}, Lcom/shopee/app/pkgsize/Md5Util;->getMd5(Ljava/io/File;)Ljava/lang/String;

    move-result-object v1

    goto :goto_1a2

    :cond_1a1
    move-object v1, v5

    :goto_1a2
    if-eqz v1, :cond_1b7

    .line 50
    invoke-static {v1, v7}, Lcom/shopee/sz/loadtask/datasource/a;->r(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1b7

    .line 51
    iget-object v0, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->b:Lcom/shopee/app/util/i0;

    invoke-virtual {v0}, Lcom/shopee/app/util/i0;->b()Lcom/garena/andriod/appkit/eventbus/d;

    move-result-object v0

    iget-object v0, v0, Lcom/garena/andriod/appkit/eventbus/d;->Z2:Lcom/garena/andriod/appkit/eventbus/d$f5;

    invoke-virtual {v0}, Lcom/garena/andriod/appkit/eventbus/d$f5;->a()V

    goto/16 :goto_29c

    .line 52
    :cond_1b7
    new-instance v1, Ljava/lang/StringBuilder;

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

    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v3

    invoke-virtual {v3}, Lcom/shopee/app/application/n2;->getFilesDir()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    sget-char v3, Ljava/io/File;->separatorChar:C

    const-string v8, "temp.js"

    .line 53
    invoke-static {v1, v3, v8}, Landroidx/concurrent/futures/a;->g(Ljava/lang/StringBuilder;CLjava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 54
    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 55
    :try_start_1d4
    iget-object v8, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->a:Lcom/shopee/app/diskusagemanager/js/util/a;

    invoke-interface {v8, v6}, Lcom/shopee/app/diskusagemanager/js/util/a;->a(Ljava/lang/String;)Lretrofit2/b;

    move-result-object v6

    invoke-interface {v6}, Lretrofit2/b;->execute()Lretrofit2/x;

    move-result-object v6

    .line 56
    invoke-virtual {v6}, Lretrofit2/x;->b()Z

    move-result v8

    if-eqz v8, :cond_270

    .line 57
    new-instance v8, Ljava/lang/StringBuilder;

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

    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v9

    invoke-virtual {v9}, Lcom/shopee/app/application/n2;->getFilesDir()Ljava/io/File;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    sget-char v9, Ljava/io/File;->separatorChar:C

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 58
    iget-object v6, v6, Lretrofit2/x;->b:Ljava/lang/Object;

    .line 59
    check-cast v6, Lokhttp3/ResponseBody;

    invoke-static {v6, v1}, Landroidx/biometric/e0;->S(Lokhttp3/ResponseBody;Ljava/lang/String;)Landroid/net/Uri;

    .line 60
    sget-object v1, Lcom/shopee/app/pkgsize/Md5Util;->INSTANCE:Lcom/shopee/app/pkgsize/Md5Util;

    invoke-virtual {v1, v3}, Lcom/shopee/app/pkgsize/Md5Util;->getMd5(Ljava/io/File;)Ljava/lang/String;

    move-result-object v1

    .line 61
    invoke-static {v7, v1}, Lcom/shopee/sz/loadtask/datasource/a;->r(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_261

    .line 62
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    .line 63
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v1}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    .line 64
    iget-object v1, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->b:Lcom/shopee/app/util/i0;

    invoke-virtual {v1}, Lcom/shopee/app/util/i0;->b()Lcom/garena/andriod/appkit/eventbus/d;

    move-result-object v1

    iget-object v1, v1, Lcom/garena/andriod/appkit/eventbus/d;->V2:Lcom/garena/andriod/appkit/eventbus/d$b5;

    .line 65
    iput-object v4, v1, Lcom/bumptech/glide/load/engine/bitmap_recycle/c;->a:Ljava/lang/Object;

    .line 66
    invoke-virtual {v1}, Lcom/garena/andriod/appkit/eventbus/d$b5;->j()V

    .line 67
    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v1

    .line 68
    iget-object v1, v1, Lcom/shopee/app/application/n2;->g:Lcom/shopee/core/context/a;

    const-string v4, "extremeCleanupConfig"

    const-string v6, "baseContext"

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

    .line 70
    sget-object v6, Lcom/shopee/video/feedvideolibrary/upload/util/c;->i:Lcom/shopee/core/datastore/b;

    if-eqz v6, :cond_259

    .line 71
    new-instance v8, Lcom/shopee/core/datastore/config/b;

    .line 72
    invoke-direct {v8, v4, v2, v5, v5}, Lcom/shopee/core/datastore/config/b;-><init>(Ljava/lang/String;ILjava/lang/String;Lcom/shopee/core/datastore/config/a;)V

    .line 73
    invoke-interface {v6, v1, v8}, Lcom/shopee/core/datastore/b;->a(Lcom/shopee/core/context/a;Lcom/shopee/core/datastore/config/b;)Lcom/shopee/core/datastore/a;

    move-result-object v1

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

    const-string/jumbo v2, "validMd5"

    .line 74
    new-instance v4, Lcom/shopee/app/diskusagemanager/callback/a;

    invoke-direct {v4, v7}, Lcom/shopee/app/diskusagemanager/callback/a;-><init>(Ljava/lang/Object;)V

    .line 75
    invoke-interface {v1, v2, v4}, Lcom/shopee/core/datastore/a;->d(Ljava/lang/String;Lcom/shopee/app/diskusagemanager/callback/a;)V

    goto :goto_289

    .line 76
    :cond_259
    new-instance v1, Ljava/lang/Exception;

    const-string v2, "need to initialize first"

    invoke-direct {v1, v2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V

    throw v1

    .line 77
    :cond_261
    invoke-virtual {v3}, Ljava/io/File;->delete()Z

    .line 78
    iget-object v1, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->b:Lcom/shopee/app/util/i0;

    invoke-virtual {v1}, Lcom/shopee/app/util/i0;->b()Lcom/garena/andriod/appkit/eventbus/d;

    move-result-object v1

    iget-object v1, v1, Lcom/garena/andriod/appkit/eventbus/d;->F0:Lcom/garena/andriod/appkit/eventbus/d$x;

    invoke-virtual {v1}, Lcom/garena/andriod/appkit/eventbus/d$x;->a()V

    goto :goto_289

    .line 79
    :cond_270
    iget-object v1, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->b:Lcom/shopee/app/util/i0;

    invoke-virtual {v1}, Lcom/shopee/app/util/i0;->b()Lcom/garena/andriod/appkit/eventbus/d;

    move-result-object v1

    iget-object v1, v1, Lcom/garena/andriod/appkit/eventbus/d;->F0:Lcom/garena/andriod/appkit/eventbus/d$x;

    invoke-virtual {v1}, Lcom/garena/andriod/appkit/eventbus/d$x;->a()V
    :try_end_27b
    .catch Ljava/lang/Exception; {:try_start_1d4 .. :try_end_27b} :catch_27e
    .catchall {:try_start_1d4 .. :try_end_27b} :catchall_27c

    goto :goto_289

    :catchall_27c
    move-exception v0

    goto :goto_28d

    .line 80
    :catch_27e
    :try_start_27e
    iget-object v0, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->b:Lcom/shopee/app/util/i0;

    invoke-virtual {v0}, Lcom/shopee/app/util/i0;->b()Lcom/garena/andriod/appkit/eventbus/d;

    move-result-object v0

    iget-object v0, v0, Lcom/garena/andriod/appkit/eventbus/d;->F0:Lcom/garena/andriod/appkit/eventbus/d$x;

    invoke-virtual {v0}, Lcom/garena/andriod/appkit/eventbus/d$x;->a()V
    :try_end_289
    .catchall {:try_start_27e .. :try_end_289} :catchall_27c

    .line 81
    :goto_289
    invoke-virtual {v3}, Ljava/io/File;->delete()Z

    goto :goto_29c

    :goto_28d
    invoke-virtual {v3}, Ljava/io/File;->delete()Z

    throw v0

    .line 82
    :cond_291
    :goto_291
    iget-object v0, v0, Lcom/shopee/app/diskusagemanager/js/util/c;->b:Lcom/shopee/app/util/i0;

    invoke-virtual {v0}, Lcom/shopee/app/util/i0;->b()Lcom/garena/andriod/appkit/eventbus/d;

    move-result-object v0

    iget-object v0, v0, Lcom/garena/andriod/appkit/eventbus/d;->F0:Lcom/garena/andriod/appkit/eventbus/d$x;

    invoke-virtual {v0}, Lcom/garena/andriod/appkit/eventbus/d$x;->a()V

    :goto_29c
    return-void

    .line 83
    :pswitch_29d
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/mmc/player/MMCPlayerNative;

    invoke-static {v0}, Lcom/mmc/player/MMCPlayerNative;->o(Lcom/mmc/player/MMCPlayerNative;)V

    return-void

    :pswitch_2a5
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Landroidx/room/l;

    .line 84
    monitor-enter v0

    .line 85
    :try_start_2aa
    iput-boolean v1, v0, Landroidx/room/l;->f:Z

    .line 86
    iget-object v3, v0, Landroidx/room/l;->h:Landroidx/room/l$b;

    .line 87
    monitor-enter v3
    :try_end_2af
    .catchall {:try_start_2aa .. :try_end_2af} :catchall_2bc

    .line 88
    :try_start_2af
    iget-object v4, v3, Landroidx/room/l$b;->b:[Z

    invoke-static {v4, v1}, Ljava/util/Arrays;->fill([ZZ)V

    .line 89
    iput-boolean v2, v3, Landroidx/room/l$b;->d:Z

    .line 90
    monitor-exit v3
    :try_end_2b7
    .catchall {:try_start_2af .. :try_end_2b7} :catchall_2b9

    .line 91
    :try_start_2b7
    monitor-exit v0
    :try_end_2b8
    .catchall {:try_start_2b7 .. :try_end_2b8} :catchall_2bc

    return-void

    :catchall_2b9
    move-exception v1

    .line 92
    :try_start_2ba
    monitor-exit v3
    :try_end_2bb
    .catchall {:try_start_2ba .. :try_end_2bb} :catchall_2b9

    :try_start_2bb
    throw v1

    :catchall_2bc
    move-exception v1

    .line 93
    monitor-exit v0
    :try_end_2be
    .catchall {:try_start_2bb .. :try_end_2be} :catchall_2bc

    throw v1

    .line 94
    :goto_2bf
    iget-object v0, p0, Landroidx/room/k;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/yasea/capture/SSZCameraSource;

    invoke-static {v0}, Lcom/shopee/sz/yasea/capture/SSZCameraSource;->e(Lcom/shopee/sz/yasea/capture/SSZCameraSource;)V

    return-void

    nop

    :pswitch_data_2c8
    .packed-switch 0x0
        :pswitch_2a5
        :pswitch_29d
        :pswitch_ff
        :pswitch_f5
        :pswitch_c8
        :pswitch_ba
        :pswitch_b2
        :pswitch_aa
        :pswitch_a2
        :pswitch_77
        :pswitch_66
        :pswitch_55
        :pswitch_4b
        :pswitch_43
        :pswitch_39
        :pswitch_9
    .end packed-switch
.end method