final class org.jruby.ext.ffi.StructLayout$InnerStructFieldIO 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$InnerStructFieldIO
  super_class: java.lang.Object
{
  private final org.jruby.ext.ffi.StructByValue sbv;
    descriptor: Lorg/jruby/ext/ffi/StructByValue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(org.jruby.ext.ffi.StructByValue);
    descriptor: (Lorg/jruby/ext/ffi/StructByValue;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.ext.ffi.StructLayout$InnerStructFieldIO this
        start local 1 // org.jruby.ext.ffi.StructByValue sbv
         0: .line 1266
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1267
            aload 0 /* this */
            aload 1 /* sbv */
            putfield org.jruby.ext.ffi.StructLayout$InnerStructFieldIO.sbv:Lorg/jruby/ext/ffi/StructByValue;
         2: .line 1268
            return
        end local 1 // org.jruby.ext.ffi.StructByValue sbv
        end local 0 // org.jruby.ext.ffi.StructLayout$InnerStructFieldIO this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/jruby/ext/ffi/StructLayout$InnerStructFieldIO;
            0    3     1   sbv  Lorg/jruby/ext/ffi/StructByValue;
    MethodParameters:
      Name  Flags
      sbv   

  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$InnerStructFieldIO 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 1271
            aload 5 /* value */
            instanceof org.jruby.ext.ffi.Struct
            ifne 2
         1: .line 1272
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 5 /* value */
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getFFI:()Lorg/jruby/ext/ffi/FFI;
            getfield org.jruby.ext.ffi.FFI.structClass:Lorg/jruby/RubyClass;
            invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
            athrow
         2: .line 1275
      StackMap locals:
      StackMap stack:
            aload 5 /* value */
            checkcast org.jruby.ext.ffi.Struct
            astore 6 /* s */
        start local 6 // org.jruby.ext.ffi.Struct s
         3: .line 1276
            aload 6 /* s */
            aload 1 /* context */
            invokevirtual org.jruby.ext.ffi.Struct.getLayout:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            aload 0 /* this */
            getfield org.jruby.ext.ffi.StructLayout$InnerStructFieldIO.sbv:Lorg/jruby/ext/ffi/StructByValue;
            invokevirtual org.jruby.ext.ffi.StructByValue.getStructLayout:()Lorg/jruby/ext/ffi/StructLayout;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 5
         4: .line 1277
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "incompatible struct layout"
            invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         5: .line 1280
      StackMap locals: org.jruby.ext.ffi.Struct
      StackMap stack:
            aload 6 /* s */
            invokevirtual org.jruby.ext.ffi.Struct.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            invokevirtual org.jruby.ext.ffi.MemoryIO.asByteBuffer:()Ljava/nio/ByteBuffer;
            astore 7 /* src */
        start local 7 // java.nio.ByteBuffer src
         6: .line 1281
            aload 7 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            aload 0 /* this */
            getfield org.jruby.ext.ffi.StructLayout$InnerStructFieldIO.sbv:Lorg/jruby/ext/ffi/StructByValue;
            getfield org.jruby.ext.ffi.StructByValue.size:I
            if_icmpeq 8
         7: .line 1282
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            new java.lang.StringBuilder
            dup
            ldc "bad size in "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* value */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
            invokevirtual org.jruby.RubyClass.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.jruby.Ruby.newRuntimeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         8: .line 1285
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 4 /* ptr */
            invokevirtual org.jruby.ext.ffi.AbstractMemory.getMemoryIO:()Lorg/jruby/ext/ffi/MemoryIO;
            aload 3 /* m */
            invokevirtual org.jruby.ext.ffi.StructLayout$Member.offset:()I
            i2l
            aload 0 /* this */
            getfield org.jruby.ext.ffi.StructLayout$InnerStructFieldIO.sbv:Lorg/jruby/ext/ffi/StructByValue;
            getfield org.jruby.ext.ffi.StructByValue.size:I
            i2l
            invokevirtual org.jruby.ext.ffi.MemoryIO.slice:(JJ)Lorg/jruby/ext/ffi/MemoryIO;
            invokevirtual org.jruby.ext.ffi.MemoryIO.asByteBuffer:()Ljava/nio/ByteBuffer;
            aload 7 /* src */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
         9: .line 1286
            return
        end local 7 // java.nio.ByteBuffer src
        end local 6 // org.jruby.ext.ffi.Struct s
        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$InnerStructFieldIO this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lorg/jruby/ext/ffi/StructLayout$InnerStructFieldIO;
            0   10     1  context  Lorg/jruby/runtime/ThreadContext;
            0   10     2    cache  Lorg/jruby/ext/ffi/StructLayout$Storage;
            0   10     3        m  Lorg/jruby/ext/ffi/StructLayout$Member;
            0   10     4      ptr  Lorg/jruby/ext/ffi/AbstractMemory;
            0   10     5    value  Lorg/jruby/runtime/builtin/IRubyObject;
            3   10     6        s  Lorg/jruby/ext/ffi/Struct;
            6   10     7      src  Ljava/nio/ByteBuffer;
    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=6, locals=6, args_size=5
        start local 0 // org.jruby.ext.ffi.StructLayout$InnerStructFieldIO 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 1289
            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 5 /* s */
        start local 5 // org.jruby.runtime.builtin.IRubyObject s
         1: .line 1290
            aload 5 /* s */
            ifnonnull 4
         2: .line 1291
            aload 0 /* this */
            getfield org.jruby.ext.ffi.StructLayout$InnerStructFieldIO.sbv:Lorg/jruby/ext/ffi/StructByValue;
            invokevirtual org.jruby.ext.ffi.StructByValue.getStructClass:()Lorg/jruby/RubyClass;
            aload 1 /* context */
            aload 4 /* ptr */
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            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.AbstractMemory.slice:(Lorg/jruby/Ruby;J)Lorg/jruby/ext/ffi/AbstractMemory;
            getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
            invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
            astore 5 /* s */
         3: .line 1292
            aload 2 /* cache */
            aload 3 /* m */
            aload 5 /* s */
            invokeinterface org.jruby.ext.ffi.StructLayout$Storage.putCachedValue:(Lorg/jruby/ext/ffi/StructLayout$Member;Lorg/jruby/runtime/builtin/IRubyObject;)V
         4: .line 1295
      StackMap locals: org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
            aload 5 /* s */
            areturn
        end local 5 // org.jruby.runtime.builtin.IRubyObject s
        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$InnerStructFieldIO this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/jruby/ext/ffi/StructLayout$InnerStructFieldIO;
            0    5     1  context  Lorg/jruby/runtime/ThreadContext;
            0    5     2    cache  Lorg/jruby/ext/ffi/StructLayout$Storage;
            0    5     3        m  Lorg/jruby/ext/ffi/StructLayout$Member;
            0    5     4      ptr  Lorg/jruby/ext/ffi/AbstractMemory;
            1    5     5        s  Lorg/jruby/runtime/builtin/IRubyObject;
    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$InnerStructFieldIO this
         0: .line 1299
            iconst_1
            ireturn
        end local 0 // org.jruby.ext.ffi.StructLayout$InnerStructFieldIO this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/ffi/StructLayout$InnerStructFieldIO;

  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$InnerStructFieldIO this
         0: .line 1303
            iconst_0
            ireturn
        end local 0 // org.jruby.ext.ffi.StructLayout$InnerStructFieldIO this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/ffi/StructLayout$InnerStructFieldIO;
}
SourceFile: "StructLayout.java"
NestHost: org.jruby.ext.ffi.StructLayout
InnerClasses:
  abstract FieldIO = org.jruby.ext.ffi.StructLayout$FieldIO of org.jruby.ext.ffi.StructLayout
  final InnerStructFieldIO = org.jruby.ext.ffi.StructLayout$InnerStructFieldIO of org.jruby.ext.ffi.StructLayout
  public final Member = org.jruby.ext.ffi.StructLayout$Member of org.jruby.ext.ffi.StructLayout
  public abstract Storage = org.jruby.ext.ffi.StructLayout$Storage of org.jruby.ext.ffi.StructLayout