(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.DBracket
          expr: 
            (bool_expr.Binary
              op_id: Id.BoolBinary_GlobDEqual
              left: {($ Id.VSub_DollarName '$OSTYPE')}
              right: {<Id.Lit_Other '*'> <linux> <Id.Lit_Other '*'>}
            )
        )
        (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<1>})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.ShFunction
          name: _route
          body: 
            (BraceGroup
              children: [
                (C {<local>} {<cur>} {<prev>} {<words>} {<cword>})
                (command.AndOr
                  ops: [Id.Op_DPipe]
                  children: [
                    (C {<_init_completion>})
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Binary
                                      op_id: Id.BoolBinary_GlobDEqual
                                      left: {($ Id.VSub_DollarName '$prev')}
                                      right: {<dev>}
                                    )
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      action: [
                        (C {<_available_interfaces>})
                        (command.ControlFlow
                          token: <Id.ControlFlow_Return return>
                          arg_word: {<0>}
                        )
                      ]
                      spids: [49 62]
                    )
                  ]
                )
                (C {<local>} {<opt>} {<found>} {<i>})
                (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.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:found)
                              op: assign_op.Equal
                              rhs: {<false>}
                              spids: [134]
                            )
                          ]
                        )
                        (command.ForExpr
                          init: 
                            (arith_expr.BinaryAssign
                              op_id: Id.Arith_Equal
                              left: <Id.Lit_ArithVarLike i>
                              right: {<Id.Lit_Digits 1>}
                            )
                          cond: 
                            (arith_expr.Binary
                              op_id: Id.Arith_Less
                              left: <Id.Lit_ArithVarLike i>
                              right: 
                                (arith_expr.Binary
                                  op_id: Id.Arith_Minus
                                  left: 
                                    {
                                      (braced_var_sub
                                        token: <Id.VSub_Name words>
                                        prefix_op: (Id.VSub_Pound)
                                        bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                      )
                                    }
                                  right: {<Id.Lit_Digits 1>}
                                )
                            )
                          update: 
                            (arith_expr.UnaryAssign
                              op_id: Id.Node_PostDPlus
                              child: <Id.Lit_ArithVarLike i>
                            )
                          body: 
                            (command.DoGroup
                              children: [
                                (command.AndOr
                                  ops: [Id.Op_DAmp Id.Op_DAmp]
                                  children: [
                                    (command.DBracket
                                      expr: 
                                        (bool_expr.Binary
                                          op_id: Id.BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (braced_var_sub
                                                token: <Id.VSub_Name words>
                                                bracket_op: 
                                                  (bracket_op.ArrayIndex
                                                    expr: <Id.Lit_ArithVarLike i>
                                                  )
                                              )
                                            }
                                          right: {($ Id.VSub_DollarName '$opt')}
                                        )
                                    )
                                    (command.ShAssignment
                                      pairs: [
                                        (assign_pair
                                          lhs: (sh_lhs_expr.Name name:found)
                                          op: assign_op.Equal
                                          rhs: {<true>}
                                          spids: [189]
                                        )
                                      ]
                                    )
                                    (command.ControlFlow
                                      token: <Id.ControlFlow_Break break>
                                    )
                                  ]
                                )
                              ]
                            )
                        )
                        (command.AndOr
                          ops: [Id.Op_DPipe]
                          children: [
                            (C {($ Id.VSub_DollarName '$found')})
                            (command.ShAssignment
                              pairs: [
                                (assign_pair
                                  lhs: 
                                    (sh_lhs_expr.IndexedName
                                      name: COMPREPLY
                                      index: 
                                        {
                                          (braced_var_sub
                                            token: <Id.VSub_Name COMPREPLY>
                                            prefix_op: (Id.VSub_Pound)
                                            bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                          )
                                        }
                                    )
                                  op: assign_op.Equal
                                  rhs: {(DQ ($ Id.VSub_DollarName '$opt'))}
                                  spids: [204]
                                )
                              ]
                            )
                          ]
                        )
                      ]
                    )
                )
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (sh_array_literal
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (command_sub
                                  left_token: <Id.Left_DollarParen '$('>
                                  child: 
                                    (C {<compgen>} {<-W>} {(SQ <'"${COMPREPLY[@]}"'>)} {<-->} 
                                      {(DQ ($ Id.VSub_DollarName '$cur'))}
                                    )
                                )
                              }
                            ]
                          )
                        }
                      spids: [230]
                    )
                  ]
                )
              ]
            )
        )
        (C {<complete>} {<-F>} {<_route>} {<route>})
      ]
    )
  ]
)