.class public final Lokhttp3/HttpUrl$Builder$Companion; .super Ljava/lang/Object; .source "HttpUrl.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/HttpUrl$Builder; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Companion" .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0007\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J \u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00042\u0006\u0010\u0008\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\u0006H\u0002J \u0010\n\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00042\u0006\u0010\u0008\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\u0006H\u0002J \u0010\u000b\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00042\u0006\u0010\u0008\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\u0006H\u0002J\u001c\u0010\u000c\u001a\u00020\u0006*\u00020\u00042\u0006\u0010\u0008\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\u0006H\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0080T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r" } d2 = { "Lokhttp3/HttpUrl$Builder$Companion;", "", "()V", "INVALID_HOST", "", "parsePort", "", "input", "pos", "limit", "portColonOffset", "schemeDelimiterOffset", "slashCount", "okhttp" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # direct methods .method private constructor ()V .locals 0 .line 1482 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public synthetic constructor (Lkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 0 .line 1482 invoke-direct {p0}, Lokhttp3/HttpUrl$Builder$Companion;->()V return-void .end method .method public static final synthetic access$parsePort(Lokhttp3/HttpUrl$Builder$Companion;Ljava/lang/String;II)I .locals 0 .line 1482 invoke-direct {p0, p1, p2, p3}, Lokhttp3/HttpUrl$Builder$Companion;->parsePort(Ljava/lang/String;II)I move-result p0 return p0 .end method .method public static final synthetic access$portColonOffset(Lokhttp3/HttpUrl$Builder$Companion;Ljava/lang/String;II)I .locals 0 .line 1482 invoke-direct {p0, p1, p2, p3}, Lokhttp3/HttpUrl$Builder$Companion;->portColonOffset(Ljava/lang/String;II)I move-result p0 return p0 .end method .method public static final synthetic access$schemeDelimiterOffset(Lokhttp3/HttpUrl$Builder$Companion;Ljava/lang/String;II)I .locals 0 .line 1482 invoke-direct {p0, p1, p2, p3}, Lokhttp3/HttpUrl$Builder$Companion;->schemeDelimiterOffset(Ljava/lang/String;II)I move-result p0 return p0 .end method .method public static final synthetic access$slashCount(Lokhttp3/HttpUrl$Builder$Companion;Ljava/lang/String;II)I .locals 0 .line 1482 invoke-direct {p0, p1, p2, p3}, Lokhttp3/HttpUrl$Builder$Companion;->slashCount(Ljava/lang/String;II)I move-result p0 return p0 .end method .method private final parsePort(Ljava/lang/String;II)I .locals 12 const/4 p0, -0x1 .line 1545 :try_start_0 sget-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion; const-string v4, "" const/4 v5, 0x0 const/4 v6, 0x0 const/4 v7, 0x0 const/4 v8, 0x0 const/4 v9, 0x0 const/16 v10, 0xf8 const/4 v11, 0x0 move-object v1, p1 move v2, p2 move v3, p3 invoke-static/range {v0 .. v11}, Lokhttp3/HttpUrl$Companion;->canonicalize$okhttp$default(Lokhttp3/HttpUrl$Companion;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;ILjava/lang/Object;)Ljava/lang/String; move-result-object p1 .line 1546 invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I move-result p1 :try_end_0 .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0 const/4 p2, 0x1 if-le p2, p1, :cond_0 goto :goto_0 :cond_0 const p2, 0xffff if-lt p2, p1, :cond_1 move p0, p1 :catch_0 :cond_1 :goto_0 return p0 .end method .method private final portColonOffset(Ljava/lang/String;II)I .locals 1 :goto_0 if-ge p2, p3, :cond_3 .line 1529 invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C move-result p0 const/16 v0, 0x3a if-eq p0, v0, :cond_2 const/16 v0, 0x5b if-eq p0, v0, :cond_0 goto :goto_1 :cond_0 add-int/lit8 p2, p2, 0x1 if-ge p2, p3, :cond_1 .line 1532 invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C move-result p0 const/16 v0, 0x5d if-ne p0, v0, :cond_0 :cond_1 :goto_1 add-int/lit8 p2, p2, 0x1 goto :goto_0 :cond_2 return p2 :cond_3 return p3 .end method .method private final schemeDelimiterOffset(Ljava/lang/String;II)I .locals 6 sub-int p0, p3, p2 const/4 v0, 0x2 const/4 v1, -0x1 if-ge p0, v0, :cond_0 return v1 .line 1492 :cond_0 invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C move-result p0 const/16 v0, 0x61 .line 1493 invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I move-result v2 const/16 v3, 0x5a const/16 v4, 0x7a const/16 v5, 0x41 if-ltz v2, :cond_1 invoke-static {p0, v4}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I move-result v2 if-lez v2, :cond_2 :cond_1 invoke-static {p0, v5}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I move-result v2 if-ltz v2, :cond_c invoke-static {p0, v3}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I move-result p0 if-lez p0, :cond_2 goto :goto_5 :cond_2 :goto_0 add-int/lit8 p2, p2, 0x1 if-ge p2, p3, :cond_c .line 1496 invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C move-result p0 if-le v0, p0, :cond_3 goto :goto_1 :cond_3 if-lt v4, p0, :cond_4 goto :goto_4 :cond_4 :goto_1 if-le v5, p0, :cond_5 goto :goto_2 :cond_5 if-lt v3, p0, :cond_6 goto :goto_4 :cond_6 :goto_2 const/16 v2, 0x30 if-le v2, p0, :cond_7 goto :goto_3 :cond_7 const/16 v2, 0x39 if-lt v2, p0, :cond_8 goto :goto_4 :cond_8 :goto_3 const/16 v2, 0x2b if-ne p0, v2, :cond_9 goto :goto_4 :cond_9 const/16 v2, 0x2d if-ne p0, v2, :cond_a goto :goto_4 :cond_a const/16 v2, 0x2e if-ne p0, v2, :cond_b :goto_4 goto :goto_0 :cond_b const/16 p1, 0x3a if-ne p0, p1, :cond_c move v1, p2 :cond_c :goto_5 return v1 .end method .method private final slashCount(Ljava/lang/String;II)I .locals 2 const/4 p0, 0x0 :goto_0 if-ge p2, p3, :cond_1 .line 1515 invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C move-result v0 const/16 v1, 0x5c if-eq v0, v1, :cond_0 const/16 v1, 0x2f if-ne v0, v1, :cond_1 :cond_0 add-int/lit8 p0, p0, 0x1 add-int/lit8 p2, p2, 0x1 goto :goto_0 :cond_1 return p0 .end method