.class public final enum Lb/ae;
.super Ljava/lang/Enum;


# static fields
.field public static final enum a:Lb/ae;

.field public static final enum b:Lb/ae;

.field public static final enum c:Lb/ae;

.field public static final enum d:Lb/ae;

.field private static final synthetic e:[Lb/ae;


# instance fields
.field private final f:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 7

    const/4 v6, 0x3

    const/4 v5, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    new-instance v0, Lb/ae;

    const-string v1, "HTTP_1_0"

    const-string v2, "http/1.0"

    invoke-direct {v0, v1, v3, v2}, Lb/ae;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lb/ae;->a:Lb/ae;

    new-instance v0, Lb/ae;

    const-string v1, "HTTP_1_1"

    const-string v2, "http/1.1"

    invoke-direct {v0, v1, v4, v2}, Lb/ae;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lb/ae;->b:Lb/ae;

    new-instance v0, Lb/ae;

    const-string v1, "SPDY_3"

    const-string v2, "spdy/3.1"

    invoke-direct {v0, v1, v5, v2}, Lb/ae;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lb/ae;->d:Lb/ae;

    new-instance v0, Lb/ae;

    const-string v1, "HTTP_2"

    const-string v2, "h2"

    invoke-direct {v0, v1, v6, v2}, Lb/ae;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lb/ae;->c:Lb/ae;

    const/4 v0, 0x4

    new-array v0, v0, [Lb/ae;

    sget-object v1, Lb/ae;->a:Lb/ae;

    aput-object v1, v0, v3

    sget-object v1, Lb/ae;->b:Lb/ae;

    aput-object v1, v0, v4

    sget-object v1, Lb/ae;->d:Lb/ae;

    aput-object v1, v0, v5

    sget-object v1, Lb/ae;->c:Lb/ae;

    aput-object v1, v0, v6

    sput-object v0, Lb/ae;->e:[Lb/ae;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    iput-object p3, p0, Lb/ae;->f:Ljava/lang/String;

    return-void
.end method

.method public static a(Ljava/lang/String;)Lb/ae;
    .locals 3

    sget-object v0, Lb/ae;->a:Lb/ae;

    iget-object v0, v0, Lb/ae;->f:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lb/ae;->a:Lb/ae;

    :goto_0
    return-object v0

    :cond_0
    sget-object v0, Lb/ae;->b:Lb/ae;

    iget-object v0, v0, Lb/ae;->f:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    sget-object v0, Lb/ae;->b:Lb/ae;

    goto :goto_0

    :cond_1
    sget-object v0, Lb/ae;->c:Lb/ae;

    iget-object v0, v0, Lb/ae;->f:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    sget-object v0, Lb/ae;->c:Lb/ae;

    goto :goto_0

    :cond_2
    sget-object v0, Lb/ae;->d:Lb/ae;

    iget-object v0, v0, Lb/ae;->f:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    sget-object v0, Lb/ae;->d:Lb/ae;

    goto :goto_0

    :cond_3
    new-instance v0, Ljava/io/IOException;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "Unexpected protocol: "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public static valueOf(Ljava/lang/String;)Lb/ae;
    .locals 1

    const-class v0, Lb/ae;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object v0

    check-cast v0, Lb/ae;

    return-object v0
.end method

.method public static values()[Lb/ae;
    .locals 1

    sget-object v0, Lb/ae;->e:[Lb/ae;

    invoke-virtual {v0}, [Lb/ae;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lb/ae;

    return-object v0
.end method


# virtual methods
.method public final toString()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lb/ae;->f:Ljava/lang/String;

    return-object v0
.end method
