public interface jdk.internal.access.foreign.MemoryAddressProxy
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: jdk.internal.access.foreign.MemoryAddressProxy
  super_class: java.lang.Object
{
  public abstract void checkAccess(long, long, boolean);
    descriptor: (JJZ)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
          Name  Flags
      offset    
      length    
      readOnly  

  public abstract long unsafeGetOffset();
    descriptor: ()J
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract java.lang.Object unsafeGetBase();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract boolean isSmall();
    descriptor: ()Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public static long addOffsets(long, long, jdk.internal.access.foreign.MemoryAddressProxy);
    descriptor: (JJLjdk/internal/access/foreign/MemoryAddressProxy;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // long op1
        start local 2 // long op2
        start local 4 // jdk.internal.access.foreign.MemoryAddressProxy addr
         0: .line 51
            aload 4 /* addr */
            invokeinterface jdk.internal.access.foreign.MemoryAddressProxy.isSmall:()Z
            ifeq 10
         1: .line 53
            lload 0 /* op1 */
            ldc 2147483647
            lcmp
            ifgt 3
            lload 2 /* op2 */
            ldc 2147483647
            lcmp
            ifgt 3
         2: .line 54
            lload 0 /* op1 */
            ldc -2147483648
            lcmp
            iflt 3
            lload 2 /* op2 */
            ldc -2147483648
            lcmp
            ifge 4
         3: .line 55
      StackMap locals:
      StackMap stack:
            ldc -2147483648
            ldc 2147483647
            invokestatic jdk.internal.access.foreign.MemoryAddressProxy.overflowException:(JJ)Ljava/lang/IndexOutOfBoundsException;
            athrow
         4: .line 57
      StackMap locals:
      StackMap stack:
            lload 0 /* op1 */
            l2i
            istore 5 /* i1 */
        start local 5 // int i1
         5: .line 58
            lload 2 /* op2 */
            l2i
            istore 6 /* i2 */
        start local 6 // int i2
         6: .line 60
            iload 5 /* i1 */
            iload 6 /* i2 */
            invokestatic java.lang.Math.addExact:(II)I
            i2l
         7: lreturn
         8: .line 61
      StackMap locals: long long jdk.internal.access.foreign.MemoryAddressProxy int int
      StackMap stack: java.lang.ArithmeticException
            pop
         9: .line 62
            ldc -2147483648
            ldc 2147483647
            invokestatic jdk.internal.access.foreign.MemoryAddressProxy.overflowException:(JJ)Ljava/lang/IndexOutOfBoundsException;
            athrow
        end local 6 // int i2
        end local 5 // int i1
        10: .line 66
      StackMap locals:
      StackMap stack:
            lload 0 /* op1 */
            lload 2 /* op2 */
            invokestatic java.lang.Math.addExact:(JJ)J
        11: lreturn
        12: .line 67
      StackMap locals:
      StackMap stack: java.lang.ArithmeticException
            pop
        13: .line 68
            ldc -9223372036854775808
            ldc 9223372036854775807
            invokestatic jdk.internal.access.foreign.MemoryAddressProxy.overflowException:(JJ)Ljava/lang/IndexOutOfBoundsException;
            athrow
        end local 4 // jdk.internal.access.foreign.MemoryAddressProxy addr
        end local 2 // long op2
        end local 0 // long op1
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0   op1  J
            0   14     2   op2  J
            0   14     4  addr  Ljdk/internal/access/foreign/MemoryAddressProxy;
            5   10     5    i1  I
            6   10     6    i2  I
      Exception table:
        from    to  target  type
           6     7       8  Class java.lang.ArithmeticException
          10    11      12  Class java.lang.ArithmeticException
    MethodParameters:
      Name  Flags
      op1   
      op2   
      addr  

  public static long multiplyOffsets(long, long, jdk.internal.access.foreign.MemoryAddressProxy);
    descriptor: (JJLjdk/internal/access/foreign/MemoryAddressProxy;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // long op1
        start local 2 // long op2
        start local 4 // jdk.internal.access.foreign.MemoryAddressProxy addr
         0: .line 74
            aload 4 /* addr */
            invokeinterface jdk.internal.access.foreign.MemoryAddressProxy.isSmall:()Z
            ifeq 10
         1: .line 75
            lload 0 /* op1 */
            ldc 2147483647
            lcmp
            ifgt 3
            lload 2 /* op2 */
            ldc 2147483647
            lcmp
            ifgt 3
         2: .line 76
            lload 0 /* op1 */
            ldc -2147483648
            lcmp
            iflt 3
            lload 2 /* op2 */
            ldc -2147483648
            lcmp
            ifge 4
         3: .line 77
      StackMap locals:
      StackMap stack:
            ldc -2147483648
            ldc 2147483647
            invokestatic jdk.internal.access.foreign.MemoryAddressProxy.overflowException:(JJ)Ljava/lang/IndexOutOfBoundsException;
            athrow
         4: .line 80
      StackMap locals:
      StackMap stack:
            lload 0 /* op1 */
            l2i
            istore 5 /* i1 */
        start local 5 // int i1
         5: .line 81
            lload 2 /* op2 */
            l2i
            istore 6 /* i2 */
        start local 6 // int i2
         6: .line 83
            iload 5 /* i1 */
            iload 6 /* i2 */
            invokestatic java.lang.Math.multiplyExact:(II)I
            i2l
         7: lreturn
         8: .line 84
      StackMap locals: long long jdk.internal.access.foreign.MemoryAddressProxy int int
      StackMap stack: java.lang.ArithmeticException
            pop
         9: .line 85
            ldc -2147483648
            ldc 2147483647
            invokestatic jdk.internal.access.foreign.MemoryAddressProxy.overflowException:(JJ)Ljava/lang/IndexOutOfBoundsException;
            athrow
        end local 6 // int i2
        end local 5 // int i1
        10: .line 89
      StackMap locals:
      StackMap stack:
            lload 0 /* op1 */
            lload 2 /* op2 */
            invokestatic java.lang.Math.multiplyExact:(JJ)J
        11: lreturn
        12: .line 90
      StackMap locals:
      StackMap stack: java.lang.ArithmeticException
            pop
        13: .line 91
            ldc -9223372036854775808
            ldc 9223372036854775807
            invokestatic jdk.internal.access.foreign.MemoryAddressProxy.overflowException:(JJ)Ljava/lang/IndexOutOfBoundsException;
            athrow
        end local 4 // jdk.internal.access.foreign.MemoryAddressProxy addr
        end local 2 // long op2
        end local 0 // long op1
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0   op1  J
            0   14     2   op2  J
            0   14     4  addr  Ljdk/internal/access/foreign/MemoryAddressProxy;
            5   10     5    i1  I
            6   10     6    i2  I
      Exception table:
        from    to  target  type
           6     7       8  Class java.lang.ArithmeticException
          10    11      12  Class java.lang.ArithmeticException
    MethodParameters:
      Name  Flags
      op1   
      op2   
      addr  

  private static java.lang.IndexOutOfBoundsException overflowException(long, long);
    descriptor: (JJ)Ljava/lang/IndexOutOfBoundsException;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=8, locals=4, args_size=2
        start local 0 // long min
        start local 2 // long max
         0: .line 97
            new java.lang.IndexOutOfBoundsException
            dup
            ldc "Overflow occurred during offset computation ; offset exceeded range { %d .. %d }"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 0 /* min */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            lload 2 /* max */
            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.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            areturn
        end local 2 // long max
        end local 0 // long min
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   min  J
            0    1     2   max  J
    MethodParameters:
      Name  Flags
      min   
      max   
}
SourceFile: "MemoryAddressProxy.java"