(command.CommandList
  children: [
    (command.AndOr
      ops: [Op_DPipe]
      children: [
        (command.DBracket
          expr: 
            (bool_expr.BoolBinary
              op_id: BoolBinary_GlobDEqual
              left: {($ VSub_DollarName '$OSTYPE')}
              right: {(Lit_Other '*') (linux) (Lit_Other '*')}
            )
        )
        (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
      ]
    )
    (command.AndOr
      ops: [Op_DAmp]
      children: [
        (command.FuncDef
          name: _route
          body: 
            (command.BraceGroup
              children: [
                (command.Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cur spids:[32])
                      op: Equal
                      spids: [32]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:prev spids:[34])
                      op: Equal
                      spids: [34]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:words spids:[36])
                      op: Equal
                      spids: [36]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cword spids:[38])
                      op: Equal
                      spids: [38]
                    )
                  ]
                  spids: [30]
                )
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(_init_completion)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_DollarName '$prev')}
                                  right: {(dev)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (C {(_available_interfaces)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [16777215 62]
                    )
                  ]
                  spids: [16777215 73]
                )
                (command.Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:opt spids:[83])
                      op: Equal
                      spids: [83]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:found spids:[85])
                      op: Equal
                      spids: [85]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:i spids:[87])
                      op: Equal
                      spids: [87]
                    )
                  ]
                  spids: [81]
                )
                (command.ForEach
                  iter_name: opt
                  iter_words: [
                    {(add)}
                    {(del)}
                    {(-host)}
                    {(-net)}
                    {(netmask)}
                    {(metric)}
                    {(mss)}
                    {(window)}
                    {(irtt)}
                    {(reject)}
                    {(mod)}
                    {(dyn)}
                    {(reinstate)}
                    {(dev)}
                    {(default)}
                    {(gw)}
                  ]
                  do_arg_iter: F
                  body: 
                    (command.DoGroup
                      children: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:found spids:[134])
                              op: Equal
                              rhs: {(false)}
                              spids: [134]
                            )
                          ]
                          spids: [134]
                        )
                        (command.ForExpr
                          init: 
                            (arith_expr.BinaryAssign
                              op_id: Arith_Equal
                              left: (lhs_expr.LhsName name:i spids:[142])
                              right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                            )
                          cond: 
                            (arith_expr.ArithBinary
                              op_id: Arith_Less
                              left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>)
                              right: 
                                (arith_expr.ArithBinary
                                  op_id: Arith_Minus
                                  left: 
                                    (arith_expr.ArithWord
                                      w: 
                                        {
                                          (word_part.BracedVarSub
                                            token: <VSub_Name words>
                                            prefix_op: VSub_Pound
                                            bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                            spids: [151 157]
                                          )
                                        }
                                    )
                                  right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                )
                            )
                          update: 
                            (arith_expr.UnaryAssign
                              op_id: Node_PostDPlus
                              child: (lhs_expr.LhsName name:i spids:[162])
                            )
                          body: 
                            (command.DoGroup
                              children: [
                                (command.AndOr
                                  ops: [Op_DAmp Op_DAmp]
                                  children: [
                                    (command.DBracket
                                      expr: 
                                        (bool_expr.BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (word_part.BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: 
                                                  (bracket_op.ArrayIndex
                                                    expr: 
                                                      (arith_expr.ArithVarRef
                                                        token: <Lit_ArithVarLike i>
                                                      )
                                                  )
                                                spids: [174 179]
                                              )
                                            }
                                          right: {($ VSub_DollarName '$opt')}
                                        )
                                    )
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:found spids:[189])
                                          op: Equal
                                          rhs: {(true)}
                                          spids: [189]
                                        )
                                      ]
                                      spids: [189]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Break break>
                                    )
                                  ]
                                )
                              ]
                              spids: [169 197]
                            )
                        )
                        (command.AndOr
                          ops: [Op_DPipe]
                          children: [
                            (C {($ VSub_DollarName '$found')})
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: 
                                    (lhs_expr.LhsIndexedName
                                      name: COMPREPLY
                                      index: 
                                        (arith_expr.ArithWord
                                          w: 
                                            {
                                              (word_part.BracedVarSub
                                                token: <VSub_Name COMPREPLY>
                                                prefix_op: VSub_Pound
                                                bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                                spids: [0 6]
                                              )
                                            }
                                        )
                                      spids: [204]
                                    )
                                  op: Equal
                                  rhs: {(DQ ($ VSub_DollarName '$opt'))}
                                  spids: [204]
                                )
                              ]
                              spids: [204]
                            )
                          ]
                        )
                      ]
                      spids: [131 218]
                    )
                  spids: [95 129]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:COMPREPLY spids:[222])
                      op: Equal
                      rhs: 
                        {
                          (word_part.ArrayLiteralPart
                            words: [
                              {
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(compgen)} {(-W)} {(SQ <'"${COMPREPLY[@]}"'>)} {(--)} 
                                          {(DQ ($ VSub_DollarName '$cur'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [225 241]
                                )
                              }
                            ]
                          )
                        }
                      spids: [222]
                    )
                  ]
                  spids: [222]
                )
              ]
              spids: [27]
            )
          spids: [23 26]
        )
        (C {(complete)} {(-F)} {(_route)} {(route)})
      ]
    )
  ]
)