(CommandList
  children: [
    (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: [34]
        )
      ]
      spids: [34]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LeftVar name:NAME) rhs:{(binfmt-support)} spids:[47])]
      spids: [47]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LeftVar name:DESC)
          rhs: {(DQ ("additional executable binary formats"))}
          spids: [50]
        )
      ]
      spids: [50]
    )
    (If
      arms: [
        (if_arm
          cond: 
            (Sentence
              command: 
                (C {(Lit_Other "[")} {(DQ (CommandSubPart command_list:(C {(uname)}) spids:[6163]))} 
                  {(KW_Bang "!") (Lit_Other "=")} {(Linux)} {(Lit_Other "]")}
                )
              terminator: <Op_Semi ";">
            )
          action: (C {(exit)} {(0)})
          spids: [-1 74]
        )
      ]
      spids: [-1 81]
    )
    (AndOr
      children: [
        (SimpleCommand
          words: [{(which)} {(update-binfmts)}]
          redirects: [
            (Redirect op_id:Redir_Great arg_word:{(/dev/null)} fd:-1 spids:[88])
            (Redirect op_id:Redir_GreatAnd arg_word:{(1)} fd:2 spids:[91])
          ]
        )
        (C {(exit)} {(0)})
      ]
      op_id: Op_DPipe
    )
    (C {(.)} {(/lib/lsb/init-functions)})
    (AndOr
      children: [
        (C {(Lit_Other "[")} {(-r)} {(/etc/default/rcS)} {(Lit_Other "]")})
        (C {(.)} {(/etc/default/rcS)})
      ]
      op_id: Op_DAmp
    )
    (C {(set)} {(-e)})
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LeftVar name:CODE) rhs:{(0)} spids:[124])]
      spids: [124]
    )
    (Case
      to_match: {(DQ ($ VSub_Number "$1"))}
      arms: [
        (case_arm
          pat_list: [{(start)}]
          action: 
            (CommandList
              children: [
                (If
                  arms: [
                    (if_arm
                      cond: (Sentence command:(C {(init_is_upstart)}) terminator:<Op_Semi ";">)
                      action: (C {(exit)} {(1)})
                      spids: [-1 146]
                    )
                  ]
                  spids: [-1 154]
                )
                (C {(log_daemon_msg)} {(DQ ("Enabling ") ($ VSub_Name "$DESC"))} 
                  {(DQ ($ VSub_Name "$NAME"))}
                )
                (AndOr
                  children: [
                    (C {(update-binfmts)} {(--enable)})
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LeftVar name:CODE)
                          rhs: {($ VSub_QMark "$?")}
                          spids: [175]
                        )
                      ]
                      spids: [175]
                    )
                  ]
                  op_id: Op_DPipe
                )
                (C {(log_end_msg)} {($ VSub_Name "$CODE")})
                (C {(exit)} {($ VSub_Name "$CODE")})
              ]
            )
          spids: [137 138 189 -1]
        )
        (case_arm
          pat_list: [{(stop)}]
          action: 
            (CommandList
              children: [
                (If
                  arms: [
                    (if_arm
                      cond: (Sentence command:(C {(init_is_upstart)}) terminator:<Op_Semi ";">)
                      action: (C {(exit)} {(0)})
                      spids: [-1 202]
                    )
                  ]
                  spids: [-1 210]
                )
                (C {(log_daemon_msg)} {(DQ ("Disabling ") ($ VSub_Name "$DESC"))} 
                  {(DQ ($ VSub_Name "$NAME"))}
                )
                (AndOr
                  children: [
                    (C {(update-binfmts)} {(--disable)})
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LeftVar name:CODE)
                          rhs: {($ VSub_QMark "$?")}
                          spids: [231]
                        )
                      ]
                      spids: [231]
                    )
                  ]
                  op_id: Op_DPipe
                )
                (C {(log_end_msg)} {($ VSub_Name "$CODE")})
                (C {(exit)} {($ VSub_Name "$CODE")})
              ]
            )
          spids: [193 194 245 -1]
        )
        (case_arm
          pat_list: [{(restart)} {(force-reload)}]
          action: 
            (CommandList
              children: [
                (If
                  arms: [
                    (if_arm
                      cond: (Sentence command:(C {(init_is_upstart)}) terminator:<Op_Semi ";">)
                      action: (C {(exit)} {(1)})
                      spids: [-1 260]
                    )
                  ]
                  spids: [-1 268]
                )
                (C {($ VSub_Number "$0")} {(stop)})
                (C {($ VSub_Number "$0")} {(start)})
              ]
            )
          spids: [249 252 281 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: 
            (CommandList
              children: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LeftVar name:N)
                      rhs: {(/etc/init.d/) ($ VSub_Name "$NAME")}
                      spids: [289]
                    )
                  ]
                  spids: [289]
                )
                (SimpleCommand
                  words: [
                    {(echo)}
                    {(DQ ("Usage: ") ($ VSub_Name "$N") (" {start|stop|restart|force-reload}"))}
                  ]
                  redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[302])]
                )
                (C {(exit)} {(1)})
              ]
            )
          spids: [285 286 311 -1]
        )
      ]
      spids: [128 134 313]
    )
    (C {(exit)} {(0)})
  ]
)