(CommandList
  children: [
    (C {(set)} {(-e)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LeftVar name:PATH)
          rhs: 
            {(/usr/local/sbin) (Lit_Other ":") (/usr/local/bin) (Lit_Other ":") (/sbin) (Lit_Other ":") 
              (/bin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/usr/bin)
            }
          spids: [41]
        )
      ]
      spids: [41]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LeftVar name:NAME) rhs:{(DQ (unattended-upgrades))} spids:[55])]
      spids: [55]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LeftVar name:DESC)
          rhs: {(DQ ("unattended package upgrades"))}
          spids: [60]
        )
      ]
      spids: [60]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LeftVar name:SCRIPTNAME)
          rhs: {(DQ (/etc/init.d/) ($ VSub_Name "$NAME"))}
          spids: [65]
        )
      ]
      spids: [65]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LeftVar name:SHUTDOWN_HELPER)
          rhs: {(DQ (/usr/share/unattended-upgrades/unattended-upgrade-shutdown))}
          spids: [71]
        )
      ]
      spids: [71]
    )
    (If
      arms: [
        (if_arm
          cond: 
            (Sentence
              command: (C {(Lit_Other "[")} {(-x)} {(/usr/bin/python3)} {(Lit_Other "]")})
              terminator: <Op_Semi ";">
            )
          action: 
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LeftVar name:PYTHON) rhs:{(python3)} spids:[91])]
              spids: [91]
            )
          spids: [-1 88]
        )
      ]
      else_action: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LeftVar name:PYTHON) rhs:{(python)} spids:[97])]
          spids: [97]
        )
      spids: [94 100]
    )
    (C {(.)} {(/lib/init/vars.sh)})
    (C {(.)} {(/lib/lsb/init-functions)})
    (Case
      to_match: {(DQ ($ VSub_Number "$1"))}
      arms: [
        (case_arm
          pat_list: [{(start)} {(restart)} {(force-reload)} {(status)}]
          action: (NoOp)
          spids: [130 137 144 -1]
        )
        (case_arm
          pat_list: [{(stop)}]
          action: 
            (If
              arms: [
                (if_arm
                  cond: 
                    (Sentence
                      command: 
                        (C {(Lit_Other "[")} {(-e)} {($ VSub_Name "$SHUTDOWN_HELPER")} {(Lit_Other "]")})
                      terminator: <Op_Semi ";">
                    )
                  action: 
                    (CommandList
                      children: [
                        (AndOr
                          children: [
                            (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} 
                              {(KW_Bang "!") (Lit_Other "=")} {(DQ (no))} {(Lit_Other "]")}
                            )
                            (C {(log_action_begin_msg)} 
                              {(DQ ("Checking for running ") ($ VSub_Name "$DESC"))}
                            )
                          ]
                          op_id: Op_DAmp
                        )
                        (C {($ VSub_Name "$PYTHON")} {($ VSub_Name "$SHUTDOWN_HELPER")})
                        (AndOr
                          children: [
                            (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} 
                              {(KW_Bang "!") (Lit_Other "=")} {(DQ (no))} {(Lit_Other "]")}
                            )
                            (C {(log_action_end_msg)} {($ VSub_QMark "$?")} {(DQ ($ VSub_Name "$NAME"))})
                          ]
                          op_id: Op_DAmp
                        )
                      ]
                    )
                  spids: [-1 161]
                )
              ]
              spids: [-1 220]
            )
          spids: [146 147 223 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: 
            (CommandList
              children: [
                (SimpleCommand
                  words: [
                    {(echo)}
                    {
                      (DQ ("Usage: ") ($ VSub_Name "$SCRIPTNAME") 
                        (" {start|stop|status|restart|force-reload}")
                      )
                    }
                  ]
                  redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[237])]
                )
                (C {(exit)} {(3)})
              ]
            )
          spids: [225 226 246 -1]
        )
      ]
      spids: [122 128 248]
    )
    (C {(Lit_Other ":")})
  ]
)