public final class jdk.internal.foreign.MemoryAddressImpl implements jdk.incubator.foreign.MemoryAddress, jdk.internal.access.foreign.MemoryAddressProxy
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.foreign.MemoryAddressImpl
  super_class: java.lang.Object
{
  private static final jdk.internal.misc.Unsafe UNSAFE;
    descriptor: Ljdk/internal/misc/Unsafe;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final jdk.internal.foreign.MemorySegmentImpl segment;
    descriptor: Ljdk/internal/foreign/MemorySegmentImpl;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long offset;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 43
            invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
            putstatic jdk.internal.foreign.MemoryAddressImpl.UNSAFE:Ljdk/internal/misc/Unsafe;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(jdk.internal.foreign.MemorySegmentImpl, long);
    descriptor: (Ljdk/internal/foreign/MemorySegmentImpl;J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
        start local 1 // jdk.internal.foreign.MemorySegmentImpl segment
        start local 2 // long offset
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            aload 1 /* segment */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.internal.foreign.MemorySegmentImpl
            putfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
         2: .line 50
            aload 0 /* this */
            lload 2 /* offset */
            putfield jdk.internal.foreign.MemoryAddressImpl.offset:J
         3: .line 51
            return
        end local 2 // long offset
        end local 1 // jdk.internal.foreign.MemorySegmentImpl segment
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljdk/internal/foreign/MemoryAddressImpl;
            0    4     1  segment  Ljdk/internal/foreign/MemorySegmentImpl;
            0    4     2   offset  J
    MethodParameters:
         Name  Flags
      segment  
      offset   

  public static void copy(jdk.internal.foreign.MemoryAddressImpl, jdk.internal.foreign.MemoryAddressImpl, long);
    descriptor: (Ljdk/internal/foreign/MemoryAddressImpl;Ljdk/internal/foreign/MemoryAddressImpl;J)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=9, locals=10, args_size=3
        start local 0 // jdk.internal.foreign.MemoryAddressImpl src
        start local 1 // jdk.internal.foreign.MemoryAddressImpl dst
        start local 2 // long size
         0: .line 54
            aload 0 /* src */
            lconst_0
            lload 2 /* size */
            iconst_1
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.checkAccess:(JJZ)V
         1: .line 55
            aload 1 /* dst */
            lconst_0
            lload 2 /* size */
            iconst_0
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.checkAccess:(JJZ)V
         2: .line 57
            aload 0 /* src */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetOffset:()J
            lstore 4 /* offsetSrc */
        start local 4 // long offsetSrc
         3: .line 58
            aload 1 /* dst */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetOffset:()J
            lstore 6 /* offsetDst */
        start local 6 // long offsetDst
         4: .line 59
            aload 0 /* src */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetBase:()Ljava/lang/Object;
            astore 8 /* baseSrc */
        start local 8 // java.lang.Object baseSrc
         5: .line 60
            aload 1 /* dst */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetBase:()Ljava/lang/Object;
            astore 9 /* baseDst */
        start local 9 // java.lang.Object baseDst
         6: .line 61
            getstatic jdk.internal.foreign.MemoryAddressImpl.UNSAFE:Ljdk/internal/misc/Unsafe;
            aload 8 /* baseSrc */
            lload 4 /* offsetSrc */
            aload 9 /* baseDst */
            lload 6 /* offsetDst */
            lload 2 /* size */
            invokevirtual jdk.internal.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
         7: .line 62
            return
        end local 9 // java.lang.Object baseDst
        end local 8 // java.lang.Object baseSrc
        end local 6 // long offsetDst
        end local 4 // long offsetSrc
        end local 2 // long size
        end local 1 // jdk.internal.foreign.MemoryAddressImpl dst
        end local 0 // jdk.internal.foreign.MemoryAddressImpl src
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0        src  Ljdk/internal/foreign/MemoryAddressImpl;
            0    8     1        dst  Ljdk/internal/foreign/MemoryAddressImpl;
            0    8     2       size  J
            3    8     4  offsetSrc  J
            4    8     6  offsetDst  J
            5    8     8    baseSrc  Ljava/lang/Object;
            6    8     9    baseDst  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      src   
      dst   
      size  

  public long offset();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
         0: .line 68
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.offset:J
            lreturn
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryAddressImpl;

  public jdk.incubator.foreign.MemorySegment segment();
    descriptor: ()Ljdk/incubator/foreign/MemorySegment;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
         0: .line 73
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
            areturn
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryAddressImpl;

  public jdk.incubator.foreign.MemoryAddress addOffset(long);
    descriptor: (J)Ljdk/incubator/foreign/MemoryAddress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
        start local 1 // long bytes
         0: .line 78
            new jdk.internal.foreign.MemoryAddressImpl
            dup
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.offset:J
            lload 1 /* bytes */
            ladd
            invokespecial jdk.internal.foreign.MemoryAddressImpl.<init>:(Ljdk/internal/foreign/MemorySegmentImpl;J)V
            areturn
        end local 1 // long bytes
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/internal/foreign/MemoryAddressImpl;
            0    1     1  bytes  J
    MethodParameters:
       Name  Flags
      bytes  

  public void checkAccess(long, long, boolean);
    descriptor: (JJZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
        start local 1 // long offset
        start local 3 // long length
        start local 5 // boolean readOnly
         0: .line 84
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.offset:J
            lload 1 /* offset */
            ladd
            lload 3 /* length */
            iload 5 /* readOnly */
            ifeq 1
            iconst_0
            goto 2
      StackMap locals: jdk.internal.foreign.MemoryAddressImpl long long int
      StackMap stack: jdk.internal.foreign.MemorySegmentImpl long long
         1: iconst_1
      StackMap locals: jdk.internal.foreign.MemoryAddressImpl long long int
      StackMap stack: jdk.internal.foreign.MemorySegmentImpl long long int
         2: invokevirtual jdk.internal.foreign.MemorySegmentImpl.checkRange:(JJZ)V
         3: .line 85
            return
        end local 5 // boolean readOnly
        end local 3 // long length
        end local 1 // long offset
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljdk/internal/foreign/MemoryAddressImpl;
            0    4     1    offset  J
            0    4     3    length  J
            0    4     5  readOnly  Z
    MethodParameters:
          Name  Flags
      offset    
      length    
      readOnly  

  public long unsafeGetOffset();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
         0: .line 88
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
            getfield jdk.internal.foreign.MemorySegmentImpl.min:J
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.offset:J
            ladd
            lreturn
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryAddressImpl;

  public java.lang.Object unsafeGetBase();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
         0: .line 92
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
            invokevirtual jdk.internal.foreign.MemorySegmentImpl.base:()Ljava/lang/Object;
            areturn
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryAddressImpl;

  public int hashCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
         0: .line 99
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetBase:()Ljava/lang/Object;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetOffset:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
            ireturn
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryAddressImpl;

  public boolean equals(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
        start local 1 // java.lang.Object that
         0: .line 104
            aload 1 /* that */
            instanceof jdk.internal.foreign.MemoryAddressImpl
            ifeq 6
         1: .line 105
            aload 1 /* that */
            checkcast jdk.internal.foreign.MemoryAddressImpl
            astore 2 /* addr */
        start local 2 // jdk.internal.foreign.MemoryAddressImpl addr
         2: .line 106
            aload 0 /* this */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetBase:()Ljava/lang/Object;
            aload 1 /* that */
            checkcast jdk.internal.foreign.MemoryAddressImpl
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetBase:()Ljava/lang/Object;
            invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 5
         3: .line 107
            aload 0 /* this */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetOffset:()J
            aload 2 /* addr */
            invokevirtual jdk.internal.foreign.MemoryAddressImpl.unsafeGetOffset:()J
            lcmp
            ifne 5
         4: .line 106
            iconst_1
            ireturn
      StackMap locals: jdk.internal.foreign.MemoryAddressImpl
      StackMap stack:
         5: iconst_0
            ireturn
        end local 2 // jdk.internal.foreign.MemoryAddressImpl addr
         6: .line 109
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.Object that
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/foreign/MemoryAddressImpl;
            0    7     1  that  Ljava/lang/Object;
            2    6     2  addr  Ljdk/internal/foreign/MemoryAddressImpl;
    MethodParameters:
      Name  Flags
      that  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryAddressImpl this
         0: .line 115
            new java.lang.StringBuilder
            dup
            ldc "MemoryAddress{ region: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.segment:Ljdk/internal/foreign/MemorySegmentImpl;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " offset=0x"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryAddressImpl.offset:J
            invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " }"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.foreign.MemoryAddressImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryAddressImpl;
}
SourceFile: "MemoryAddressImpl.java"