(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DAEMON='> name:DAEMON)
          op: assign_op.Equal
          rhs: {<'/usr/sbin/cups-browsed'>}
          spids: [55]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NAME='> name:NAME)
          op: assign_op.Equal
          rhs: {<cups-browsed>}
          spids: [58]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PIDFILE='> name:PIDFILE)
          op: assign_op.Equal
          rhs: {<'/var/run/cups/'> ($ Id.VSub_DollarName NAME) <.pid>}
          spids: [61]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DESC='> name:DESC)
          op: assign_op.Equal
          rhs: {(DQ <'CUPS Bonjour daemon'>)}
          spids: [66]
        )
      ]
      redirects: []
    )
    (C {<unset>} {<TMPDIR>})
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<test>} {<-x>} {($ Id.VSub_DollarName DAEMON)})
        (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
      ]
    )
    (C {<.>} {<'/lib/lsb/init-functions'>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SSD_OPTIONS='> name:SSD_OPTIONS)
          op: assign_op.Equal
          rhs: {(DQ <'--quiet --pidfile '> ($ Id.VSub_DollarName PIDFILE) <' --make-pidfile'>)}
          spids: [95]
        )
      ]
      redirects: []
    )
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number 1))}
      arms: [
        (case_arm
          pat_list: [{<start>}]
          action: [
            (C {<log_begin_msg>} 
              {(DQ <'Starting '> ($ Id.VSub_DollarName DESC) <': '> ($ Id.VSub_DollarName NAME))}
            )
            (C {<mkdir>} {<-p>} 
              {
                (command_sub
                  left_token: <Id.Left_Backtick '`'>
                  child: (C {<dirname>} {(DQ ($ Id.VSub_DollarName PIDFILE))})
                  right: <Id.Backtick_Right '`'>
                )
              }
            )
            (C {<start-stop-daemon>} {<--start>} {<--oknodo>} {<--background>} 
              {($ Id.VSub_DollarName SSD_OPTIONS)} {<--exec>} {($ Id.VSub_DollarName DAEMON)}
            )
            (C {<log_end_msg>} {($ Id.VSub_QMark '?')})
          ]
          spids: [112 113 162 -1]
        )
        (case_arm
          pat_list: [{<stop>}]
          action: [
            (C {<log_begin_msg>} 
              {(DQ <'Stopping '> ($ Id.VSub_DollarName DESC) <': '> ($ Id.VSub_DollarName NAME))}
            )
            (C {<start-stop-daemon>} {<--stop>} {<--retry>} {<5>} {<--oknodo>} 
              {($ Id.VSub_DollarName SSD_OPTIONS)} {<--name>} {($ Id.VSub_DollarName NAME)}
            )
            (C {<log_end_msg>} {($ Id.VSub_QMark '?')})
            (C {<rm>} {<-f>} {($ Id.VSub_DollarName PIDFILE)})
          ]
          spids: [165 166 208 -1]
        )
        (case_arm
          pat_list: [{<restart>} {<force-reload>}]
          action: [
            (C {<log_begin_msg>} 
              {(DQ <'Restarting '> ($ Id.VSub_DollarName DESC) <': '> ($ Id.VSub_DollarName NAME))}
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<start-stop-daemon>} {<--stop>} {<--retry>} {<5>} {<--oknodo>} 
                              {($ Id.VSub_DollarName SSD_OPTIONS)} {<--name>} {($ Id.VSub_DollarName NAME)}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (C {<start-stop-daemon>} {<--start>} {<--background>} 
                      {($ Id.VSub_DollarName SSD_OPTIONS)} {<--exec>} {($ Id.VSub_DollarName DAEMON)}
                    )
                  ]
                  spids: [227 246]
                )
              ]
              else_action: []
              redirects: []
            )
            (C {<log_end_msg>} {($ Id.VSub_QMark '?')})
          ]
          spids: [211 214 270 -1]
        )
        (case_arm
          pat_list: [{<status>}]
          action: [
            (command.AndOr
              ops: [Id.Op_DAmp Id.Op_DPipe]
              children: [
                (C {<status_of_proc>} {(DQ ($ Id.VSub_DollarName DAEMON))} 
                  {(DQ ($ Id.VSub_DollarName NAME))}
                )
                (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
                (command.ControlFlow
                  token: <Id.ControlFlow_Exit exit>
                  arg_word: {($ Id.VSub_QMark '?')}
                )
              ]
            )
          ]
          spids: [273 274 300 -1]
        )
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'N='> name:N)
                  op: assign_op.Equal
                  rhs: 
                    {<'/etc/init.d/'> 
                      (braced_var_sub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Number 0>
                        var_name: 0
                        suffix_op: 
                          (suffix_op.Unary
                            op: <Id.VOp1_DPound '##'>
                            arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>}
                          )
                        right: <Id.Right_DollarBrace '}'>
                      )
                    }
                  spids: [307]
                )
              ]
              redirects: []
            )
            (command.Simple
              words: [
                {<echo>}
                {
                  (DQ <'Usage: '> ($ Id.VSub_DollarName N) 
                    <' {start|stop|force-reload|restart|status}'>
                  )
                }
              ]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              more_env: []
              do_fork: T
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [303 304 334 -1]
        )
      ]
      redirects: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)