JSONPath$ad.smali

.class Lcom/tradplus/ads/common/serialization/JSONPath$ad;
.super Lcom/tradplus/ads/common/serialization/JSONPath$u;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/tradplus/ads/common/serialization/JSONPath;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "ad"
.end annotation


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

.field private final g:Lcom/tradplus/ads/common/serialization/JSONPath$t;


# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;Lcom/tradplus/ads/common/serialization/JSONPath$t;)V
    .registers 5

    invoke-direct {p0, p1, p2}, Lcom/tradplus/ads/common/serialization/JSONPath$u;-><init>(Ljava/lang/String;Z)V

    iput-object p3, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->f:Ljava/lang/String;

    iput-object p4, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->g:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    return-void
.end method


# virtual methods
.method public apply(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
    .registers 6

    invoke-virtual {p0, p1, p2, p4}, Lcom/tradplus/ads/common/serialization/JSONPath$u;->a(Lcom/tradplus/ads/common/serialization/JSONPath;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    iget-object p2, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->g:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    sget-object p3, Lcom/tradplus/ads/common/serialization/JSONPath$t;->EQ:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    if-ne p2, p3, :cond_11

    iget-object p2, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->f:Ljava/lang/String;

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

    move-result p1

    return p1

    :cond_11
    sget-object p3, Lcom/tradplus/ads/common/serialization/JSONPath$t;->NE:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    const/4 p4, 0x1

    if-ne p2, p3, :cond_1e

    iget-object p2, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->f:Ljava/lang/String;

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

    move-result p1

    xor-int/2addr p1, p4

    return p1

    :cond_1e
    const/4 p2, 0x0

    if-nez p1, :cond_22

    return p2

    :cond_22
    iget-object p3, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->f:Ljava/lang/String;

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p3, p1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result p1

    iget-object p3, p0, Lcom/tradplus/ads/common/serialization/JSONPath$ad;->g:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    sget-object v0, Lcom/tradplus/ads/common/serialization/JSONPath$t;->GE:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    if-ne p3, v0, :cond_36

    if-gtz p1, :cond_35

    const/4 p2, 0x1

    :cond_35
    return p2

    :cond_36
    sget-object v0, Lcom/tradplus/ads/common/serialization/JSONPath$t;->GT:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    if-ne p3, v0, :cond_3e

    if-gez p1, :cond_3d

    const/4 p2, 0x1

    :cond_3d
    return p2

    :cond_3e
    sget-object v0, Lcom/tradplus/ads/common/serialization/JSONPath$t;->LE:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    if-ne p3, v0, :cond_46

    if-ltz p1, :cond_45

    const/4 p2, 0x1

    :cond_45
    return p2

    :cond_46
    sget-object v0, Lcom/tradplus/ads/common/serialization/JSONPath$t;->LT:Lcom/tradplus/ads/common/serialization/JSONPath$t;

    if-ne p3, v0, :cond_4d

    if-lez p1, :cond_4d

    const/4 p2, 0x1

    :cond_4d
    return p2
.end method