(CommandList
  children: [
    (C {(set)} {(-e)})
    (AndOr children:[(C {(test)} {(-f)} {(/bin/setupcon)})(C {(exit)} {(0)})] op_id:Op_DPipe)
    (If
      arms: [
        (if_arm
          cond: 
            (Sentence
              command: (C {(Lit_Other "[")} {(-f)} {(/lib/lsb/init-functions)} {(Lit_Other "]")})
              terminator: <Op_Semi ";">
            )
          action: (C {(.)} {(/lib/lsb/init-functions)})
          spids: [-1 73]
        )
      ]
      else_action: 
        (CommandList
          children: [
            (FuncDef
              name: log_action_begin_msg
              body: 
                (BraceGroup
                  children: [(C {(echo)} {(-n)} {(DQ ($ VSub_At "$@") ("... "))})]
                  spids: [88]
                )
              spids: [83 87]
            )
            (FuncDef
              name: log_action_end_msg
              body: 
                (BraceGroup
                  children: [
                    (If
                      arms: [
                        (if_arm
                          cond: 
                            (Sentence
                              command: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Number "$1"))} {(-eq)} {(0)} 
                                  {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          action: (C {(echo)} {(done.)})
                          spids: [-1 128]
                        )
                      ]
                      else_action: (C {(echo)} {(failed.)})
                      spids: [137 145]
                    )
                  ]
                  spids: [110]
                )
              spids: [105 109]
            )
          ]
        )
      spids: [80 150]
    )
    (FuncDef
      name: run_by_init
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (Subshell
                  children: [
                    (AndOr
                      children: [
                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$previous"))} {(Lit_Other "]")})
                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$runlevel"))} {(Lit_Other "]")})
                      ]
                      op_id: Op_DAmp
                    )
                  ]
                  spids: [163 181]
                )
                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$runlevel"))} {(Lit_Other "=")} {(S)} 
                  {(Lit_Other "]")}
                )
              ]
              op_id: Op_DPipe
            )
          ]
          spids: [160]
        )
      spids: [156 159]
    )
    (Case
      to_match: {(DQ ($ VSub_Number "$1"))}
      arms: [
        (case_arm pat_list:[{(stop)}] action:(NoOp) spids:[209210217-1])
        (case_arm
          pat_list: [{(start)} {(force-reload)} {(restart)} {(reload)}]
          action: 
            (If
              arms: [
                (if_arm
                  cond: 
                    (Sentence
                      command: 
                        (AndOr
                          children: [
                            (SimpleCommand
                              words: [
                                {(expr)}
                                {
                                  (DQ 
                                    (CommandSubPart
                                      command_list: 
                                        (AndOr
                                          children: [
                                            (SimpleCommand
                                              words: [{(fgconsole)}]
                                              redirects: [
                                                (Redirect
                                                  op_id: Redir_Great
                                                  arg_word: {(/dev/null)}
                                                  fd: 2
                                                  spids: [238]
                                                )
                                              ]
                                            )
                                            (C {(true)})
                                          ]
                                          op_id: Op_DPipe
                                        )
                                      spids: [235 244]
                                    )
                                  )
                                }
                                {(Lit_Other ":")}
                                {(SQ <"[1-6]$">)}
                              ]
                              redirects: [
                                (Redirect
                                  op_id: Redir_Great
                                  arg_word: {(/dev/null)}
                                  fd: -1
                                  spids: [253]
                                )
                              ]
                            )
                            (Subshell
                              children: [
                                (AndOr
                                  children: [
                                    (Pipeline
                                      children: [
                                        (SimpleCommand
                                          words: [{(type)} {(plymouth)}]
                                          redirects: [
                                            (Redirect
                                              op_id: Redir_Great
                                              arg_word: {(/dev/null)}
                                              fd: -1
                                              spids: [267]
                                            )
                                          ]
                                        )
                                      ]
                                      negated: True
                                    )
                                    (Pipeline
                                      children: [(C {(plymouth)} {(--ping)})]
                                      negated: True
                                    )
                                  ]
                                  op_id: Op_DPipe
                                )
                              ]
                              spids: [260 277]
                            )
                          ]
                          op_id: Op_DAmp
                        )
                      terminator: <Op_Semi ";">
                    )
                  action: 
                    (CommandList
                      children: [
                        (C {(log_action_begin_msg)} {(DQ ("Setting up console font and keymap"))})
                        (If
                          arms: [
                            (if_arm
                              cond: (Sentence command:(C {(run_by_init)}) terminator:<Op_Semi ";">)
                              action: 
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LeftVar name:save)
                                      rhs: {(SQ )}
                                      spids: [314]
                                    )
                                  ]
                                  spids: [314]
                                )
                              spids: [-1 311]
                            )
                          ]
                          else_action: 
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LeftVar name:save)
                                  rhs: {(--save)}
                                  spids: [320]
                                )
                              ]
                              spids: [320]
                            )
                          spids: [317 324]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: 
                                (Sentence
                                  command: (C {(setupcon)} {(--force)} {($ VSub_Name "$save")})
                                  terminator: <Op_Semi ";">
                                )
                              action: (C {(log_action_end_msg)} {(0)})
                              spids: [-1 336]
                            )
                          ]
                          else_action: (C {(log_action_end_msg)} {($ VSub_QMark "$?")})
                          spids: [344 352]
                        )
                      ]
                    )
                  spids: [-1 280]
                )
                (if_arm
                  cond: 
                    (Sentence
                      command: (Pipeline children:[(C {(run_by_init)})] negated:True)
                      terminator: <Op_Semi ";">
                    )
                  action: 
                    (CommandList
                      children: [
                        (C {(log_action_begin_msg)} 
                          {(DQ ("Saving console font and keymap for next boot"))}
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: 
                                (Sentence
                                  command: (C {(setupcon)} {(--save-only)})
                                  terminator: <Op_Semi ";">
                                )
                              action: (C {(log_action_end_msg)} {(0)})
                              spids: [-1 379]
                            )
                          ]
                          else_action: (C {(log_action_end_msg)} {($ VSub_QMark "$?")})
                          spids: [387 395]
                        )
                      ]
                    )
                  spids: [355 362]
                )
              ]
              spids: [-1 398]
            )
          spids: [220 227 401 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: 
            (CommandList
              children: [
                (C {(echo)} 
                  {
                    (SQ <"Usage: /etc/init.d/console-setup {start|reload|restart|force-reload|stop}">)
                  }
                )
                (C {(exit)} {(1)})
              ]
            )
          spids: [404 405 420 -1]
        )
      ]
      spids: [200 206 422]
    )
  ]
)