(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (x) ($ VSub_Number '$1'))} {(Lit_Other '=')} {(DQ (x-b))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:bootable)
                  op: Equal
                  rhs: 
                    {
                      (DQ ('-o bootimage=i386;') ($ VSub_Number '$4') ('/boot/cdboot -o no-emul-boot'))
                    }
                  spids: [98]
                )
              ]
              spids: [98]
            )
            (C {(dd)} {(Lit_VarLike 'if=') (/dev/zero)} {(Lit_VarLike 'of=') (efiboot.img)} 
              {(Lit_VarLike 'bs=') (4k)} {(Lit_VarLike 'count=') (200)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:device)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(mdconfig)} {(-a)} {(-t)} {(vnode)} {(-f)} {(efiboot.img)})]
                          )
                        left_token: <Left_Backtick '`'>
                        spids: [127 139]
                      )
                    }
                  spids: [126]
                )
              ]
              spids: [126]
            )
            (C {(newfs_msdos)} {(-F)} {(12)} {(-m)} {(0xf8)} {(/dev/) ($ VSub_Name '$device')})
            (C {(mkdir)} {(efi)})
            (C {(mount)} {(-t)} {(msdosfs)} {(/dev/) ($ VSub_Name '$device')} {(efi)})
            (C {(mkdir)} {(-p)} {(efi/efi/boot)})
            (C {(cp)} {(DQ ($ VSub_Number '$4') (/boot/loader.efi))} {(efi/efi/boot/bootx64.efi)})
            (C {(umount)} {(efi)})
            (C {(rmdir)} {(efi)})
            (C {(mdconfig)} {(-d)} {(-u)} {($ VSub_Name '$device')})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:bootable)
                  op: Equal
                  rhs: 
                    {
                      (DQ ('-o bootimage=i386;efiboot.img -o no-emul-boot ') ($ VSub_Name '$bootable'))
                    }
                  spids: [209]
                )
              ]
              spids: [209]
            )
            (C {(shift)})
          ]
          spids: [16777215 91]
        )
      ]
      else_action: [
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:bootable) op:Equal rhs:{(DQ )} spids:[223])]
          spids: [223]
        )
      ]
      spids: [220 227]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-lt)} {(3)} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(echo)} 
              {
                (DQ ('Usage: ') ($ VSub_Number '$0') 
                  (' [-b] image-label image-name base-bits-dir [extra-bits-dir]')
                )
              }
            )
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [16777215 243]
        )
      ]
      spids: [16777215 259]
    )
    (CommandList
      children: [
        (Sentence
          child: 
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:LABEL)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(echo)} {(DQ ($ VSub_Number '$1'))})
                                  (C {(tr)} {(SQ <'[:lower:]'>)} {(SQ <'[:upper:]'>)})
                                ]
                                negated: F
                              )
                            ]
                          )
                        left_token: <Left_Backtick '`'>
                        spids: [263 281]
                      )
                    }
                  spids: [262]
                )
              ]
              spids: [262]
            )
          terminator: <Op_Semi ';'>
        )
        (C {(shift)})
      ]
    )
    (CommandList
      children: [
        (Sentence
          child: 
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:NAME)
                  op: Equal
                  rhs: {(DQ ($ VSub_Number '$1'))}
                  spids: [286]
                )
              ]
              spids: [286]
            )
          terminator: <Op_Semi ';'>
        )
        (C {(shift)})
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:publisher)
          op: Equal
          rhs: {(DQ ('The FreeBSD Project.  http://www.FreeBSD.org/'))}
          spids: [295]
        )
      ]
      spids: [295]
    )
    (SimpleCommand
      words: [{(echo)} {(DQ (/dev/iso9660/) ($ VSub_Name '$LABEL') (' / cd9660 ro 0 0'))}]
      redirects: [
        (Redir
          op: <Redir_Great '>'>
          fd: 16777215
          arg_word: {(DQ ($ VSub_Number '$1') (/etc/fstab))}
        )
      ]
    )
    (C {(makefs)} {(-t)} {(cd9660)} {($ VSub_Name '$bootable')} {(-o)} {(rockridge)} {(-o)} 
      {(Lit_VarLike 'label=') (DQ ($ VSub_Name '$LABEL'))} {(-o)} {(Lit_VarLike 'publisher=') (DQ ($ VSub_Name '$publisher'))} {(DQ ($ VSub_Name '$NAME'))} 
      {(DQ ($ VSub_At '$@'))}
    )
    (C {(rm)} {(-f)} {(DQ ($ VSub_Number '$1') (/etc/fstab))})
    (C {(rm)} {(-f)} {(efiboot.img)})
  ]
)