(command.CommandList
  children: [
    (command.FuncDef
      name: nattest
      body: 
        (command.BraceGroup
          children: [
            (C {(h_copydata)} {($ VSub_Number '$1')})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:infmt spids:[106])
                  op: Equal
                  rhs: {($ VSub_Number '$2')}
                  spids: [106]
                )
              ]
              spids: [106]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:outfmt spids:[110])
                  op: Equal
                  rhs: {($ VSub_Number '$3')}
                  spids: [110]
                )
              ]
              spids: [110]
            )
            (C {(shift)})
            (C {(shift)})
            (C {(shift)})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:args spids:[123])
                  op: Equal
                  rhs: {($ VSub_At '$@')}
                  spids: [123]
                )
              ]
              spids: [123]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {($ VSub_DollarName '$outfmt')} {(Lit_Other '=')} {(hex)} 
                          {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:format spids:[145])
                          op: Equal
                          rhs: {(DQ ('-xF ') ($ VSub_DollarName '$infmt'))}
                          spids: [145]
                        )
                      ]
                      spids: [145]
                    )
                  ]
                  spids: [16777215 142]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:format spids:[155])
                      op: Equal
                      rhs: {(DQ ('-F ') ($ VSub_DollarName '$infmt'))}
                      spids: [155]
                    )
                  ]
                  spids: [155]
                )
              ]
              spids: [152 162]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:format spids:[166])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$format'))}
                  spids: [166]
                )
              ]
              spids: [166]
            )
            (command.AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (C {(test)} {(-f)} {(KW_In in)})
                (C {(test)} {(-f)} {(reg)})
                (C {(atf_fail)} {(DQ ('Test input file missing'))})
              ]
            )
            (command.BraceGroup
              children: [
                (command.Sentence
                  child: 
                    (command.WhileUntil
                      keyword: <KW_While while>
                      cond: [(command.Sentence child:(C {(read)} {(rule)}) terminator:<Op_Semi ';'>)]
                      body: 
                        (command.DoGroup
                          children: [
                            (C {(atf_check)} {(-o)} {(save) (Lit_Other ':') (save)} {(-x)} 
                              {
                                (DQ ('echo ') 
                                  (word_part.EscapedLiteralPart
                                    token: <Lit_EscapedChar '\\"'>
                                  ) ($ VSub_DollarName '$rule') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                                  (' | ipftest ') ($ VSub_DollarName '$format') (' -RDbN - -i in ') ($ VSub_DollarName '$args')
                                )
                              }
                            )
                            (command.SimpleCommand
                              words: [{(cat)} {(save)}]
                              redirects: [
                                (redir.Redir
                                  op: <Redir_DGreat '>>'>
                                  fd: 16777215
                                  arg_word: {(out)}
                                )
                              ]
                            )
                            (command.SimpleCommand
                              words: [{(echo)} {(DQ (-------------------------------))}]
                              redirects: [
                                (redir.Redir
                                  op: <Redir_DGreat '>>'>
                                  fd: 16777215
                                  arg_word: {(out)}
                                )
                              ]
                            )
                          ]
                          spids: [206 251]
                        )
                    )
                  terminator: <Op_Semi ';'>
                )
              ]
              redirects: [(redir.Redir op:<Redir_Less '<'> fd:16777215 arg_word:{(reg)})]
              spids: [197]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [(C {(diff)} {(-u)} {(exp)} {(out)}) (C {(atf_fail)} {(DQ ('results differ'))})]
            )
          ]
          spids: [98]
        )
      spids: [94 97]
    )
    (C {(test_case)} {(n1)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n2)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n3)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n4)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n5)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n6)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n7)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n8)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n9)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n10)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n11)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n12)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n13)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n14)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n15)} {(nattest)} {(text)} {(text)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n16)} {(nattest)} {(hex)} {(hex)} {(-D)})
    (C {(test_case)} {(n17)} {(nattest)} {(hex)} {(hex)} {(-D)})
    (C {(test_case)} {(n100)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n101)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n102)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n103)} {(nattest)} {(text)} {(text)})
    (C {(test_case)} {(n104)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n105)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n106)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n200)} {(nattest)} {(hex)} {(hex)} {(-T)} {(Lit_VarLike 'update_ipid=') (0)})
    (C {(test_case)} {(n1_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(test_case)} {(n2_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(test_case)} {(n4_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(test_case)} {(n5_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(test_case)} {(n6_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(test_case)} {(n7_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(failing_test_case_be)} {(n8_6)} {(nattest)} {(DQ ('See PR kern/47665'))} {(hex)} {(hex)} {(-6)})
    (C {(failing_test_case_be)} {(n9_6)} {(nattest)} {(DQ ('See PR kern/47665'))} {(hex)} {(hex)} {(-6)})
    (C {(test_case)} {(n11_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (C {(test_case)} {(n12_6)} {(nattest)} {(hex)} {(hex)} {(-6)})
    (C {(test_case)} {(n15_6)} {(nattest)} {(text)} {(text)} {(-6)})
    (command.FuncDef
      name: atf_init_test_cases
      body: 
        (command.BraceGroup
          children: [
            (C {(atf_add_test_case)} {(n1)})
            (C {(atf_add_test_case)} {(n2)})
            (C {(atf_add_test_case)} {(n3)})
            (C {(atf_add_test_case)} {(n4)})
            (C {(atf_add_test_case)} {(n5)})
            (C {(atf_add_test_case)} {(n6)})
            (C {(atf_add_test_case)} {(n7)})
            (C {(atf_add_test_case)} {(n8)})
            (C {(atf_add_test_case)} {(n9)})
            (C {(atf_add_test_case)} {(n10)})
            (C {(atf_add_test_case)} {(n11)})
            (C {(atf_add_test_case)} {(n12)})
            (C {(atf_add_test_case)} {(n13)})
            (C {(atf_add_test_case)} {(n14)})
            (C {(atf_add_test_case)} {(n16)})
            (C {(atf_add_test_case)} {(n17)})
            (C {(atf_add_test_case)} {(n100)})
            (C {(atf_add_test_case)} {(n101)})
            (C {(atf_add_test_case)} {(n102)})
            (C {(atf_add_test_case)} {(n103)})
            (C {(atf_add_test_case)} {(n104)})
            (C {(atf_add_test_case)} {(n105)})
            (C {(atf_add_test_case)} {(n106)})
            (C {(atf_add_test_case)} {(n200)})
            (C {(atf_add_test_case)} {(n1_6)})
            (C {(atf_add_test_case)} {(n2_6)})
            (C {(atf_add_test_case)} {(n4_6)})
            (C {(atf_add_test_case)} {(n5_6)})
            (C {(atf_add_test_case)} {(n6_6)})
            (C {(atf_add_test_case)} {(n7_6)})
            (C {(atf_add_test_case)} {(n8_6)})
            (C {(atf_add_test_case)} {(n9_6)})
            (C {(atf_add_test_case)} {(n11_6)})
            (C {(atf_add_test_case)} {(n12_6)})
            (C {(atf_add_test_case)} {(n15_6)})
          ]
          spids: [727]
        )
      spids: [723 726]
    )
  ]
)