public class org.jruby.ir.persistence.IRWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.ir.persistence.IRWriter
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.ir.persistence.IRWriter this
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.ir.persistence.IRWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ir/persistence/IRWriter;

  public static void persist(org.jruby.ir.persistence.IRWriterEncoder, org.jruby.ir.IRScope);
    descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.ir.persistence.IRWriterEncoder file
        start local 1 // org.jruby.ir.IRScope script
         0: .line 29
            aload 0 /* file */
            aload 1 /* script */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.startEncoding:(Lorg/jruby/ir/IRScope;)V
         1: .line 30
            aload 0 /* file */
            aload 1 /* script */
            invokestatic org.jruby.ir.persistence.IRWriter.persistScopeInstructions:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
         2: .line 32
            aload 0 /* file */
            aload 1 /* script */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.startEncodingScopeHeaders:(Lorg/jruby/ir/IRScope;)V
         3: .line 33
            aload 0 /* file */
            aload 1 /* script */
            invokestatic org.jruby.ir.persistence.IRWriter.persistScopeHeaders:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
         4: .line 34
            aload 0 /* file */
            aload 1 /* script */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.endEncodingScopeHeaders:(Lorg/jruby/ir/IRScope;)V
         5: .line 36
            aload 0 /* file */
            aload 1 /* script */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.endEncoding:(Lorg/jruby/ir/IRScope;)V
         6: .line 37
            return
        end local 1 // org.jruby.ir.IRScope script
        end local 0 // org.jruby.ir.persistence.IRWriterEncoder file
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            0    7     1  script  Lorg/jruby/ir/IRScope;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      file    
      script  

  private static void persistScopeInstructions(org.jruby.ir.persistence.IRWriterEncoder, org.jruby.ir.IRScope);
    descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.jruby.ir.persistence.IRWriterEncoder file
        start local 1 // org.jruby.ir.IRScope parent
         0: .line 40
            aload 0 /* file */
            aload 1 /* parent */
            invokestatic org.jruby.ir.persistence.IRWriter.persistScopeInstrs:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
         1: .line 42
            aload 1 /* parent */
            invokevirtual org.jruby.ir.IRScope.getLexicalScopes:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.jruby.ir.persistence.IRWriterEncoder org.jruby.ir.IRScope top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.IRScope
            astore 2 /* scope */
        start local 2 // org.jruby.ir.IRScope scope
         3: .line 43
            aload 0 /* file */
            aload 2 /* scope */
            invokestatic org.jruby.ir.persistence.IRWriter.persistScopeInstructions:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
        end local 2 // org.jruby.ir.IRScope scope
         4: .line 42
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 45
            return
        end local 1 // org.jruby.ir.IRScope parent
        end local 0 // org.jruby.ir.persistence.IRWriterEncoder file
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            0    6     1  parent  Lorg/jruby/ir/IRScope;
            3    4     2   scope  Lorg/jruby/ir/IRScope;
    MethodParameters:
        Name  Flags
      file    
      parent  

  private static void persistScopeInstrs(org.jruby.ir.persistence.IRWriterEncoder, org.jruby.ir.IRScope);
    descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // org.jruby.ir.persistence.IRWriterEncoder file
        start local 1 // org.jruby.ir.IRScope scope
         0: .line 49
            aload 0 /* file */
            aload 1 /* scope */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.startEncodingScopeInstrs:(Lorg/jruby/ir/IRScope;)V
         1: .line 52
            aload 1 /* scope */
            instanceof org.jruby.ir.IRMethod
            ifeq 3
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.hasBeenBuilt:()Z
            ifne 3
         2: .line 53
            aload 1 /* scope */
            checkcast org.jruby.ir.IRMethod
            invokevirtual org.jruby.ir.IRMethod.lazilyAcquireInterpreterContext:()Lorg/jruby/ir/interpreter/InterpreterContext;
            pop
         3: .line 56
      StackMap locals:
      StackMap stack:
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.getInterpreterContext:()Lorg/jruby/ir/interpreter/InterpreterContext;
            invokevirtual org.jruby.ir.interpreter.InterpreterContext.getInstructions:()[Lorg/jruby/ir/instructions/Instr;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 7
      StackMap locals: org.jruby.ir.persistence.IRWriterEncoder org.jruby.ir.IRScope top int int org.jruby.ir.instructions.Instr[]
      StackMap stack:
         4: aload 5
            iload 3
            aaload
            astore 2 /* instr */
        start local 2 // org.jruby.ir.instructions.Instr instr
         5: .line 57
            aload 0 /* file */
            aload 2 /* instr */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/instructions/Instr;)V
        end local 2 // org.jruby.ir.instructions.Instr instr
         6: .line 56
            iinc 3 1
      StackMap locals:
      StackMap stack:
         7: iload 3
            iload 4
            if_icmplt 4
         8: .line 60
            aload 0 /* file */
            aload 1 /* scope */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.endEncodingScopeInstrs:(Lorg/jruby/ir/IRScope;)V
         9: .line 61
            return
        end local 1 // org.jruby.ir.IRScope scope
        end local 0 // org.jruby.ir.persistence.IRWriterEncoder file
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            0   10     1  scope  Lorg/jruby/ir/IRScope;
            5    6     2  instr  Lorg/jruby/ir/instructions/Instr;
    MethodParameters:
       Name  Flags
      file   
      scope  

  private static void persistScopeHeaders(org.jruby.ir.persistence.IRWriterEncoder, org.jruby.ir.IRScope);
    descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.jruby.ir.persistence.IRWriterEncoder file
        start local 1 // org.jruby.ir.IRScope parent
         0: .line 66
            aload 0 /* file */
            aload 1 /* parent */
            invokestatic org.jruby.ir.persistence.IRWriter.persistScopeHeader:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
         1: .line 68
            aload 1 /* parent */
            invokevirtual org.jruby.ir.IRScope.getLexicalScopes:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.jruby.ir.persistence.IRWriterEncoder org.jruby.ir.IRScope top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.IRScope
            astore 2 /* scope */
        start local 2 // org.jruby.ir.IRScope scope
         3: .line 69
            aload 0 /* file */
            aload 2 /* scope */
            invokestatic org.jruby.ir.persistence.IRWriter.persistScopeHeaders:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
        end local 2 // org.jruby.ir.IRScope scope
         4: .line 68
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 71
            return
        end local 1 // org.jruby.ir.IRScope parent
        end local 0 // org.jruby.ir.persistence.IRWriterEncoder file
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            0    6     1  parent  Lorg/jruby/ir/IRScope;
            3    4     2   scope  Lorg/jruby/ir/IRScope;
    MethodParameters:
        Name  Flags
      file    
      parent  

  private static void persistScopeHeader(org.jruby.ir.persistence.IRWriterEncoder, org.jruby.ir.IRScope);
    descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/ir/IRScope;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.jruby.ir.persistence.IRWriterEncoder file
        start local 1 // org.jruby.ir.IRScope scope
         0: .line 78
            getstatic org.jruby.RubyInstanceConfig.IR_WRITING_DEBUG:Z
            ifeq 1
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "Writing Scope Header"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* file */
            aload 1 /* scope */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.startEncodingScopeHeader:(Lorg/jruby/ir/IRScope;)V
         2: .line 80
            aload 1 /* scope */
            aload 0 /* file */
            invokevirtual org.jruby.ir.IRScope.persistScopeHeader:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
         3: .line 82
            getstatic org.jruby.RubyInstanceConfig.IR_WRITING_DEBUG:Z
            ifeq 4
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "NAME = "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.getId:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 83
      StackMap locals:
      StackMap stack:
            aload 1 /* scope */
            instanceof org.jruby.ir.IRScriptBody
            ifeq 7
         5: .line 84
            aload 0 /* file */
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.getId:()Ljava/lang/String;
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Ljava/lang/String;)V
         6: .line 85
            goto 9
         7: .line 86
      StackMap locals:
      StackMap stack:
            aload 0 /* file */
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.getName:()Lorg/jruby/RubySymbol;
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/RubySymbol;)V
         8: .line 87
            aload 0 /* file */
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.getLexicalParent:()Lorg/jruby/ir/IRScope;
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/IRScope;)V
         9: .line 90
      StackMap locals:
      StackMap stack:
            aload 0 /* file */
            aload 1 /* scope */
            invokevirtual org.jruby.ir.IRScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
            invokestatic org.jruby.ir.persistence.IRWriter.persistStaticScope:(Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/parser/StaticScope;)V
        10: .line 91
            aload 1 /* scope */
            aload 0 /* file */
            invokestatic org.jruby.ir.persistence.IRWriter.persistLocalVariables:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/persistence/IRWriterEncoder;)V
        11: .line 92
            aload 0 /* file */
            aload 1 /* scope */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.endEncodingScopeHeader:(Lorg/jruby/ir/IRScope;)V
        12: .line 93
            return
        end local 1 // org.jruby.ir.IRScope scope
        end local 0 // org.jruby.ir.persistence.IRWriterEncoder file
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   13     0   file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            0   13     1  scope  Lorg/jruby/ir/IRScope;
    MethodParameters:
       Name  Flags
      file   
      scope  

  private static void persistLocalVariables(org.jruby.ir.IRScope, org.jruby.ir.persistence.IRWriterEncoder);
    descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/persistence/IRWriterEncoder;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.jruby.ir.IRScope scope
        start local 1 // org.jruby.ir.persistence.IRWriterEncoder file
         0: .line 97
            aload 0 /* scope */
            invokevirtual org.jruby.ir.IRScope.getLocalVariables:()Ljava/util/Map;
            astore 2 /* localVariables */
        start local 2 // java.util.Map localVariables
         1: .line 98
            getstatic org.jruby.RubyInstanceConfig.IR_WRITING_DEBUG:Z
            ifeq 2
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "PERSISTING LVARS ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* localVariables */
            invokeinterface java.util.Map.size:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 99
      StackMap locals: java.util.Map
      StackMap stack:
            aload 1 /* file */
            aload 2 /* localVariables */
            invokeinterface java.util.Map.size:()I
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
         3: .line 100
            aload 2 /* localVariables */
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 9
      StackMap locals: org.jruby.ir.IRScope org.jruby.ir.persistence.IRWriterEncoder java.util.Map top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.RubySymbol
            astore 3 /* name */
        start local 3 // org.jruby.RubySymbol name
         5: .line 101
            aload 1 /* file */
            aload 3 /* name */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/RubySymbol;)V
         6: .line 102
            aload 2 /* localVariables */
            aload 3 /* name */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.jruby.ir.operands.LocalVariable
            invokevirtual org.jruby.ir.operands.LocalVariable.getOffset:()I
            istore 5 /* offset */
        start local 5 // int offset
         7: .line 103
            getstatic org.jruby.RubyInstanceConfig.IR_WRITING_DEBUG:Z
            ifeq 8
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "    NAME: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "(0:"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 5 /* offset */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 104
      StackMap locals: org.jruby.ir.IRScope org.jruby.ir.persistence.IRWriterEncoder java.util.Map org.jruby.RubySymbol java.util.Iterator int
      StackMap stack:
            aload 1 /* file */
            iload 5 /* offset */
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
        end local 5 // int offset
        end local 3 // org.jruby.RubySymbol name
         9: .line 100
      StackMap locals: org.jruby.ir.IRScope org.jruby.ir.persistence.IRWriterEncoder java.util.Map top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        10: .line 106
            return
        end local 2 // java.util.Map localVariables
        end local 1 // org.jruby.ir.persistence.IRWriterEncoder file
        end local 0 // org.jruby.ir.IRScope scope
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   11     0           scope  Lorg/jruby/ir/IRScope;
            0   11     1            file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            1   11     2  localVariables  Ljava/util/Map<Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/LocalVariable;>;
            5    9     3            name  Lorg/jruby/RubySymbol;
            7    9     5          offset  I
    MethodParameters:
       Name  Flags
      scope  
      file   

  private static void persistStaticScope(org.jruby.ir.persistence.IRWriterEncoder, org.jruby.parser.StaticScope);
    descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;Lorg/jruby/parser/StaticScope;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.ir.persistence.IRWriterEncoder file
        start local 1 // org.jruby.parser.StaticScope staticScope
         0: .line 110
            aload 0 /* file */
            aload 1 /* staticScope */
            invokevirtual org.jruby.parser.StaticScope.getType:()Lorg/jruby/parser/StaticScope$Type;
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/parser/StaticScope$Type;)V
         1: .line 111
            aload 0 /* file */
            aload 1 /* staticScope */
            invokevirtual org.jruby.parser.StaticScope.getVariables:()[Ljava/lang/String;
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:([Ljava/lang/String;)V
         2: .line 112
            aload 0 /* file */
            aload 1 /* staticScope */
            invokevirtual org.jruby.parser.StaticScope.getFirstKeywordIndex:()I
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
         3: .line 113
            aload 0 /* file */
            aload 1 /* staticScope */
            invokevirtual org.jruby.parser.StaticScope.getSignature:()Lorg/jruby/runtime/Signature;
            invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/runtime/Signature;)V
         4: .line 114
            return
        end local 1 // org.jruby.parser.StaticScope staticScope
        end local 0 // org.jruby.ir.persistence.IRWriterEncoder file
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         file  Lorg/jruby/ir/persistence/IRWriterEncoder;
            0    5     1  staticScope  Lorg/jruby/parser/StaticScope;
    MethodParameters:
             Name  Flags
      file         
      staticScope  
}
SourceFile: "IRWriter.java"
InnerClasses:
  public final Type = org.jruby.parser.StaticScope$Type of org.jruby.parser.StaticScope