(command.CommandList
  children: [
    (command.Assignment
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:PATH)
          op: Equal
          rhs: {(DQ ('/sbin:/bin:/usr/sbin:/usr/bin'))}
        )
      ]
    )
    (command.Assignment
      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:NAME) op:Equal rhs:{(DQ (plymouth))})]
    )
    (command.Assignment
      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:DESC) op:Equal rhs:{(DQ ('Boot splash manager'))})]
    )
    (command.AndOr
      ops: [Op_DPipe]
      children: [
        (C {(test)} {(-x)} {(/sbin/plymouthd)})
        (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (C {(Lit_LBracket '[')} {(-r)} {(DQ (/etc/default/) (${ VSub_Name NAME))} 
              {(Lit_RBracket ']')}
            )
          ]
          action: [(C {(.)} {(DQ (/etc/default/) (${ VSub_Name NAME))})]
        )
      ]
    )
    (C {(.)} {(/lib/lsb/init-functions)})
    (C {(set)} {(-e)})
    (command.Assignment
      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:SPLASH) op:Equal rhs:{(DQ (true))})]
    )
    (command.ForEach
      iter_name: ARGUMENT
      iter_words: [
        {
          (word_part.CommandSub
            left_token: <Left_DollarParen '$('>
            command_list: (command.CommandList children:[(C {(cat)} {(/proc/cmdline)})])
          )
        }
      ]
      do_arg_iter: F
      body: 
        (command.DoGroup
          children: [
            (command.Case
              to_match: {(DQ (${ VSub_Name ARGUMENT))}
              arms: [
                (case_arm
                  pat_list: [{(splash) (Lit_Star '*')}]
                  action: [
                    (command.Assignment
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:SPLASH)
                          op: Equal
                          rhs: {(DQ (true))}
                        )
                      ]
                    )
                  ]
                )
                (case_arm
                  pat_list: [{(nosplash) (Lit_Star '*')} {(plymouth.enable) (Lit_Other '=') (0)}]
                  action: [
                    (command.Assignment
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:SPLASH)
                          op: Equal
                          rhs: {(DQ (false))}
                        )
                      ]
                    )
                  ]
                )
              ]
            )
          ]
        )
    )
    (command.Case
      to_match: {(DQ (${ VSub_Number 1))}
      arms: [
        (case_arm
          pat_list: [{(start)}]
          action: [
            (command.Case
              to_match: {(DQ (${ VSub_Name SPLASH))}
              arms: [
                (case_arm
                  pat_list: [{(true)}]
                  action: [(C {(/bin/plymouth)} {(quit)} {(--retain-splash)})]
                )
              ]
            )
          ]
        )
        (case_arm
          pat_list: [{(stop)}]
          action: [
            (command.Case
              to_match: {(DQ (${ VSub_Name SPLASH))}
              arms: [
                (case_arm
                  pat_list: [{(true)}]
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [(command.Pipeline children:[(C {(plymouth)} {(--ping)})] negated:T)]
                          action: [(C {(/sbin/plymouthd)} {(--mode) (Lit_Other '=') (shutdown)})]
                        )
                      ]
                    )
                    (command.Assignment
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:RUNLEVEL)
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.CommandSub
                                  left_token: <Left_DollarParen '$('>
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (command.Pipeline
                                          children: [
                                            (C {(/sbin/runlevel)})
                                            (C {(cut)} {(-d)} {(DQ (' '))} {(-f)} {(2)})
                                          ]
                                          negated: F
                                        )
                                      ]
                                    )
                                )
                              )
                            }
                        )
                      ]
                    )
                    (command.Case
                      to_match: {(DQ (${ VSub_Name RUNLEVEL))}
                      arms: [
                        (case_arm
                          pat_list: [{(0)}]
                          action: [
                            (command.Assignment
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:TEXT)
                                  op: Equal
                                  rhs: {(DQ ('Shutting down system...'))}
                                )
                              ]
                            )
                          ]
                        )
                        (case_arm
                          pat_list: [{(6)}]
                          action: [
                            (command.Assignment
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:TEXT)
                                  op: Equal
                                  rhs: {(DQ ('Restarting system...'))}
                                )
                              ]
                            )
                          ]
                        )
                      ]
                    )
                    (C {(/bin/plymouth)} {(message)} {(--text) (Lit_Other '=') (DQ (${ VSub_Name TEXT))})
                    (C {(/bin/plymouth)} {(--show-splash)})
                  ]
                )
              ]
            )
          ]
        )
        (case_arm pat_list:[{(restart)} {(force-reload)}])
        (case_arm
          pat_list: [{(Lit_Star '*')}]
          action: [
            (command.Simple
              words: [
                {(echo)}
                {(DQ ('Usage: ') (${ VSub_Number 0) (' {start|stop|restart|force-reload}'))}
              ]
              redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
            )
            (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
        )
      ]
    )
    (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)