public class jdk.internal.foreign.abi.Binding$ToSegment extends jdk.internal.foreign.abi.Binding
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.foreign.abi.Binding$ToSegment
  super_class: jdk.internal.foreign.abi.Binding
{
  private final long size;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
        start local 1 // long size
         0: .line 921
            aload 0 /* this */
            getstatic jdk.internal.foreign.abi.Binding$Tag.TO_SEGMENT:Ljdk/internal/foreign/abi/Binding$Tag;
            invokespecial jdk.internal.foreign.abi.Binding.<init>:(Ljdk/internal/foreign/abi/Binding$Tag;)V
         1: .line 922
            aload 0 /* this */
            lload 1 /* size */
            putfield jdk.internal.foreign.abi.Binding$ToSegment.size:J
         2: .line 923
            return
        end local 1 // long size
        end local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/foreign/abi/Binding$ToSegment;
            0    3     1  size  J
    MethodParameters:
      Name  Flags
      size  

  private static jdk.incubator.foreign.MemorySegment toSegment(jdk.incubator.foreign.MemoryAddress, long);
    descriptor: (Ljdk/incubator/foreign/MemoryAddress;J)Ljdk/incubator/foreign/MemorySegment;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.incubator.foreign.MemoryAddress operand
        start local 1 // long size
         0: .line 927
            aload 0 /* operand */
            invokeinterface jdk.incubator.foreign.MemoryAddress.toRawLongValue:()J
            lload 1 /* size */
            invokestatic jdk.internal.foreign.MemoryAddressImpl.ofLongUnchecked:(JJ)Ljdk/incubator/foreign/MemorySegment;
            areturn
        end local 1 // long size
        end local 0 // jdk.incubator.foreign.MemoryAddress operand
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  operand  Ljdk/incubator/foreign/MemoryAddress;
            0    1     1     size  J
    MethodParameters:
         Name  Flags
      operand  
      size     

  public void verify(java.util.Deque<java.lang.Class<?>>);
    descriptor: (Ljava/util/Deque;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
        start local 1 // java.util.Deque stack
         0: .line 932
            aload 1 /* stack */
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast java.lang.Class
            astore 2 /* actualType */
        start local 2 // java.lang.Class actualType
         1: .line 933
            aload 2 /* actualType */
            ldc Ljdk/incubator/foreign/MemoryAddress;
            invokestatic jdk.internal.foreign.abi.SharedUtils.checkType:(Ljava/lang/Class;Ljava/lang/Class;)V
         2: .line 934
            aload 1 /* stack */
            ldc Ljdk/incubator/foreign/MemorySegment;
            invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
         3: .line 935
            return
        end local 2 // java.lang.Class actualType
        end local 1 // java.util.Deque stack
        end local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Ljdk/internal/foreign/abi/Binding$ToSegment;
            0    4     1       stack  Ljava/util/Deque<Ljava/lang/Class<*>;>;
            1    4     2  actualType  Ljava/lang/Class<*>;
    Signature: (Ljava/util/Deque<Ljava/lang/Class<*>;>;)V
    MethodParameters:
       Name  Flags
      stack  

  public void interpret(java.util.Deque<java.lang.Object>, jdk.internal.foreign.abi.BindingInterpreter$StoreFunc, jdk.internal.foreign.abi.BindingInterpreter$LoadFunc, jdk.internal.foreign.abi.SharedUtils$Allocator);
    descriptor: (Ljava/util/Deque;Ljdk/internal/foreign/abi/BindingInterpreter$StoreFunc;Ljdk/internal/foreign/abi/BindingInterpreter$LoadFunc;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=5
        start local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
        start local 1 // java.util.Deque stack
        start local 2 // jdk.internal.foreign.abi.BindingInterpreter$StoreFunc storeFunc
        start local 3 // jdk.internal.foreign.abi.BindingInterpreter$LoadFunc loadFunc
        start local 4 // jdk.internal.foreign.abi.SharedUtils$Allocator allocator
         0: .line 940
            aload 1 /* stack */
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast jdk.incubator.foreign.MemoryAddress
            astore 5 /* operand */
        start local 5 // jdk.incubator.foreign.MemoryAddress operand
         1: .line 941
            aload 5 /* operand */
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.Binding$ToSegment.size:J
            invokestatic jdk.internal.foreign.abi.Binding$ToSegment.toSegment:(Ljdk/incubator/foreign/MemoryAddress;J)Ljdk/incubator/foreign/MemorySegment;
            astore 6 /* segment */
        start local 6 // jdk.incubator.foreign.MemorySegment segment
         2: .line 942
            aload 1 /* stack */
            aload 6 /* segment */
            invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
         3: .line 943
            return
        end local 6 // jdk.incubator.foreign.MemorySegment segment
        end local 5 // jdk.incubator.foreign.MemoryAddress operand
        end local 4 // jdk.internal.foreign.abi.SharedUtils$Allocator allocator
        end local 3 // jdk.internal.foreign.abi.BindingInterpreter$LoadFunc loadFunc
        end local 2 // jdk.internal.foreign.abi.BindingInterpreter$StoreFunc storeFunc
        end local 1 // java.util.Deque stack
        end local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Ljdk/internal/foreign/abi/Binding$ToSegment;
            0    4     1      stack  Ljava/util/Deque<Ljava/lang/Object;>;
            0    4     2  storeFunc  Ljdk/internal/foreign/abi/BindingInterpreter$StoreFunc;
            0    4     3   loadFunc  Ljdk/internal/foreign/abi/BindingInterpreter$LoadFunc;
            0    4     4  allocator  Ljdk/internal/foreign/abi/SharedUtils$Allocator;
            1    4     5    operand  Ljdk/incubator/foreign/MemoryAddress;
            2    4     6    segment  Ljdk/incubator/foreign/MemorySegment;
    Signature: (Ljava/util/Deque<Ljava/lang/Object;>;Ljdk/internal/foreign/abi/BindingInterpreter$StoreFunc;Ljdk/internal/foreign/abi/BindingInterpreter$LoadFunc;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)V
    MethodParameters:
           Name  Flags
      stack      
      storeFunc  
      loadFunc   
      allocator  

  public java.lang.invoke.MethodHandle specialize(java.lang.invoke.MethodHandle, int, int);
    descriptor: (Ljava/lang/invoke/MethodHandle;II)Ljava/lang/invoke/MethodHandle;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=5, args_size=4
        start local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
        start local 1 // java.lang.invoke.MethodHandle specializedHandle
        start local 2 // int insertPos
        start local 3 // int allocatorPos
         0: .line 947
            getstatic jdk.internal.foreign.abi.Binding.MH_TO_SEGMENT:Ljava/lang/invoke/MethodHandle;
            iconst_1
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.Binding$ToSegment.size:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
            astore 4 /* toSegmentHandle */
        start local 4 // java.lang.invoke.MethodHandle toSegmentHandle
         1: .line 948
            aload 1 /* specializedHandle */
            iload 2 /* insertPos */
            iconst_1
            anewarray java.lang.invoke.MethodHandle
            dup
            iconst_0
            aload 4 /* toSegmentHandle */
            aastore
            invokestatic java.lang.invoke.MethodHandles.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
            areturn
        end local 4 // java.lang.invoke.MethodHandle toSegmentHandle
        end local 3 // int allocatorPos
        end local 2 // int insertPos
        end local 1 // java.lang.invoke.MethodHandle specializedHandle
        end local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Ljdk/internal/foreign/abi/Binding$ToSegment;
            0    2     1  specializedHandle  Ljava/lang/invoke/MethodHandle;
            0    2     2          insertPos  I
            0    2     3       allocatorPos  I
            1    2     4    toSegmentHandle  Ljava/lang/invoke/MethodHandle;
    MethodParameters:
                   Name  Flags
      specializedHandle  
      insertPos          
      allocatorPos       

  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.abi.Binding$ToSegment this
         0: .line 953
            new java.lang.StringBuilder
            dup
            ldc "ToSegemnt{size="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 954
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.Binding$ToSegment.size:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
         2: .line 955
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         3: .line 953
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/foreign/abi/Binding$ToSegment;

  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.abi.Binding$ToSegment this
        start local 1 // java.lang.Object o
         0: .line 960
            aload 0 /* this */
            aload 1 /* o */
            if_acmpne 1
            iconst_1
            ireturn
         1: .line 961
      StackMap locals:
      StackMap stack:
            aload 1 /* o */
            ifnull 2
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aload 1 /* o */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            if_acmpeq 3
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
         3: .line 962
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* o */
            invokespecial jdk.internal.foreign.abi.Binding.equals:(Ljava/lang/Object;)Z
            ifne 4
            iconst_0
            ireturn
         4: .line 963
      StackMap locals:
      StackMap stack:
            aload 1 /* o */
            checkcast jdk.internal.foreign.abi.Binding$ToSegment
            astore 2 /* toSegemnt */
        start local 2 // jdk.internal.foreign.abi.Binding$ToSegment toSegemnt
         5: .line 964
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.Binding$ToSegment.size:J
            aload 2 /* toSegemnt */
            getfield jdk.internal.foreign.abi.Binding$ToSegment.size:J
            lcmp
            ifne 6
            iconst_1
            ireturn
      StackMap locals: jdk.internal.foreign.abi.Binding$ToSegment
      StackMap stack:
         6: iconst_0
            ireturn
        end local 2 // jdk.internal.foreign.abi.Binding$ToSegment toSegemnt
        end local 1 // java.lang.Object o
        end local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Ljdk/internal/foreign/abi/Binding$ToSegment;
            0    7     1          o  Ljava/lang/Object;
            5    7     2  toSegemnt  Ljdk/internal/foreign/abi/Binding$ToSegment;
    MethodParameters:
      Name  Flags
      o     

  public int hashCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.abi.Binding$ToSegment this
         0: .line 969
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            invokespecial jdk.internal.foreign.abi.Binding.hashCode:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.Binding$ToSegment.size: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.abi.Binding$ToSegment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/abi/Binding$ToSegment;
}
SourceFile: "Binding.java"
NestHost: jdk.internal.foreign.abi.Binding
InnerClasses:
  final Tag = jdk.internal.foreign.abi.Binding$Tag of jdk.internal.foreign.abi.Binding
  public ToSegment = jdk.internal.foreign.abi.Binding$ToSegment of jdk.internal.foreign.abi.Binding
  abstract LoadFunc = jdk.internal.foreign.abi.BindingInterpreter$LoadFunc of jdk.internal.foreign.abi.BindingInterpreter
  abstract StoreFunc = jdk.internal.foreign.abi.BindingInterpreter$StoreFunc of jdk.internal.foreign.abi.BindingInterpreter
  public abstract Allocator = jdk.internal.foreign.abi.SharedUtils$Allocator of jdk.internal.foreign.abi.SharedUtils