b.smali
.class public final Log/b;
.super Ljava/lang/Object;
.source "BFFResponse.kt"
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public static final a(Lokhttp3/Response;)Ljava/lang/String;
.registers 2
if-eqz p0, :cond_33
invoke-virtual {p0}, Lokhttp3/Response;->isSuccessful()Z
move-result v0
if-eqz v0, :cond_29
invoke-virtual {p0}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;
move-result-object p0
if-eqz p0, :cond_13
invoke-virtual {p0}, Lokhttp3/ResponseBody;->string()Ljava/lang/String;
move-result-object p0
goto :goto_14
:cond_13
const/4 p0, 0x0
:goto_14
if-eqz p0, :cond_1f
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_1d
goto :goto_1f
:cond_1d
const/4 v0, 0x0
goto :goto_20
:cond_1f
:goto_1f
const/4 v0, 0x1
:goto_20
if-nez v0, :cond_23
return-object p0
:cond_23
new-instance p0, Lmg/a;
invoke-direct {p0}, Lmg/a;-><init>()V
throw p0
:cond_29
new-instance v0, Lmg/e;
invoke-virtual {p0}, Lokhttp3/Response;->code()I
move-result p0
invoke-direct {v0, p0}, Lmg/e;-><init>(I)V
throw v0
:cond_33
new-instance p0, Lmg/c;
invoke-direct {p0}, Lmg/c;-><init>()V
throw p0
.end method