(command.CommandList
  children: [
    (command.FuncDef
      name: usage
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:USAGE spids:[35])
                  op: Equal
                  rhs: 
                    {
                      (DQ ('Usage: ') ($ VSub_Number '$0') 
                        (' i386|amd64 [target dir] [be|dev|<stable version>]]') (Lit_Other '\\') ('n\n') (Lit_Other '\\') ('n\n') 
                        ('The first mandatory argument speciifies the CPU architecture using') (Lit_Other '\\') ('n\n') ('the Debian convention (e.g. i386 and amd64).') (Lit_Other '\\') ('n\n') 
                        (Lit_Other '\\') ('n\n') ('The second optional argument specifies the destination') (Lit_Other '\\') ('n\n') 
                        ("directory. This defaults to 'debian_<architecture>'.") (Lit_Other '\\') ('n\n') (Lit_Other '\\') ('n\n') 
                        ('The third optional argument specifies whether the chroot is') (Lit_Other '\\') ('n\n') ("populated with a Dart checkout. Use 'be' for bleeding edge, 'dev'") 
                        (Lit_Other '\\') ('n\n') ('for trunk/developer or the specific version number for a stable') (Lit_Other '\\') ('n\n') 
                        ('version (e.g. 1.2).')
                      )
                    }
                  spids: [35]
                )
              ]
              spids: [35]
            )
            (C {(echo)} {(-e)} {($ VSub_DollarName '$USAGE')})
            (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [32]
        )
      spids: [28 31]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-lt)} {(1)} {(Lit_Other ']')})
                (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-gt)} {(3)} {(Lit_Other ']')})
              ]
            )
          ]
          action: [(C {(usage)})]
          spids: [16777215 118]
        )
      ]
      spids: [16777215 123]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:ARCH spids:[126])
          op: Equal
          rhs: {($ VSub_Number '$1')}
          spids: [126]
        )
      ]
      spids: [126]
    )
    (command.If
      arms: [
        (if_arm
          cond: [(C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')})]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:CHROOT spids:[145])
                  op: Equal
                  rhs: {($ VSub_Number '$2')}
                  spids: [145]
                )
              ]
              spids: [145]
            )
          ]
          spids: [16777215 142]
        )
      ]
      else_action: [
        (command.Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (lhs_expr.LhsName name:CHROOT spids:[151])
              op: Equal
              rhs: {(debian_) ($ VSub_DollarName '$ARCH')}
              spids: [151]
            )
          ]
          spids: [151]
        )
      ]
      spids: [148 155]
    )
    (command.If
      arms: [
        (if_arm
          cond: [(C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Number '$3'))} {(Lit_Other ']')})]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:CHANNEL spids:[173])
                  op: Equal
                  rhs: {($ VSub_Number '$3')}
                  spids: [173]
                )
              ]
              spids: [173]
            )
          ]
          spids: [16777215 170]
        )
      ]
      spids: [16777215 176]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} {(KW_Bang '!') (Lit_Other '=')} 
                  {(DQ (i386))} {(Lit_Other ']')}
                )
                (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} {(KW_Bang '!') (Lit_Other '=')} 
                  {(DQ (amd64))} {(Lit_Other ']')}
                )
              ]
            )
          ]
          action: [(C {(usage)})]
          spids: [16777215 213]
        )
      ]
      spids: [16777215 218]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:SVN_REPRO spids:[221])
          op: Equal
          rhs: {(DQ ('http://dart.googlecode.com/svn/'))}
          spids: [221]
        )
      ]
      spids: [221]
    )
    (command.If
      arms: [
        (if_arm
          cond: [(C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$CHANNEL'))} {(Lit_Other ']')})]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$CHANNEL'))} 
                      {(Lit_Other '=') (Lit_Other '=')} {(DQ (be))} {(Lit_Other ']')}
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:SVN_PATH spids:[262])
                          op: Equal
                          rhs: {(DQ (branches/bleeding_edge/deps/all.deps))}
                          spids: [262]
                        )
                      ]
                      spids: [262]
                    )
                  ]
                  spids: [16777215 259]
                )
                (if_arm
                  cond: [
                    (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$CHANNEL'))} 
                      {(Lit_Other '=') (Lit_Other '=')} {(DQ (dev))} {(Lit_Other ']')}
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:SVN_PATH spids:[289])
                          op: Equal
                          rhs: {(DQ (trunk/deps/all.deps))}
                          spids: [289]
                        )
                      ]
                      spids: [289]
                    )
                  ]
                  spids: [268 286]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:SVN_PATH spids:[298])
                      op: Equal
                      rhs: {(DQ (branches/) ($ VSub_DollarName '$CHANNEL') (/deps/all.deps))}
                      spids: [298]
                    )
                  ]
                  spids: [298]
                )
              ]
              spids: [295 306]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:SRC_URI spids:[309])
                  op: Equal
                  rhs: {($ VSub_DollarName '$SVN_REPRO') ($ VSub_DollarName '$SVN_PATH')}
                  spids: [309]
                )
              ]
              spids: [309]
            )
          ]
          spids: [16777215 238]
        )
      ]
      spids: [16777215 313]
    )
    (C {(debootstrap)} {(--arch) (Lit_Other '=') ($ VSub_DollarName '$ARCH')} 
      {(--components) (Lit_Other '=') (main) (Lit_Comma ',') (restricted) (Lit_Comma ',') (universe) 
        (Lit_Comma ',') (multiverse)
      } {(wheezy)} {($ VSub_DollarName '$CHROOT')} {(http) (Lit_Other ':') (//http.us.debian.org/debian/)}
    )
    (C {(chroot)} {($ VSub_DollarName '$CHROOT')} {(apt-get)} {(update)})
    (C {(chroot)} {($ VSub_DollarName '$CHROOT')} {(apt-get)} {(-y)} {(install)} {(debhelper)} {(python)} 
      {(git)} {(gcc)} {(sudo)} {(make)}
    )
    (C {(chroot)} {($ VSub_DollarName '$CHROOT')} {(groupadd)} {(--gid)} {(1001)} {(chrome-bot)})
    (C {(chroot)} {($ VSub_DollarName '$CHROOT')} {(useradd)} {(--gid)} {(1001)} {(--uid)} {(1001)} 
      {(--create-home)} {(chrome-bot)}
    )
    (C {(mkdir)} {($ VSub_DollarName '$CHROOT') (/b)})
    (C {(chown)} {(1001) (Lit_Other ':') (1001)} {($ VSub_DollarName '$CHROOT') (/b)})
    (command.SimpleCommand
      words: [{(cat)}]
      redirects: [
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(EOF)}
          here_end_span_id: 443
          stdin_parts: [('#!/bin/sh\n') ('su -c /b/init_chroot.sh chrome-bot\n')]
        )
        (redir.Redir
          op: <Redir_Great '>'>
          fd: 16777215
          arg_word: {($ VSub_DollarName '$CHROOT') (/b/init_chroot_trampoline.sh)}
        )
      ]
    )
    (command.SimpleCommand
      words: [{(cat)}]
      redirects: [
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(SQ <EOF>)}
          here_end_span_id: 463
          stdin_parts: [('#!/bin/sh\n') ('cd /b\n')]
        )
        (redir.Redir
          op: <Redir_Great '>'>
          fd: 16777215
          arg_word: {($ VSub_DollarName '$CHROOT') (/b/init_chroot.sh)}
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [(C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$SRC_URI'))} {(Lit_Other ']')})]
          action: [
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(SQ <EOF>)}
                  here_end_span_id: 503
                  stdin_parts: [
                    (
'git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git\n'
                    )
                    ('export PATH=$PATH:/b/depot_tools\n')
                  ]
                )
                (redir.Redir
                  op: <Redir_DGreat '>>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$CHROOT') (/b/init_chroot.sh)}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 522
                  stdin_parts: [
                    ('gclient config ')
                    ($ VSub_DollarName '$SRC_URI')
                    ('\n')
                    ('gclient sync\n')
                    ('gclient runhooks\n')
                  ]
                )
                (redir.Redir
                  op: <Redir_DGreat '>>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$CHROOT') (/b/init_chroot.sh)}
                )
              ]
            )
          ]
          spids: [16777215 486]
        )
      ]
      spids: [16777215 523]
    )
    (C {(chmod)} {(755)} {($ VSub_DollarName '$CHROOT') (/b/init_chroot_trampoline.sh)})
    (C {(chown)} {(1001) (Lit_Other ':') (1001)} {($ VSub_DollarName '$CHROOT') (/b/init_chroot.sh)})
    (C {(chmod)} {(755)} {($ VSub_DollarName '$CHROOT') (/b/init_chroot.sh)})
    (C {(chroot)} {($ VSub_DollarName '$CHROOT')} {(/bin/sh)} {(/b/init_chroot_trampoline.sh)})
  ]
)