(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DIRS='> name:DIRS)
          op: assign_op.Equal
          rhs: {(DQ <'platform kernel usr/lib/security'>)}
          spids: [117]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'n='> name:n)
          op: assign_op.Equal
          rhs: {<0>}
          spids: [126]
        )
      ]
      redirects: []
    )
    (command.Pipeline
      children: [
        (C {<grep>} {<-v>} {(DQ <'^#'>)} {($ Id.VSub_Number 1)})
        (command.WhileUntil
          keyword: <Id.KW_While while>
          cond: (condition.Shell commands:[(C {<read>} {<c>} {<r>})])
          body: 
            (command.DoGroup
              children: [
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: 
                        (sh_lhs_expr.IndexedName
                          left: <Id.Lit_ArrayLhsOpen 'cred['>
                          name: cred
                          index: {($ Id.VSub_DollarName n)}
                        )
                      op: assign_op.Equal
                      rhs: {($ Id.VSub_DollarName c)}
                      spids: [152]
                    )
                  ]
                  redirects: []
                )
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: 
                        (sh_lhs_expr.IndexedName
                          left: <Id.Lit_ArrayLhsOpen 'regex['>
                          name: regex
                          index: {($ Id.VSub_DollarName n)}
                        )
                      op: assign_op.Equal
                      rhs: {($ Id.VSub_DollarName r)}
                      spids: [160]
                    )
                  ]
                  redirects: []
                )
                (command.DParen
                  child: 
                    (arith_expr.BinaryAssign
                      op_id: Id.Arith_Equal
                      left: ($ Id.Lit_ArithVarLike n)
                      right: 
                        (arith_expr.Binary
                          op_id: Id.Arith_Plus
                          left: ($ Id.Lit_ArithVarLike n)
                          right: {<Id.Lit_Digits 1>}
                        )
                    )
                  redirects: []
                )
              ]
            )
          redirects: []
        )
      ]
      negated: F
      stderr_indices: []
    )
    (C {<cd>} {($ Id.VSub_DollarName ROOT)})
    (command.Pipeline
      children: [
        (C {<find>} {($ Id.VSub_DollarName DIRS)} {<-type>} {<f>} {<-print>})
        (command.WhileUntil
          keyword: <Id.KW_While while>
          cond: 
            (condition.Shell
              commands: [(command.Sentence child:(C {<read>} {<f>}) terminator:<Id.Op_Semi _>)]
            )
          body: 
            (command.DoGroup
              children: [
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 's='> name:s)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (command_sub
                            left_token: <Id.Left_Backtick '`'>
                            child: 
                              (command.Simple
                                words: [
                                  {<elfsign>}
                                  {<list>}
                                  {<-f>}
                                  {<signer>}
                                  {<-e>}
                                  {($ Id.VSub_DollarName f)}
                                ]
                                redirects: [
                                  (redir
                                    op: <Id.Redir_Great '2>'>
                                    loc: (redir_loc.Fd fd:2)
                                    arg: {<'/dev/null'>}
                                  )
                                ]
                                more_env: []
                                do_fork: T
                              )
                            right: <Id.Backtick_Right '`'>
                          )
                        }
                      spids: [215]
                    )
                  ]
                  redirects: []
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Binary
                                      op_id: Id.BoolBinary_GlobNEqual
                                      left: {($ Id.VSub_QMark '?')}
                                      right: {<0>}
                                    )
                                  redirects: []
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      action: [(command.ControlFlow token:<Id.ControlFlow_Continue continue>)]
                      spids: [236 249]
                    )
                  ]
                  else_action: []
                  redirects: []
                )
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'i='> name:i)
                      op: assign_op.Equal
                      rhs: {<0>}
                      spids: [263]
                    )
                  ]
                  redirects: []
                )
                (command.WhileUntil
                  keyword: <Id.KW_While while>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: (bool_expr.Binary op_id:Id.BoolBinary_lt left:{<i>} right:{<n>})
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  body: 
                    (command.DoGroup
                      children: [
                        (command.If
                          arms: [
                            (if_arm
                              cond: 
                                (condition.Shell
                                  commands: [
                                    (command.Sentence
                                      child: 
                                        (command.Simple
                                          words: [
                                            {<expr>}
                                            {(DQ ($ Id.VSub_DollarName s))}
                                            {<Id.Lit_Colon ':'>}
                                            {
                                              (DQ <'.*'> 
                                                (braced_var_sub
                                                  left: <Id.Left_DollarBrace '${'>
                                                  token: <Id.VSub_Name regex>
                                                  var_name: regex
                                                  bracket_op: 
                                                    (bracket_op.ArrayIndex
                                                      expr: ($ Id.Lit_ArithVarLike i)
                                                    )
                                                  right: <Id.Right_DollarBrace '}'>
                                                )
                                              )
                                            }
                                          ]
                                          redirects: [
                                            (redir
                                              op: <Id.Redir_Great '>'>
                                              loc: (redir_loc.Fd fd:1)
                                              arg: {<'/dev/null'>}
                                            )
                                          ]
                                          more_env: []
                                          do_fork: T
                                        )
                                      terminator: <Id.Op_Semi _>
                                    )
                                  ]
                                )
                              action: [
                                (C {<echo>} 
                                  {
                                    (DQ 
                                      (braced_var_sub
                                        left: <Id.Left_DollarBrace '${'>
                                        token: <Id.VSub_Name cred>
                                        var_name: cred
                                        bracket_op: 
                                          (bracket_op.ArrayIndex
                                            expr: ($ Id.Lit_ArithVarLike i)
                                          )
                                        right: <Id.Right_DollarBrace '}'>
                                      ) <' '> ($ Id.VSub_DollarName f)
                                    )
                                  }
                                )
                                (command.ControlFlow
                                  token: <Id.ControlFlow_Break break>
                                )
                              ]
                              spids: [283 307]
                            )
                          ]
                          else_action: []
                          redirects: []
                        )
                        (command.DParen
                          child: 
                            (arith_expr.BinaryAssign
                              op_id: Id.Arith_Equal
                              left: ($ Id.Lit_ArithVarLike i)
                              right: 
                                (arith_expr.Binary
                                  op_id: Id.Arith_Plus
                                  left: ($ Id.Lit_ArithVarLike i)
                                  right: {<Id.Lit_Digits 1>}
                                )
                            )
                          redirects: []
                        )
                      ]
                    )
                  redirects: []
                )
              ]
            )
          redirects: []
        )
      ]
      negated: F
      stderr_indices: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)