BoothManager$a.smali

.class public final Lcom/imo/android/imoim/feeds/ui/home/recuser/BoothManager$a;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/feeds/ui/home/recuser/BoothManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "a"
.end annotation


# direct methods
.method private constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public synthetic constructor <init>(Lkotlin/f/b/j;)V
    .registers 2

    .line 30
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/recuser/BoothManager$a;-><init>()V

    return-void
.end method

.method public static a()I
    .registers 3

    .line 45
    sget-object v0, Lcom/masala/share/utils/d/a;->b:Lcom/masala/share/utils/d/a/a;

    iget-object v0, v0, Lcom/masala/share/utils/d/a/a;->N:Lcom/masala/share/utils/d/a/h;

    invoke-virtual {v0}, Lcom/masala/share/utils/d/a/h;->a()I

    move-result v0

    .line 46
    sget-object v1, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getRecBoothV2SwitchX2Count()I

    move-result v1

    if-ge v0, v1, :cond_17

    .line 47
    sget-object v0, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getRecBoothV2X1()I

    move-result v0

    goto :goto_33

    .line 48
    :cond_17
    sget-object v1, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getRecBoothV2SwitchX3Count()I

    move-result v1

    sget-object v2, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v2}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getRecBoothV2SwitchX2Count()I

    move-result v2

    add-int/2addr v1, v2

    if-ge v0, v1, :cond_2d

    .line 49
    sget-object v0, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getRecBoothV2X2()I

    move-result v0

    goto :goto_33

    .line 51
    :cond_2d
    sget-object v0, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getRecBoothV2X3()I

    move-result v0

    :goto_33
    if-lez v0, :cond_38

    add-int/lit8 v0, v0, -0x1

    goto :goto_39

    :cond_38
    const/4 v0, 0x0

    .line 1041
    :goto_39
    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/home/recuser/BoothManager;->e()I

    move-result v1

    if-ge v0, v1, :cond_43

    .line 2041
    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/home/recuser/BoothManager;->e()I

    move-result v0

    .line 2042
    :cond_43
    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/home/recuser/BoothManager;->f()Z

    move-result v1

    if-eqz v1, :cond_4b

    add-int/lit8 v0, v0, 0x1

    :cond_4b
    return v0
.end method