c.smali

.class public final Lh/l/c;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lh/l/f;
.implements Ljava/io/Serializable;


# instance fields
.field private final e:Lh/l/f;

.field private final f:Lh/l/f$b;


# direct methods
.method public constructor <init>(Lh/l/f;Lh/l/f$b;)V
    .registers 4

    const-string v0, "left"

    invoke-static {p1, v0}, Lh/o/c/f;->d(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "element"

    invoke-static {p2, v0}, Lh/o/c/f;->d(Ljava/lang/Object;Ljava/lang/String;)V

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

    iput-object p1, p0, Lh/l/c;->e:Lh/l/f;

    iput-object p2, p0, Lh/l/c;->f:Lh/l/f$b;

    return-void
.end method

.method private final e(Lh/l/f$b;)Z
    .registers 3

    invoke-interface {p1}, Lh/l/f$b;->getKey()Lh/l/f$c;

    move-result-object v0

    invoke-virtual {p0, v0}, Lh/l/c;->get(Lh/l/f$c;)Lh/l/f$b;

    move-result-object v0

    invoke-static {v0, p1}, Lh/o/c/f;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method private final g(Lh/l/c;)Z
    .registers 3

    :goto_0
    iget-object v0, p1, Lh/l/c;->f:Lh/l/f$b;

    invoke-direct {p0, v0}, Lh/l/c;->e(Lh/l/f$b;)Z

    move-result v0

    if-nez v0, :cond_a

    const/4 p1, 0x0

    return p1

    :cond_a
    iget-object p1, p1, Lh/l/c;->e:Lh/l/f;

    instance-of v0, p1, Lh/l/c;

    if-eqz v0, :cond_13

    check-cast p1, Lh/l/c;

    goto :goto_0

    :cond_13
    if-eqz p1, :cond_1c

    check-cast p1, Lh/l/f$b;

    invoke-direct {p0, p1}, Lh/l/c;->e(Lh/l/f$b;)Z

    move-result p1

    return p1

    :cond_1c
    new-instance p1, Ljava/lang/NullPointerException;

    const-string v0, "null cannot be cast to non-null type kotlin.coroutines.CoroutineContext.Element"

    invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    goto :goto_25

    :goto_24
    throw p1

    :goto_25
    goto :goto_24
.end method

.method private final h()I
    .registers 4

    const/4 v0, 0x2

    move-object v1, p0

    :goto_2
    iget-object v1, v1, Lh/l/c;->e:Lh/l/f;

    instance-of v2, v1, Lh/l/c;

    if-nez v2, :cond_9

    const/4 v1, 0x0

    :cond_9
    check-cast v1, Lh/l/c;

    if-eqz v1, :cond_10

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_10
    return v0
.end method


# virtual methods
.method public equals(Ljava/lang/Object;)Z
    .registers 4

    if-eq p0, p1, :cond_1b

    instance-of v0, p1, Lh/l/c;

    if-eqz v0, :cond_19

    check-cast p1, Lh/l/c;

    invoke-direct {p1}, Lh/l/c;->h()I

    move-result v0

    invoke-direct {p0}, Lh/l/c;->h()I

    move-result v1

    if-ne v0, v1, :cond_19

    invoke-direct {p1, p0}, Lh/l/c;->g(Lh/l/c;)Z

    move-result p1

    if-eqz p1, :cond_19

    goto :goto_1b

    :cond_19
    const/4 p1, 0x0

    goto :goto_1c

    :cond_1b
    :goto_1b
    const/4 p1, 0x1

    :goto_1c
    return p1
.end method

.method public fold(Ljava/lang/Object;Lh/o/b/p;)Ljava/lang/Object;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<R:",
            "Ljava/lang/Object;",
            ">(TR;",
            "Lh/o/b/p<",
            "-TR;-",
            "Lh/l/f$b;",
            "+TR;>;)TR;"
        }
    .end annotation

    const-string v0, "operation"

    invoke-static {p2, v0}, Lh/o/c/f;->d(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lh/l/c;->e:Lh/l/f;

    invoke-interface {v0, p1, p2}, Lh/l/f;->fold(Ljava/lang/Object;Lh/o/b/p;)Ljava/lang/Object;

    move-result-object p1

    iget-object v0, p0, Lh/l/c;->f:Lh/l/f$b;

    invoke-interface {p2, p1, v0}, Lh/o/b/p;->g(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public get(Lh/l/f$c;)Lh/l/f$b;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E::",
            "Lh/l/f$b;",
            ">(",
            "Lh/l/f$c<",
            "TE;>;)TE;"
        }
    .end annotation

    const-string v0, "key"

    invoke-static {p1, v0}, Lh/o/c/f;->d(Ljava/lang/Object;Ljava/lang/String;)V

    move-object v0, p0

    :goto_6
    iget-object v1, v0, Lh/l/c;->f:Lh/l/f$b;

    invoke-interface {v1, p1}, Lh/l/f$b;->get(Lh/l/f$c;)Lh/l/f$b;

    move-result-object v1

    if-eqz v1, :cond_f

    return-object v1

    :cond_f
    iget-object v0, v0, Lh/l/c;->e:Lh/l/f;

    instance-of v1, v0, Lh/l/c;

    if-eqz v1, :cond_18

    check-cast v0, Lh/l/c;

    goto :goto_6

    :cond_18
    invoke-interface {v0, p1}, Lh/l/f;->get(Lh/l/f$c;)Lh/l/f$b;

    move-result-object p1

    return-object p1
.end method

.method public hashCode()I
    .registers 3

    iget-object v0, p0, Lh/l/c;->e:Lh/l/f;

    invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I

    move-result v0

    iget-object v1, p0, Lh/l/c;->f:Lh/l/f$b;

    invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I

    move-result v1

    add-int/2addr v0, v1

    return v0
.end method

.method public minusKey(Lh/l/f$c;)Lh/l/f;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lh/l/f$c<",
            "*>;)",
            "Lh/l/f;"
        }
    .end annotation

    const-string v0, "key"

    invoke-static {p1, v0}, Lh/o/c/f;->d(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lh/l/c;->f:Lh/l/f$b;

    invoke-interface {v0, p1}, Lh/l/f$b;->get(Lh/l/f$c;)Lh/l/f$b;

    move-result-object v0

    if-eqz v0, :cond_10

    iget-object p1, p0, Lh/l/c;->e:Lh/l/f;

    return-object p1

    :cond_10
    iget-object v0, p0, Lh/l/c;->e:Lh/l/f;

    invoke-interface {v0, p1}, Lh/l/f;->minusKey(Lh/l/f$c;)Lh/l/f;

    move-result-object p1

    iget-object v0, p0, Lh/l/c;->e:Lh/l/f;

    if-ne p1, v0, :cond_1c

    move-object p1, p0

    goto :goto_2b

    :cond_1c
    sget-object v0, Lh/l/g;->e:Lh/l/g;

    if-ne p1, v0, :cond_23

    iget-object p1, p0, Lh/l/c;->f:Lh/l/f$b;

    goto :goto_2b

    :cond_23
    new-instance v0, Lh/l/c;

    iget-object v1, p0, Lh/l/c;->f:Lh/l/f$b;

    invoke-direct {v0, p1, v1}, Lh/l/c;-><init>(Lh/l/f;Lh/l/f$b;)V

    move-object p1, v0

    :goto_2b
    return-object p1
.end method

.method public toString()Ljava/lang/String;
    .registers 4

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "["

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

    sget-object v1, Lh/l/c$a;->e:Lh/l/c$a;

    const-string v2, ""

    invoke-virtual {p0, v2, v1}, Lh/l/c;->fold(Ljava/lang/Object;Lh/o/b/p;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

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

    const-string v1, "]"

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

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

    move-result-object v0

    return-object v0
.end method