q$b.smali

.class public final Lzlc/season/rxdownload4/download/downloader/q$b;
.super Ljava/lang/Object;
.source "RangeTmpFile.kt"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lzlc/season/rxdownload4/download/downloader/q;
.end annotation

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

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lzlc/season/rxdownload4/download/downloader/q$b$a;
    }
.end annotation


# static fields
.field public static final a:Lzlc/season/rxdownload4/download/downloader/q$b$a;


# instance fields
.field private b:J

.field private c:J


# direct methods
.method static constructor <clinit>()V
    .registers 2

    new-instance v0, Lzlc/season/rxdownload4/download/downloader/q$b$a;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lzlc/season/rxdownload4/download/downloader/q$b$a;-><init>(Lkotlin/jvm/internal/f;)V

    sput-object v0, Lzlc/season/rxdownload4/download/downloader/q$b;->a:Lzlc/season/rxdownload4/download/downloader/q$b$a;

    return-void
.end method

.method public constructor <init>(JJ)V
    .registers 5

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

    iput-wide p1, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->b:J

    iput-wide p3, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->c:J

    return-void
.end method

.method public synthetic constructor <init>(JJILkotlin/jvm/internal/f;)V
    .registers 9

    and-int/lit8 p6, p5, 0x1

    const-wide/16 v0, 0x0

    if-eqz p6, :cond_7

    move-wide p1, v0

    :cond_7
    and-int/lit8 p5, p5, 0x2

    if-eqz p5, :cond_c

    move-wide p3, v0

    .line 2
    :cond_c
    invoke-direct {p0, p1, p2, p3, p4}, Lzlc/season/rxdownload4/download/downloader/q$b;-><init>(JJ)V

    return-void
.end method


# virtual methods
.method public final a()J
    .registers 3

    .line 1
    iget-wide v0, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->c:J

    return-wide v0
.end method

.method public final a(Lokio/BufferedSink;JJ)V
    .registers 8

    const-string v0, "sink"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/i;->d(Ljava/lang/Object;Ljava/lang/String;)V

    .line 2
    iput-wide p2, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->b:J

    .line 3
    iput-wide p4, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->c:J

    .line 4
    sget-object v0, Lokio/ByteString;->Companion:Lokio/ByteString$Companion;

    const-string v1, "a1b2c3d4e5f6"

    invoke-virtual {v0, v1}, Lokio/ByteString$Companion;->decodeHex(Ljava/lang/String;)Lokio/ByteString;

    move-result-object v0

    invoke-interface {p1, v0}, Lokio/BufferedSink;->write(Lokio/ByteString;)Lokio/BufferedSink;

    .line 5
    invoke-interface {p1, p2, p3}, Lokio/BufferedSink;->writeLong(J)Lokio/BufferedSink;

    .line 6
    invoke-interface {p1, p4, p5}, Lokio/BufferedSink;->writeLong(J)Lokio/BufferedSink;

    return-void
.end method

.method public final a(Lokio/BufferedSource;)V
    .registers 4

    const-string v0, "source"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/i;->d(Ljava/lang/Object;Ljava/lang/String;)V

    const-wide/16 v0, 0x6

    .line 7
    invoke-interface {p1, v0, v1}, Lokio/BufferedSource;->readByteString(J)Lokio/ByteString;

    move-result-object v0

    invoke-virtual {v0}, Lokio/ByteString;->hex()Ljava/lang/String;

    move-result-object v0

    const-string v1, "a1b2c3d4e5f6"

    .line 8
    invoke-static {v0, v1}, Lkotlin/jvm/internal/i;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    xor-int/lit8 v0, v0, 0x1

    if-nez v0, :cond_26

    .line 9
    invoke-interface {p1}, Lokio/BufferedSource;->readLong()J

    move-result-wide v0

    iput-wide v0, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->b:J

    .line 10
    invoke-interface {p1}, Lokio/BufferedSource;->readLong()J

    move-result-wide v0

    iput-wide v0, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->c:J

    return-void

    .line 11
    :cond_26
    new-instance p1, Ljava/lang/RuntimeException;

    const-string v0, "not a tmp file"

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

    throw p1
.end method

.method public final a(JJ)Z
    .registers 8

    .line 12
    iget-wide v0, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->b:J

    cmp-long v2, v0, p1

    if-nez v2, :cond_e

    iget-wide p1, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->c:J

    cmp-long v0, p1, p3

    if-nez v0, :cond_e

    const/4 p1, 0x1

    goto :goto_f

    :cond_e
    const/4 p1, 0x0

    :goto_f
    return p1
.end method

.method public final b()J
    .registers 3

    .line 1
    iget-wide v0, p0, Lzlc/season/rxdownload4/download/downloader/q$b;->b:J

    return-wide v0
.end method