x.smali

.class public final Lokhttp3/internal/http2/x;
.super Ljava/lang/Object;
.source "Settings.java"


# instance fields
.field set:I

.field final values:[I


# direct methods
.method public constructor <init>()V
    .registers 2

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

    .line 51
    const/16 v0, 0xa

    new-array v0, v0, [I

    iput-object v0, p0, Lokhttp3/internal/http2/x;->values:[I

    return-void
.end method


# virtual methods
.method final HL()I
    .registers 3

    .prologue
    .line 88
    iget v0, p0, Lokhttp3/internal/http2/x;->set:I

    and-int/lit8 v0, v0, 0x2

    if-eqz v0, :cond_c

    iget-object v0, p0, Lokhttp3/internal/http2/x;->values:[I

    const/4 v1, 0x1

    aget v0, v0, v1

    :goto_b
    return v0

    :cond_c
    const/4 v0, -0x1

    goto :goto_b
.end method

.method public final RW()I
    .registers 3

    .prologue
    .line 114
    iget v0, p0, Lokhttp3/internal/http2/x;->set:I

    and-int/lit16 v0, v0, 0x80

    if-eqz v0, :cond_c

    iget-object v0, p0, Lokhttp3/internal/http2/x;->values:[I

    const/4 v1, 0x7

    aget v0, v0, v1

    :goto_b
    return v0

    :cond_c
    const v0, 0xffff

    goto :goto_b
.end method

.method final aN(II)Lokhttp3/internal/http2/x;
    .registers 5

    .prologue
    .line 59
    if-ltz p1, :cond_6

    const/16 v0, 0xa

    if-lt p1, v0, :cond_7

    .line 66
    :cond_6
    :goto_6
    return-object p0

    .line 63
    :cond_7
    const/4 v0, 0x1

    shl-int/2addr v0, p1

    .line 64
    iget v1, p0, Lokhttp3/internal/http2/x;->set:I

    or-int/2addr v0, v1

    iput v0, p0, Lokhttp3/internal/http2/x;->set:I

    .line 65
    iget-object v0, p0, Lokhttp3/internal/http2/x;->values:[I

    aput p2, v0, p1

    goto :goto_6
.end method

.method final isSet(I)Z
    .registers 5

    .prologue
    const/4 v0, 0x1

    .line 71
    shl-int v1, v0, p1

    .line 72
    iget v2, p0, Lokhttp3/internal/http2/x;->set:I

    and-int/2addr v1, v2

    if-eqz v1, :cond_9

    :goto_8
    return v0

    :cond_9
    const/4 v0, 0x0

    goto :goto_8
.end method