(command.ShFunction
  name: _Dbg_next_skip_common
  body: 
    (BraceGroup
      children: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:_Dbg_inside_skip)
              op: assign_op.Equal
              rhs: {($ Id.VSub_Number '$1')}
              spids: [66]
            )
          ]
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:_Dbg_last_next_step_cmd)
              op: assign_op.Equal
              rhs: {(DQ ($ Id.VSub_DollarName '$_Dbg_cmd'))}
              spids: [70]
            )
          ]
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:_Dbg_last_next_step_args)
              op: assign_op.Equal
              rhs: {($ Id.VSub_Number '$2')}
              spids: [76]
            )
          ]
        )
        (command.AndOr
          ops: [Id.Op_DAmp]
          children: [
            (C {<_Dbg_not_running>})
            (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<3>})
          ]
        )
        (C {<typeset>} 
          {<Id.Lit_VarLike 'count='> 
            (braced_var_sub
              token: <Id.VSub_Number 2>
              suffix_op: (suffix_op.Unary tok:<Id.VTest_ColonHyphen ':-'> arg_word:{<1>})
            )
          }
        )
        (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 '$count')}
                              right: {<Id.Lit_Other '['> <0-9> <Id.Lit_Other ']'> <Id.Lit_Other '*'>}
                            )
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              action: [
                (C {<let>} 
                  {<Id.Lit_VarLike '_Dbg_step_ignore='> 
                    (braced_var_sub
                      token: <Id.VSub_Name count>
                      suffix_op: (suffix_op.Unary tok:<Id.VTest_ColonHyphen ':-'> arg_word:{<1>})
                    )
                  }
                )
              ]
              spids: [102 119]
            )
          ]
          else_action: [
            (C {<_Dbg_errmsg>} 
              {
                (DQ <'Argument ('> ($ Id.VSub_DollarName '$count') <') should be a number or nothing.'>)
              }
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:_Dbg_step_ignore)
                  op: assign_op.Equal
                  rhs: {<1>}
                  spids: [144]
                )
              ]
            )
            (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<1>})
          ]
        )
        (command.If
          arms: [
            (if_arm
              cond: 
                (condition.Shell
                  commands: [
                    (command.Sentence
                      child: 
                        (command.DParen
                          child: 
                            (arith_expr.Binary
                              op_id: Id.Arith_DEqual
                              left: <Id.Lit_ArithVarLike _Dbg_inside_skip>
                              right: {<Id.Lit_Digits 0>}
                            )
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              action: [
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:_Dbg_old_set_opts)
                      op: assign_op.Equal
                      rhs: {(DQ ($ Id.VSub_DollarName '$_Dbg_old_set_opts') <' +o functrace'>)}
                      spids: [178]
                    )
                  ]
                )
              ]
              spids: [160 175]
            )
          ]
          else_action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:_Dbg_old_set_opts)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_DollarName '$_Dbg_old_set_opts') <' -o functrace'>)}
                  spids: [188]
                )
              ]
            )
          ]
        )
        (C {<_Dbg_write_journal_eval>} 
          {(DQ <'_Dbg_old_set_opts=\''> ($ Id.VSub_DollarName '$_Dbg_old_set_opts') <'\''>)}
        )
        (C {<_Dbg_write_journal>} 
          {(DQ <'_Dbg_step_ignore='> ($ Id.VSub_DollarName '$_Dbg_step_ignore'))}
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:_Dbg_continue_rc)
              op: assign_op.Equal
              rhs: {($ Id.VSub_DollarName '$_Dbg_inside_skip')}
              spids: [220]
            )
          ]
        )
        (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>})
      ]
    )
)