SoundBatteryAction$SoundModeState$Companion.smali
.class public final Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState$Companion;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.registers 2
invoke-direct {p0}, Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final a(I)Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;
.registers 9
:try_start_0
const/4 v6, 0x3
sget-object v0, Lkotlin/Result;->f:Lkotlin/Result$Companion;
invoke-static {}, Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;->values()[Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;
move-result-object v0
const/4 v6, 0x7
array-length v1, v0
const/4 v6, 0x6
const/4 v2, 0x0
const/4 v3, 0x0
:goto_c
if-ge v3, v1, :cond_28
const/4 v6, 0x3
aget-object v4, v0, v3
const/4 v6, 0x2
invoke-virtual {v4}, Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;->f()I
move-result v5
const/4 v6, 0x5
if-ne v5, p1, :cond_1d
const/4 v6, 0x3
const/4 v5, 0x1
const/4 v6, 0x5
goto :goto_1f
:cond_1d
const/4 v6, 0x5
const/4 v5, 0x0
:goto_1f
if-eqz v5, :cond_25
invoke-static {v4}, Lkotlin/Result;->a(Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_3e
:cond_25
add-int/lit8 v3, v3, 0x1
goto :goto_c
:cond_28
new-instance p1, Ljava/util/NoSuchElementException;
const-string v0, "aasaecittsr n.nrcmdoenmen ot h aychteerliteipAng"
const-string v0, "Array contains no element matching the predicate."
const/4 v6, 0x0
invoke-direct {p1, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p1
:try_end_33
.catchall {:try_start_0 .. :try_end_33} :catchall_33
:catchall_33
move-exception p1
const/4 v6, 0x3
sget-object v0, Lkotlin/Result;->f:Lkotlin/Result$Companion;
invoke-static {p1}, Lkotlin/ResultKt;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object v4
invoke-static {v4}, Lkotlin/Result;->a(Ljava/lang/Object;)Ljava/lang/Object;
:goto_3e
invoke-static {v4}, Lkotlin/Result;->c(Ljava/lang/Object;)Z
move-result p1
const/4 v6, 0x4
if-eqz p1, :cond_47
const/4 v6, 0x2
const/4 v4, 0x0
:cond_47
const/4 v6, 0x2
check-cast v4, Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;
if-eqz v4, :cond_4d
goto :goto_50
:cond_4d
const/4 v6, 0x7
sget-object v4, Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;->g:Lcom/avast/android/cleaner/batterysaver/db/entity/SoundBatteryAction$SoundModeState;
:goto_50
const/4 v6, 0x5
return-object v4
.end method