a$d.smali

.class public final Lcom/airbnb/lottie/animation/keyframe/a$d;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/airbnb/lottie/animation/keyframe/a$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/airbnb/lottie/animation/keyframe/a;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lcom/airbnb/lottie/animation/keyframe/a$c<",
        "TT;>;"
    }
.end annotation


# instance fields
.field public final a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "+",
            "Lcom/airbnb/lottie/value/a<",
            "TT;>;>;"
        }
    .end annotation
.end field

.field public b:Lcom/airbnb/lottie/value/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/airbnb/lottie/value/a<",
            "TT;>;"
        }
    .end annotation
.end field

.field public c:Lcom/airbnb/lottie/value/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/airbnb/lottie/value/a<",
            "TT;>;"
        }
    .end annotation
.end field

.field public d:F


# direct methods
.method public constructor <init>(Ljava/util/List;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "+",
            "Lcom/airbnb/lottie/value/a<",
            "TT;>;>;)V"
        }
    .end annotation

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

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->c:Lcom/airbnb/lottie/value/a;

    const/high16 v0, -0x40800000    # -1.0f

    .line 3
    iput v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->d:F

    .line 4
    iput-object p1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    const/4 p1, 0x0

    .line 5
    invoke-virtual {p0, p1}, Lcom/airbnb/lottie/animation/keyframe/a$d;->f(F)Lcom/airbnb/lottie/value/a;

    move-result-object p1

    iput-object p1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    return-void
.end method


# virtual methods
.method public final a()Lcom/airbnb/lottie/value/a;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/airbnb/lottie/value/a<",
            "TT;>;"
        }
    .end annotation

    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    return-object v0
.end method

.method public final b()F
    .registers 3

    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/airbnb/lottie/value/a;

    invoke-virtual {v0}, Lcom/airbnb/lottie/value/a;->b()F

    move-result v0

    return v0
.end method

.method public final c(F)Z
    .registers 4

    .line 1
    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->c:Lcom/airbnb/lottie/value/a;

    iget-object v1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    if-ne v0, v1, :cond_e

    iget v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->d:F

    cmpl-float v0, v0, p1

    if-nez v0, :cond_e

    const/4 p1, 0x1

    return p1

    .line 2
    :cond_e
    iput-object v1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->c:Lcom/airbnb/lottie/value/a;

    .line 3
    iput p1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->d:F

    const/4 p1, 0x0

    return p1
.end method

.method public final d(F)Z
    .registers 5

    .line 1
    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    .line 2
    invoke-virtual {v0}, Lcom/airbnb/lottie/value/a;->b()F

    move-result v1

    const/4 v2, 0x1

    cmpl-float v1, p1, v1

    if-ltz v1, :cond_15

    invoke-virtual {v0}, Lcom/airbnb/lottie/value/a;->a()F

    move-result v0

    cmpg-float v0, p1, v0

    if-gez v0, :cond_15

    const/4 v0, 0x1

    goto :goto_16

    :cond_15
    const/4 v0, 0x0

    :goto_16
    if-eqz v0, :cond_20

    .line 3
    iget-object p1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    invoke-virtual {p1}, Lcom/airbnb/lottie/value/a;->c()Z

    move-result p1

    xor-int/2addr p1, v2

    return p1

    .line 4
    :cond_20
    invoke-virtual {p0, p1}, Lcom/airbnb/lottie/animation/keyframe/a$d;->f(F)Lcom/airbnb/lottie/value/a;

    move-result-object p1

    iput-object p1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    return v2
.end method

.method public final e()F
    .registers 3

    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/airbnb/lottie/value/a;

    invoke-virtual {v0}, Lcom/airbnb/lottie/value/a;->a()F

    move-result v0

    return v0
.end method

.method public final f(F)Lcom/airbnb/lottie/value/a;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(F)",
            "Lcom/airbnb/lottie/value/a<",
            "TT;>;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/airbnb/lottie/value/a;

    .line 2
    invoke-virtual {v0}, Lcom/airbnb/lottie/value/a;->b()F

    move-result v1

    cmpl-float v1, p1, v1

    if-ltz v1, :cond_17

    return-object v0

    .line 3
    :cond_17
    iget-object v0, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x2

    :goto_1f
    const/4 v1, 0x0

    if-lt v0, v2, :cond_46

    .line 4
    iget-object v3, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/airbnb/lottie/value/a;

    .line 5
    iget-object v4, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->b:Lcom/airbnb/lottie/value/a;

    if-ne v4, v3, :cond_2f

    goto :goto_43

    .line 6
    :cond_2f
    invoke-virtual {v3}, Lcom/airbnb/lottie/value/a;->b()F

    move-result v4

    cmpl-float v4, p1, v4

    if-ltz v4, :cond_40

    invoke-virtual {v3}, Lcom/airbnb/lottie/value/a;->a()F

    move-result v4

    cmpg-float v4, p1, v4

    if-gez v4, :cond_40

    const/4 v1, 0x1

    :cond_40
    if-eqz v1, :cond_43

    return-object v3

    :cond_43
    :goto_43
    add-int/lit8 v0, v0, -0x1

    goto :goto_1f

    .line 7
    :cond_46
    iget-object p1, p0, Lcom/airbnb/lottie/animation/keyframe/a$d;->a:Ljava/util/List;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/airbnb/lottie/value/a;

    return-object p1
.end method

.method public final isEmpty()Z
    .registers 2

    const/4 v0, 0x0

    return v0
.end method