(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LeftVar name:PATH)
          rhs: {(/sbin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/bin) (Lit_Other ":") (/usr/bin)}
          spids: [28]
        )
      ]
      spids: [28]
    )
    (C {(.)} {(/lib/lsb/init-functions)})
    (FuncDef
      name: do_start
      body: 
        (BraceGroup
          children: [
            (C {(log_action_begin_msg)} {(DQ ("Asking all remaining processes to terminate"))})
            (C {(killall5)} {(-15)})
            (C {(log_action_end_msg)} {(0)})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LeftVar name:alldead) rhs:{(DQ )} spids:[75])]
              spids: [75]
            )
            (ForEach
              iter_name: seq
              iter_words: [{(1)} {(2)} {(3)} {(4)} {(5)} {(6)} {(7)} {(8)} {(9)} {(10)}]
              do_arg_iter: False
              body: 
                (DoGroup
                  child: 
                    (CommandList
                      children: [
                        (If
                          arms: [
                            (if_arm
                              cond: 
                                (Sentence
                                  command: (C {(killall5)} {(-18)})
                                  terminator: <Op_Semi ";">
                                )
                              action: (C {(Lit_Other ":")})
                              spids: [-1 140]
                            )
                          ]
                          else_action: 
                            (CommandList
                              children: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LeftVar name:alldead)
                                      rhs: {(1)}
                                      spids: [149]
                                    )
                                  ]
                                  spids: [149]
                                )
                                (C {(break)})
                              ]
                            )
                          spids: [146 156]
                        )
                        (C {(sleep)} {(1)})
                      ]
                    )
                  spids: [107 165]
                )
              spids: [85 105]
            )
            (If
              arms: [
                (if_arm
                  cond: 
                    (Sentence
                      command: 
                        (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$alldead"))} {(Lit_Other "]")})
                      terminator: <Op_Semi ";">
                    )
                  action: 
                    (CommandList
                      children: [
                        (C {(log_action_begin_msg)} {(DQ ("Killing all remaining processes"))})
                        (C {(killall5)} {(-9)})
                        (C {(log_action_end_msg)} {(1)})
                      ]
                    )
                  spids: [-1 182]
                )
              ]
              else_action: 
                (CommandList
                  children: [
                    (C {(log_action_begin_msg)} 
                      {(DQ ("All processes ended within ") ($ VSub_Name "$seq") (" seconds."))}
                    )
                    (C {(log_action_end_msg)} {(0)})
                  ]
                )
              spids: [205 222]
            )
          ]
          spids: [48]
        )
      spids: [43 47]
    )
    (Case
      to_match: {(DQ ($ VSub_Number "$1"))}
      arms: [
        (case_arm pat_list:[{(start)}] action:(C {(do_start)}) spids:[236237243-1])
        (case_arm
          pat_list: [{(restart)} {(reload)} {(force-reload)}]
          action: 
            (CommandList
              children: [
                (SimpleCommand
                  words: [{(echo)} {(DQ ("Error: argument '") ($ VSub_Number "$1") ("' not supported"))}]
                  redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[262])]
                )
                (C {(exit)} {(3)})
              ]
            )
          spids: [246 251 271 -1]
        )
        (case_arm pat_list:[{(stop)}] action:(NoOp) spids:[274275282-1])
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: 
            (CommandList
              children: [
                (SimpleCommand
                  words: [{(echo)} {(DQ ("Usage: ") ($ VSub_Number "$0") (" start|stop"))}]
                  redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[297])]
                )
                (C {(exit)} {(3)})
              ]
            )
          spids: [285 286 306 -1]
        )
      ]
      spids: [227 233 308]
    )
  ]
)