.class public final Landroidx/emoji2/text/h$b;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroidx/emoji2/text/h;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "b"
.end annotation


# instance fields
.field public a:I

.field public final b:Landroidx/emoji2/text/m$a;

.field public c:Landroidx/emoji2/text/m$a;

.field public d:Landroidx/emoji2/text/m$a;

.field public e:I

.field public f:I


# direct methods
.method public constructor <init>(Landroidx/emoji2/text/m$a;Z[I)V
    .registers 4

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

    const/4 p2, 0x1

    iput p2, p0, Landroidx/emoji2/text/h$b;->a:I

    iput-object p1, p0, Landroidx/emoji2/text/h$b;->b:Landroidx/emoji2/text/m$a;

    iput-object p1, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    return-void
.end method


# virtual methods
.method public a(I)I
    .registers 7

    iget-object v0, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    .line 1
    iget-object v0, v0, Landroidx/emoji2/text/m$a;->a:Landroid/util/SparseArray;

    if-nez v0, :cond_8

    const/4 v0, 0x0

    goto :goto_e

    :cond_8
    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/emoji2/text/m$a;

    .line 2
    :goto_e
    iget v1, p0, Landroidx/emoji2/text/h$b;->a:I

    const/4 v2, 0x3

    const/4 v3, 0x2

    const/4 v4, 0x1

    if-eq v1, v3, :cond_1f

    if-nez v0, :cond_18

    goto :goto_57

    :cond_18
    iput v3, p0, Landroidx/emoji2/text/h$b;->a:I

    iput-object v0, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    iput v4, p0, Landroidx/emoji2/text/h$b;->f:I

    goto :goto_3d

    :cond_1f
    if-eqz v0, :cond_29

    iput-object v0, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    iget v0, p0, Landroidx/emoji2/text/h$b;->f:I

    add-int/2addr v0, v4

    iput v0, p0, Landroidx/emoji2/text/h$b;->f:I

    goto :goto_3d

    :cond_29
    const v0, 0xfe0e

    const/4 v1, 0x0

    if-ne p1, v0, :cond_31

    move v0, v4

    goto :goto_32

    :cond_31
    move v0, v1

    :goto_32
    if-eqz v0, :cond_35

    goto :goto_57

    :cond_35
    const v0, 0xfe0f

    if-ne p1, v0, :cond_3b

    move v1, v4

    :cond_3b
    if-eqz v1, :cond_3f

    :goto_3d
    move v2, v3

    goto :goto_5b

    :cond_3f
    iget-object v0, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    .line 3
    iget-object v1, v0, Landroidx/emoji2/text/m$a;->b:Landroidx/emoji2/text/g;

    if-eqz v1, :cond_57

    .line 4
    iget v1, p0, Landroidx/emoji2/text/h$b;->f:I

    if-ne v1, v4, :cond_51

    invoke-virtual {p0}, Landroidx/emoji2/text/h$b;->c()Z

    move-result v0

    if-eqz v0, :cond_57

    iget-object v0, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    :cond_51
    iput-object v0, p0, Landroidx/emoji2/text/h$b;->d:Landroidx/emoji2/text/m$a;

    invoke-virtual {p0}, Landroidx/emoji2/text/h$b;->b()I

    goto :goto_5b

    :cond_57
    :goto_57
    invoke-virtual {p0}, Landroidx/emoji2/text/h$b;->b()I

    move v2, v4

    :goto_5b
    iput p1, p0, Landroidx/emoji2/text/h$b;->e:I

    return v2
.end method

.method public final b()I
    .registers 3

    const/4 v0, 0x1

    iput v0, p0, Landroidx/emoji2/text/h$b;->a:I

    iget-object v1, p0, Landroidx/emoji2/text/h$b;->b:Landroidx/emoji2/text/m$a;

    iput-object v1, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    const/4 v1, 0x0

    iput v1, p0, Landroidx/emoji2/text/h$b;->f:I

    return v0
.end method

.method public final c()Z
    .registers 6

    iget-object v0, p0, Landroidx/emoji2/text/h$b;->c:Landroidx/emoji2/text/m$a;

    .line 1
    iget-object v0, v0, Landroidx/emoji2/text/m$a;->b:Landroidx/emoji2/text/g;

    .line 2
    invoke-virtual {v0}, Landroidx/emoji2/text/g;->e()Lt0/a;

    move-result-object v0

    const/4 v1, 0x6

    .line 3
    invoke-virtual {v0, v1}, Lt0/c;->a(I)I

    move-result v1

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-eqz v1, :cond_20

    iget-object v4, v0, Lt0/c;->c:Ljava/lang/Object;

    check-cast v4, Ljava/nio/ByteBuffer;

    iget v0, v0, Lt0/c;->b:I

    add-int/2addr v1, v0

    invoke-virtual {v4, v1}, Ljava/nio/ByteBuffer;->get(I)B

    move-result v0

    if-eqz v0, :cond_20

    move v0, v3

    goto :goto_21

    :cond_20
    move v0, v2

    :goto_21
    if-eqz v0, :cond_24

    return v3

    .line 4
    :cond_24
    iget v0, p0, Landroidx/emoji2/text/h$b;->e:I

    const v1, 0xfe0f

    if-ne v0, v1, :cond_2d

    move v0, v3

    goto :goto_2e

    :cond_2d
    move v0, v2

    :goto_2e
    if-eqz v0, :cond_31

    return v3

    :cond_31
    return v2
.end method
