(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.DBracket
          expr: (bool_expr.Unary op_id:Id.BoolUnary_z child:{($ Id.VSub_DollarName '$_Dbg_init_ver')})
        )
        (command.ControlFlow token:<Id.ControlFlow_Return return>)
      ]
    )
    (C {<typeset>} {<_Dbg_cur_fn>})
    (C {<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_have_set0='> <0>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DBracket
                      expr: 
                        (bool_expr.Unary
                          op_id: Id.BoolUnary_r
                          child: {($ Id.VSub_DollarName '$_Dbg_libdir') <'/builtin/set0'>}
                        )
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.Simple
                              words: [
                                {<enable>}
                                {<-f>}
                                {($ Id.VSub_DollarName '$_Dbg_libdir') <'/builtin/set0'>}
                                {<set0>}
                              ]
                              redirects: [
                                (redir
                                  op: <Id.Redir_Great '>'>
                                  loc: (redir_loc.Fd fd:1)
                                  arg: {<'/dev/null'>}
                                )
                                (redir
                                  op: <Id.Redir_GreatAnd '2>&'>
                                  loc: (redir_loc.Fd fd:2)
                                  arg: {<1>}
                                )
                              ]
                              do_fork: T
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:_Dbg_have_set0)
                          op: assign_op.Equal
                          rhs: {<1>}
                          spids: [147]
                        )
                      ]
                    )
                  ]
                  spids: [125 144]
                )
              ]
            )
          ]
          spids: [109 122]
        )
      ]
    )
    (C {<typeset>} {<Id.Lit_VarLike '_Dbg_orig_0='> ($ Id.VSub_Number '$0')})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DBracket
                      expr: 
                        (bool_expr.Unary
                          op_id: Id.BoolUnary_n
                          child: {($ Id.VSub_DollarName '$_Dbg_script')}
                        )
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.AndOr
                              ops: [Id.Op_DAmp]
                              children: [
                                (command.DParen
                                  child: <Id.Lit_ArithVarLike _Dbg_have_set0>
                                )
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Unary
                                      op_id: Id.BoolUnary_n
                                      child: {($ Id.VSub_DollarName '$_Dbg_script_file')}
                                    )
                                )
                              ]
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<builtin>} {<set0>} {($ Id.VSub_DollarName '$_Dbg_script_file')})]
                  spids: [177 196]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:_Dbg_step_ignore)
                  op: assign_op.Equal
                  rhs: {<3>}
                  spids: [209]
                )
              ]
            )
          ]
          spids: [161 173]
        )
      ]
      else_action: [
        (C {<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_n='> ($ Id.VSub_Pound '$#')})
        (C {<typeset>} {<-i>} {<_Dbg_i>})
      ]
    )
    (C {<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_need_input='> <1>})
    (C {<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_brkpt_num='> <0>})
    (C {<typeset>} {<Id.Lit_VarLike 'last_next_step_cmd='> (SQ <s>)})
    (C {<typeset>} {<Id.Lit_VarLike '_Dbg_last_print='> (SQ )})
    (C {<typeset>} {<Id.Lit_VarLike '_Dbg_last_printe='> (SQ )})
    (C {<typeset>} 
      {<Id.Lit_VarLike '_seteglob='> 
        (SQ <'local __eopt=-u ; shopt -q extglob && __eopt=-s ; shopt -s extglob'>)
      }
    )
    (C {<typeset>} {<Id.Lit_VarLike '_resteglob='> (SQ <'shopt $__eopt extglob'>)})
    (C {<typeset>} {<Id.Lit_VarLike 'int_pat='> (SQ <'[0-9]*([0-9])'>)})
    (C {<typeset>} {<Id.Lit_VarLike '_Dbg_signed_int_pat='> (SQ <'?([-+])+([0-9])'>)})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DBracket
                      expr: 
                        (bool_expr.Unary
                          op_id: Id.BoolUnary_z
                          child: {($ Id.VSub_DollarName '$_Dbg_tty')}
                        )
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<typeset>} {<-x>} {<_Dbg_tty>})
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:_Dbg_tty)
                  op: assign_op.Equal
                  rhs: {(command_sub left_token:<Id.Left_DollarParen '$('> child:(C {<tty>}))}
                  spids: [348]
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DAmp]
              children: [
                (command.DBracket
                  expr: 
                    (bool_expr.Binary
                      op_id: Id.BoolBinary_GlobNEqual
                      left: {($ Id.VSub_QMark '$?')}
                      right: {<0>}
                    )
                )
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:_Dbg_tty)
                      op: assign_op.Equal
                      rhs: {(SQ )}
                      spids: [366]
                    )
                  ]
                )
              ]
            )
          ]
          spids: [325 337]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.DBracket
          expr: 
            (bool_expr.Unary
              op_id: Id.BoolUnary_z
              child: {($ Id.VSub_DollarName '$_Dbg_QUIT_LEVELS')}
            )
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:_Dbg_QUIT_LEVELS)
              op: assign_op.Equal
              rhs: {<0>}
              spids: [389]
            )
          ]
        )
      ]
    )
  ]
)