(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:tid)
          op: assign_op.Equal
          rhs: {(DQ <'putty ciphers'>)}
          spids: [7]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<test>} {(DQ <x> ($ Id.VSub_DollarName '$REGRESS_INTEROP_PUTTY'))} 
                      {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <xyes>)}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<echo>} {(DQ <'putty interop tests not enabled'>)})
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
          ]
          spids: [13 31]
        )
      ]
    )
    (command.ForEach
      iter_name: c
      iter_words: [{<aes>} {<blowfish>} {<3des>} {<arcfour>} {<aes128-ctr>} {<aes192-ctr>} {<aes256-ctr>}]
      do_arg_iter: F
      body: 
        (command.DoGroup
          children: [
            (C {<verbose>} 
              {(DQ ($ Id.VSub_DollarName '$tid') <': cipher '> ($ Id.VSub_DollarName '$c'))}
            )
            (C {<cp>} {(${ Id.VSub_Name OBJ) <'/.putty/sessions/localhost_proxy'>} 
              {(${ Id.VSub_Name OBJ) <'/.putty/sessions/cipher_'> ($ Id.VSub_DollarName '$c')}
            )
            (command.Simple
              words: [{<echo>} {(DQ <'Cipher='> ($ Id.VSub_DollarName '$c'))}]
              redirects: [
                (redir
                  op: <Id.Redir_DGreat '>>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: 
                    {(${ Id.VSub_Name OBJ) <'/.putty/sessions/cipher_'> ($ Id.VSub_DollarName '$c')}
                )
              ]
              do_fork: T
            )
            (C {<rm>} {<-f>} {(${ Id.VSub_Name COPY)})
            (command.Simple
              words: [
                {<env>}
                {<Id.Lit_VarLike 'HOME='> ($ Id.VSub_DollarName '$PWD')}
                {(${ Id.VSub_Name PLINK)}
                {<-load>}
                {<cipher_> ($ Id.VSub_DollarName '$c')}
                {<-batch>}
                {<-i>}
                {<putty.rsa2>}
                {<cat>}
                {(${ Id.VSub_Name DATA)}
              ]
              redirects: [
                (redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {(${ Id.VSub_Name COPY)}
                )
              ]
              do_fork: T
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<Id.Lit_LBracket '['>} {($ Id.VSub_QMark '$?')} {<-ne>} {<0>} 
                              {<Id.Lit_RBracket ']'>}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<fail>} {(DQ <'ssh cat '> ($ Id.VSub_DollarName '$DATA') <' failed'>)})]
                  spids: [159 172]
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<cmp>} {(${ Id.VSub_Name DATA)} {(${ Id.VSub_Name COPY)})
                (C {<fail>} {(DQ <'corrupted copy'>)})
              ]
            )
          ]
        )
    )
    (C {<rm>} {<-f>} {(${ Id.VSub_Name COPY)})
  ]
)