public final class org.jruby.ext.ffi.Util
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.jruby.ext.ffi.Util
  super_class: java.lang.Object
{
  private static final java.math.BigInteger UINT64_BASE;
    descriptor: Ljava/math/BigInteger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 148
            ldc 9223372036854775807
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            putstatic org.jruby.ext.ffi.Util.UINT64_BASE:Ljava/math/BigInteger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

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

  public static final byte int8Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 53
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            i2b
            ireturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final short uint8Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)S
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 57
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            i2s
            ireturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final short int16Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)S
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 61
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            i2s
            ireturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final int uint16Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 65
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            ireturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final int int32Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 69
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            ireturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final long uint32Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 73
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            lreturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final long int64Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 77
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            lreturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final long uint64Value(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 81
            aload 0 /* parameter */
            instanceof org.jruby.RubyBignum
            ifeq 2
         1: .line 82
            aload 0 /* parameter */
            checkcast org.jruby.RubyBignum
            invokevirtual org.jruby.RubyBignum.getValue:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.longValue:()J
            goto 3
         2: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* parameter */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
         3: .line 81
      StackMap locals:
      StackMap stack: long
            lstore 1 /* value */
        start local 1 // long value
         4: .line 84
            lload 1 /* value */
            lreturn
        end local 1 // long value
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
            4    5     1      value  J
    MethodParameters:
           Name  Flags
      parameter  

  public static final float floatValue(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)F
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 88
            aload 0 /* parameter */
            invokestatic org.jruby.RubyNumeric.num2dbl:(Lorg/jruby/runtime/builtin/IRubyObject;)D
            d2f
            freturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final double doubleValue(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)D
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 92
            aload 0 /* parameter */
            invokestatic org.jruby.RubyNumeric.num2dbl:(Lorg/jruby/runtime/builtin/IRubyObject;)D
            dreturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static final long longValue(org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)J
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
         0: .line 102
            aload 0 /* parameter */
            invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            lreturn
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  parameter  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
           Name  Flags
      parameter  

  public static int intValue(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyHash);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyHash;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.jruby.runtime.builtin.IRubyObject obj
        start local 1 // org.jruby.RubyHash enums
         0: .line 106
            aload 0 /* obj */
            instanceof org.jruby.RubyInteger
            ifeq 2
         1: .line 107
            aload 0 /* obj */
            checkcast org.jruby.RubyInteger
            invokevirtual org.jruby.RubyInteger.getLongValue:()J
            l2i
            ireturn
         2: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* obj */
            instanceof org.jruby.RubySymbol
            ifeq 7
         3: .line 110
            aload 1 /* enums */
            aload 0 /* obj */
            invokevirtual org.jruby.RubyHash.fastARef:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            astore 2 /* value */
        start local 2 // org.jruby.runtime.builtin.IRubyObject value
         4: .line 111
            aload 2 /* value */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifeq 6
         5: .line 112
            aload 0 /* obj */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
            new java.lang.StringBuilder
            dup
            ldc "invalid enum value, "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* obj */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         6: .line 114
      StackMap locals: org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
            aload 2 /* value */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            ireturn
        end local 2 // org.jruby.runtime.builtin.IRubyObject value
         7: .line 116
      StackMap locals:
      StackMap stack:
            aload 0 /* obj */
            invokestatic org.jruby.ext.ffi.Util.longValue:(Lorg/jruby/runtime/builtin/IRubyObject;)J
            l2i
            ireturn
        end local 1 // org.jruby.RubyHash enums
        end local 0 // org.jruby.runtime.builtin.IRubyObject obj
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0    obj  Lorg/jruby/runtime/builtin/IRubyObject;
            0    8     1  enums  Lorg/jruby/RubyHash;
            4    7     2  value  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
       Name  Flags
      obj    
      enums  

  public static final org.jruby.runtime.builtin.IRubyObject newSigned8(org.jruby.Ruby, byte);
    descriptor: (Lorg/jruby/Ruby;B)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // byte value
         0: .line 121
            aload 0 /* runtime */
            iload 1 /* value */
            invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // byte value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  runtime  Lorg/jruby/Ruby;
            0    1     1    value  B
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newUnsigned8(org.jruby.Ruby, byte);
    descriptor: (Lorg/jruby/Ruby;B)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // byte value
         0: .line 125
            aload 0 /* runtime */
            iload 1 /* value */
            ifge 1
            iload 1 /* value */
            i2l
            ldc 127
            land
            ldc 128
            ladd
            goto 2
      StackMap locals:
      StackMap stack: org.jruby.Ruby
         1: iload 1 /* value */
            i2l
      StackMap locals: org.jruby.Ruby int
      StackMap stack: org.jruby.Ruby long
         2: invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // byte value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  runtime  Lorg/jruby/Ruby;
            0    3     1    value  B
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newSigned16(org.jruby.Ruby, short);
    descriptor: (Lorg/jruby/Ruby;S)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // short value
         0: .line 129
            aload 0 /* runtime */
            iload 1 /* value */
            invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // short value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  runtime  Lorg/jruby/Ruby;
            0    1     1    value  S
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newUnsigned16(org.jruby.Ruby, short);
    descriptor: (Lorg/jruby/Ruby;S)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // short value
         0: .line 133
            aload 0 /* runtime */
            iload 1 /* value */
            ifge 1
            iload 1 /* value */
            i2l
            ldc 32767
            land
            ldc 32768
            ladd
            goto 2
      StackMap locals:
      StackMap stack: org.jruby.Ruby
         1: iload 1 /* value */
            i2l
      StackMap locals: org.jruby.Ruby int
      StackMap stack: org.jruby.Ruby long
         2: invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // short value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  runtime  Lorg/jruby/Ruby;
            0    3     1    value  S
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newSigned32(org.jruby.Ruby, int);
    descriptor: (Lorg/jruby/Ruby;I)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // int value
         0: .line 137
            aload 0 /* runtime */
            iload 1 /* value */
            invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // int value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  runtime  Lorg/jruby/Ruby;
            0    1     1    value  I
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newUnsigned32(org.jruby.Ruby, int);
    descriptor: (Lorg/jruby/Ruby;I)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // int value
         0: .line 141
            aload 0 /* runtime */
            iload 1 /* value */
            ifge 1
            iload 1 /* value */
            i2l
            ldc 2147483647
            land
            ldc 2147483648
            ladd
            goto 2
      StackMap locals:
      StackMap stack: org.jruby.Ruby
         1: iload 1 /* value */
            i2l
      StackMap locals: org.jruby.Ruby int
      StackMap stack: org.jruby.Ruby long
         2: invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // int value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  runtime  Lorg/jruby/Ruby;
            0    3     1    value  I
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newSigned64(org.jruby.Ruby, long);
    descriptor: (Lorg/jruby/Ruby;J)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // long value
         0: .line 145
            aload 0 /* runtime */
            lload 1 /* value */
            invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // long value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  runtime  Lorg/jruby/Ruby;
            0    1     1    value  J
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final org.jruby.runtime.builtin.IRubyObject newUnsigned64(org.jruby.Ruby, long);
    descriptor: (Lorg/jruby/Ruby;J)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // long value
         0: .line 150
            lload 1 /* value */
            lconst_0
            lcmp
            ifge 2
         1: .line 151
            aload 0 /* runtime */
            lload 1 /* value */
            ldc 9223372036854775807
            land
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            getstatic org.jruby.ext.ffi.Util.UINT64_BASE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            invokestatic org.jruby.RubyBignum.newBignum:(Lorg/jruby/Ruby;Ljava/math/BigInteger;)Lorg/jruby/RubyBignum;
            goto 3
         2: .line 152
      StackMap locals:
      StackMap stack:
            aload 0 /* runtime */
            lload 1 /* value */
            invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
         3: .line 150
      StackMap locals:
      StackMap stack: org.jruby.RubyInteger
            areturn
        end local 1 // long value
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0  runtime  Lorg/jruby/Ruby;
            0    4     1    value  J
    MethodParameters:
         Name  Flags
      runtime  
      value    

  public static final <T> T convertParameter(org.jruby.runtime.builtin.IRubyObject, java.lang.Class<T>);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jruby.runtime.builtin.IRubyObject parameter
        start local 1 // java.lang.Class paramClass
         0: .line 157
            aload 1 /* paramClass */
            aload 0 /* parameter */
            instanceof org.jruby.javasupport.JavaObject
            ifeq 2
         1: .line 158
            aload 0 /* parameter */
            checkcast org.jruby.javasupport.JavaObject
            invokevirtual org.jruby.javasupport.JavaObject.getValue:()Ljava/lang/Object;
            goto 3
         2: .line 159
      StackMap locals:
      StackMap stack: java.lang.Class
            aload 0 /* parameter */
            aload 1 /* paramClass */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
         3: .line 157
      StackMap locals: org.jruby.runtime.builtin.IRubyObject java.lang.Class
      StackMap stack: java.lang.Class java.lang.Object
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 1 // java.lang.Class paramClass
        end local 0 // org.jruby.runtime.builtin.IRubyObject parameter
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0   parameter  Lorg/jruby/runtime/builtin/IRubyObject;
            0    4     1  paramClass  Ljava/lang/Class<TT;>;
    Signature: <T:Ljava/lang/Object;>(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/Class<TT;>;)TT;
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
            Name  Flags
      parameter   
      paramClass  

  public static final java.nio.ByteBuffer slice(java.nio.ByteBuffer, int);
    descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int offset
         0: .line 163
            aload 0 /* buf */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            astore 2 /* tmp */
        start local 2 // java.nio.ByteBuffer tmp
         1: .line 164
            aload 2 /* tmp */
            iload 1 /* offset */
            invokestatic com.headius.backport9.buffer.Buffers.positionBuffer:(Ljava/nio/Buffer;I)Ljava/nio/Buffer;
            pop
         2: .line 165
            aload 2 /* tmp */
            invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
            areturn
        end local 2 // java.nio.ByteBuffer tmp
        end local 1 // int offset
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0     buf  Ljava/nio/ByteBuffer;
            0    3     1  offset  I
            1    3     2     tmp  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      buf     
      offset  

  public static final void checkBounds(org.jruby.Ruby, long, long, long);
    descriptor: (Lorg/jruby/Ruby;JJJ)V
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=8, locals=7, args_size=4
        start local 0 // org.jruby.Ruby runtime
        start local 1 // long size
        start local 3 // long off
        start local 5 // long len
         0: .line 169
            lload 3 /* off */
            lload 5 /* len */
            lor
            lload 3 /* off */
            lload 5 /* len */
            ladd
            lor
            lload 1 /* size */
            lload 3 /* off */
            lload 5 /* len */
            ladd
            lsub
            lor
            lconst_0
            lcmp
            ifge 4
         1: .line 170
            aload 0 /* runtime */
            new java.lang.StringBuilder
            dup
            ldc "Memory access offset="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 171
            lload 3 /* off */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " size="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 5 /* len */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " is out of bounds"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 170
            invokevirtual org.jruby.Ruby.newIndexError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         4: .line 173
      StackMap locals:
      StackMap stack:
            return
        end local 5 // long len
        end local 3 // long off
        end local 1 // long size
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  runtime  Lorg/jruby/Ruby;
            0    5     1     size  J
            0    5     3      off  J
            0    5     5      len  J
    MethodParameters:
         Name  Flags
      runtime  
      size     
      off      
      len      

  public static org.jruby.ext.ffi.Type findType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/ffi/Type;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject name
         0: .line 176
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getFFI:()Lorg/jruby/ext/ffi/FFI;
            invokevirtual org.jruby.ext.ffi.FFI.getTypeResolver:()Lorg/jruby/ext/ffi/TypeResolver;
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 1 /* name */
            invokevirtual org.jruby.ext.ffi.TypeResolver.findType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/ffi/Type;
            areturn
        end local 1 // org.jruby.runtime.builtin.IRubyObject name
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lorg/jruby/runtime/ThreadContext;
            0    1     1     name  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
         Name  Flags
      context  
      name     

  public static org.jruby.ext.ffi.Type findType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/ffi/Type;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject name
        start local 2 // org.jruby.runtime.builtin.IRubyObject typeMap
         0: .line 180
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getFFI:()Lorg/jruby/ext/ffi/FFI;
            invokevirtual org.jruby.ext.ffi.FFI.getTypeResolver:()Lorg/jruby/ext/ffi/TypeResolver;
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 1 /* name */
            aload 2 /* typeMap */
            invokevirtual org.jruby.ext.ffi.TypeResolver.findType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/ffi/Type;
            areturn
        end local 2 // org.jruby.runtime.builtin.IRubyObject typeMap
        end local 1 // org.jruby.runtime.builtin.IRubyObject name
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lorg/jruby/runtime/ThreadContext;
            0    1     1     name  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     2  typeMap  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
         Name  Flags
      context  
      name     
      typeMap  

  public static java.nio.ByteOrder parseByteOrder(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/nio/ByteOrder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // org.jruby.runtime.builtin.IRubyObject byte_order
         0: .line 184
            aload 1 /* byte_order */
            instanceof org.jruby.RubySymbol
            ifne 1
            aload 1 /* byte_order */
            instanceof org.jruby.RubyString
            ifeq 7
         1: .line 185
      StackMap locals:
      StackMap stack:
            aload 1 /* byte_order */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
            astore 2 /* orderName */
        start local 2 // java.lang.String orderName
         2: .line 186
            ldc "network"
            aload 2 /* orderName */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 3
            ldc "big"
            aload 2 /* orderName */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 187
      StackMap locals: java.lang.String
      StackMap stack:
            getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
            areturn
         4: .line 189
      StackMap locals:
      StackMap stack:
            ldc "little"
            aload 2 /* orderName */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 190
            getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
            areturn
         6: .line 193
      StackMap locals:
      StackMap stack:
            invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
            areturn
        end local 2 // java.lang.String orderName
         7: .line 197
      StackMap locals:
      StackMap stack:
            aload 0 /* runtime */
            aload 1 /* byte_order */
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getSymbol:()Lorg/jruby/RubyClass;
            invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
            athrow
        end local 1 // org.jruby.runtime.builtin.IRubyObject byte_order
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0     runtime  Lorg/jruby/Ruby;
            0    8     1  byte_order  Lorg/jruby/runtime/builtin/IRubyObject;
            2    7     2   orderName  Ljava/lang/String;
    MethodParameters:
            Name  Flags
      runtime     
      byte_order  

  public static int roundUpToPowerOfTwo(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int v
         0: .line 202
            iload 0 /* v */
            iconst_1
            if_icmpge 1
            iconst_1
            ireturn
         1: .line 203
      StackMap locals:
      StackMap stack:
            iinc 0 /* v */ -1
         2: .line 204
            iload 0 /* v */
            iload 0 /* v */
            iconst_1
            ishr
            ior
            istore 0 /* v */
         3: .line 205
            iload 0 /* v */
            iload 0 /* v */
            iconst_2
            ishr
            ior
            istore 0 /* v */
         4: .line 206
            iload 0 /* v */
            iload 0 /* v */
            iconst_4
            ishr
            ior
            istore 0 /* v */
         5: .line 207
            iload 0 /* v */
            iload 0 /* v */
            bipush 8
            ishr
            ior
            istore 0 /* v */
         6: .line 208
            iload 0 /* v */
            iload 0 /* v */
            bipush 16
            ishr
            ior
            istore 0 /* v */
         7: .line 210
            iload 0 /* v */
            iconst_1
            iadd
            ireturn
        end local 0 // int v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0     v  I
    MethodParameters:
      Name  Flags
      v     
}
SourceFile: "Util.java"