(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<test>} {<-f>} {<'/usr/bin/loadkeys'>})
        (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: [62 73]
        )
      ]
      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: [96 107]
        )
      ]
      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: [147 162]
                    )
                  ]
                  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:[196 199 206 -1])
        (case_arm
          pat_list: [{<start>} {<force-reload>} {<restart>} {<reload>}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: (C {<loadkeys>} {<'/etc/console-setup/cached.kmap.gz'>})
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<log_action_end_msg>} {<0>})]
                  spids: [219 227]
                )
              ]
              else_action: [(C {<log_action_end_msg>} {($ Id.VSub_QMark '?')})]
              redirects: []
            )
          ]
          spids: [209 216 246 -1]
        )
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (C {<echo>} 
              {
                (SQ 
                  <
'Usage: /etc/init.d/console-setup {start|reload|restart|force-reload|stop|status}'
                  >
                )
              }
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [249 250 265 -1]
        )
      ]
      redirects: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)