public class jdk.jpackage.internal.MacDmgBundler extends jdk.jpackage.internal.MacBaseInstallerBundler
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.jpackage.internal.MacDmgBundler
  super_class: jdk.jpackage.internal.MacBaseInstallerBundler
{
  private static final java.util.ResourceBundle I18N;
    descriptor: Ljava/util/ResourceBundle;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static final java.lang.String DEFAULT_BACKGROUND_IMAGE;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "background_dmg.tiff"

  static final java.lang.String BACKGROUND_IMAGE_FOLDER;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: ".background"

  static final java.lang.String BACKGROUND_IMAGE;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "background.tiff"

  static final java.lang.String DEFAULT_DMG_SETUP_SCRIPT;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "DMGsetup.scpt"

  static final java.lang.String TEMPLATE_BUNDLE_ICON;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "java.icns"

  static final java.lang.String DEFAULT_LICENSE_PLIST;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "lic_template.plist"

  public static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> INSTALLER_SUFFIX;
    descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;

  private static final java.lang.String hdiutil;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "/usr/bin/hdiutil"

  public static final java.lang.String[] required;
    descriptor: [Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 53
            ldc "jdk.jpackage.internal.resources.MacResources"
         1: .line 52
            invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
            putstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
         2: .line 66
            new jdk.jpackage.internal.StandardBundlerParam
            dup
         3: .line 67
            ldc "mac.dmg.installerName.suffix"
         4: .line 68
            ldc Ljava/lang/String;
         5: .line 69
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/jpackage/internal/MacDmgBundler.lambda$0(Ljava/util/Map;)Ljava/lang/String; (6)
                  (Ljava/util/Map;)Ljava/lang/String;
         6: .line 70
            invokedynamic apply()Ljava/util/function/BiFunction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/jpackage/internal/MacDmgBundler.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
                  (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
         7: .line 66
            invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
         8: .line 65
            putstatic jdk.jpackage.internal.MacDmgBundler.INSTALLER_SUFFIX:Ljdk/jpackage/internal/BundlerParamInfo;
         9: .line 576
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
            ldc "/usr/bin/osascript"
            aastore
        10: .line 575
            putstatic jdk.jpackage.internal.MacDmgBundler.required:[Ljava/lang/String;
        11: .line 576
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
         0: .line 50
            aload 0 /* this */
            invokespecial jdk.jpackage.internal.MacBaseInstallerBundler.<init>:()V
            return
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/MacDmgBundler;

  public java.nio.file.Path bundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=3
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
        start local 2 // java.nio.file.Path outdir
         0: .line 74
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "message.building-dmg"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 75
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            aastore
         2: .line 74
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
         3: .line 77
            aload 2 /* outdir */
            invokestatic jdk.jpackage.internal.IOUtils.writableOutputDir:(Ljava/nio/file/Path;)V
         4: .line 80
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.prepareAppBundle:(Ljava/util/Map;)Ljava/nio/file/Path;
            astore 3 /* appLocation */
        start local 3 // java.nio.file.Path appLocation
         5: .line 82
            aload 3 /* appLocation */
            ifnull 11
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.prepareConfigFiles:(Ljava/util/Map;)Z
            ifeq 11
         6: .line 83
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_Script:(Ljava/util/Map;)Ljava/nio/file/Path;
            astore 4 /* configScript */
        start local 4 // java.nio.file.Path configScript
         7: .line 84
            aload 4 /* configScript */
            invokestatic jdk.jpackage.internal.IOUtils.exists:(Ljava/nio/file/Path;)Z
            ifeq 9
         8: .line 85
            ldc "bash"
            aload 4 /* configScript */
            invokestatic jdk.jpackage.internal.IOUtils.run:(Ljava/lang/String;Ljava/nio/file/Path;)V
         9: .line 88
      StackMap locals: java.nio.file.Path java.nio.file.Path
      StackMap stack:
            aload 0 /* this */
            aload 1 /* params */
            aload 3 /* appLocation */
            aload 2 /* outdir */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.buildDMG:(Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
        10: areturn
        end local 4 // java.nio.file.Path configScript
        11: .line 90
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 3 // java.nio.file.Path appLocation
        12: .line 91
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path
      StackMap stack: java.lang.Exception
            astore 3 /* ex */
        start local 3 // java.lang.Exception ex
        13: .line 92
            aload 3 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        14: .line 93
            new jdk.jpackage.internal.PackagerException
            dup
            aload 3 /* ex */
            invokespecial jdk.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception ex
        end local 2 // java.nio.file.Path outdir
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   15     0          this  Ljdk/jpackage/internal/MacDmgBundler;
            0   15     1        params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0   15     2        outdir  Ljava/nio/file/Path;
            5   12     3   appLocation  Ljava/nio/file/Path;
            7   11     4  configScript  Ljava/nio/file/Path;
           13   15     3            ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           4    10      12  Class java.io.IOException
           4    10      12  Class jdk.jpackage.internal.PackagerException
    Exceptions:
      throws jdk.jpackage.internal.PackagerException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    MethodParameters:
        Name  Flags
      params  
      outdir  

  private void prepareDMGSetupScript(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=9, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 101
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_VolumeScript:(Ljava/util/Map;)Ljava/nio/file/Path;
            astore 2 /* dmgSetup */
        start local 2 // java.nio.file.Path dmgSetup
         1: .line 103
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "message.preparing-dmg-setup"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         2: .line 104
            aload 2 /* dmgSetup */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
         3: .line 102
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
         4: .line 109
            getstatic jdk.jpackage.internal.MacDmgBundler.IMAGES_ROOT:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 3 /* imageDir */
        start local 3 // java.nio.file.Path imageDir
         5: .line 110
            aload 3 /* imageDir */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 7
         6: .line 112
            aload 3 /* imageDir */
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         7: .line 114
      StackMap locals: java.nio.file.Path java.nio.file.Path
      StackMap stack:
            aload 3 /* imageDir */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.LinkOption
            invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
            astore 4 /* rootPath */
        start local 4 // java.nio.file.Path rootPath
         8: .line 115
            aload 4 /* rootPath */
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 5 /* volumePath */
        start local 5 // java.nio.file.Path volumePath
         9: .line 116
            new java.lang.StringBuilder
            dup
            aload 5 /* volumePath */
            invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
            invokevirtual java.net.URI.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 6 /* volumeUrl */
        start local 6 // java.lang.String volumeUrl
        10: .line 119
            aload 4 /* rootPath */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            aastore
            dup
            iconst_1
        11: .line 120
            ldc ".background"
            aastore
            dup
            iconst_2
            ldc "background.tiff"
            aastore
        12: .line 119
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 7 /* bgFile */
        start local 7 // java.nio.file.Path bgFile
        13: .line 123
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 8 /* data */
        start local 8 // java.util.Map data
        14: .line 124
            aload 8 /* data */
            ldc "DEPLOY_VOLUME_URL"
            aload 6 /* volumeUrl */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        15: .line 125
            aload 8 /* data */
            ldc "DEPLOY_BG_FILE"
            aload 7 /* bgFile */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        16: .line 126
            aload 8 /* data */
            ldc "DEPLOY_VOLUME_PATH"
            aload 5 /* volumePath */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        17: .line 127
            aload 8 /* data */
            ldc "DEPLOY_APPLICATION_NAME"
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        18: .line 129
            aload 8 /* data */
            ldc "DEPLOY_INSTALL_LOCATION"
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.MacDmgBundler.getInstallDir:(Ljava/util/Map;)Ljava/lang/String;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        19: .line 131
            ldc "DMGsetup.scpt"
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
        20: .line 132
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "resource.dmg-setup-script"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
        21: .line 133
            aload 8 /* data */
            invokevirtual jdk.jpackage.internal.OverridableResource.setSubstitutionData:(Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
        22: .line 134
            aload 2 /* dmgSetup */
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
            pop
        23: .line 135
            return
        end local 8 // java.util.Map data
        end local 7 // java.nio.file.Path bgFile
        end local 6 // java.lang.String volumeUrl
        end local 5 // java.nio.file.Path volumePath
        end local 4 // java.nio.file.Path rootPath
        end local 3 // java.nio.file.Path imageDir
        end local 2 // java.nio.file.Path dmgSetup
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   24     0        this  Ljdk/jpackage/internal/MacDmgBundler;
            0   24     1      params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            1   24     2    dmgSetup  Ljava/nio/file/Path;
            5   24     3    imageDir  Ljava/nio/file/Path;
            8   24     4    rootPath  Ljava/nio/file/Path;
            9   24     5  volumePath  Ljava/nio/file/Path;
           10   24     6   volumeUrl  Ljava/lang/String;
           13   24     7      bgFile  Ljava/nio/file/Path;
           14   24     8        data  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
    MethodParameters:
        Name  Flags
      params  

  private java.nio.file.Path getConfig_VolumeScript(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 138
            getstatic jdk.jpackage.internal.StandardBundlerParam.CONFIG_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         1: .line 139
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-dmg-setup.scpt"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 138
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0    3     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
    MethodParameters:
        Name  Flags
      params  

  private java.nio.file.Path getConfig_VolumeBackground(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 144
            getstatic jdk.jpackage.internal.StandardBundlerParam.CONFIG_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         1: .line 145
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-background.tiff"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 144
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0    3     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
    MethodParameters:
        Name  Flags
      params  

  private java.nio.file.Path getConfig_VolumeIcon(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 149
            getstatic jdk.jpackage.internal.StandardBundlerParam.CONFIG_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         1: .line 150
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-volume.icns"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 149
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0    3     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
    MethodParameters:
        Name  Flags
      params  

  private java.nio.file.Path getConfig_LicenseFile(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 154
            getstatic jdk.jpackage.internal.StandardBundlerParam.CONFIG_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         1: .line 155
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-license.plist"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 154
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0    3     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
    MethodParameters:
        Name  Flags
      params  

  private void prepareLicense(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 160
            getstatic jdk.jpackage.internal.StandardBundlerParam.LICENSE_FILE:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* licFileStr */
        start local 2 // java.lang.String licFileStr
         1: .line 161
            aload 2 /* licFileStr */
            ifnonnull 3
         2: .line 162
            return
         3: .line 165
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* licFileStr */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 3 /* licFile */
        start local 3 // java.nio.file.Path licFile
         4: .line 167
            aload 3 /* licFile */
            invokestatic java.nio.file.Files.readAllBytes:(Ljava/nio/file/Path;)[B
         5: .line 166
            astore 4 /* licenseContentOriginal */
        start local 4 // byte[] licenseContentOriginal
         6: .line 169
            invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
            aload 4 /* licenseContentOriginal */
            invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
         7: .line 168
            astore 5 /* licenseInBase64 */
        start local 5 // java.lang.String licenseInBase64
         8: .line 171
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 6 /* data */
        start local 6 // java.util.Map data
         9: .line 172
            aload 6 /* data */
            ldc "APPLICATION_LICENSE_TEXT"
            aload 5 /* licenseInBase64 */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        10: .line 174
            ldc "lic_template.plist"
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
        11: .line 175
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "resource.license-setup"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
        12: .line 176
            aload 6 /* data */
            invokevirtual jdk.jpackage.internal.OverridableResource.setSubstitutionData:(Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
        13: .line 177
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_LicenseFile:(Ljava/util/Map;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
            pop
        end local 6 // java.util.Map data
        end local 5 // java.lang.String licenseInBase64
        end local 4 // byte[] licenseContentOriginal
        end local 3 // java.nio.file.Path licFile
        end local 2 // java.lang.String licFileStr
        14: .line 179
            goto 17
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map
      StackMap stack: java.io.IOException
        15: astore 2 /* ex */
        start local 2 // java.io.IOException ex
        16: .line 180
            aload 2 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        end local 2 // java.io.IOException ex
        17: .line 182
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   18     0                    this  Ljdk/jpackage/internal/MacDmgBundler;
            0   18     1                  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            1   14     2              licFileStr  Ljava/lang/String;
            4   14     3                 licFile  Ljava/nio/file/Path;
            6   14     4  licenseContentOriginal  [B
            8   14     5         licenseInBase64  Ljava/lang/String;
            9   14     6                    data  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
           16   17     2                      ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     2      15  Class java.io.IOException
           3    14      15  Class java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
    MethodParameters:
        Name  Flags
      params  

  private boolean prepareConfigFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 187
            ldc "background_dmg.tiff"
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
         1: .line 188
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "resource.dmg-background"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
         2: .line 189
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_VolumeBackground:(Ljava/util/Map;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
            pop
         3: .line 191
            ldc "java.icns"
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
         4: .line 192
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "resource.volume-icon"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
         5: .line 193
            getstatic jdk.jpackage.internal.MacAppImageBuilder.ICON_ICNS:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
            invokevirtual jdk.jpackage.internal.OverridableResource.setExternal:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
         6: .line 194
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_VolumeIcon:(Ljava/util/Map;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
            pop
         7: .line 196
            aconst_null
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
         8: .line 197
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "resource.post-install-script"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
         9: .line 198
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_Script:(Ljava/util/Map;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
            pop
        10: .line 200
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.prepareLicense:(Ljava/util/Map;)V
        11: .line 202
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.prepareDMGSetupScript:(Ljava/util/Map;)V
        12: .line 204
            iconst_1
            ireturn
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   13     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0   13     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
    MethodParameters:
        Name  Flags
      params  

  private java.nio.file.Path getConfig_Script(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 209
            getstatic jdk.jpackage.internal.StandardBundlerParam.CONFIG_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         1: .line 210
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-post-image.sh"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 209
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0    3     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
    MethodParameters:
        Name  Flags
      params  

  private java.lang.String findSetFileUtility();
    descriptor: ()Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=9, args_size=1
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
         0: .line 217
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "/Developer/Tools/SetFile"
            aastore
            dup
            iconst_1
         1: .line 218
            ldc "/usr/bin/SetFile"
            aastore
            dup
            iconst_2
            ldc "/Developer/usr/bin/SetFile"
            aastore
         2: .line 217
            astore 1 /* typicalPaths */
        start local 1 // java.lang.String[] typicalPaths
         3: .line 220
            aconst_null
            astore 2 /* setFilePath */
        start local 2 // java.lang.String setFilePath
         4: .line 221
            aload 1 /* typicalPaths */
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 11
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.lang.String[] java.lang.String top int int java.lang.String[]
      StackMap stack:
         5: aload 6
            iload 4
            aaload
            astore 3 /* path */
        start local 3 // java.lang.String path
         6: .line 222
            aload 3 /* path */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 7 /* f */
        start local 7 // java.nio.file.Path f
         7: .line 223
            aload 7 /* f */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 10
            aload 7 /* f */
            invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
            ifeq 10
         8: .line 224
            aload 3 /* path */
            astore 2 /* setFilePath */
         9: .line 225
            goto 12
        end local 7 // java.nio.file.Path f
        end local 3 // java.lang.String path
        10: .line 221
      StackMap locals:
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
        11: iload 4
            iload 5
            if_icmplt 5
        12: .line 231
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.lang.String[] java.lang.String
      StackMap stack:
            aload 2 /* setFilePath */
            ifnull 21
        13: .line 233
            new java.lang.ProcessBuilder
            dup
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            aload 2 /* setFilePath */
            aastore
            dup
            iconst_1
            ldc "-h"
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 3 /* pb */
        start local 3 // java.lang.ProcessBuilder pb
        14: .line 234
            aload 3 /* pb */
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 4 /* p */
        start local 4 // java.lang.Process p
        15: .line 235
            aload 4 /* p */
            invokevirtual java.lang.Process.waitFor:()I
            istore 5 /* code */
        start local 5 // int code
        16: .line 236
            iload 5 /* code */
            ifne 20
        17: .line 237
            aload 2 /* setFilePath */
        18: areturn
        end local 5 // int code
        end local 4 // java.lang.Process p
        end local 3 // java.lang.ProcessBuilder pb
        19: .line 239
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
        20: .line 243
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        21: .line 248
      StackMap locals:
      StackMap stack:
            new java.lang.ProcessBuilder
            dup
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "/usr/bin/xcrun"
            aastore
            dup
            iconst_1
            ldc "-find"
            aastore
            dup
            iconst_2
            ldc "SetFile"
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 3 /* pb */
        start local 3 // java.lang.ProcessBuilder pb
        22: .line 249
            aload 3 /* pb */
            invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
            astore 4 /* p */
        start local 4 // java.lang.Process p
        23: .line 250
            new java.io.InputStreamReader
            dup
            aload 4 /* p */
            invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            astore 5 /* isr */
        start local 5 // java.io.InputStreamReader isr
        24: .line 251
            new java.io.BufferedReader
            dup
            aload 5 /* isr */
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 6 /* br */
        start local 6 // java.io.BufferedReader br
        25: .line 252
            aload 6 /* br */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            astore 7 /* lineRead */
        start local 7 // java.lang.String lineRead
        26: .line 253
            aload 7 /* lineRead */
            ifnull 32
        27: .line 254
            aload 7 /* lineRead */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 8 /* f */
        start local 8 // java.nio.file.Path f
        28: .line 255
            aload 8 /* f */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 32
            aload 8 /* f */
            invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
            ifeq 32
        29: .line 256
            aload 8 /* f */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
        30: areturn
        end local 8 // java.nio.file.Path f
        end local 7 // java.lang.String lineRead
        end local 6 // java.io.BufferedReader br
        end local 5 // java.io.InputStreamReader isr
        end local 4 // java.lang.Process p
        end local 3 // java.lang.ProcessBuilder pb
        31: .line 259
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        32: .line 261
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 2 // java.lang.String setFilePath
        end local 1 // java.lang.String[] typicalPaths
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   33     0          this  Ljdk/jpackage/internal/MacDmgBundler;
            3   33     1  typicalPaths  [Ljava/lang/String;
            4   33     2   setFilePath  Ljava/lang/String;
            6   10     3          path  Ljava/lang/String;
            7   10     7             f  Ljava/nio/file/Path;
           14   19     3            pb  Ljava/lang/ProcessBuilder;
           15   19     4             p  Ljava/lang/Process;
           16   19     5          code  I
           22   31     3            pb  Ljava/lang/ProcessBuilder;
           23   31     4             p  Ljava/lang/Process;
           24   31     5           isr  Ljava/io/InputStreamReader;
           25   31     6            br  Ljava/io/BufferedReader;
           26   31     7      lineRead  Ljava/lang/String;
           28   31     8             f  Ljava/nio/file/Path;
      Exception table:
        from    to  target  type
          13    18      19  Class java.lang.Exception
          21    30      31  Class java.io.IOException

  private java.nio.file.Path buildDMG(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path, java.nio.file.Path);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=19, args_size=4
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
        start local 2 // java.nio.file.Path appLocation
        start local 3 // java.nio.file.Path outdir
         0: .line 266
            iconst_0
            istore 4 /* copyAppImage */
        start local 4 // boolean copyAppImage
         1: .line 267
            getstatic jdk.jpackage.internal.MacDmgBundler.IMAGES_ROOT:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 5 /* imagesRoot */
        start local 5 // java.nio.file.Path imagesRoot
         2: .line 268
            aload 5 /* imagesRoot */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 4
         3: .line 269
            aload 5 /* imagesRoot */
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         4: .line 272
      StackMap locals: int java.nio.file.Path
      StackMap stack:
            aload 5 /* imagesRoot */
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-tmp.dmg"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 6 /* protoDMG */
        start local 6 // java.nio.file.Path protoDMG
         5: .line 273
            aload 3 /* outdir */
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.MacDmgBundler.MAC_INSTALLER_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         6: .line 274
            getstatic jdk.jpackage.internal.MacDmgBundler.INSTALLER_SUFFIX:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ".dmg"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         7: .line 273
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 7 /* finalDMG */
        start local 7 // java.nio.file.Path finalDMG
         8: .line 276
            aload 0 /* this */
            getfield jdk.jpackage.internal.MacDmgBundler.APP_IMAGE_TEMP_ROOT:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 8 /* srcFolder */
        start local 8 // java.nio.file.Path srcFolder
         9: .line 277
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.StandardBundlerParam.getPredefinedAppImage:(Ljava/util/Map;)Ljava/nio/file/Path;
            astore 9 /* predefinedImage */
        start local 9 // java.nio.file.Path predefinedImage
        10: .line 278
            aload 9 /* predefinedImage */
            ifnull 13
        11: .line 279
            aload 9 /* predefinedImage */
            astore 8 /* srcFolder */
        12: .line 280
            goto 27
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path
      StackMap stack:
        13: aload 1 /* params */
            invokestatic jdk.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
            ifeq 27
        14: .line 281
            getstatic jdk.jpackage.internal.StandardBundlerParam.TEMP_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
        15: .line 282
            ldc "root-"
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
        16: .line 281
            invokestatic java.nio.file.Files.createTempDirectory:(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            astore 10 /* newRoot */
        start local 10 // java.nio.file.Path newRoot
        17: .line 286
            aload 2 /* appLocation */
            ldc "Contents/Home"
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 11 /* home */
        start local 11 // java.nio.file.Path home
        18: .line 287
            aload 11 /* home */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 19
            aload 11 /* home */
            goto 20
      StackMap locals: java.nio.file.Path java.nio.file.Path
      StackMap stack:
        19: aload 2 /* appLocation */
      StackMap locals:
      StackMap stack: java.nio.file.Path
        20: astore 12 /* source */
        start local 12 // java.nio.file.Path source
        21: .line 290
            aload 10 /* newRoot */
        22: .line 291
            getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/BundlerParamInfo;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
        23: .line 290
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 13 /* root */
        start local 13 // java.nio.file.Path root
        24: .line 292
            aload 13 /* root */
            ldc "Contents/Home"
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 14 /* dest */
        start local 14 // java.nio.file.Path dest
        25: .line 294
            aload 12 /* source */
            aload 14 /* dest */
            invokestatic jdk.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
        26: .line 296
            aload 10 /* newRoot */
            astore 8 /* srcFolder */
        end local 14 // java.nio.file.Path dest
        end local 13 // java.nio.file.Path root
        end local 12 // java.nio.file.Path source
        end local 11 // java.nio.file.Path home
        end local 10 // java.nio.file.Path newRoot
        27: .line 299
      StackMap locals:
      StackMap stack:
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
        28: .line 300
            ldc "message.creating-dmg-file"
        29: .line 299
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        30: .line 300
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            aastore
        31: .line 299
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        32: .line 302
            aload 6 /* protoDMG */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        33: .line 304
            aload 7 /* finalDMG */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        34: .line 305
            goto 41
      StackMap locals:
      StackMap stack: java.io.IOException
        35: pop
        36: .line 306
            new java.io.IOException
            dup
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
        37: .line 307
            ldc "message.dmg-cannot-be-overwritten"
        38: .line 306
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        39: .line 308
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            aastore
        40: .line 306
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        41: .line 311
      StackMap locals:
      StackMap stack:
            aload 6 /* protoDMG */
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
        42: .line 312
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
        43: .line 314
            getstatic jdk.jpackage.internal.StandardBundlerParam.VERBOSE:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ifeq 45
        44: .line 315
            ldc "-verbose"
            goto 46
      StackMap locals:
      StackMap stack:
        45: ldc "-quiet"
        46: .line 314
      StackMap locals:
      StackMap stack: java.lang.String
            astore 10 /* hdiUtilVerbosityFlag */
        start local 10 // java.lang.String hdiUtilVerbosityFlag
        47: .line 318
            new java.lang.ProcessBuilder
            dup
            bipush 13
            anewarray java.lang.String
            dup
            iconst_0
        48: .line 319
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
        49: .line 320
            ldc "create"
            aastore
            dup
            iconst_2
        50: .line 321
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_3
        51: .line 322
            ldc "-srcfolder"
            aastore
            dup
            iconst_4
            aload 8 /* srcFolder */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            iconst_5
        52: .line 323
            ldc "-volname"
            aastore
            dup
            bipush 6
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            aastore
            dup
            bipush 7
        53: .line 324
            ldc "-ov"
            aastore
            dup
            bipush 8
            aload 6 /* protoDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            bipush 9
        54: .line 325
            ldc "-fs"
            aastore
            dup
            bipush 10
            ldc "HFS+"
            aastore
            dup
            bipush 11
        55: .line 326
            ldc "-format"
            aastore
            dup
            bipush 12
            ldc "UDRW"
        56: .line 318
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
        start local 11 // java.lang.ProcessBuilder pb
        57: .line 328
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
        58: .line 329
            goto 74
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder
      StackMap stack: java.io.IOException
        59: astore 12 /* ex */
        start local 12 // java.io.IOException ex
        60: .line 330
            aload 12 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        61: .line 334
            iconst_1
            istore 4 /* copyAppImage */
        62: .line 336
            new jdk.jpackage.internal.PathGroup
            dup
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            aload 8 /* srcFolder */
            invokestatic java.util.Map.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
            invokespecial jdk.jpackage.internal.PathGroup.<init>:(Ljava/util/Map;)V
            invokevirtual jdk.jpackage.internal.PathGroup.sizeInBytes:()J
            lstore 13 /* size */
        start local 13 // long size
        63: .line 337
            lload 13 /* size */
            ldc 52428800
            ladd
            lstore 13 /* size */
        64: .line 341
            new java.lang.ProcessBuilder
            dup
            bipush 11
            anewarray java.lang.String
            dup
            iconst_0
        65: .line 342
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
        66: .line 343
            ldc "create"
            aastore
            dup
            iconst_2
        67: .line 344
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_3
        68: .line 345
            ldc "-size"
            aastore
            dup
            iconst_4
            lload 13 /* size */
            invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
            aastore
            dup
            iconst_5
        69: .line 346
            ldc "-volname"
            aastore
            dup
            bipush 6
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            aastore
            dup
            bipush 7
        70: .line 347
            ldc "-ov"
            aastore
            dup
            bipush 8
            aload 6 /* protoDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            bipush 9
        71: .line 348
            ldc "-fs"
            aastore
            dup
            bipush 10
            ldc "HFS+"
        72: .line 341
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
        73: .line 349
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
        end local 13 // long size
        end local 12 // java.io.IOException ex
        74: .line 353
      StackMap locals:
      StackMap stack:
            new java.lang.ProcessBuilder
            dup
            bipush 6
            anewarray java.lang.String
            dup
            iconst_0
        75: .line 354
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
        76: .line 355
            ldc "attach"
            aastore
            dup
            iconst_2
        77: .line 356
            aload 6 /* protoDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            iconst_3
        78: .line 357
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_4
        79: .line 358
            ldc "-mountroot"
            aastore
            dup
            iconst_5
            aload 5 /* imagesRoot */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
        80: .line 353
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
        81: .line 359
            aload 11 /* pb */
            iconst_0
            aconst_null
            iconst_1
            ldc -1
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;ZJ)V
        82: .line 361
            aload 5 /* imagesRoot */
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 12 /* mountedRoot */
        start local 12 // java.nio.file.Path mountedRoot
        83: .line 365
            iload 4 /* copyAppImage */
            ifeq 92
        84: .line 369
            aload 8 /* srcFolder */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            ldc ".app"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 91
        85: .line 370
            aload 12 /* mountedRoot */
        86: .line 371
            aload 8 /* srcFolder */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
        87: .line 370
            astore 13 /* destPath */
        start local 13 // java.nio.file.Path destPath
        88: .line 372
            aload 13 /* destPath */
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
        89: .line 373
            aload 8 /* srcFolder */
            aload 13 /* destPath */
            invokestatic jdk.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
        end local 13 // java.nio.file.Path destPath
        90: .line 374
            goto 92
        91: .line 375
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 8 /* srcFolder */
            aload 12 /* mountedRoot */
            invokestatic jdk.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
        92: .line 381
      StackMap locals:
      StackMap stack:
            aload 12 /* mountedRoot */
            ldc ".background"
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 13 /* bgdir */
        start local 13 // java.nio.file.Path bgdir
        93: .line 382
            aload 13 /* bgdir */
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
        94: .line 383
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_VolumeBackground:(Ljava/util/Map;)Ljava/nio/file/Path;
        95: .line 384
            aload 13 /* bgdir */
            ldc "background.tiff"
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
        96: .line 383
            invokestatic jdk.jpackage.internal.IOUtils.copyFile:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
        97: .line 390
            new java.lang.ProcessBuilder
            dup
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "/usr/bin/osascript"
            aastore
            dup
            iconst_1
        98: .line 391
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_VolumeScript:(Ljava/util/Map;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
        99: .line 390
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       100: .line 392
            aload 11 /* pb */
            ldc 180
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;J)V
       101: .line 393
            goto 104
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path java.nio.file.Path
      StackMap stack: java.io.IOException
       102: astore 14 /* ex */
        start local 14 // java.io.IOException ex
       103: .line 394
            aload 14 /* ex */
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
        end local 14 // java.io.IOException ex
       104: .line 398
      StackMap locals:
      StackMap stack:
            aload 12 /* mountedRoot */
            ldc ".VolumeIcon.icns"
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 14 /* volumeIconFile */
        start local 14 // java.nio.file.Path volumeIconFile
       105: .line 399
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_VolumeIcon:(Ljava/util/Map;)Ljava/nio/file/Path;
       106: .line 400
            aload 14 /* volumeIconFile */
       107: .line 399
            invokestatic jdk.jpackage.internal.IOUtils.copyFile:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
       108: .line 406
            aload 0 /* this */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.findSetFileUtility:()Ljava/lang/String;
            astore 15 /* setFileUtility */
        start local 15 // java.lang.String setFileUtility
       109: .line 407
            aload 15 /* setFileUtility */
            ifnull 129
       110: .line 410
            aload 14 /* volumeIconFile */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            iconst_1
            invokevirtual java.io.File.setWritable:(Z)Z
            pop
       111: .line 415
            new java.lang.ProcessBuilder
            dup
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
       112: .line 416
            aload 15 /* setFileUtility */
            aastore
            dup
            iconst_1
       113: .line 417
            ldc "-c"
            aastore
            dup
            iconst_2
            ldc "icnC"
            aastore
            dup
            iconst_3
       114: .line 418
            aload 14 /* volumeIconFile */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       115: .line 415
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       116: .line 419
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
       117: .line 420
            aload 14 /* volumeIconFile */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.setReadOnly:()Z
            pop
       118: .line 422
            new java.lang.ProcessBuilder
            dup
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
       119: .line 423
            aload 15 /* setFileUtility */
            aastore
            dup
            iconst_1
       120: .line 424
            ldc "-a"
            aastore
            dup
            iconst_2
            ldc "C"
            aastore
            dup
            iconst_3
       121: .line 425
            aload 12 /* mountedRoot */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       122: .line 422
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       123: .line 426
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
       124: .line 427
            goto 155
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String
      StackMap stack: java.io.IOException
       125: astore 16 /* ex */
        start local 16 // java.io.IOException ex
       126: .line 428
            aload 16 /* ex */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
       127: .line 429
            ldc "Cannot enable custom icon using SetFile utility"
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        end local 16 // java.io.IOException ex
       128: .line 431
            goto 155
       129: .line 432
      StackMap locals:
      StackMap stack:
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "message.setfile.dmg"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        end local 15 // java.lang.String setFileUtility
        end local 14 // java.nio.file.Path volumeIconFile
        end local 13 // java.nio.file.Path bgdir
       130: .line 435
            goto 155
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path
      StackMap stack: java.lang.Throwable
       131: astore 17
       132: .line 437
            new java.lang.ProcessBuilder
            dup
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
       133: .line 438
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       134: .line 439
            ldc "detach"
            aastore
            dup
            iconst_2
       135: .line 440
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_3
       136: .line 441
            aload 12 /* mountedRoot */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       137: .line 437
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       138: .line 444
            new jdk.jpackage.internal.RetryExecutor
            dup
            invokespecial jdk.jpackage.internal.RetryExecutor.<init>:()V
            astore 18 /* retryExecutor */
        start local 18 // jdk.jpackage.internal.RetryExecutor retryExecutor
       139: .line 447
            aload 18 /* retryExecutor */
            aload 12 /* mountedRoot */
            aload 18 /* retryExecutor */
            invokedynamic accept(Ljava/nio/file/Path;Ljdk/jpackage/internal/RetryExecutor;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jpackage/internal/MacDmgBundler.lambda$2(Ljava/nio/file/Path;Ljdk/jpackage/internal/RetryExecutor;Ljdk/jpackage/internal/Executor;)V (6)
                  (Ljdk/jpackage/internal/Executor;)V
            invokevirtual jdk.jpackage.internal.RetryExecutor.setExecutorInitializer:(Ljava/util/function/Consumer;)Ljdk/jpackage/internal/RetryExecutor;
            pop
       140: .line 454
            aload 18 /* retryExecutor */
            bipush 10
            invokevirtual jdk.jpackage.internal.RetryExecutor.setMaxAttemptsCount:(I)Ljdk/jpackage/internal/RetryExecutor;
            sipush 6000
            invokevirtual jdk.jpackage.internal.RetryExecutor.setAttemptTimeoutMillis:(I)Ljdk/jpackage/internal/RetryExecutor;
       141: .line 455
            aload 11 /* pb */
            invokevirtual jdk.jpackage.internal.RetryExecutor.execute:(Ljava/lang/ProcessBuilder;)V
       142: .line 456
            goto 154
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path top top top top java.lang.Throwable jdk.jpackage.internal.RetryExecutor
      StackMap stack: java.io.IOException
       143: pop
       144: .line 457
            aload 18 /* retryExecutor */
            invokevirtual jdk.jpackage.internal.RetryExecutor.isAborted:()Z
            ifne 154
       145: .line 459
            aload 12 /* mountedRoot */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 154
       146: .line 460
            new java.lang.ProcessBuilder
            dup
            iconst_5
            anewarray java.lang.String
            dup
            iconst_0
       147: .line 461
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       148: .line 462
            ldc "detach"
            aastore
            dup
            iconst_2
       149: .line 463
            ldc "-force"
            aastore
            dup
            iconst_3
       150: .line 464
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_4
       151: .line 465
            aload 12 /* mountedRoot */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       152: .line 460
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       153: .line 466
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
        end local 18 // jdk.jpackage.internal.RetryExecutor retryExecutor
       154: .line 470
      StackMap locals:
      StackMap stack:
            aload 17
            athrow
       155: .line 437
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path
      StackMap stack:
            new java.lang.ProcessBuilder
            dup
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
       156: .line 438
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       157: .line 439
            ldc "detach"
            aastore
            dup
            iconst_2
       158: .line 440
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_3
       159: .line 441
            aload 12 /* mountedRoot */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       160: .line 437
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       161: .line 444
            new jdk.jpackage.internal.RetryExecutor
            dup
            invokespecial jdk.jpackage.internal.RetryExecutor.<init>:()V
            astore 18 /* retryExecutor */
        start local 18 // jdk.jpackage.internal.RetryExecutor retryExecutor
       162: .line 447
            aload 18 /* retryExecutor */
            aload 12 /* mountedRoot */
            aload 18 /* retryExecutor */
            invokedynamic accept(Ljava/nio/file/Path;Ljdk/jpackage/internal/RetryExecutor;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jpackage/internal/MacDmgBundler.lambda$2(Ljava/nio/file/Path;Ljdk/jpackage/internal/RetryExecutor;Ljdk/jpackage/internal/Executor;)V (6)
                  (Ljdk/jpackage/internal/Executor;)V
            invokevirtual jdk.jpackage.internal.RetryExecutor.setExecutorInitializer:(Ljava/util/function/Consumer;)Ljdk/jpackage/internal/RetryExecutor;
            pop
       163: .line 454
            aload 18 /* retryExecutor */
            bipush 10
            invokevirtual jdk.jpackage.internal.RetryExecutor.setMaxAttemptsCount:(I)Ljdk/jpackage/internal/RetryExecutor;
            sipush 6000
            invokevirtual jdk.jpackage.internal.RetryExecutor.setAttemptTimeoutMillis:(I)Ljdk/jpackage/internal/RetryExecutor;
       164: .line 455
            aload 11 /* pb */
            invokevirtual jdk.jpackage.internal.RetryExecutor.execute:(Ljava/lang/ProcessBuilder;)V
       165: .line 456
            goto 177
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path top top top top top jdk.jpackage.internal.RetryExecutor
      StackMap stack: java.io.IOException
       166: pop
       167: .line 457
            aload 18 /* retryExecutor */
            invokevirtual jdk.jpackage.internal.RetryExecutor.isAborted:()Z
            ifne 177
       168: .line 459
            aload 12 /* mountedRoot */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 177
       169: .line 460
            new java.lang.ProcessBuilder
            dup
            iconst_5
            anewarray java.lang.String
            dup
            iconst_0
       170: .line 461
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       171: .line 462
            ldc "detach"
            aastore
            dup
            iconst_2
       172: .line 463
            ldc "-force"
            aastore
            dup
            iconst_3
       173: .line 464
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_4
       174: .line 465
            aload 12 /* mountedRoot */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       175: .line 460
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       176: .line 466
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
        end local 18 // jdk.jpackage.internal.RetryExecutor retryExecutor
       177: .line 473
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path
      StackMap stack:
            new java.lang.ProcessBuilder
            dup
            bipush 8
            anewarray java.lang.String
            dup
            iconst_0
       178: .line 474
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       179: .line 475
            ldc "convert"
            aastore
            dup
            iconst_2
       180: .line 476
            aload 6 /* protoDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            iconst_3
       181: .line 477
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_4
       182: .line 478
            ldc "-format"
            aastore
            dup
            iconst_5
            ldc "UDZO"
            aastore
            dup
            bipush 6
       183: .line 479
            ldc "-o"
            aastore
            dup
            bipush 7
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       184: .line 473
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       185: .line 481
            new jdk.jpackage.internal.RetryExecutor
            dup
            invokespecial jdk.jpackage.internal.RetryExecutor.<init>:()V
       186: .line 482
            bipush 10
            invokevirtual jdk.jpackage.internal.RetryExecutor.setMaxAttemptsCount:(I)Ljdk/jpackage/internal/RetryExecutor;
       187: .line 483
            sipush 3000
            invokevirtual jdk.jpackage.internal.RetryExecutor.setAttemptTimeoutMillis:(I)Ljdk/jpackage/internal/RetryExecutor;
       188: .line 484
            aload 11 /* pb */
            invokevirtual jdk.jpackage.internal.RetryExecutor.execute:(Ljava/lang/ProcessBuilder;)V
       189: .line 485
            goto 209
      StackMap locals:
      StackMap stack: java.lang.Exception
       190: pop
       191: .line 487
            aload 5 /* imagesRoot */
       192: .line 488
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-tmp2.dmg"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
       193: .line 487
            astore 13 /* protoDMG2 */
        start local 13 // java.nio.file.Path protoDMG2
       194: .line 489
            aload 6 /* protoDMG */
            aload 13 /* protoDMG2 */
            iconst_0
            anewarray java.nio.file.CopyOption
            invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
            pop
       195: .line 491
            new java.lang.ProcessBuilder
            dup
            bipush 8
            anewarray java.lang.String
            dup
            iconst_0
       196: .line 492
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       197: .line 493
            ldc "convert"
            aastore
            dup
            iconst_2
       198: .line 494
            aload 13 /* protoDMG2 */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            iconst_3
       199: .line 495
            aload 10 /* hdiUtilVerbosityFlag */
            aastore
            dup
            iconst_4
       200: .line 496
            ldc "-format"
            aastore
            dup
            iconst_5
            ldc "UDZO"
            aastore
            dup
            bipush 6
       201: .line 497
            ldc "-o"
            aastore
            dup
            bipush 7
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       202: .line 491
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       203: .line 498
            aload 11 /* pb */
            invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
       204: .line 499
            goto 208
      StackMap locals: jdk.jpackage.internal.MacDmgBundler java.util.Map java.nio.file.Path java.nio.file.Path int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.String java.lang.ProcessBuilder java.nio.file.Path java.nio.file.Path
      StackMap stack: java.lang.Throwable
       205: astore 14
       206: .line 500
            aload 13 /* protoDMG2 */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
       207: .line 501
            aload 14
            athrow
       208: .line 500
      StackMap locals:
      StackMap stack:
            aload 13 /* protoDMG2 */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        end local 13 // java.nio.file.Path protoDMG2
       209: .line 505
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_LicenseFile:(Ljava/util/Map;)Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 221
       210: .line 506
            new java.lang.ProcessBuilder
            dup
            iconst_5
            anewarray java.lang.String
            dup
            iconst_0
       211: .line 507
            ldc "/usr/bin/hdiutil"
            aastore
            dup
            iconst_1
       212: .line 508
            ldc "udifrez"
            aastore
            dup
            iconst_2
       213: .line 509
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
            dup
            iconst_3
       214: .line 510
            ldc "-xml"
            aastore
            dup
            iconst_4
       215: .line 511
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.getConfig_LicenseFile:(Ljava/util/Map;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
       216: .line 506
            aastore
            invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
            astore 11 /* pb */
       217: .line 513
            new jdk.jpackage.internal.RetryExecutor
            dup
            invokespecial jdk.jpackage.internal.RetryExecutor.<init>:()V
       218: .line 514
            bipush 10
            invokevirtual jdk.jpackage.internal.RetryExecutor.setMaxAttemptsCount:(I)Ljdk/jpackage/internal/RetryExecutor;
       219: .line 515
            sipush 3000
            invokevirtual jdk.jpackage.internal.RetryExecutor.setAttemptTimeoutMillis:(I)Ljdk/jpackage/internal/RetryExecutor;
       220: .line 516
            aload 11 /* pb */
            invokevirtual jdk.jpackage.internal.RetryExecutor.execute:(Ljava/lang/ProcessBuilder;)V
       221: .line 520
      StackMap locals:
      StackMap stack:
            aload 6 /* protoDMG */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
       222: .line 522
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
       223: .line 523
            ldc "message.output-to-location"
       224: .line 522
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
       225: .line 524
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            aastore
            dup
            iconst_1
            aload 7 /* finalDMG */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aastore
       226: .line 522
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
       227: .line 526
            aload 7 /* finalDMG */
            areturn
        end local 12 // java.nio.file.Path mountedRoot
        end local 11 // java.lang.ProcessBuilder pb
        end local 10 // java.lang.String hdiUtilVerbosityFlag
        end local 9 // java.nio.file.Path predefinedImage
        end local 8 // java.nio.file.Path srcFolder
        end local 7 // java.nio.file.Path finalDMG
        end local 6 // java.nio.file.Path protoDMG
        end local 5 // java.nio.file.Path imagesRoot
        end local 4 // boolean copyAppImage
        end local 3 // java.nio.file.Path outdir
        end local 2 // java.nio.file.Path appLocation
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0  228     0                  this  Ljdk/jpackage/internal/MacDmgBundler;
            0  228     1                params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0  228     2           appLocation  Ljava/nio/file/Path;
            0  228     3                outdir  Ljava/nio/file/Path;
            1  228     4          copyAppImage  Z
            2  228     5            imagesRoot  Ljava/nio/file/Path;
            5  228     6              protoDMG  Ljava/nio/file/Path;
            8  228     7              finalDMG  Ljava/nio/file/Path;
            9  228     8             srcFolder  Ljava/nio/file/Path;
           10  228     9       predefinedImage  Ljava/nio/file/Path;
           17   27    10               newRoot  Ljava/nio/file/Path;
           18   27    11                  home  Ljava/nio/file/Path;
           21   27    12                source  Ljava/nio/file/Path;
           24   27    13                  root  Ljava/nio/file/Path;
           25   27    14                  dest  Ljava/nio/file/Path;
           47  228    10  hdiUtilVerbosityFlag  Ljava/lang/String;
           57  228    11                    pb  Ljava/lang/ProcessBuilder;
           60   74    12                    ex  Ljava/io/IOException;
           63   74    13                  size  J
           83  228    12           mountedRoot  Ljava/nio/file/Path;
           88   90    13              destPath  Ljava/nio/file/Path;
           93  130    13                 bgdir  Ljava/nio/file/Path;
          103  104    14                    ex  Ljava/io/IOException;
          105  130    14        volumeIconFile  Ljava/nio/file/Path;
          109  130    15        setFileUtility  Ljava/lang/String;
          126  128    16                    ex  Ljava/io/IOException;
          139  154    18         retryExecutor  Ljdk/jpackage/internal/RetryExecutor;
          162  177    18         retryExecutor  Ljdk/jpackage/internal/RetryExecutor;
          194  209    13             protoDMG2  Ljava/nio/file/Path;
      Exception table:
        from    to  target  type
          33    34      35  Class java.io.IOException
          57    58      59  Class java.io.IOException
          97   101     102  Class java.io.IOException
         110   124     125  Class java.io.IOException
          92   131     131  any
         140   142     143  Class java.io.IOException
         163   165     166  Class java.io.IOException
         185   189     190  Class java.lang.Exception
         195   205     205  any
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    MethodParameters:
             Name  Flags
      params       
      appLocation  
      outdir       

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
         0: .line 536
            getstatic jdk.jpackage.internal.MacDmgBundler.I18N:Ljava/util/ResourceBundle;
            ldc "dmg.bundler.name"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/MacDmgBundler;

  public java.lang.String getID();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
         0: .line 541
            ldc "dmg"
            areturn
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/MacDmgBundler;

  public boolean validate(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
         0: .line 548
            aload 1 /* params */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 552
            aload 0 /* this */
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.validateAppImageAndBundeler:(Ljava/util/Map;)V
         2: .line 554
            iconst_1
            ireturn
         3: .line 555
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
            astore 2 /* re */
        start local 2 // java.lang.RuntimeException re
         4: .line 556
            aload 2 /* re */
            invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
            instanceof jdk.jpackage.internal.ConfigException
            ifeq 6
         5: .line 557
            aload 2 /* re */
            invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
            checkcast jdk.jpackage.internal.ConfigException
            athrow
         6: .line 559
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            new jdk.jpackage.internal.ConfigException
            dup
            aload 2 /* re */
            invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/Exception;)V
            athrow
        end local 2 // java.lang.RuntimeException re
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljdk/jpackage/internal/MacDmgBundler;
            0    7     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            4    7     2      re  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.RuntimeException
    Exceptions:
      throws jdk.jpackage.internal.ConfigException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
    MethodParameters:
        Name  Flags
      params  

  public java.nio.file.Path execute(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // java.util.Map params
        start local 2 // java.nio.file.Path outputParentDir
         0: .line 567
            aload 0 /* this */
            aload 1 /* params */
            aload 2 /* outputParentDir */
            invokevirtual jdk.jpackage.internal.MacDmgBundler.bundle:(Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
            areturn
        end local 2 // java.nio.file.Path outputParentDir
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    1     0             this  Ljdk/jpackage/internal/MacDmgBundler;
            0    1     1           params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0    1     2  outputParentDir  Ljava/nio/file/Path;
    Exceptions:
      throws jdk.jpackage.internal.PackagerException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)Ljava/nio/file/Path;
    MethodParameters:
                 Name  Flags
      params           
      outputParentDir  

  public boolean supported(boolean);
    descriptor: (Z)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
        start local 1 // boolean runtimeInstaller
         0: .line 572
            invokestatic jdk.jpackage.internal.MacDmgBundler.isSupported:()Z
            ireturn
        end local 1 // boolean runtimeInstaller
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0              this  Ljdk/jpackage/internal/MacDmgBundler;
            0    1     1  runtimeInstaller  Z
    MethodParameters:
                  Name  Flags
      runtimeInstaller  

  public static boolean isSupported();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=0
         0: .line 579
            getstatic jdk.jpackage.internal.MacDmgBundler.required:[Ljava/lang/String;
            dup
            astore 3
            arraylength
            istore 2
            iconst_0
            istore 1
            goto 6
      StackMap locals: top int int java.lang.String[]
      StackMap stack:
         1: aload 3
            iload 1
            aaload
            astore 0 /* s */
        start local 0 // java.lang.String s
         2: .line 580
            aload 0 /* s */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 4 /* f */
        start local 4 // java.nio.file.Path f
         3: .line 581
            aload 4 /* f */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 4
            aload 4 /* f */
            invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
            ifne 5
         4: .line 582
      StackMap locals: java.lang.String int int java.lang.String[] java.nio.file.Path
      StackMap stack:
            iconst_0
            ireturn
        end local 4 // java.nio.file.Path f
        end local 0 // java.lang.String s
         5: .line 579
      StackMap locals: top int int java.lang.String[]
      StackMap stack:
            iinc 1 1
      StackMap locals:
      StackMap stack:
         6: iload 1
            iload 2
            if_icmplt 1
         7: .line 585
            iconst_1
            ireturn
         8: .line 586
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         9: .line 587
            iconst_0
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            2    5     0     s  Ljava/lang/String;
            3    5     4     f  Ljava/nio/file/Path;
      Exception table:
        from    to  target  type
           0     4       8  Class java.lang.Exception
           5     7       8  Class java.lang.Exception

  public boolean isDefault();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.MacDmgBundler this
         0: .line 593
            iconst_1
            ireturn
        end local 0 // jdk.jpackage.internal.MacDmgBundler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/MacDmgBundler;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokespecial jdk.jpackage.internal.MacBaseInstallerBundler.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void cleanup(java.util.Map);
    descriptor: (Ljava/util/Map;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokespecial jdk.jpackage.internal.MacBaseInstallerBundler.cleanup:(Ljava/util/Map;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$0(java.util.Map);
    descriptor: (Ljava/util/Map;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.util.Map params
         0: .line 69
            ldc ""
            areturn
        end local 0 // java.util.Map params
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;

  private static java.lang.String lambda$1(java.lang.String, java.util.Map);
    descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // java.lang.String s
        start local 1 // java.util.Map p
         0: .line 70
            aload 0 /* s */
            areturn
        end local 1 // java.util.Map p
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;
            0    1     1     p  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;

  private static void lambda$2(java.nio.file.Path, jdk.jpackage.internal.RetryExecutor, jdk.jpackage.internal.Executor);
    descriptor: (Ljava/nio/file/Path;Ljdk/jpackage/internal/RetryExecutor;Ljdk/jpackage/internal/Executor;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 2 // jdk.jpackage.internal.Executor exec
         0: .line 448
            aload 0
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 2
         1: .line 449
            aload 1
            invokevirtual jdk.jpackage.internal.RetryExecutor.abort:()V
         2: .line 451
      StackMap locals:
      StackMap stack:
            return
        end local 2 // jdk.jpackage.internal.Executor exec
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     2  exec  Ljdk/jpackage/internal/Executor;
}
SourceFile: "MacDmgBundler.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public Encoder = java.util.Base64$Encoder of java.util.Base64
  final Source = jdk.jpackage.internal.OverridableResource$Source of jdk.jpackage.internal.OverridableResource