(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:PATH)
          op: assign_op.Equal
          rhs: 
            {(/usr/local/sbin) (Id.Lit_Other ':') (/usr/local/bin) (Id.Lit_Other ':') (/sbin) 
              (Id.Lit_Other ':') (/bin) (Id.Lit_Other ':') (/usr/sbin) (Id.Lit_Other ':') (/usr/bin)
            }
          spids: [34]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:NAME)
          op: assign_op.Equal
          rhs: {(binfmt-support)}
          spids: [47]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:DESC)
          op: assign_op.Equal
          rhs: {(DQ ('additional executable binary formats'))}
          spids: [50]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Id.Lit_LBracket '[')} 
                  {
                    (DQ 
                      (command_sub
                        left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:61)
                        command_list: (command.CommandList children:[(C {(uname)})])
                      )
                    )
                  } {(Id.KW_Bang '!') (Id.Lit_Equals '=')} {(Linux)} {(Id.Lit_RBracket ']')}
                )
              terminator: (Token id:Id.Op_Semi val:';' span_id:72)
            )
          ]
          action: [
            (command.ControlFlow
              token: (Token id:Id.ControlFlow_Exit val:exit span_id:77)
              arg_word: {(0)}
            )
          ]
          spids: [56 74]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.Simple
          words: [{(which)} {(update-binfmts)}]
          redirects: [
            (redir.Redir
              op: (Token id:Id.Redir_Great val:'>' span_id:88)
              fd: -1
              arg_word: {(/dev/null)}
            )
            (redir.Redir
              op: (Token id:Id.Redir_GreatAnd val:'2>&' span_id:91)
              fd: 2
              arg_word: {(1)}
            )
          ]
        )
        (command.ControlFlow
          token: (Token id:Id.ControlFlow_Exit val:exit span_id:96)
          arg_word: {(0)}
        )
      ]
    )
    (C {(.)} {(/lib/lsb/init-functions)})
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {(Id.Lit_LBracket '[')} {(-r)} {(/etc/default/rcS)} {(Id.Lit_RBracket ']')})
        (C {(.)} {(/etc/default/rcS)})
      ]
    )
    (C {(Id.KW_Set set)} {(-e)})
    (command.ShAssignment
      pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:CODE) op:assign_op.Equal rhs:{(0)} spids:[124])]
    )
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number '$1'))}
      arms: [
        (case_arm
          pat_list: [{(start)}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(init_is_upstart)})
                      terminator: (Token id:Id.Op_Semi val:';' span_id:144)
                    )
                  ]
                  action: [
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Exit val:exit span_id:149)
                      arg_word: {(1)}
                    )
                  ]
                  spids: [141 146]
                )
              ]
            )
            (C {(log_daemon_msg)} {(DQ ('Enabling ') ($ Id.VSub_DollarName '$DESC'))} 
              {(DQ ($ Id.VSub_DollarName '$NAME'))}
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {(update-binfmts)} {(--enable)})
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:CODE)
                      op: assign_op.Equal
                      rhs: {($ Id.VSub_QMark '$?')}
                      spids: [175]
                    )
                  ]
                )
              ]
            )
            (C {(log_end_msg)} {($ Id.VSub_DollarName '$CODE')})
            (command.ControlFlow
              token: (Token id:Id.ControlFlow_Exit val:exit span_id:184)
              arg_word: {($ Id.VSub_DollarName '$CODE')}
            )
          ]
          spids: [137 138 189 -1]
        )
        (case_arm
          pat_list: [{(stop)}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(init_is_upstart)})
                      terminator: (Token id:Id.Op_Semi val:';' span_id:200)
                    )
                  ]
                  action: [
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Exit val:exit span_id:205)
                      arg_word: {(0)}
                    )
                  ]
                  spids: [197 202]
                )
              ]
            )
            (C {(log_daemon_msg)} {(DQ ('Disabling ') ($ Id.VSub_DollarName '$DESC'))} 
              {(DQ ($ Id.VSub_DollarName '$NAME'))}
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {(update-binfmts)} {(--disable)})
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:CODE)
                      op: assign_op.Equal
                      rhs: {($ Id.VSub_QMark '$?')}
                      spids: [231]
                    )
                  ]
                )
              ]
            )
            (C {(log_end_msg)} {($ Id.VSub_DollarName '$CODE')})
            (command.ControlFlow
              token: (Token id:Id.ControlFlow_Exit val:exit span_id:240)
              arg_word: {($ Id.VSub_DollarName '$CODE')}
            )
          ]
          spids: [193 194 245 -1]
        )
        (case_arm
          pat_list: [{(restart)} {(force-reload)}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (C {(init_is_upstart)})
                      terminator: (Token id:Id.Op_Semi val:';' span_id:258)
                    )
                  ]
                  action: [
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Exit val:exit span_id:263)
                      arg_word: {(1)}
                    )
                  ]
                  spids: [255 260]
                )
              ]
            )
            (C {($ Id.VSub_Number '$0')} {(stop)})
            (C {($ Id.VSub_Number '$0')} {(start)})
          ]
          spids: [249 252 281 -1]
        )
        (case_arm
          pat_list: [{(Id.Lit_Star '*')}]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:N)
                  op: assign_op.Equal
                  rhs: {(/etc/init.d/) ($ Id.VSub_DollarName '$NAME')}
                  spids: [289]
                )
              ]
            )
            (command.Simple
              words: [
                {(echo)}
                {(DQ ('Usage: ') ($ Id.VSub_DollarName '$N') (' {start|stop|restart|force-reload}'))}
              ]
              redirects: [
                (redir.Redir
                  op: (Token id:Id.Redir_GreatAnd val:'>&' span_id:302)
                  fd: -1
                  arg_word: {(2)}
                )
              ]
            )
            (command.ControlFlow
              token: (Token id:Id.ControlFlow_Exit val:exit span_id:306)
              arg_word: {(1)}
            )
          ]
          spids: [285 286 311 -1]
        )
      ]
    )
    (command.ControlFlow token:(Token id:Id.ControlFlow_Exit val:exit span_id:316) arg_word:{(0)})
  ]
)