final class org.apache.cassandra.io.util.MmappedRegions$State
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.apache.cassandra.io.util.MmappedRegions$State
  super_class: java.lang.Object
{
  private final org.apache.cassandra.io.util.ChannelProxy channel;
    descriptor: Lorg/apache/cassandra/io/util/ChannelProxy;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.nio.ByteBuffer[] buffers;
    descriptor: [Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE

  private long[] offsets;
    descriptor: [J
    flags: (0x0002) ACC_PRIVATE

  private long length;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private int last;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 246
            ldc Lorg/apache/cassandra/io/util/MmappedRegions;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.cassandra.io.util.MmappedRegions$State.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(org.apache.cassandra.io.util.ChannelProxy);
    descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
        start local 1 // org.apache.cassandra.io.util.ChannelProxy channel
         0: .line 263
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 265
            aload 0 /* this */
            aload 1 /* channel */
            invokevirtual org.apache.cassandra.io.util.ChannelProxy.sharedCopy:()Lorg/apache/cassandra/io/util/ChannelProxy;
            putfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
         2: .line 266
            aload 0 /* this */
            bipush 15
            anewarray java.nio.ByteBuffer
            putfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
         3: .line 267
            aload 0 /* this */
            bipush 15
            newarray 11
            putfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
         4: .line 268
            aload 0 /* this */
            lconst_0
            putfield org.apache.cassandra.io.util.MmappedRegions$State.length:J
         5: .line 269
            aload 0 /* this */
            iconst_m1
            putfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
         6: .line 270
            return
        end local 1 // org.apache.cassandra.io.util.ChannelProxy channel
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lorg/apache/cassandra/io/util/MmappedRegions$State;
            0    7     1  channel  Lorg/apache/cassandra/io/util/ChannelProxy;
    MethodParameters:
         Name  Flags
      channel  

  private void <init>(org.apache.cassandra.io.util.MmappedRegions$State);
    descriptor: (Lorg/apache/cassandra/io/util/MmappedRegions$State;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
        start local 1 // org.apache.cassandra.io.util.MmappedRegions$State original
         0: .line 272
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 274
            aload 0 /* this */
            aload 1 /* original */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
            putfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
         2: .line 275
            aload 0 /* this */
            aload 1 /* original */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            putfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
         3: .line 276
            aload 0 /* this */
            aload 1 /* original */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            putfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
         4: .line 277
            aload 0 /* this */
            aload 1 /* original */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.length:J
            putfield org.apache.cassandra.io.util.MmappedRegions$State.length:J
         5: .line 278
            aload 0 /* this */
            aload 1 /* original */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            putfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
         6: .line 279
            return
        end local 1 // org.apache.cassandra.io.util.MmappedRegions$State original
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lorg/apache/cassandra/io/util/MmappedRegions$State;
            0    7     1  original  Lorg/apache/cassandra/io/util/MmappedRegions$State;
    MethodParameters:
          Name  Flags
      original  

  private boolean isEmpty();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
         0: .line 283
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            ifge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/io/util/MmappedRegions$State;

  private boolean isValid(org.apache.cassandra.io.util.ChannelProxy);
    descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
        start local 1 // org.apache.cassandra.io.util.ChannelProxy channel
         0: .line 288
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
            invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
            aload 1 /* channel */
            invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // org.apache.cassandra.io.util.ChannelProxy channel
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lorg/apache/cassandra/io/util/MmappedRegions$State;
            0    1     1  channel  Lorg/apache/cassandra/io/util/ChannelProxy;
    MethodParameters:
         Name  Flags
      channel  

  private org.apache.cassandra.io.util.MmappedRegions$Region floor(long);
    descriptor: (J)Lorg/apache/cassandra/io/util/MmappedRegions$Region;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=4, args_size=2
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
        start local 1 // long position
         0: .line 293
            getstatic org.apache.cassandra.io.util.MmappedRegions$State.$assertionsDisabled:Z
            ifne 2
            lconst_0
            lload 1 /* position */
            lcmp
            ifgt 1
            lload 1 /* position */
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.length:J
            lcmp
            ifle 2
      StackMap locals:
      StackMap stack:
         1: new java.lang.AssertionError
            dup
            ldc "%d > %d"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 1 /* position */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.length:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         2: .line 295
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            iconst_1
            iadd
            lload 1 /* position */
            invokestatic java.util.Arrays.binarySearch:([JIIJ)I
            istore 3 /* idx */
        start local 3 // int idx
         3: .line 296
            getstatic org.apache.cassandra.io.util.MmappedRegions$State.$assertionsDisabled:Z
            ifne 4
            iload 3 /* idx */
            iconst_m1
            if_icmpne 4
            new java.lang.AssertionError
            dup
            ldc "Bad position %d for regions %s, last %d in %s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
            lload 1 /* position */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            invokestatic java.util.Arrays.toString:([J)Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         4: .line 297
      StackMap locals: int
      StackMap stack:
            iload 3 /* idx */
            ifge 6
         5: .line 298
            iload 3 /* idx */
            iconst_2
            iadd
            ineg
            istore 3 /* idx */
         6: .line 300
      StackMap locals:
      StackMap stack:
            new org.apache.cassandra.io.util.MmappedRegions$Region
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            iload 3 /* idx */
            laload
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            iload 3 /* idx */
            aaload
            invokespecial org.apache.cassandra.io.util.MmappedRegions$Region.<init>:(JLjava/nio/ByteBuffer;)V
            areturn
        end local 3 // int idx
        end local 1 // long position
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lorg/apache/cassandra/io/util/MmappedRegions$State;
            0    7     1  position  J
            3    7     3       idx  I
    MethodParameters:
          Name  Flags
      position  

  private long getPosition();
    descriptor: ()J
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
         0: .line 305
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            ifge 1
            lconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            laload
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            aaload
            invokevirtual java.nio.ByteBuffer.capacity:()I
            i2l
            ladd
      StackMap locals:
      StackMap stack: long
         2: lreturn
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/io/util/MmappedRegions$State;

  private void add(long, long);
    descriptor: (JJ)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=6, args_size=3
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
        start local 1 // long pos
        start local 3 // long size
         0: .line 310
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
            getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
            lload 1 /* pos */
            lload 3 /* size */
            invokevirtual org.apache.cassandra.io.util.ChannelProxy.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
            astore 5 /* buffer */
        start local 5 // java.nio.ByteBuffer buffer
         1: .line 312
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            iconst_1
            iadd
            putfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
         2: .line 314
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            arraylength
            if_icmpne 5
         3: .line 316
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            arraylength
            bipush 15
            iadd
            invokestatic java.util.Arrays.copyOf:([JI)[J
            putfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
         4: .line 317
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            arraylength
            bipush 15
            iadd
            invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
            checkcast java.nio.ByteBuffer[]
            putfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
         5: .line 320
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.offsets:[J
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            lload 1 /* pos */
            lastore
         6: .line 321
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.last:I
            aload 5 /* buffer */
            aastore
         7: .line 322
            return
        end local 5 // java.nio.ByteBuffer buffer
        end local 3 // long size
        end local 1 // long pos
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lorg/apache/cassandra/io/util/MmappedRegions$State;
            0    8     1     pos  J
            0    8     3    size  J
            1    8     5  buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      pos   
      size  

  private java.lang.Throwable close(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
        start local 1 // java.lang.Throwable accumulate
         0: .line 326
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
            aload 1 /* accumulate */
            invokevirtual org.apache.cassandra.io.util.ChannelProxy.close:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            astore 1 /* accumulate */
         1: .line 333
            getstatic org.apache.cassandra.io.util.FileUtils.isCleanerAvailable:Z
            ifne 3
         2: .line 334
            aload 1 /* accumulate */
            areturn
         3: .line 336
      StackMap locals:
      StackMap stack:
            aload 1 /* accumulate */
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
            invokevirtual org.apache.cassandra.io.util.ChannelProxy.filePath:()Ljava/lang/String;
            getstatic org.apache.cassandra.utils.Throwables$FileOpType.READ:Lorg/apache/cassandra/utils/Throwables$FileOpType;
         4: .line 337
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.MmappedRegions$State.buffers:[Ljava/nio/ByteBuffer;
            invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
         5: .line 338
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  org/apache/cassandra/io/util/MmappedRegions$State.lambda$0(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction; (6)
                  (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         6: .line 336
            invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
            areturn
        end local 1 // java.lang.Throwable accumulate
        end local 0 // org.apache.cassandra.io.util.MmappedRegions$State this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lorg/apache/cassandra/io/util/MmappedRegions$State;
            0    7     1  accumulate  Ljava/lang/Throwable;
    MethodParameters:
            Name  Flags
      accumulate  

  private static org.apache.cassandra.utils.Throwables$DiscreteAction lambda$0(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.nio.ByteBuffer buffer
         0: .line 339
            aload 0 /* buffer */
            invokedynamic perform(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  org/apache/cassandra/io/util/MmappedRegions$State.lambda$1(Ljava/nio/ByteBuffer;)V (6)
                  ()V
         1: .line 343
            areturn
        end local 0 // java.nio.ByteBuffer buffer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0  buffer  Ljava/nio/ByteBuffer;

  private static void lambda$1(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 341
            aload 0
            ifnull 2
         1: .line 342
            aload 0
            invokestatic org.apache.cassandra.io.util.FileUtils.clean:(Ljava/nio/ByteBuffer;)V
         2: .line 343
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.io.IOException
}
SourceFile: "MmappedRegions.java"
NestHost: org.apache.cassandra.io.util.MmappedRegions
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel
  public final Region = org.apache.cassandra.io.util.MmappedRegions$Region of org.apache.cassandra.io.util.MmappedRegions
  private final State = org.apache.cassandra.io.util.MmappedRegions$State of org.apache.cassandra.io.util.MmappedRegions
  public abstract DiscreteAction = org.apache.cassandra.utils.Throwables$DiscreteAction of org.apache.cassandra.utils.Throwables
  public final FileOpType = org.apache.cassandra.utils.Throwables$FileOpType of org.apache.cassandra.utils.Throwables