(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<test>} {<-f>} {<'/bin/setupcon'>})
        (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {<-f>} {<'/etc/default/locale'>} {<Id.Lit_RBracket ']'>})
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [(C {<.>} {<'/etc/default/locale'>}) (C {<export>} {<LANG>})]
          spids: [74 85]
        )
      ]
      else_action: []
      redirects: []
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {<-f>} {<'/lib/lsb/init-functions'>} 
                      {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [(C {<.>} {<'/lib/lsb/init-functions'>})]
          spids: [108 119]
        )
      ]
      else_action: [
        (command.ShFunction
          name: log_action_begin_msg
          body: 
            (BraceGroup
              left: <Id.Lit_LBrace '{'>
              children: [(C {<echo>} {<-n>} {(DQ ($ Id.VSub_At '@') <'... '>)})]
              redirects: []
              right: <Id.Lit_RBrace '}'>
            )
        )
        (command.ShFunction
          name: log_action_end_msg
          body: 
            (BraceGroup
              left: <Id.Lit_LBrace '{'>
              children: [
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.Sentence
                              child: 
                                (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_Number 1))} {<-eq>} {<0>} 
                                  {<Id.Lit_RBracket ']'>}
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      action: [(C {<echo>} {<done.>})]
                      spids: [159 174]
                    )
                  ]
                  else_action: [(C {<echo>} {<failed.>})]
                  redirects: []
                )
              ]
              redirects: []
              right: <Id.Lit_RBrace '}'>
            )
        )
      ]
      redirects: []
    )
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number 1))}
      arms: [
        (case_arm pat_list:[{<stop>} {<status>}] action:[] spids:[208 211 218 -1])
        (case_arm
          pat_list: [{<start>} {<force-reload>} {<restart>} {<reload>}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.AndOr
                              ops: [Id.Op_DPipe]
                              children: [
                                (command.Pipeline
                                  children: [
                                    (command.Simple
                                      words: [{<type>} {<plymouth>}]
                                      redirects: [
                                        (redir
                                          op: <Id.Redir_Great '>'>
                                          loc: (redir_loc.Fd fd:1)
                                          arg: {<'/dev/null'>}
                                        )
                                      ]
                                      more_env: []
                                      do_fork: T
                                    )
                                  ]
                                  negated: T
                                  stderr_indices: []
                                )
                                (command.Pipeline
                                  children: [(C {<plymouth>} {<--ping>})]
                                  negated: T
                                  stderr_indices: []
                                )
                              ]
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (C {<log_action_begin_msg>} {(DQ <'Setting preliminary keymap'>)})
                    (command.If
                      arms: [
                        (if_arm
                          cond: 
                            (condition.Shell
                              commands: [
                                (command.Sentence
                                  child: 
                                    (command.Simple
                                      words: [{<setupcon>} {<-k>} {<--force>}]
                                      redirects: [
                                        (redir
                                          op: <Id.Redir_Great '2>'>
                                          loc: (redir_loc.Fd fd:2)
                                          arg: {<'/dev/null'>}
                                        )
                                      ]
                                      more_env: []
                                      do_fork: T
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          action: [(C {<log_action_end_msg>} {<0>})]
                          spids: [269 281]
                        )
                      ]
                      else_action: [(C {<log_action_end_msg>} {($ Id.VSub_QMark '?')})]
                      redirects: []
                    )
                  ]
                  spids: [239 259]
                )
              ]
              else_action: []
              redirects: []
            )
          ]
          spids: [221 228 303 -1]
        )
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (C {<echo>} 
              {
                (SQ 
                  <
'Usage: /etc/init.d/keyboard-setup {start|reload|restart|force-reload|stop|status}'
                  >
                )
              }
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [306 307 322 -1]
        )
      ]
      redirects: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)