final class jdk.tools.jaotc.binformat.macho.MachOContainer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jaotc.binformat.macho.MachOContainer
  super_class: java.lang.Object
{
  private final java.io.File outputFile;
    descriptor: Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.io.FileOutputStream outputStream;
    descriptor: Ljava/io/FileOutputStream;
    flags: (0x0002) ACC_PRIVATE

  private long fileOffset;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
        start local 1 // java.lang.String fileName
         0: .line 37
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 39
            aload 0 /* this */
            new java.io.File
            dup
            aload 1 /* fileName */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            putfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputFile:Ljava/io/File;
         2: .line 40
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputFile:Ljava/io/File;
            invokevirtual java.io.File.exists:()Z
            ifeq 4
         3: .line 41
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputFile:Ljava/io/File;
            invokevirtual java.io.File.delete:()Z
            pop
         4: .line 45
      StackMap locals: jdk.tools.jaotc.binformat.macho.MachOContainer java.lang.String
      StackMap stack:
            aload 0 /* this */
            new java.io.FileOutputStream
            dup
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputFile:Ljava/io/File;
            invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
            putfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputStream:Ljava/io/FileOutputStream;
         5: .line 46
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         6: pop
         7: .line 47
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "MachOContainer: Can't create file "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* fileName */
            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 49
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lconst_0
            putfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
         9: .line 50
            return
        end local 1 // java.lang.String fileName
        end local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Ljdk/tools/jaotc/binformat/macho/MachOContainer;
            0   10     1  fileName  Ljava/lang/String;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.Exception
    MethodParameters:
          Name  Flags
      fileName  

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
         0: .line 54
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputStream:Ljava/io/FileOutputStream;
            invokevirtual java.io.FileOutputStream.close:()V
         1: .line 55
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         2: pop
         3: .line 56
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "MachOContainer: close failed"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 58
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/tools/jaotc/binformat/macho/MachOContainer;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception

  void writeBytes(byte[]);
    descriptor: ([B)V
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
        start local 1 // byte[] bytes
         0: .line 62
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputStream:Ljava/io/FileOutputStream;
            aload 1 /* bytes */
            invokevirtual java.io.FileOutputStream.write:([B)V
         1: .line 63
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         2: pop
         3: .line 64
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "MachOContainer: writeBytes failed"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 66
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
            aload 1 /* bytes */
            arraylength
            i2l
            ladd
            putfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
         5: .line 67
            return
        end local 1 // byte[] bytes
        end local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Ljdk/tools/jaotc/binformat/macho/MachOContainer;
            0    6     1  bytes  [B
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
       Name  Flags
      bytes  

  void writeBytes(byte[], int);
    descriptor: ([BI)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
        start local 1 // byte[] bytes
        start local 2 // int alignment
         0: .line 73
            goto 3
         1: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputStream:Ljava/io/FileOutputStream;
            iconst_0
            invokevirtual java.io.FileOutputStream.write:(I)V
         2: .line 75
            aload 0 /* this */
            dup
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
            lconst_1
            ladd
            putfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
         3: .line 73
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
            iload 2 /* alignment */
            iconst_1
            isub
            i2l
            land
            lconst_0
            lcmp
            ifne 1
         4: .line 77
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.outputStream:Ljava/io/FileOutputStream;
            aload 1 /* bytes */
            invokevirtual java.io.FileOutputStream.write:([B)V
         5: .line 78
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         6: pop
         7: .line 79
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "MachOContainer: writeBytes failed"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
            aload 1 /* bytes */
            arraylength
            i2l
            ladd
            putfield jdk.tools.jaotc.binformat.macho.MachOContainer.fileOffset:J
         9: .line 82
            return
        end local 2 // int alignment
        end local 1 // byte[] bytes
        end local 0 // jdk.tools.jaotc.binformat.macho.MachOContainer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0       this  Ljdk/tools/jaotc/binformat/macho/MachOContainer;
            0   10     1      bytes  [B
            0   10     2  alignment  I
      Exception table:
        from    to  target  type
           0     5       6  Class java.lang.Exception
    MethodParameters:
           Name  Flags
      bytes      
      alignment  
}
SourceFile: "MachOContainer.java"