(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-f>} {<'/etc/init/lxc-android-config.conf'>} 
          {<Id.Lit_RBracket ']'>}
        )
        (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH)
          op: assign_op.Equal
          rhs: 
            {<'/sbin'> <Id.Lit_Colon ':'> <'/usr/sbin'> <Id.Lit_Colon ':'> <'/bin'> <Id.Lit_Colon ':'> 
              <'/usr/bin'>
            }
          spids: [48]
        )
      ]
      redirects: []
    )
    (C {<.>} {<'/lib/init/vars.sh'>})
    (C {<.>} {<'/lib/lsb/init-functions'>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'AVAILABLE='> name:AVAILABLE)
          op: assign_op.Equal
          rhs: {(DQ <'/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors'>)}
          spids: [67]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DOWN_FACTOR='> name:DOWN_FACTOR)
          op: assign_op.Equal
          rhs: {(DQ <'/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor'>)}
          spids: [72]
        )
      ]
      redirects: []
    )
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number 1))}
      arms: [
        (case_arm
          pat_list: [{<start>}]
          action: [
            (C {<start-stop-daemon>} {<--start>} {<--background>} {<--exec>} {<'/etc/init.d/ondemand'>} 
              {<-->} {<background>}
            )
          ]
          spids: [87 88 106 -1]
        )
        (case_arm
          pat_list: [{<background>}]
          action: [
            (C {<sleep>} {<60>})
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<Id.Lit_LBracket '['>} {<-f>} {($ Id.VSub_DollarName AVAILABLE)} 
                  {<Id.Lit_RBracket ']'>}
                )
                (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
              ]
            )
            (command.Simple
              words: [{<read>} {<governors>}]
              redirects: [
                (redir
                  op: <Id.Redir_Less '<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: {($ Id.VSub_DollarName AVAILABLE)}
                )
              ]
              more_env: []
              do_fork: T
            )
            (command.Case
              to_match: {($ Id.VSub_DollarName governors)}
              arms: [
                (case_arm
                  pat_list: [{<Id.Lit_Star '*'> <interactive> <Id.Lit_Star '*'>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GOVERNOR='> name:GOVERNOR)
                          op: assign_op.Equal
                          rhs: {(DQ <interactive>)}
                          spids: [159]
                        )
                      ]
                      redirects: []
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Break break>)
                  ]
                  spids: [153 156 168 -1]
                )
                (case_arm
                  pat_list: [{<Id.Lit_Star '*'> <ondemand> <Id.Lit_Star '*'>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GOVERNOR='> name:GOVERNOR)
                          op: assign_op.Equal
                          rhs: {(DQ <ondemand>)}
                          spids: [177]
                        )
                      ]
                      redirects: []
                    )
                    (command.Case
                      to_match: 
                        {
                          (command_sub
                            left_token: <Id.Left_DollarParen '$('>
                            child: (C {<uname>} {<-m>})
                            right: <Id.Eof_RParen _>
                          )
                        }
                      arms: [
                        (case_arm
                          pat_list: [{<ppc64> <Id.Lit_Star '*'>}]
                          action: [
                            (command.ShAssignment
                              pairs: [
                                (assign_pair
                                  lhs: 
                                    (sh_lhs_expr.Name
                                      left: <Id.Lit_VarLike 'SAMPLING='>
                                      name: SAMPLING
                                    )
                                  op: assign_op.Equal
                                  rhs: {<100>}
                                  spids: [199]
                                )
                              ]
                              redirects: []
                            )
                          ]
                          spids: [194 196 203 -1]
                        )
                      ]
                      redirects: []
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Break break>)
                  ]
                  spids: [171 174 212 -1]
                )
                (case_arm
                  pat_list: [{<Id.Lit_Star '*'> <powersave> <Id.Lit_Star '*'>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'GOVERNOR='> name:GOVERNOR)
                          op: assign_op.Equal
                          rhs: {(DQ <powersave>)}
                          spids: [221]
                        )
                      ]
                      redirects: []
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Break break>)
                  ]
                  spids: [215 218 230 -1]
                )
                (case_arm
                  pat_list: [{<Id.Lit_Star '*'>}]
                  action: [(command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})]
                  spids: [233 234 242 -1]
                )
              ]
              redirects: []
            )
            (command.ForEach
              iter_names: [CPUFREQ]
              iterable: 
                (for_iter.Words
                  words: [
                    {<'/sys/devices/system/cpu/cpu'> <Id.Lit_Star '*'> <'/cpufreq/scaling_governor'>}
                  ]
                )
              body: 
                (command.DoGroup
                  children: [
                    (command.AndOr
                      ops: [Id.Op_DPipe]
                      children: [
                        (C {<Id.Lit_LBracket '['>} {<-f>} {($ Id.VSub_DollarName CPUFREQ)} 
                          {<Id.Lit_RBracket ']'>}
                        )
                        (command.ControlFlow
                          token: <Id.ControlFlow_Continue continue>
                        )
                      ]
                    )
                    (command.Simple
                      words: [{<echo>} {<-n>} {($ Id.VSub_DollarName GOVERNOR)}]
                      redirects: [
                        (redir
                          op: <Id.Redir_Great '>'>
                          loc: (redir_loc.Fd fd:1)
                          arg: {($ Id.VSub_DollarName CPUFREQ)}
                        )
                      ]
                      more_env: []
                      do_fork: T
                    )
                  ]
                )
              redirects: []
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.AndOr
                              ops: [Id.Op_DAmp]
                              children: [
                                (C {<Id.Lit_LBracket '['>} {<-n>} {(DQ ($ Id.VSub_DollarName SAMPLING))} 
                                  {<Id.Lit_RBracket ']'>}
                                )
                                (C {<Id.Lit_LBracket '['>} {<-f>} {($ Id.VSub_DollarName DOWN_FACTOR)} 
                                  {<Id.Lit_RBracket ']'>}
                                )
                              ]
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (command.Simple
                      words: [{<echo>} {<-n>} {($ Id.VSub_DollarName SAMPLING)}]
                      redirects: [
                        (redir
                          op: <Id.Redir_Great '>'>
                          loc: (redir_loc.Fd fd:1)
                          arg: {($ Id.VSub_DollarName DOWN_FACTOR)}
                        )
                      ]
                      more_env: []
                      do_fork: T
                    )
                  ]
                  spids: [290 313]
                )
              ]
              else_action: []
              redirects: []
            )
          ]
          spids: [109 110 330 -1]
        )
        (case_arm
          pat_list: [{<restart>} {<reload>} {<force-reload>}]
          action: [
            (command.Simple
              words: [{<echo>} {(DQ <'Error: argument \''> ($ Id.VSub_Number 1) <'\' not supported'>)}]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              more_env: []
              do_fork: T
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<3>})
          ]
          spids: [333 338 358 -1]
        )
        (case_arm pat_list:[{<stop>}] action:[] spids:[361 362 365 -1])
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (command.Simple
              words: [{<echo>} {(DQ <'Usage: '> ($ Id.VSub_Number 0) <' start|stop'>)}]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              more_env: []
              do_fork: T
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<3>})
          ]
          spids: [368 369 389 -1]
        )
      ]
      redirects: []
    )
  ]
)