(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  children: [
                    (C {(test)} {($ VSub_Pound "$#")} {(KW_Bang "!") (Lit_Other "=")} {(1)})
                    (C {(test)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Number 1>
                            suffix_op: 
                              (PatSub
                                pat: {(EscapedLiteralPart token:<Lit_EscapedChar "\\/">)}
                                replace: {(SQ )}
                                do_all: False
                                do_prefix: False
                                do_suffix: False
                              )
                            spids: [46 51]
                          )
                        )
                      } {(KW_Bang "!") (Lit_Other "=")} {(DQ ($ VSub_Number "$1"))}
                    )
                  ]
                  op_id: Op_DPipe
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ ("Usage: ") ($ VSub_Number "$0") 
                    (": {python2.7-static|stackless2.7-static|stacklessco2.7-static}")
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[73])]
            )
            (C {(exit)} {(1)})
          ]
          spids: [-1 62]
        )
      ]
      spids: [-1 81]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(test)} 
                  {
                    (DQ 
                      (CommandSubPart
                        command_list: (CommandList children:[(C {(uname)})])
                        left_token: <Left_Backtick "`">
                        spids: [88 90]
                      )
                    )
                  } {(Lit_Other "=")} {(Darwin)}
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:URL)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (
"https://raw.githubusercontent.com/pts/staticpython/master/release.darwin/"
                        ) ($ VSub_Number "$1")
                      )
                    }
                  spids: [101]
                )
              ]
              spids: [101]
            )
          ]
          spids: [-1 98]
        )
      ]
      else_action: [
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:URL)
              op: Equal
              rhs: 
                {
                  (DQ ("https://raw.githubusercontent.com/pts/staticpython/master/release/") 
                    ($ VSub_Number "$1")
                  )
                }
              spids: [110]
            )
          ]
          spids: [110]
        )
      ]
      spids: [107 116]
    )
    (C {(echo)} {(DQ ("info: downloading: ") ($ VSub_Name "$URL"))})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (SimpleCommand
                  words: [{(type)} {(-p)} {(curl)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(/dev/null)}
                      spids: [133]
                    )
                    (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[136])
                  ]
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (AndOr
              children: [
                (C {(curl)} {(-o)} {(DQ ($ VSub_Number "$1") (.download))} {(DQ ($ VSub_Name "$URL"))})
                (C {(exit)} {(2)})
              ]
              op_id: Op_DPipe
            )
          ]
          spids: [-1 140]
        )
      ]
      else_action: [
        (AndOr
          children: [
            (C {(wget)} {(-O)} {(DQ ($ VSub_Number "$1") (.download))} {(DQ ($ VSub_Name "$URL"))})
            (C {(exit)} {(2)})
          ]
          op_id: Op_DPipe
        )
      ]
      spids: [162 184]
    )
    (AndOr
      children: [
        (C {(chmod)} {(Lit_Other "+") (x)} {(DQ ($ VSub_Number "$1") (.download))})
        (C {(exit)} {(2)})
      ]
      op_id: Op_DPipe
    )
    (AndOr
      children: [
        (C {(mv)} {(DQ ($ VSub_Number "$1") (.download))} {(DQ ($ VSub_Number "$1"))})
        (C {(exit)} {(2)})
      ]
      op_id: Op_DPipe
    )
    (C {(echo)} {(DQ ("info: download OK, run with: ./") ($ VSub_Number "$1"))})
  ]
)