RoomsTruthComponent$ai.smali

.class final Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;
.super Lkotlin/c/b/a/j;
.source "SourceFile"

# interfaces
.implements Lkotlin/f/a/m;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/c/b/a/j;",
        "Lkotlin/f/a/m<",
        "Lkotlinx/coroutines/af;",
        "Lkotlin/c/c<",
        "-",
        "Lkotlin/w;",
        ">;",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation

.annotation runtime Lkotlin/c/b/a/f;
    b = "RoomsTruthComponent.kt"
    c = {
        0x141
    }
    d = "invokeSuspend"
    e = "com.imo.android.imoim.rooms.av.component.RoomsTruthComponent$startChoosingWithGo$1"
.end annotation


# instance fields
.field a:Ljava/lang/Object;

.field b:I

.field final synthetic c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

.field final synthetic d:J

.field private e:Lkotlinx/coroutines/af;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;JLkotlin/c/c;)V
    .registers 5

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    iput-wide p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->d:J

    const/4 p1, 0x2

    invoke-direct {p0, p1, p4}, Lkotlin/c/b/a/j;-><init>(ILkotlin/c/c;)V

    return-void
.end method


# virtual methods
.method public final create(Ljava/lang/Object;Lkotlin/c/c;)Lkotlin/c/c;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Lkotlin/c/c<",
            "*>;)",
            "Lkotlin/c/c<",
            "Lkotlin/w;",
            ">;"
        }
    .end annotation

    const-string v0, "completion"

    invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    new-instance v0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    iget-wide v2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->d:J

    invoke-direct {v0, v1, v2, v3, p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;JLkotlin/c/c;)V

    check-cast p1, Lkotlinx/coroutines/af;

    iput-object p1, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->e:Lkotlinx/coroutines/af;

    return-object v0
.end method

.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 3

    check-cast p2, Lkotlin/c/c;

    invoke-virtual {p0, p1, p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->create(Ljava/lang/Object;Lkotlin/c/c;)Lkotlin/c/c;

    move-result-object p1

    check-cast p1, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;

    sget-object p2, Lkotlin/w;->a:Lkotlin/w;

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 7

    .line 1054
    sget-object v0, Lkotlin/c/a/a;->COROUTINE_SUSPENDED:Lkotlin/c/a/a;

    .line 307
    iget v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->b:I

    const/4 v2, 0x1

    if-eqz v1, :cond_16

    if-ne v1, v2, :cond_e

    invoke-static {p1}, Lkotlin/o;->a(Ljava/lang/Object;)V

    goto/16 :goto_95

    .line 323
    :cond_e
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "call to \'resume\' before \'invoke\' with coroutine"

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 307
    :cond_16
    invoke-static {p1}, Lkotlin/o;->a(Ljava/lang/Object;)V

    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->e:Lkotlinx/coroutines/af;

    .line 309
    sget-object v1, Lcom/imo/android/imoim/rooms/av/a/a;->a:Lcom/imo/android/imoim/rooms/av/a/a;

    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/a;->c()V

    .line 310
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Lcom/imo/android/imoim/fresco/ImoImageView;

    move-result-object v1

    if-eqz v1, :cond_2d

    sget-object v3, Lcom/imo/android/imoim/util/bz;->cJ:Ljava/lang/String;

    invoke-virtual {v1, v3}, Lcom/imo/android/imoim/fresco/ImoImageView;->setImageURI(Ljava/lang/String;)V

    .line 311
    :cond_2d
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Lcom/imo/android/imoim/fresco/ImoImageView;

    move-result-object v1

    const/4 v3, 0x0

    if-eqz v1, :cond_39

    invoke-virtual {v1, v3}, Lcom/imo/android/imoim/fresco/ImoImageView;->setScaleX(F)V

    .line 312
    :cond_39
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Lcom/imo/android/imoim/fresco/ImoImageView;

    move-result-object v1

    if-eqz v1, :cond_44

    invoke-virtual {v1, v3}, Lcom/imo/android/imoim/fresco/ImoImageView;->setScaleY(F)V

    .line 320
    :cond_44
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Lcom/imo/android/imoim/fresco/ImoImageView;

    move-result-object v1

    if-eqz v1, :cond_88

    .line 313
    invoke-virtual {v1}, Lcom/imo/android/imoim/fresco/ImoImageView;->animate()Landroid/view/ViewPropertyAnimator;

    move-result-object v1

    if-eqz v1, :cond_88

    const/high16 v3, 0x3f800000    # 1.0f

    invoke-virtual {v1, v3}, Landroid/view/ViewPropertyAnimator;->scaleX(F)Landroid/view/ViewPropertyAnimator;

    move-result-object v1

    if-eqz v1, :cond_88

    .line 314
    invoke-virtual {v1, v3}, Landroid/view/ViewPropertyAnimator;->scaleY(F)Landroid/view/ViewPropertyAnimator;

    move-result-object v1

    if-eqz v1, :cond_88

    const-wide/16 v3, 0x1f4

    .line 315
    invoke-virtual {v1, v3, v4}, Landroid/view/ViewPropertyAnimator;->setDuration(J)Landroid/view/ViewPropertyAnimator;

    move-result-object v1

    if-eqz v1, :cond_88

    .line 316
    new-instance v3, Lcom/imo/android/imoim/av/party/guide/a;

    const v4, 0x3eb851ec    # 0.36f

    invoke-direct {v3, v4}, Lcom/imo/android/imoim/av/party/guide/a;-><init>(F)V

    check-cast v3, Landroid/animation/TimeInterpolator;

    invoke-virtual {v1, v3}, Landroid/view/ViewPropertyAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator;

    move-result-object v1

    if-eqz v1, :cond_88

    .line 317
    new-instance v3, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai$1;

    invoke-direct {v3, p0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai$1;-><init>(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;)V

    check-cast v3, Ljava/lang/Runnable;

    invoke-virtual {v1, v3}, Landroid/view/ViewPropertyAnimator;->withStartAction(Ljava/lang/Runnable;)Landroid/view/ViewPropertyAnimator;

    move-result-object v1

    if-eqz v1, :cond_88

    .line 320
    invoke-virtual {v1}, Landroid/view/ViewPropertyAnimator;->start()V

    :cond_88
    const-wide/16 v3, 0x3e8

    .line 321
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->a:Ljava/lang/Object;

    iput v2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->b:I

    invoke-static {v3, v4, p0}, Lkotlinx/coroutines/ar;->a(JLkotlin/c/c;)Ljava/lang/Object;

    move-result-object p1

    if-ne p1, v0, :cond_95

    return-object v0

    .line 322
    :cond_95
    :goto_95
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->c:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    iget-wide v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ai;->d:J

    invoke-static {p1, v0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;J)V

    .line 323
    sget-object p1, Lkotlin/w;->a:Lkotlin/w;

    return-object p1
.end method