final class org.jruby.ext.ffi.StructLayout$PointerFieldIO implements org.jruby.ext.ffi.StructLayout$FieldIO
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.jruby.ext.ffi.StructLayout$PointerFieldIO
  super_class: java.lang.Object
{
  public static final org.jruby.ext.ffi.StructLayout$FieldIO INSTANCE;
    descriptor: Lorg/jruby/ext/ffi/StructLayout$FieldIO;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 1127
            new org.jruby.ext.ffi.StructLayout$PointerFieldIO
            dup
            invokespecial org.jruby.ext.ffi.StructLayout$PointerFieldIO.<init>:()V
            putstatic org.jruby.ext.ffi.StructLayout$PointerFieldIO.INSTANCE:Lorg/jruby/ext/ffi/StructLayout$FieldIO;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
         0: .line 1126
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/ffi/StructLayout$PointerFieldIO;

  public void put(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.StructLayout$Storage, org.jruby.ext.ffi.StructLayout$Member, org.jruby.ext.ffi.AbstractMemory, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/StructLayout$Storage;Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/ext/ffi/AbstractMemory;Lorg/jruby/runtime/builtin/IRubyObject;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=6
        start local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.ext.ffi.StructLayout$Storage cache
        start local 3 // org.jruby.ext.ffi.StructLayout$Member m
        start local 4 // org.jruby.ext.ffi.AbstractMemory ptr
        start local 5 // org.jruby.runtime.builtin.IRubyObject value
         0: .line 1131
            aload 5 /* value */
            instanceof org.jruby.ext.ffi.Pointer
            ifeq 3
         1: .line 1132
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            getfield org.jruby.ext.ffi.StructLayout$Member.offset:I
            i2l
            aload 5 /* value */
            checkcast org.jruby.ext.ffi.Pointer
            invokevirtual org.jruby.ext.ffi.Pointer.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            invokevirtual org.jruby.ext.ffi.MemoryIO.putMemoryIO:(JLorg/jruby/ext/ffi/MemoryIO;)V
         2: .line 1133
            goto 23
      StackMap locals:
      StackMap stack:
         3: aload 5 /* value */
            instanceof org.jruby.ext.ffi.Struct
            ifeq 9
         4: .line 1134
            aload 5 /* value */
            checkcast org.jruby.ext.ffi.Struct
            invokevirtual org.jruby.ext.ffi.Struct.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            astore 7 /* mem */
        start local 7 // org.jruby.ext.ffi.MemoryIO mem
         5: .line 1136
            aload 7 /* mem */
            invokevirtual org.jruby.ext.ffi.MemoryIO.isDirect:()Z
            ifne 7
         6: .line 1137
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "Struct memory not backed by a native pointer"
            invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         7: .line 1139
      StackMap locals: org.jruby.ext.ffi.StructLayout$PointerFieldIO org.jruby.runtime.ThreadContext org.jruby.ext.ffi.StructLayout$Storage org.jruby.ext.ffi.StructLayout$Member org.jruby.ext.ffi.AbstractMemory org.jruby.runtime.builtin.IRubyObject top org.jruby.ext.ffi.MemoryIO
      StackMap stack:
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            getfield org.jruby.ext.ffi.StructLayout$Member.offset:I
            i2l
            aload 7 /* mem */
            invokevirtual org.jruby.ext.ffi.MemoryIO.putMemoryIO:(JLorg/jruby/ext/ffi/MemoryIO;)V
        end local 7 // org.jruby.ext.ffi.MemoryIO mem
         8: .line 1141
            goto 23
      StackMap locals: org.jruby.ext.ffi.StructLayout$PointerFieldIO org.jruby.runtime.ThreadContext org.jruby.ext.ffi.StructLayout$Storage org.jruby.ext.ffi.StructLayout$Member org.jruby.ext.ffi.AbstractMemory org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
         9: aload 5 /* value */
            instanceof org.jruby.RubyInteger
            ifeq 12
        10: .line 1142
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            getfield org.jruby.ext.ffi.StructLayout$Member.offset:I
            i2l
            aload 5 /* value */
            invokestatic org.jruby.ext.ffi.Util.int64Value:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            invokevirtual org.jruby.ext.ffi.MemoryIO.putAddress:(JJ)V
        11: .line 1144
            goto 23
      StackMap locals:
      StackMap stack:
        12: aload 5 /* value */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifeq 15
        13: .line 1145
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            getfield org.jruby.ext.ffi.StructLayout$Member.offset:I
            i2l
            lconst_0
            invokevirtual org.jruby.ext.ffi.MemoryIO.putAddress:(JJ)V
        14: .line 1147
            goto 23
      StackMap locals:
      StackMap stack:
        15: aload 5 /* value */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
            ldc "to_ptr"
            invokevirtual org.jruby.RubyClass.searchMethod:(Ljava/lang/String;)Lorg/jruby/internal/runtime/methods/DynamicMethod;
            dup
            astore 6 /* conversionMethod */
        start local 6 // org.jruby.internal.runtime.methods.DynamicMethod conversionMethod
        16: invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.isUndefined:()Z
            ifne 22
        17: .line 1148
            aload 6 /* conversionMethod */
            aload 1 /* context */
            aload 5 /* value */
            aload 5 /* value */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
            ldc "to_ptr"
            invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
            astore 7 /* addr */
        start local 7 // org.jruby.runtime.builtin.IRubyObject addr
        18: .line 1149
            aload 7 /* addr */
            instanceof org.jruby.ext.ffi.Pointer
            ifeq 21
        19: .line 1150
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            getfield org.jruby.ext.ffi.StructLayout$Member.offset:I
            i2l
            aload 7 /* addr */
            checkcast org.jruby.ext.ffi.Pointer
            invokevirtual org.jruby.ext.ffi.Pointer.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            invokevirtual org.jruby.ext.ffi.MemoryIO.putMemoryIO:(JLorg/jruby/ext/ffi/MemoryIO;)V
        20: .line 1151
            goto 23
        21: .line 1152
      StackMap locals: org.jruby.internal.runtime.methods.DynamicMethod org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "Invalid pointer value"
            invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
        end local 7 // org.jruby.runtime.builtin.IRubyObject addr
        22: .line 1155
      StackMap locals:
      StackMap stack:
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "Invalid pointer value"
            invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
        end local 6 // org.jruby.internal.runtime.methods.DynamicMethod conversionMethod
        23: .line 1157
      StackMap locals:
      StackMap stack:
            aload 2 /* cache */
            aload 3 /* m */
            aload 5 /* value */
            invokeinterface org.jruby.ext.ffi.StructLayout$Storage.putReference:(Lorg/jruby/ext/ffi/StructLayout$Member;Ljava/lang/Object;)V
        24: .line 1158
            return
        end local 5 // org.jruby.runtime.builtin.IRubyObject value
        end local 4 // org.jruby.ext.ffi.AbstractMemory ptr
        end local 3 // org.jruby.ext.ffi.StructLayout$Member m
        end local 2 // org.jruby.ext.ffi.StructLayout$Storage cache
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   25     0              this  Lorg/jruby/ext/ffi/StructLayout$PointerFieldIO;
            0   25     1           context  Lorg/jruby/runtime/ThreadContext;
            0   25     2             cache  Lorg/jruby/ext/ffi/StructLayout$Storage;
            0   25     3                 m  Lorg/jruby/ext/ffi/StructLayout$Member;
            0   25     4               ptr  Lorg/jruby/ext/ffi/AbstractMemory;
            0   25     5             value  Lorg/jruby/runtime/builtin/IRubyObject;
           16   23     6  conversionMethod  Lorg/jruby/internal/runtime/methods/DynamicMethod;
            5    8     7               mem  Lorg/jruby/ext/ffi/MemoryIO;
           18   22     7              addr  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
         Name  Flags
      context  
      cache    
      m        
      ptr      
      value    

  public org.jruby.runtime.builtin.IRubyObject get(org.jruby.runtime.ThreadContext, org.jruby.ext.ffi.StructLayout$Storage, org.jruby.ext.ffi.StructLayout$Member, org.jruby.ext.ffi.AbstractMemory);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/ffi/StructLayout$Storage;Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/ext/ffi/AbstractMemory;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=5
        start local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.ext.ffi.StructLayout$Storage cache
        start local 3 // org.jruby.ext.ffi.StructLayout$Member m
        start local 4 // org.jruby.ext.ffi.AbstractMemory ptr
         0: .line 1161
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.StructLayout$Member.getOffset:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            invokevirtual org.jruby.ext.ffi.MemoryIO.getMemoryIO:(J)Lorg/jruby/ext/ffi/MemoryIO;
            astore 5 /* memory */
        start local 5 // org.jruby.ext.ffi.MemoryIO memory
         1: .line 1162
            aload 2 /* cache */
            aload 3 /* m */
            invokeinterface org.jruby.ext.ffi.StructLayout$Storage.getCachedValue:(Lorg/jruby/ext/ffi/StructLayout$Member;)Lorg/jruby/runtime/builtin/IRubyObject;
            astore 6 /* old */
        start local 6 // org.jruby.runtime.builtin.IRubyObject old
         2: .line 1163
            aload 6 /* old */
            instanceof org.jruby.ext.ffi.Pointer
            ifeq 6
         3: .line 1164
            aload 6 /* old */
            checkcast org.jruby.ext.ffi.Pointer
            invokevirtual org.jruby.ext.ffi.Pointer.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            astore 7 /* oldMemory */
        start local 7 // org.jruby.ext.ffi.MemoryIO oldMemory
         4: .line 1165
            aload 5 /* memory */
            aload 7 /* oldMemory */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 1166
            aload 6 /* old */
            areturn
        end local 7 // org.jruby.ext.ffi.MemoryIO oldMemory
         6: .line 1169
      StackMap locals: org.jruby.ext.ffi.MemoryIO org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
            new org.jruby.ext.ffi.Pointer
            dup
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 5 /* memory */
            invokespecial org.jruby.ext.ffi.Pointer.<init>:(Lorg/jruby/Ruby;Lorg/jruby/ext/ffi/MemoryIO;)V
            astore 7 /* retval */
        start local 7 // org.jruby.ext.ffi.Pointer retval
         7: .line 1170
            aload 2 /* cache */
            aload 3 /* m */
            aload 7 /* retval */
            invokeinterface org.jruby.ext.ffi.StructLayout$Storage.putCachedValue:(Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/runtime/builtin/IRubyObject;)V
         8: .line 1172
            aload 7 /* retval */
            areturn
        end local 7 // org.jruby.ext.ffi.Pointer retval
        end local 6 // org.jruby.runtime.builtin.IRubyObject old
        end local 5 // org.jruby.ext.ffi.MemoryIO memory
        end local 4 // org.jruby.ext.ffi.AbstractMemory ptr
        end local 3 // org.jruby.ext.ffi.StructLayout$Member m
        end local 2 // org.jruby.ext.ffi.StructLayout$Storage cache
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Lorg/jruby/ext/ffi/StructLayout$PointerFieldIO;
            0    9     1    context  Lorg/jruby/runtime/ThreadContext;
            0    9     2      cache  Lorg/jruby/ext/ffi/StructLayout$Storage;
            0    9     3          m  Lorg/jruby/ext/ffi/StructLayout$Member;
            0    9     4        ptr  Lorg/jruby/ext/ffi/AbstractMemory;
            1    9     5     memory  Lorg/jruby/ext/ffi/MemoryIO;
            2    9     6        old  Lorg/jruby/runtime/builtin/IRubyObject;
            4    6     7  oldMemory  Lorg/jruby/ext/ffi/MemoryIO;
            7    9     7     retval  Lorg/jruby/ext/ffi/Pointer;
    MethodParameters:
         Name  Flags
      context  
      cache    
      m        
      ptr      

  public final boolean isCacheable();
    descriptor: ()Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
         0: .line 1176
            iconst_1
            ireturn
        end local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/ffi/StructLayout$PointerFieldIO;

  public final boolean isValueReferenceNeeded();
    descriptor: ()Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
         0: .line 1180
            iconst_1
            ireturn
        end local 0 // org.jruby.ext.ffi.StructLayout$PointerFieldIO this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/ffi/StructLayout$PointerFieldIO;
}
SourceFile: "StructLayout.java"
NestHost: org.jruby.ext.ffi.StructLayout
InnerClasses:
  abstract FieldIO = org.jruby.ext.ffi.StructLayout$FieldIO of org.jruby.ext.ffi.StructLayout
  public final Member = org.jruby.ext.ffi.StructLayout$Member of org.jruby.ext.ffi.StructLayout
  final PointerFieldIO = org.jruby.ext.ffi.StructLayout$PointerFieldIO of org.jruby.ext.ffi.StructLayout
  public abstract Storage = org.jruby.ext.ffi.StructLayout$Storage of org.jruby.ext.ffi.StructLayout