(command.CommandList
  children: [
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Simple
                      blame_tok: <Id.Lit_LBracket '['>
                      more_env: []
                      words: [
                        {<Id.Lit_LBracket '['>}
                        {(DQ <x> ($ Id.VSub_Number 1))}
                        {<Id.Lit_Equals '='>}
                        {(DQ <x-b>)}
                        {<Id.Lit_RBracket ']'>}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'bootable='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'bootable='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'bootable='> name:bootable)
                  op: assign_op.Equal
                  rhs: {(DQ <'-o generic-bootimage='> ($ Id.VSub_Number 4) <'/boot/cdboot'>)}
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <shift>
              more_env: []
              words: [{<shift>}]
              redirects: []
              do_fork: T
            )
          ]
          spids: [73 91]
        )
      ]
      else_kw: <Id.KW_Else else>
      else_action: [
        (command.ShAssignment
          left: <Id.Lit_VarLike 'bootable='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'bootable='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'bootable='> name:bootable)
              op: assign_op.Equal
              rhs: {(DQ )}
            )
          ]
          redirects: []
        )
      ]
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Simple
                      blame_tok: <Id.Lit_LBracket '['>
                      more_env: []
                      words: [
                        {<Id.Lit_LBracket '['>}
                        {($ Id.VSub_Pound '#')}
                        {<-lt>}
                        {<3>}
                        {<Id.Lit_RBracket ']'>}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {
                  (DQ <'Usage: '> ($ Id.VSub_Number 0) 
                    <' [-b] image-label image-name base-bits-dir [extra-bits-dir]'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [118 131]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'LABEL='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'LABEL='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'LABEL='> name:LABEL)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (CommandSub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [
                              (command.Simple
                                blame_tok: <echo>
                                more_env: []
                                words: [{<echo>} {(DQ ($ Id.VSub_Number 1))}]
                                redirects: []
                                do_fork: T
                              )
                              (command.Simple
                                blame_tok: <tr>
                                more_env: []
                                words: [{<tr>} {(SQ <'[:lower:]'>)} {(SQ <'[:upper:]'>)}]
                                redirects: []
                                do_fork: T
                              )
                            ]
                            ops: [<Id.Op_Pipe _>]
                          )
                        right: <Id.Backtick_Right '`'>
                      )
                    }
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Simple
          blame_tok: <shift>
          more_env: []
          words: [{<shift>}]
          redirects: []
          do_fork: T
        )
      ]
    )
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'NAME='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'NAME='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NAME='> name:NAME)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_Number 1))}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Simple
          blame_tok: <shift>
          more_env: []
          words: [{<shift>}]
          redirects: []
          do_fork: T
        )
      ]
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'publisher='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'publisher='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'publisher='> name:publisher)
          op: assign_op.Equal
          rhs: {(DQ <'The FreeBSD Project.  http://www.FreeBSD.org/'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <'/dev/iso9660/'> ($ Id.VSub_DollarName LABEL) <' / cd9660 ro 0 0'>)}]
      redirects: [
        (Redir
          op: <Id.Redir_Great '>'>
          loc: (redir_loc.Fd fd:1)
          arg: {(DQ ($ Id.VSub_Number 1) <'/etc/fstab'>)}
        )
      ]
      do_fork: T
    )
    (command.Simple
      blame_tok: <makefs>
      more_env: []
      words: [
        {<makefs>}
        {<-t>}
        {<cd9660>}
        {($ Id.VSub_DollarName bootable)}
        {<-o>}
        {<rockridge>}
        {<-o>}
        {<Id.Lit_VarLike 'label='> (DQ ($ Id.VSub_DollarName LABEL))}
        {<-o>}
        {<Id.Lit_VarLike 'publisher='> (DQ ($ Id.VSub_DollarName publisher))}
        {(DQ ($ Id.VSub_DollarName NAME))}
        {(DQ ($ Id.VSub_At '@'))}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <rm>
      more_env: []
      words: [{<rm>} {<-f>} {(DQ ($ Id.VSub_Number 1) <'/etc/fstab'>)}]
      redirects: []
      do_fork: T
    )
  ]
)