ul$a.smali

.class Ldxoptimizer/ul$a;
.super Ljava/lang/Object;
.source "UpdateManagerBase.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Ldxoptimizer/ul;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Comparator",
        "<",
        "Ljava/io/File;",
        ">;"
    }
.end annotation


# direct methods
.method private constructor <init>()V
    .registers 1

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

    return-void
.end method

.method synthetic constructor <init>(Ldxoptimizer/ul$1;)V
    .registers 2

    .prologue
    .line 267
    invoke-direct {p0}, Ldxoptimizer/ul$a;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/io/File;Ljava/io/File;)I
    .registers 11

    .prologue
    const-wide/16 v6, 0x0

    const/4 v0, 0x1

    const/4 v1, -0x1

    .line 271
    if-eqz p1, :cond_c

    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result v2

    if-nez v2, :cond_e

    :cond_c
    move v0, v1

    .line 278
    :cond_d
    :goto_d
    return v0

    .line 272
    :cond_e
    if-eqz p2, :cond_d

    invoke-virtual {p2}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_d

    .line 273
    invoke-virtual {p1}, Ljava/io/File;->lastModified()J

    move-result-wide v2

    invoke-virtual {p2}, Ljava/io/File;->lastModified()J

    move-result-wide v4

    sub-long/2addr v2, v4

    .line 274
    cmp-long v4, v2, v6

    if-gtz v4, :cond_d

    .line 276
    cmp-long v0, v2, v6

    if-gez v0, :cond_29

    move v0, v1

    .line 277
    goto :goto_d

    .line 278
    :cond_29
    const/4 v0, 0x0

    goto :goto_d
.end method

.method public synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .registers 4

    .prologue
    .line 267
    check-cast p1, Ljava/io/File;

    check-cast p2, Ljava/io/File;

    invoke-virtual {p0, p1, p2}, Ldxoptimizer/ul$a;->a(Ljava/io/File;Ljava/io/File;)I

    move-result v0

    return v0
.end method