final class okio.RealBufferedSource extends java.lang.Object implements okio.BufferedSource
{
public final okio.Buffer buffer;
public final okio.Source source;
boolean closed;
void <init>(okio.Source)
{
okio.Buffer v;
okio.RealBufferedSource v;
okio.Source v;
java.lang.NullPointerException v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.Source;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new okio.Buffer;
specialinvoke v.<okio.Buffer: void <init>()>();
v.<okio.RealBufferedSource: okio.Buffer buffer> = v;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("source == null");
throw v;
label:
v.<okio.RealBufferedSource: okio.Source source> = v;
return;
}
public okio.Buffer buffer()
{
okio.Buffer v;
okio.RealBufferedSource v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
return v;
}
public long read(okio.Buffer, long) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.RealBufferedSource v;
okio.Source v;
long v, v, v, v, v, v;
byte v, v, v;
java.lang.String v;
boolean v;
okio.Buffer v, v, v, v, v;
java.lang.IllegalArgumentException v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.Buffer;
v := @parameter: long;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("sink == null");
throw v;
label:
v = v cmp 0L;
if v >= 0 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("byteCount < 0: \u0001");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp 0L;
if v != 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
return -1L;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long read(okio.Buffer,long)>(v, v);
return v;
}
public boolean exhausted() throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.Buffer v, v;
okio.RealBufferedSource v;
okio.Source v;
long v;
byte v;
boolean v, v, v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: boolean exhausted()>();
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public void require(long) throws java.io.IOException
{
okio.RealBufferedSource v;
long v;
java.io.EOFException v;
boolean v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v = virtualinvoke v.<okio.RealBufferedSource: boolean request(long)>(v);
if v != 0 goto label;
v = new java.io.EOFException;
specialinvoke v.<java.io.EOFException: void <init>()>();
throw v;
label:
return;
}
public boolean request(long) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.Buffer v, v;
okio.RealBufferedSource v;
okio.Source v;
long v, v, v;
java.lang.IllegalArgumentException v;
byte v, v, v;
java.lang.String v;
boolean v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v = v cmp 0L;
if v >= 0 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("byteCount < 0: \u0001");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp v;
if v >= 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
return 0;
label:
return 1;
}
public byte readByte() throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
byte v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(1L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte readByte()>();
return v;
}
public okio.ByteString readByteString() throws java.io.IOException
{
okio.Buffer v, v;
okio.RealBufferedSource v;
okio.Source v;
okio.ByteString v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Source source>;
virtualinvoke v.<okio.Buffer: long writeAll(okio.Source)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: okio.ByteString readByteString()>();
return v;
}
public okio.ByteString readByteString(long) throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
okio.ByteString v;
long v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: okio.ByteString readByteString(long)>(v);
return v;
}
public int select(okio.Options) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.RealBufferedSource v;
okio.Source v;
okio.ByteString[] v;
long v;
okio.Options v;
byte v;
okio.ByteString v;
int v, v, v, v, v, v;
boolean v;
okio.Buffer v, v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.Options;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: int selectPrefix(okio.Options,boolean)>(v, 1);
v = (int) -1;
if v != v goto label;
v = (int) -1;
return v;
label:
v = (int) -2;
if v != v goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = v.<okio.Options: okio.ByteString[] byteStrings>;
v = v[v];
v = virtualinvoke v.<okio.ByteString: int size()>();
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
virtualinvoke v.<okio.Buffer: void skip(long)>(v);
return v;
}
public byte[] readByteArray() throws java.io.IOException
{
byte[] v;
okio.Buffer v, v;
okio.RealBufferedSource v;
okio.Source v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Source source>;
virtualinvoke v.<okio.Buffer: long writeAll(okio.Source)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte[] readByteArray()>();
return v;
}
public byte[] readByteArray(long) throws java.io.IOException
{
byte[] v;
okio.Buffer v;
okio.RealBufferedSource v;
long v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte[] readByteArray(long)>(v);
return v;
}
public int read(byte[]) throws java.io.IOException
{
byte[] v;
okio.RealBufferedSource v;
int v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: byte[];
v = lengthof v;
v = virtualinvoke v.<okio.RealBufferedSource: int read(byte[],int,int)>(v, 0, v);
return v;
}
public void readFully(byte[]) throws java.io.IOException
{
byte[] v;
okio.Buffer v, v, v, v;
okio.RealBufferedSource v;
long v, v;
java.lang.AssertionError v;
java.io.EOFException v;
byte v;
int v, v, v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: byte[];
label:
v = lengthof v;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(v);
label:
goto label;
label:
v := @caughtexception;
v = 0;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp 0L;
if v <= 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = virtualinvoke v.<okio.Buffer: int read(byte[],int,int)>(v, v, v);
v = (int) -1;
if v != v goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = v + v;
goto label;
label:
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
virtualinvoke v.<okio.Buffer: void readFully(byte[])>(v);
return;
catch java.io.EOFException from label to label with label;
}
public int read(byte[], int, int) throws java.io.IOException
{
byte[] v;
okio.RealBufferedSource v;
okio.Source v;
long v, v, v, v;
byte v, v;
int v, v, v, v, v;
okio.Buffer v, v, v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = lengthof v;
staticinvoke <okio.Util: void checkOffsetAndCount(long,long,long)>(v, v, v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp 0L;
if v != 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: int read(byte[],int,int)>(v, v, v);
return v;
}
public int read(java.nio.ByteBuffer) throws java.io.IOException
{
okio.Buffer v, v, v;
okio.RealBufferedSource v;
okio.Source v;
long v, v;
java.nio.ByteBuffer v;
byte v, v;
int v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: java.nio.ByteBuffer;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp 0L;
if v != 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: int read(java.nio.ByteBuffer)>(v);
return v;
}
public void readFully(okio.Buffer, long) throws java.io.IOException
{
okio.Buffer v, v, v;
okio.RealBufferedSource v;
long v;
java.io.EOFException v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.Buffer;
v := @parameter: long;
label:
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(v);
label:
goto label;
label:
v := @caughtexception;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
virtualinvoke v.<okio.Buffer: long writeAll(okio.Source)>(v);
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
virtualinvoke v.<okio.Buffer: void readFully(okio.Buffer,long)>(v, v);
return;
catch java.io.EOFException from label to label with label;
}
public long readAll(okio.Sink) throws java.io.IOException
{
okio.RealBufferedSource v;
okio.Source v;
long v, v, v, v, v, v;
okio.Sink v;
byte v, v, v;
okio.Buffer v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.Sink;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("sink == null");
throw v;
label:
v = 0L;
label:
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long completeSegmentByteCount()>();
v = v cmp 0L;
if v <= 0 goto label;
v = v + v;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
interfaceinvoke v.<okio.Sink: void write(okio.Buffer,long)>(v, v);
goto label;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long size()>();
v = v cmp 0L;
if v <= 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long size()>();
v = v + v;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long size()>();
interfaceinvoke v.<okio.Sink: void write(okio.Buffer,long)>(v, v);
label:
return v;
}
public java.lang.String readUtf8() throws java.io.IOException
{
okio.Buffer v, v;
okio.RealBufferedSource v;
okio.Source v;
java.lang.String v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Source source>;
virtualinvoke v.<okio.Buffer: long writeAll(okio.Source)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readUtf8()>();
return v;
}
public java.lang.String readUtf8(long) throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
long v;
java.lang.String v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readUtf8(long)>(v);
return v;
}
public java.lang.String readString(java.nio.charset.Charset) throws java.io.IOException
{
okio.Buffer v, v;
okio.RealBufferedSource v;
java.nio.charset.Charset v;
okio.Source v;
java.lang.String v;
java.lang.IllegalArgumentException v;
v := @this: okio.RealBufferedSource;
v := @parameter: java.nio.charset.Charset;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("charset == null");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Source source>;
virtualinvoke v.<okio.Buffer: long writeAll(okio.Source)>(v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readString(java.nio.charset.Charset)>(v);
return v;
}
public java.lang.String readString(long, java.nio.charset.Charset) throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
java.nio.charset.Charset v;
long v;
java.lang.String v;
java.lang.IllegalArgumentException v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v := @parameter: java.nio.charset.Charset;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(v);
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("charset == null");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readString(long,java.nio.charset.Charset)>(v, v);
return v;
}
public java.lang.String readUtf8Line() throws java.io.IOException
{
okio.Buffer v, v, v;
okio.RealBufferedSource v;
long v, v, v;
byte v, v;
java.lang.String v, v;
v := @this: okio.RealBufferedSource;
v = virtualinvoke v.<okio.RealBufferedSource: long indexOf(byte)>(10);
v = v cmp -1L;
if v != 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp 0L;
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = virtualinvoke v.<okio.RealBufferedSource: java.lang.String readUtf8(long)>(v);
goto label;
label:
v = null;
label:
return v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readUtf8Line(long)>(v);
return v;
}
public java.lang.String readUtf8LineStrict() throws java.io.IOException
{
okio.RealBufferedSource v;
java.lang.String v;
v := @this: okio.RealBufferedSource;
v = virtualinvoke v.<okio.RealBufferedSource: java.lang.String readUtf8LineStrict(long)>(9223372036854775807L);
return v;
}
public java.lang.String readUtf8LineStrict(long) throws java.io.IOException
{
okio.RealBufferedSource v;
byte v, v, v, v, v, v;
boolean v, v;
java.io.EOFException v;
long v, v, v, v, v, v, v, v, v;
okio.ByteString v;
java.lang.String v, v, v, v, v;
okio.Buffer v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v = v cmp 0L;
if v >= 0 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("limit < 0: \u0001");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v cmp 9223372036854775807L;
if v != 0 goto label;
v = 9223372036854775807L;
goto label;
label:
v = v + 1L;
label:
v = virtualinvoke v.<okio.RealBufferedSource: long indexOf(byte,long,long)>(10, 0L, v);
v = v cmp -1L;
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readUtf8Line(long)>(v);
return v;
label:
v = v cmp 9223372036854775807L;
if v >= 0 goto label;
v = virtualinvoke v.<okio.RealBufferedSource: boolean request(long)>(v);
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v - 1L;
v = virtualinvoke v.<okio.Buffer: byte getByte(long)>(v);
if v != 13 goto label;
v = v + 1L;
v = virtualinvoke v.<okio.RealBufferedSource: boolean request(long)>(v);
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte getByte(long)>(v);
if v != 10 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: java.lang.String readUtf8Line(long)>(v);
return v;
label:
v = new okio.Buffer;
specialinvoke v.<okio.Buffer: void <init>()>();
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long size()>();
v = staticinvoke <java.lang.Math: long min(long,long)>(32L, v);
virtualinvoke v.<okio.Buffer: okio.Buffer copyTo(okio.Buffer,long,long)>(v, 0L, v);
v = new java.io.EOFException;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long size()>();
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = virtualinvoke v.<okio.Buffer: okio.ByteString readByteString()>();
v = virtualinvoke v.<okio.ByteString: java.lang.String hex()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (long,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\\n not found: limit=\u content=\u0001\u2026");
specialinvoke v.<java.io.EOFException: void <init>(java.lang.String)>(v);
throw v;
}
public int readUtf8CodePoint() throws java.io.IOException
{
okio.Buffer v, v;
okio.RealBufferedSource v;
short v, v, v;
byte v;
int v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(1L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte getByte(long)>(0L);
v = v & 224;
if v != 192 goto label;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(2L);
goto label;
label:
v = v & 240;
if v != 224 goto label;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(3L);
goto label;
label:
v = v & 248;
if v != 240 goto label;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(4L);
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: int readUtf8CodePoint()>();
return v;
}
public short readShort() throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
short v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(2L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: short readShort()>();
return v;
}
public short readShortLe() throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
short v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(2L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: short readShortLe()>();
return v;
}
public int readInt() throws java.io.IOException
{
int v;
okio.Buffer v;
okio.RealBufferedSource v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(4L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: int readInt()>();
return v;
}
public int readIntLe() throws java.io.IOException
{
int v;
okio.Buffer v;
okio.RealBufferedSource v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(4L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: int readIntLe()>();
return v;
}
public long readLong() throws java.io.IOException
{
long v;
okio.Buffer v;
okio.RealBufferedSource v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(8L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long readLong()>();
return v;
}
public long readLongLe() throws java.io.IOException
{
long v;
okio.Buffer v;
okio.RealBufferedSource v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(8L);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long readLongLe()>();
return v;
}
public long readDecimalLong() throws java.io.IOException
{
okio.Buffer v, v;
okio.RealBufferedSource v;
java.lang.Object[] v;
java.lang.NumberFormatException v;
long v;
byte v;
int v, v;
java.lang.String v;
java.lang.Byte v;
boolean v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(1L);
v = 0;
label:
v = v + 1;
v = virtualinvoke v.<okio.RealBufferedSource: boolean request(long)>(v);
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte getByte(long)>(v);
if v < 48 goto label;
if v <= 57 goto label;
label:
if v != 0 goto label;
if v == 45 goto label;
if v != 0 goto label;
v = new java.lang.NumberFormatException;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Byte: java.lang.Byte valueOf(byte)>(v);
v[0] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("Expected leading [0-9] or \'-\' character but was %#x", v);
specialinvoke v.<java.lang.NumberFormatException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v + 1;
goto label;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long readDecimalLong()>();
return v;
}
public long readHexadecimalUnsignedLong() throws java.io.IOException
{
okio.Buffer v, v;
okio.RealBufferedSource v;
java.lang.Object[] v;
java.lang.NumberFormatException v;
long v;
byte v;
int v, v;
java.lang.String v;
java.lang.Byte v;
boolean v;
v := @this: okio.RealBufferedSource;
virtualinvoke v.<okio.RealBufferedSource: void require(long)>(1L);
v = 0;
label:
v = v + 1;
v = virtualinvoke v.<okio.RealBufferedSource: boolean request(long)>(v);
if v == 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte getByte(long)>(v);
if v < 48 goto label;
if v <= 57 goto label;
label:
if v < 97 goto label;
if v <= 102 goto label;
label:
if v < 65 goto label;
if v <= 70 goto label;
label:
if v != 0 goto label;
v = new java.lang.NumberFormatException;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Byte: java.lang.Byte valueOf(byte)>(v);
v[0] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("Expected leading [0-9a-fA-F] character but was %#x", v);
specialinvoke v.<java.lang.NumberFormatException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v + 1;
goto label;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long readHexadecimalUnsignedLong()>();
return v;
}
public void skip(long) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.RealBufferedSource v;
okio.Source v;
long v, v, v, v, v;
byte v, v, v;
boolean v;
okio.Buffer v, v, v, v;
java.io.EOFException v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp 0L;
if v != 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
v = new java.io.EOFException;
specialinvoke v.<java.io.EOFException: void <init>()>();
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long size()>();
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
virtualinvoke v.<okio.Buffer: void skip(long)>(v);
v = v - v;
goto label;
label:
return;
}
public long indexOf(byte) throws java.io.IOException
{
long v;
okio.RealBufferedSource v;
byte v;
v := @this: okio.RealBufferedSource;
v := @parameter: byte;
v = virtualinvoke v.<okio.RealBufferedSource: long indexOf(byte,long,long)>(v, 0L, 9223372036854775807L);
return v;
}
public long indexOf(byte, long) throws java.io.IOException
{
okio.RealBufferedSource v;
byte v;
long v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: byte;
v := @parameter: long;
v = virtualinvoke v.<okio.RealBufferedSource: long indexOf(byte,long,long)>(v, v, 9223372036854775807L);
return v;
}
public long indexOf(byte, long, long) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.RealBufferedSource v;
java.lang.Object[] v;
okio.Source v;
long v, v, v, v, v;
byte v, v, v, v, v, v, v;
java.lang.Long v, v;
java.lang.String v;
boolean v;
okio.Buffer v, v, v;
java.lang.IllegalArgumentException v;
v := @this: okio.RealBufferedSource;
v := @parameter: byte;
v := @parameter: long;
v := @parameter: long;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v cmp 0L;
if v < 0 goto label;
v = v cmp v;
if v >= 0 goto label;
label:
v = new java.lang.IllegalArgumentException;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("fromIndex=%s toIndex=%s", v);
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v cmp v;
if v >= 0 goto label;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long indexOf(byte,long,long)>(v, v, v);
v = v cmp -1L;
if v == 0 goto label;
return v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v cmp v;
if v >= 0 goto label;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
label:
return -1L;
label:
v = staticinvoke <java.lang.Math: long max(long,long)>(v, v);
goto label;
label:
return -1L;
}
public long indexOf(okio.ByteString) throws java.io.IOException
{
long v;
okio.RealBufferedSource v;
okio.ByteString v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.ByteString;
v = virtualinvoke v.<okio.RealBufferedSource: long indexOf(okio.ByteString,long)>(v, 0L);
return v;
}
public long indexOf(okio.ByteString, long) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.RealBufferedSource v;
okio.Source v;
long v, v, v, v, v, v;
byte v, v;
okio.ByteString v;
int v;
boolean v;
okio.Buffer v, v, v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.ByteString;
v := @parameter: long;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long indexOf(okio.ByteString,long)>(v, v);
v = v cmp -1L;
if v == 0 goto label;
return v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
return -1L;
label:
v = virtualinvoke v.<okio.ByteString: int size()>();
v = v - v;
v = v + 1L;
v = staticinvoke <java.lang.Math: long max(long,long)>(v, v);
goto label;
}
public long indexOfElement(okio.ByteString) throws java.io.IOException
{
long v;
okio.RealBufferedSource v;
okio.ByteString v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.ByteString;
v = virtualinvoke v.<okio.RealBufferedSource: long indexOfElement(okio.ByteString,long)>(v, 0L);
return v;
}
public long indexOfElement(okio.ByteString, long) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.Buffer v, v, v;
okio.RealBufferedSource v;
okio.Source v;
long v, v, v, v;
byte v, v;
okio.ByteString v;
boolean v;
v := @this: okio.RealBufferedSource;
v := @parameter: okio.ByteString;
v := @parameter: long;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: long indexOfElement(okio.ByteString,long)>(v, v);
v = v cmp -1L;
if v == 0 goto label;
return v;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = v.<okio.Buffer: long size>;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = interfaceinvoke v.<okio.Source: long read(okio.Buffer,long)>(v, 8192L);
v = v cmp -1L;
if v != 0 goto label;
return -1L;
label:
v = staticinvoke <java.lang.Math: long max(long,long)>(v, v);
goto label;
}
public boolean rangeEquals(long, okio.ByteString) throws java.io.IOException
{
okio.RealBufferedSource v;
okio.ByteString v;
int v;
long v;
boolean v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v := @parameter: okio.ByteString;
v = virtualinvoke v.<okio.ByteString: int size()>();
v = virtualinvoke v.<okio.RealBufferedSource: boolean rangeEquals(long,okio.ByteString,int,int)>(v, v, 0, v);
return v;
}
public boolean rangeEquals(long, okio.ByteString, int, int) throws java.io.IOException
{
java.lang.IllegalStateException v;
okio.RealBufferedSource v;
long v, v, v;
byte v, v, v;
okio.ByteString v;
int v, v, v, v, v, v;
boolean v, v;
okio.Buffer v;
v := @this: okio.RealBufferedSource;
v := @parameter: long;
v := @parameter: okio.ByteString;
v := @parameter: int;
v := @parameter: int;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("closed");
throw v;
label:
v = v cmp 0L;
if v < 0 goto label;
if v < 0 goto label;
if v < 0 goto label;
v = virtualinvoke v.<okio.ByteString: int size()>();
v = v - v;
if v >= v goto label;
label:
return 0;
label:
v = 0;
label:
if v >= v goto label;
v = v + v;
v = v + 1L;
v = virtualinvoke v.<okio.RealBufferedSource: boolean request(long)>(v);
if v != 0 goto label;
return 0;
label:
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
v = virtualinvoke v.<okio.Buffer: byte getByte(long)>(v);
v = v + v;
v = virtualinvoke v.<okio.ByteString: byte getByte(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public java.io.InputStream inputStream()
{
okio.RealBufferedSource$1 v;
okio.RealBufferedSource v;
v := @this: okio.RealBufferedSource;
v = new okio.RealBufferedSource$1;
specialinvoke v.<okio.RealBufferedSource$1: void <init>(okio.RealBufferedSource)>(v);
return v;
}
public boolean isOpen()
{
okio.RealBufferedSource v;
boolean v, v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: boolean closed>;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public void close() throws java.io.IOException
{
okio.Buffer v;
okio.RealBufferedSource v;
okio.Source v;
boolean v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: boolean closed>;
if v == 0 goto label;
return;
label:
v.<okio.RealBufferedSource: boolean closed> = 1;
v = v.<okio.RealBufferedSource: okio.Source source>;
interfaceinvoke v.<okio.Source: void close()>();
v = v.<okio.RealBufferedSource: okio.Buffer buffer>;
virtualinvoke v.<okio.Buffer: void clear()>();
return;
}
public okio.Timeout timeout()
{
okio.RealBufferedSource v;
okio.Timeout v;
okio.Source v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = interfaceinvoke v.<okio.Source: okio.Timeout timeout()>();
return v;
}
public java.lang.String toString()
{
okio.RealBufferedSource v;
java.lang.String v;
okio.Source v;
v := @this: okio.RealBufferedSource;
v = v.<okio.RealBufferedSource: okio.Source source>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (okio.Source)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("buffer(\u)");
return v;
}
}