(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:dashless spids:[7])
          op: Equal
          rhs: 
            {
              (word_part.CommandSubPart
                command_list: 
                  (command.CommandList
                    children: [
                      (command.Pipeline
                        children: [
                          (C {(basename)} {(DQ ($ VSub_Number '$0'))})
                          (C {(sed)} {(-e)} {(SQ <'s/-/ /'>)})
                        ]
                        negated: F
                      )
                    ]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [8 24]
              )
            }
          spids: [7]
        )
      ]
      spids: [7]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:USAGE spids:[26])
          op: Equal
          rhs: 
            {
              (DQ ('list [<options>]\n') ('   or: ') ($ VSub_DollarName '$dashless') 
                (' show [<stash>]\n') ('   or: ') ($ VSub_DollarName '$dashless') (' drop [-q|--quiet] [<stash>]\n') ('   or: ') 
                ($ VSub_DollarName '$dashless') (' ( pop | apply ) [--index] [-q|--quiet] [<stash>]\n') ('   or: ') ($ VSub_DollarName '$dashless') 
                (' branch <branchname> [<stash>]\n') ('   or: ') ($ VSub_DollarName '$dashless') (' [save [--patch] [-k|--[no-]keep-index] [-q|--quiet]\n') 
                ('\t\t       [-u|--include-untracked] [-a|--all] [<message>]]\n') ('   or: ') ($ VSub_DollarName '$dashless') (' clear')
              )
            }
          spids: [26]
        )
      ]
      spids: [26]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:SUBDIRECTORY_OK spids:[51])
          op: Equal
          rhs: {(Yes)}
          spids: [51]
        )
      ]
      spids: [51]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:OPTIONS_SPEC spids:[54])
          op: Equal
          rhs: (word.EmptyWord)
          spids: [54]
        )
      ]
      spids: [54]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:START_DIR spids:[56])
          op: Equal
          rhs: 
            {
              (word_part.CommandSubPart
                command_list: (command.CommandList children:[(C {(pwd)})])
                left_token: <Left_CommandSub '$('>
                spids: [57 59]
              )
            }
          spids: [56]
        )
      ]
      spids: [56]
    )
    (C {(.)} {(git-sh-setup)})
    (C {(require_work_tree)})
    (C {(cd_to_toplevel)})
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:TMP spids:[70])
          op: Equal
          rhs: {(DQ ($ VSub_DollarName '$GIT_DIR') (/.git-stash.) ($ VSub_Dollar '$$'))}
          spids: [70]
        )
      ]
      spids: [70]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:TMPindex spids:[77])
          op: Equal
          rhs: 
            {
              (word_part.BracedVarSub
                token: <VSub_Name GIT_INDEX_FILE>
                suffix_op: 
                  (suffix_op.StringUnary
                    op_id: VTest_Hyphen
                    arg_word: 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [(C {(git)} {(rev-parse)} {(--git-path)} {(index)})]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [82 90]
                          )
                        )
                      }
                  )
                spids: [78 92]
              ) (.stash.) ($ VSub_Dollar '$$')
            }
          spids: [77]
        )
      ]
      spids: [77]
    )
    (C {(trap)} {(SQ <'rm -f "$TMP-"* "$TMPindex"'>)} {(0)})
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:ref_stash spids:[105])
          op: Equal
          rhs: {(refs/stash)}
          spids: [105]
        )
      ]
      spids: [105]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (C {(git)} {(config)} {(--get-colorbool)} {(color.interactive)})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:help_color spids:[123])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (word_part.CommandSubPart
                          command_list: 
                            (command.CommandList
                              children: [
                                (C {(git)} {(config)} {(--get-color)} {(color.interactive.help)} 
                                  {(SQ <'red bold'>)}
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [125 137]
                        )
                      )
                    }
                  spids: [123]
                )
              ]
              spids: [123]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:reset_color spids:[141])
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (word_part.CommandSubPart
                          command_list: 
                            (command.CommandList
                              children: [(C {(git)} {(config)} {(--get-color)} {(SQ )} {(reset)})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [143 154]
                        )
                      )
                    }
                  spids: [141]
                )
              ]
              spids: [141]
            )
          ]
          spids: [16777215 120]
        )
      ]
      else_action: [
        (command.Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (lhs_expr.LhsName name:help_color spids:[160])
              op: Equal
              rhs: (word.EmptyWord)
              spids: [160]
            )
          ]
          spids: [160]
        )
        (command.Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (lhs_expr.LhsName name:reset_color spids:[163])
              op: Equal
              rhs: (word.EmptyWord)
              spids: [163]
            )
          ]
          spids: [163]
        )
      ]
      spids: [157 165]
    )
    (command.FuncDef
      name: no_changes
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DAmp Op_DAmp]
              children: [
                (C {(git)} {(diff-index)} {(--quiet)} {(--cached)} {(HEAD)} {(--ignore-submodules)} {(--)})
                (C {(git)} {(diff-files)} {(--quiet)} {(--ignore-submodules)})
                (command.Subshell
                  child: 
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$untracked'))})
                        (C {(test)} {(-z)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(untracked_files)})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [220 222]
                              )
                            )
                          }
                        )
                      ]
                    )
                  spids: [204 224]
                )
              ]
            )
          ]
          spids: [173]
        )
      spids: [168 172]
    )
    (command.FuncDef
      name: untracked_files
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:excl_opt spids:[237])
                  op: Equal
                  rhs: {(--exclude-standard)}
                  spids: [237]
                )
              ]
              spids: [237]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {(test)} {(DQ ($ VSub_DollarName '$untracked'))} {(Lit_Other '=')} {(DQ (all))})
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:excl_opt spids:[255])
                      op: Equal
                      rhs: (word.EmptyWord)
                      spids: [255]
                    )
                  ]
                  spids: [255]
                )
              ]
            )
            (C {(git)} {(ls-files)} {(-o)} {(-z)} {($ VSub_DollarName '$excl_opt')})
          ]
          spids: [234]
        )
      spids: [229 233]
    )
    (command.FuncDef
      name: clear_stash
      body: 
        (command.BraceGroup
          children: [
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {($ VSub_Pound '$#')} {(KW_Bang '!') (Lit_Other '=')} {(0)})]
                  action: [
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(gettext)} 
                                    {(DQ ('git stash clear with parameters is unimplemented'))}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [297 303]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 291]
                )
              ]
              spids: [16777215 307]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:current spids:[312])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(git)} {(rev-parse)} {(--verify)} {(--quiet)} 
                                        {($ VSub_DollarName '$ref_stash')}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [313 323]
                              )
                            }
                          spids: [312]
                        )
                      ]
                      spids: [312]
                    )
                  ]
                  action: [
                    (C {(git)} {(update-ref)} {(-d)} {($ VSub_DollarName '$ref_stash')} 
                      {($ VSub_DollarName '$current')}
                    )
                  ]
                  spids: [16777215 326]
                )
              ]
              spids: [16777215 340]
            )
          ]
          spids: [276]
        )
      spids: [271 275]
    )
    (command.FuncDef
      name: create_stash
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:stash_msg spids:[353])
                  op: Equal
                  rhs: {(DQ ($ VSub_Number '$1'))}
                  spids: [353]
                )
              ]
              spids: [353]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:untracked spids:[359])
                  op: Equal
                  rhs: {(DQ ($ VSub_Number '$2'))}
                  spids: [359]
                )
              ]
              spids: [359]
            )
            (C {(git)} {(update-index)} {(-q)} {(--refresh)})
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(no_changes)})]
                  action: [(command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})]
                  spids: [16777215 380]
                )
              ]
              spids: [16777215 388]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:b_commit spids:[398])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(git)} {(rev-parse)} {(--verify)} {(HEAD)})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [399 407]
                              )
                            }
                          spids: [398]
                        )
                      ]
                      spids: [398]
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:head spids:[413])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(git)} {(rev-list)} {(--oneline)} {(-n)} {(1)} {(HEAD)} {(--)})
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [414 428]
                              )
                            }
                          spids: [413]
                        )
                      ]
                      spids: [413]
                    )
                  ]
                  spids: [16777215 410]
                )
              ]
              else_action: [
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('You do not have the initial commit yet'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [437 443]
                      )
                    )
                  }
                )
              ]
              spids: [431 447]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:branch spids:[453])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(git)} {(symbolic-ref)} {(-q)} {(HEAD)})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [454 462]
                              )
                            }
                          spids: [453]
                        )
                      ]
                      spids: [453]
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:branch spids:[468])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name branch>
                                suffix_op: 
                                  (suffix_op.StringUnary
                                    op_id: VOp1_Pound
                                    arg_word: {(refs) (Lit_Slash /) (heads) (Lit_Slash /)}
                                  )
                                spids: [469 476]
                              )
                            }
                          spids: [468]
                        )
                      ]
                      spids: [468]
                    )
                  ]
                  spids: [16777215 465]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:branch spids:[482])
                      op: Equal
                      rhs: {(SQ <'(no branch)'>)}
                      spids: [482]
                    )
                  ]
                  spids: [482]
                )
              ]
              spids: [479 488]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:msg spids:[491])
                  op: Equal
                  rhs: 
                    {
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(printf)} {(SQ <'%s: %s'>)} {(DQ ($ VSub_DollarName '$branch'))} 
                                {(DQ ($ VSub_DollarName '$head'))}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [492 506]
                      )
                    }
                  spids: [491]
                )
              ]
              spids: [491]
            )
            (command.AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:i_tree spids:[514])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: (command.CommandList children:[(C {(git)} {(write-tree)})])
                            left_token: <Left_CommandSub '$('>
                            spids: [515 519]
                          )
                        }
                      spids: [514]
                    )
                  ]
                  spids: [514]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:i_commit spids:[524])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Pipeline
                                    children: [
                                      (C {(printf)} {(SQ <'index on %s\\n'>)} 
                                        {(DQ ($ VSub_DollarName '$msg'))}
                                      )
                                      (C {(git)} {(commit-tree)} {($ VSub_DollarName '$i_tree')} {(-p)} 
                                        {($ VSub_DollarName '$b_commit')}
                                      )
                                    ]
                                    negated: F
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [525 548]
                          )
                        }
                      spids: [524]
                    )
                  ]
                  spids: [524]
                )
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('Cannot save the current index state'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [556 562]
                      )
                    )
                  }
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$untracked'))})]
                  action: [
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:u_commit spids:[589])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [
                                          (command.Pipeline
                                            children: [
                                              (C {(untracked_files)})
                                              (command.Subshell
                                                child: 
                                                  (command.AndOr
                                                    ops: [Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp]
                                                    children: [
                                                      (command.Assignment
                                                        keyword: Assign_None
                                                        pairs: [
                                                          (assign_pair
                                                            lhs: 
                                                              (lhs_expr.LhsName
                                                                name: GIT_INDEX_FILE
                                                                spids: [600]
                                                              )
                                                            op: Equal
                                                            rhs: {(DQ ($ VSub_DollarName '$TMPindex'))}
                                                            spids: [600]
                                                          )
                                                        ]
                                                        spids: [600]
                                                      )
                                                      (C {(export)} {(GIT_INDEX_FILE)})
                                                      (C {(rm)} {(-f)} 
                                                        {(DQ ($ VSub_DollarName '$TMPindex'))}
                                                      )
                                                      (C {(git)} {(update-index)} {(-z)} {(--add)} 
                                                        {(--remove)} {(--stdin)}
                                                      )
                                                      (command.Assignment
                                                        keyword: Assign_None
                                                        pairs: [
                                                          (assign_pair
                                                            lhs: 
                                                              (lhs_expr.LhsName
                                                                name: u_tree
                                                                spids: [641]
                                                              )
                                                            op: Equal
                                                            rhs: 
                                                              {
                                                                (word_part.CommandSubPart
                                                                  command_list: 
                                                                    (command.CommandList
                                                                      children: [
                                                                        (C {(git)} {(write-tree)})
                                                                      ]
                                                                    )
                                                                  left_token: <Left_CommandSub '$('>
                                                                  spids: [642 646]
                                                                )
                                                              }
                                                            spids: [641]
                                                          )
                                                        ]
                                                        spids: [641]
                                                      )
                                                      (command.Pipeline
                                                        children: [
                                                          (C {(printf)} 
                                                            {(SQ <'untracked files on %s\\n'>)} {(DQ ($ VSub_DollarName '$msg'))}
                                                          )
                                                          (C {(git)} {(commit-tree)} 
                                                            {($ VSub_DollarName '$u_tree')}
                                                          )
                                                        ]
                                                        negated: F
                                                      )
                                                      (C {(rm)} {(-f)} 
                                                        {(DQ ($ VSub_DollarName '$TMPindex'))}
                                                      )
                                                    ]
                                                  )
                                                spids: [597 681]
                                              )
                                            ]
                                            negated: F
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [590 683]
                                  )
                                }
                              spids: [589]
                            )
                          ]
                          spids: [589]
                        )
                        (C {(die)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(gettext)} {(DQ ('Cannot save the untracked files'))})
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [690 696]
                              )
                            )
                          }
                        )
                      ]
                    )
                    (command.Sentence
                      child: 
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:untracked_commit_option spids:[701])
                              op: Equal
                              rhs: {(DQ ('-p ') ($ VSub_DollarName '$u_commit'))}
                              spids: [701]
                            )
                          ]
                          spids: [701]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  spids: [16777215 578]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:untracked_commit_option spids:[712])
                      op: Equal
                      rhs: (word.EmptyWord)
                      spids: [712]
                    )
                  ]
                  spids: [712]
                )
              ]
              spids: [709 715]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$patch_mode'))})]
                  action: [
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:w_tree spids:[738])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [
                                          (command.Subshell
                                            child: 
                                              (command.AndOr
                                                ops: [Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp]
                                                children: [
                                                  (C {(git)} {(read-tree)} 
                                                    {(--index-output) (Lit_Other '=') 
                                                      (DQ ($ VSub_DollarName '$TMPindex'))
                                                    } {(-m)} {($ VSub_DollarName '$i_tree')}
                                                  )
                                                  (command.Assignment
                                                    keyword: Assign_None
                                                    pairs: [
                                                      (assign_pair
                                                        lhs: 
                                                          (lhs_expr.LhsName
                                                            name: GIT_INDEX_FILE
                                                            spids: [761]
                                                          )
                                                        op: Equal
                                                        rhs: {(DQ ($ VSub_DollarName '$TMPindex'))}
                                                        spids: [761]
                                                      )
                                                    ]
                                                    spids: [761]
                                                  )
                                                  (C {(export)} {(GIT_INDEX_FILE)})
                                                  (command.SimpleCommand
                                                    words: [
                                                      {(git)}
                                                      {(diff)}
                                                      {(--name-only)}
                                                      {(-z)}
                                                      {(HEAD)}
                                                      {(--)}
                                                    ]
                                                    redirects: [
                                                      (redir.Redir
                                                        op: <Redir_Great '>'>
                                                        fd: 16777215
                                                        arg_word: 
                                                          {
                                                            (DQ ($ VSub_DollarName '$TMP') 
                                                              (-stagenames)
                                                            )
                                                          }
                                                      )
                                                    ]
                                                  )
                                                  (command.SimpleCommand
                                                    words: [
                                                      {(git)}
                                                      {(update-index)}
                                                      {(-z)}
                                                      {(--add)}
                                                      {(--remove)}
                                                      {(--stdin)}
                                                    ]
                                                    redirects: [
                                                      (redir.Redir
                                                        op: <Redir_Less '<'>
                                                        fd: 16777215
                                                        arg_word: 
                                                          {
                                                            (DQ ($ VSub_DollarName '$TMP') 
                                                              (-stagenames)
                                                            )
                                                          }
                                                      )
                                                    ]
                                                  )
                                                  (C {(git)} {(write-tree)})
                                                  (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TMPindex'))})
                                                ]
                                              )
                                            spids: [741 834]
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [739 836]
                                  )
                                }
                              spids: [738]
                            )
                          ]
                          spids: [738]
                        )
                        (C {(die)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(gettext)} {(DQ ('Cannot save the current worktree state'))})
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [844 850]
                              )
                            )
                          }
                        )
                      ]
                    )
                  ]
                  spids: [16777215 730]
                )
              ]
              else_action: [
                (command.AndOr
                  ops: [Op_DAmp Op_DAmp Op_DAmp Op_DPipe]
                  children: [
                    (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TMP') (-index))})
                    (command.SimpleCommand
                      words: [{(git)} {(read-tree)} {(HEAD)}]
                      more_env: [
                        (env_pair
                          name: GIT_INDEX_FILE
                          val: {(DQ ($ VSub_DollarName '$TMP') (-index))}
                          spids: [871]
                        )
                      ]
                    )
                    (command.SimpleCommand
                      words: [{(git)} {(add--interactive)} {(--patch) (Lit_Other '=') (stash)} {(--)}]
                      more_env: [
                        (env_pair
                          name: GIT_INDEX_FILE
                          val: {(DQ ($ VSub_DollarName '$TMP') (-index))}
                          spids: [891]
                        )
                      ]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:w_tree spids:[917])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (command.SimpleCommand
                                        words: [{(git)} {(write-tree)}]
                                        more_env: [
                                          (env_pair
                                            name: GIT_INDEX_FILE
                                            val: {(DQ ($ VSub_DollarName '$TMP') (-index))}
                                            spids: [919]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [918 928]
                              )
                            }
                          spids: [917]
                        )
                      ]
                      spids: [917]
                    )
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(gettext)} {(DQ ('Cannot save the current worktree state'))})
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [936 942]
                          )
                        )
                      }
                    )
                  ]
                )
                (command.AndOr
                  ops: [Op_DAmp Op_DPipe]
                  children: [
                    (command.SimpleCommand
                      words: [{(git)} {(diff-tree)} {(-p)} {(HEAD)} {($ VSub_DollarName '$w_tree')} {(--)}]
                      redirects: [
                        (redir.Redir
                          op: <Redir_Great '>'>
                          fd: 16777215
                          arg_word: {(DQ ($ VSub_DollarName '$TMP') (-patch))}
                        )
                      ]
                    )
                    (C {(test)} {(-s)} {(DQ ($ VSub_DollarName '$TMP') (-patch))})
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [(C {(gettext)} {(DQ ('No changes selected'))})]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [983 989]
                          )
                        )
                      }
                    )
                  ]
                )
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TMP') (-index))})
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(gettext)} {(DQ ("Cannot remove temporary index (can't happen)"))})
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1009 1015]
                          )
                        )
                      }
                    )
                  ]
                )
              ]
              spids: [855 1020]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$stash_msg'))})]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:stash_msg spids:[1042])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(printf)} {(SQ <'WIP on %s'>)} 
                                        {(DQ ($ VSub_DollarName '$msg'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [1043 1053]
                              )
                            }
                          spids: [1042]
                        )
                      ]
                      spids: [1042]
                    )
                  ]
                  spids: [16777215 1039]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:stash_msg spids:[1059])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(printf)} {(SQ <'On %s: %s'>)} {(DQ ($ VSub_DollarName '$branch'))} 
                                    {(DQ ($ VSub_DollarName '$stash_msg'))}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1060 1074]
                          )
                        }
                      spids: [1059]
                    )
                  ]
                  spids: [1059]
                )
              ]
              spids: [1056 1077]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:w_commit spids:[1080])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Pipeline
                                    children: [
                                      (C {(printf)} {(SQ <'%s\\n'>)} 
                                        {(DQ ($ VSub_DollarName '$stash_msg'))}
                                      )
                                      (C {(git)} {(commit-tree)} {($ VSub_DollarName '$w_tree')} {(-p)} 
                                        {($ VSub_DollarName '$b_commit')} {(-p)} {($ VSub_DollarName '$i_commit')} {($ VSub_DollarName '$untracked_commit_option')}
                                      )
                                    ]
                                    negated: F
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1081 1110]
                          )
                        }
                      spids: [1080]
                    )
                  ]
                  spids: [1080]
                )
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('Cannot record working tree state'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [1118 1124]
                      )
                    )
                  }
                )
              ]
            )
          ]
          spids: [350]
        )
      spids: [345 349]
    )
    (command.FuncDef
      name: store_stash
      body: 
        (command.BraceGroup
          children: [
            (command.WhileUntil
              keyword: <KW_While while>
              cond: [(C {(test)} {($ VSub_Pound '$#')} {(KW_Bang '!') (Lit_Other '=')} {(0)})]
              body: 
                (command.DoGroup
                  children: [
                    (command.Case
                      to_match: {(DQ ($ VSub_Number '$1'))}
                      arms: [
                        (case_arm
                          pat_list: [{(-m)} {(--message)}]
                          action: [
                            (C {(shift)})
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:stash_msg spids:[1171])
                                  op: Equal
                                  rhs: {(DQ ($ VSub_Number '$1'))}
                                  spids: [1171]
                                )
                              ]
                              spids: [1171]
                            )
                          ]
                          spids: [1162 1165 1177 16777215]
                        )
                        (case_arm
                          pat_list: [{(-q)} {(--quiet)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:quiet spids:[1186])
                                  op: Equal
                                  rhs: {(t)}
                                  spids: [1186]
                                )
                              ]
                              spids: [1186]
                            )
                          ]
                          spids: [1180 1183 1190 16777215]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*')}]
                          action: [(command.ControlFlow token:<ControlFlow_Break break>)]
                          spids: [1193 1194 1200 16777215]
                        )
                      ]
                      spids: [1153 1159 1203]
                    )
                    (C {(shift)})
                  ]
                  spids: [1150 1209]
                )
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(test)} {($ VSub_Pound '$#')} {(Lit_Other '=')} {(1)})
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(eval_gettext)} 
                                {
                                  (DQ (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                                    ($ VSub_DollarName '$dashless') (' store') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                                    (' requires one <commit> argument')
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [1226 1236]
                      )
                    )
                  }
                )
              ]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:w_commit spids:[1241])
                  op: Equal
                  rhs: {(DQ ($ VSub_Number '$1'))}
                  spids: [1241]
                )
              ]
              spids: [1241]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$stash_msg'))})]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:stash_msg spids:[1261])
                          op: Equal
                          rhs: 
                            {
                              (DQ ('Created via ') 
                                (word_part.EscapedLiteralPart
                                  token: <Lit_EscapedChar '\\"'>
                                ) ('git stash store') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (.)
                              )
                            }
                          spids: [1261]
                        )
                      ]
                      spids: [1261]
                    )
                  ]
                  spids: [16777215 1258]
                )
              ]
              spids: [16777215 1271]
            )
            (C {(git)} {(update-ref)} {(--create-reflog)} {(-m)} {(DQ ($ VSub_DollarName '$stash_msg'))} 
              {($ VSub_DollarName '$ref_stash')} {($ VSub_DollarName '$w_commit')}
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:ret spids:[1292])
                  op: Equal
                  rhs: {($ VSub_QMark '$?')}
                  spids: [1292]
                )
              ]
              spids: [1292]
            )
            (command.AndOr
              ops: [Op_DAmp Op_DAmp]
              children: [
                (C {(test)} {($ VSub_DollarName '$ret')} {(KW_Bang '!') (Lit_Other '=')} {(0)})
                (C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$quiet'))})
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(eval_gettext)} 
                                {
                                  (DQ ('Cannot update ') 
                                    (word_part.EscapedLiteralPart
                                      token: <Lit_EscapedChar '\\$'>
                                    ) ('ref_stash with ') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) (w_commit)
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [1321 1331]
                      )
                    )
                  }
                )
              ]
            )
            (command.ControlFlow
              token: <ControlFlow_Return return>
              arg_word: {($ VSub_DollarName '$ret')}
            )
          ]
          spids: [1135]
        )
      spids: [1130 1134]
    )
    (command.FuncDef
      name: save_stash
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:keep_index spids:[1350])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [1350]
                )
              ]
              spids: [1350]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:patch_mode spids:[1353])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [1353]
                )
              ]
              spids: [1353]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:untracked spids:[1356])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [1356]
                )
              ]
              spids: [1356]
            )
            (command.WhileUntil
              keyword: <KW_While while>
              cond: [(C {(test)} {($ VSub_Pound '$#')} {(KW_Bang '!') (Lit_Other '=')} {(0)})]
              body: 
                (command.DoGroup
                  children: [
                    (command.Case
                      to_match: {(DQ ($ VSub_Number '$1'))}
                      arms: [
                        (case_arm
                          pat_list: [{(-k)} {(--keep-index)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:keep_index spids:[1389])
                                  op: Equal
                                  rhs: {(t)}
                                  spids: [1389]
                                )
                              ]
                              spids: [1389]
                            )
                          ]
                          spids: [1383 1386 1393 16777215]
                        )
                        (case_arm
                          pat_list: [{(--no-keep-index)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:keep_index spids:[1400])
                                  op: Equal
                                  rhs: {(n)}
                                  spids: [1400]
                                )
                              ]
                              spids: [1400]
                            )
                          ]
                          spids: [1396 1397 1404 16777215]
                        )
                        (case_arm
                          pat_list: [{(-p)} {(--patch)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:patch_mode spids:[1413])
                                  op: Equal
                                  rhs: {(t)}
                                  spids: [1413]
                                )
                              ]
                              spids: [1413]
                            )
                            (command.AndOr
                              ops: [Op_DAmp]
                              children: [
                                (C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$keep_index'))})
                                (command.Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (lhs_expr.LhsName name:keep_index spids:[1431])
                                      op: Equal
                                      rhs: {(t)}
                                      spids: [1431]
                                    )
                                  ]
                                  spids: [1431]
                                )
                              ]
                            )
                          ]
                          spids: [1407 1410 1435 16777215]
                        )
                        (case_arm
                          pat_list: [{(-q)} {(--quiet)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:GIT_QUIET spids:[1444])
                                  op: Equal
                                  rhs: {(t)}
                                  spids: [1444]
                                )
                              ]
                              spids: [1444]
                            )
                          ]
                          spids: [1438 1441 1448 16777215]
                        )
                        (case_arm
                          pat_list: [{(-u)} {(--include-untracked)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:untracked spids:[1457])
                                  op: Equal
                                  rhs: {(untracked)}
                                  spids: [1457]
                                )
                              ]
                              spids: [1457]
                            )
                          ]
                          spids: [1451 1454 1461 16777215]
                        )
                        (case_arm
                          pat_list: [{(-a)} {(--all)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:untracked spids:[1470])
                                  op: Equal
                                  rhs: {(all)}
                                  spids: [1470]
                                )
                              ]
                              spids: [1470]
                            )
                          ]
                          spids: [1464 1467 1474 16777215]
                        )
                        (case_arm
                          pat_list: [{(--help)}]
                          action: [(C {(show_help)})]
                          spids: [1477 1478 1484 16777215]
                        )
                        (case_arm
                          pat_list: [{(--)}]
                          action: [(C {(shift)}) (command.ControlFlow token:<ControlFlow_Break break>)]
                          spids: [1487 1488 1497 16777215]
                        )
                        (case_arm
                          pat_list: [{(-) (Lit_Other '*')}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:option spids:[1505])
                                  op: Equal
                                  rhs: {(DQ ($ VSub_Number '$1'))}
                                  spids: [1505]
                                )
                              ]
                              spids: [1505]
                            )
                            (C {(eval_gettextln)} 
                              {
                                (DQ ("error: unknown option for 'stash save': ") 
                                  (word_part.EscapedLiteralPart
                                    token: <Lit_EscapedChar '\\$'>
                                  ) ('option\n') ("       To provide a message, use git stash save -- '") 
                                  (word_part.EscapedLiteralPart
                                    token: <Lit_EscapedChar '\\$'>
                                  ) ("option'")
                                )
                              }
                            )
                            (C {(usage)})
                          ]
                          spids: [1500 1502 1566 16777215]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other '*')}]
                          action: [(command.ControlFlow token:<ControlFlow_Break break>)]
                          spids: [1569 1570 1576 16777215]
                        )
                      ]
                      spids: [1374 1380 1579]
                    )
                    (C {(shift)})
                  ]
                  spids: [1371 1585]
                )
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$patch_mode'))})
                        (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$untracked'))})
                      ]
                    )
                  ]
                  action: [
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(gettext)} 
                                    {
                                      (DQ 
                                        (
"Can't use --patch and --include-untracked or --all at the same time"
                                        )
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1616 1622]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 1610]
                )
              ]
              spids: [16777215 1626]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:stash_msg spids:[1630])
                  op: Equal
                  rhs: {(DQ ($ VSub_Star '$*'))}
                  spids: [1630]
                )
              ]
              spids: [1630]
            )
            (C {(git)} {(update-index)} {(-q)} {(--refresh)})
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(no_changes)})]
                  action: [
                    (C {(say)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [(C {(gettext)} {(DQ ('No local changes to save'))})]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1657 1663]
                          )
                        )
                      }
                    )
                    (command.ControlFlow
                      token: <ControlFlow_Exit exit>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [16777215 1651]
                )
              ]
              spids: [16777215 1672]
            )
            (command.AndOr
              ops: [Op_DPipe Op_DPipe]
              children: [
                (C {(git)} {(reflog)} {(exists)} {($ VSub_DollarName '$ref_stash')})
                (C {(clear_stash)})
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('Cannot initialize stash'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [1693 1699]
                      )
                    )
                  }
                )
              ]
            )
            (C {(create_stash)} {(DQ ($ VSub_DollarName '$stash_msg'))} 
              {($ VSub_DollarName '$untracked')}
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(store_stash)} {(-m)} {(DQ ($ VSub_DollarName '$stash_msg'))} {(-q)} 
                  {($ VSub_DollarName '$w_commit')}
                )
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('Cannot save the current status'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [1731 1737]
                      )
                    )
                  }
                )
              ]
            )
            (C {(say)} 
              {
                (DQ 
                  (word_part.CommandSubPart
                    command_list: 
                      (command.CommandList
                        children: [
                          (C {(eval_gettext)} 
                            {
                              (DQ ('Saved working directory and index state ') 
                                (word_part.EscapedLiteralPart
                                  token: <Lit_EscapedChar '\\$'>
                                ) (stash_msg)
                              )
                            }
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [1744 1752]
                  )
                )
              }
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$patch_mode'))})]
                  action: [
                    (C {(git)} {(reset)} {(--hard)} 
                      {
                        (word_part.BracedVarSub
                          token: <VSub_Name GIT_QUIET>
                          suffix_op: (suffix_op.StringUnary op_id:VTest_ColonPlus arg_word:{(-q)})
                          spids: [1777 1781]
                        )
                      }
                    )
                    (command.AndOr
                      ops: [Op_DAmp Op_DPipe]
                      children: [
                        (C {(test)} {(DQ ($ VSub_DollarName '$untracked'))} {(Lit_Other '=')} {(DQ (all))})
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:CLEAN_X_OPTION spids:[1798])
                              op: Equal
                              rhs: {(-x)}
                              spids: [1798]
                            )
                          ]
                          spids: [1798]
                        )
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:CLEAN_X_OPTION spids:[1803])
                              op: Equal
                              rhs: (word.EmptyWord)
                              spids: [1803]
                            )
                          ]
                          spids: [1803]
                        )
                      ]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$untracked'))})]
                          action: [
                            (C {(git)} {(clean)} {(--force)} {(--quiet)} {(-d)} 
                              {($ VSub_DollarName '$CLEAN_X_OPTION')}
                            )
                          ]
                          spids: [16777215 1817]
                        )
                      ]
                      spids: [16777215 1833]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.AndOr
                              ops: [Op_DAmp]
                              children: [
                                (C {(test)} {(DQ ($ VSub_DollarName '$keep_index'))} {(Lit_Other '=')} 
                                  {(DQ (t))}
                                )
                                (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$i_tree'))})
                              ]
                            )
                          ]
                          action: [
                            (C {(git)} {(read-tree)} {(--reset)} {(-u)} {($ VSub_DollarName '$i_tree')})
                          ]
                          spids: [16777215 1862]
                        )
                      ]
                      spids: [16777215 1876]
                    )
                  ]
                  spids: [16777215 1768]
                )
              ]
              else_action: [
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (command.SimpleCommand
                      words: [{(git)} {(apply)} {(-R)}]
                      redirects: [
                        (redir.Redir
                          op: <Redir_Less '<'>
                          fd: 16777215
                          arg_word: {(DQ ($ VSub_DollarName '$TMP') (-patch))}
                        )
                      ]
                    )
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [(C {(gettext)} {(DQ ('Cannot remove worktree changes'))})]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [1901 1907]
                          )
                        )
                      }
                    )
                  ]
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: [
                        (C {(test)} {(DQ ($ VSub_DollarName '$keep_index'))} 
                          {(KW_Bang '!') (Lit_Other '=')} {(DQ (t))}
                        )
                      ]
                      action: [(C {(git)} {(reset)})]
                      spids: [16777215 1928]
                    )
                  ]
                  spids: [16777215 1936]
                )
              ]
              spids: [1879 1939]
            )
          ]
          spids: [1347]
        )
      spids: [1342 1346]
    )
    (command.FuncDef
      name: have_stash
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(git)} {(rev-parse)} {(--verify)} {(--quiet)} {($ VSub_DollarName '$ref_stash')}]
              redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})]
            )
          ]
          spids: [1949]
        )
      spids: [1944 1948]
    )
    (command.FuncDef
      name: list_stash
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(have_stash)})
                (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
            )
            (C {(git)} {(log)} {(--format) (Lit_Other '=') (DQ ('%gd: %gs'))} {(-g)} {(--first-parent)} 
              {(-m)} {(DQ ($ VSub_At '$@'))} {($ VSub_DollarName '$ref_stash')} {(--)}
            )
          ]
          spids: [1973]
        )
      spids: [1968 1972]
    )
    (command.FuncDef
      name: show_stash
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:ALLOW_UNKNOWN_FLAGS spids:[2020])
                  op: Equal
                  rhs: {(t)}
                  spids: [2020]
                )
              ]
              spids: [2020]
            )
            (C {(assert_stash_like)} {(DQ ($ VSub_At '$@'))})
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$FLAGS'))})]
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (C {(test)} 
                              {
                                (DQ 
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [
                                          (command.AndOr
                                            ops: [Op_DPipe]
                                            children: [
                                              (C {(git)} {(config)} {(--bool)} {(stash.showStat)})
                                              (C {(echo)} {(true)})
                                            ]
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [2051 2065]
                                  )
                                )
                              } {(Lit_Other '=')} {(DQ (true))}
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:FLAGS spids:[2078])
                                  op: Equal
                                  rhs: {(--stat)}
                                  spids: [2078]
                                )
                              ]
                              spids: [2078]
                            )
                          ]
                          spids: [16777215 2075]
                        )
                      ]
                      spids: [16777215 2082]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (C {(test)} 
                              {
                                (DQ 
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [
                                          (command.AndOr
                                            ops: [Op_DPipe]
                                            children: [
                                              (C {(git)} {(config)} {(--bool)} {(stash.showPatch)})
                                              (C {(echo)} {(false)})
                                            ]
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [2091 2105]
                                  )
                                )
                              } {(Lit_Other '=')} {(DQ (true))}
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:FLAGS spids:[2118])
                                  op: Equal
                                  rhs: 
                                    {(${ VSub_Name FLAGS) 
                                      (word_part.BracedVarSub
                                        token: <VSub_Name FLAGS>
                                        suffix_op: 
                                          (suffix_op.StringUnary
                                            op_id: VTest_ColonPlus
                                            arg_word: {(' ')}
                                          )
                                        spids: [2122 2126]
                                      ) (-p)
                                    }
                                  spids: [2118]
                                )
                              ]
                              spids: [2118]
                            )
                          ]
                          spids: [16777215 2115]
                        )
                      ]
                      spids: [16777215 2130]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [(C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$FLAGS'))})]
                          action: [
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                              arg_word: {(0)}
                            )
                          ]
                          spids: [16777215 2145]
                        )
                      ]
                      spids: [16777215 2153]
                    )
                  ]
                  spids: [16777215 2043]
                )
              ]
              spids: [16777215 2156]
            )
            (C {(git)} {(diff)} {(${ VSub_Name FLAGS)} {($ VSub_DollarName '$b_commit')} 
              {($ VSub_DollarName '$w_commit')}
            )
          ]
          spids: [2017]
        )
      spids: [2012 2016]
    )
    (command.FuncDef
      name: show_help
      body: 
        (command.BraceGroup
          children: [
            (C {(exec)} {(git)} {(help)} {(stash)})
            (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [2180]
        )
      spids: [2175 2179]
    )
    (command.FuncDef
      name: parse_flags_and_rev
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {(test)} {(DQ ($ VSub_DollarName '$PARSE_CACHE'))} {(Lit_Other '=')} 
                  {(DQ ($ VSub_Star '$*'))}
                )
                (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:PARSE_CACHE spids:[2334])
                  op: Equal
                  rhs: {(DQ ($ VSub_Star '$*'))}
                  spids: [2334]
                )
              ]
              spids: [2334]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:IS_STASH_LIKE spids:[2341])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2341]
                )
              ]
              spids: [2341]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:IS_STASH_REF spids:[2344])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2344]
                )
              ]
              spids: [2344]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:INDEX_OPTION spids:[2347])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2347]
                )
              ]
              spids: [2347]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:s spids:[2350])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2350]
                )
              ]
              spids: [2350]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:w_commit spids:[2353])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2353]
                )
              ]
              spids: [2353]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:b_commit spids:[2356])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2356]
                )
              ]
              spids: [2356]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:i_commit spids:[2359])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2359]
                )
              ]
              spids: [2359]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:u_commit spids:[2362])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2362]
                )
              ]
              spids: [2362]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:w_tree spids:[2365])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2365]
                )
              ]
              spids: [2365]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:b_tree spids:[2368])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2368]
                )
              ]
              spids: [2368]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:i_tree spids:[2371])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2371]
                )
              ]
              spids: [2371]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:u_tree spids:[2374])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2374]
                )
              ]
              spids: [2374]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:REV spids:[2378])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(git)} {(rev-parse)} {(--no-flags)} {(--symbolic)} {(--sq)} 
                                    {(DQ ($ VSub_At '$@'))}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2379 2393]
                          )
                        }
                      spids: [2378]
                    )
                  ]
                  spids: [2378]
                )
                (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
              ]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:FLAGS spids:[2403])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [2403]
                )
              ]
              spids: [2403]
            )
            (command.ForEach
              iter_name: opt
              do_arg_iter: T
              body: 
                (command.DoGroup
                  children: [
                    (command.Case
                      to_match: {(DQ ($ VSub_DollarName '$opt'))}
                      arms: [
                        (case_arm
                          pat_list: [{(-q)} {(--quiet)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:GIT_QUIET spids:[2429])
                                  op: Equal
                                  rhs: {(-t)}
                                  spids: [2429]
                                )
                              ]
                              spids: [2429]
                            )
                          ]
                          spids: [2423 2426 2433 16777215]
                        )
                        (case_arm
                          pat_list: [{(--index)}]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:INDEX_OPTION spids:[2440])
                                  op: Equal
                                  rhs: {(--index)}
                                  spids: [2440]
                                )
                              ]
                              spids: [2440]
                            )
                          ]
                          spids: [2436 2437 2444 16777215]
                        )
                        (case_arm
                          pat_list: [{(--help)}]
                          action: [(C {(show_help)})]
                          spids: [2447 2448 2454 16777215]
                        )
                        (case_arm
                          pat_list: [{(-) (Lit_Other '*')}]
                          action: [
                            (command.AndOr
                              ops: [Op_DPipe]
                              children: [
                                (C {(test)} {(DQ ($ VSub_DollarName '$ALLOW_UNKNOWN_FLAGS'))} 
                                  {(Lit_Other '=')} {(t)}
                                )
                                (C {(die)} 
                                  {
                                    (DQ 
                                      (word_part.CommandSubPart
                                        command_list: 
                                          (command.CommandList
                                            children: [
                                              (C {(eval_gettext)} 
                                                {
                                                  (DQ ('unknown option: ') 
                                                    (word_part.EscapedLiteralPart
                                                      token: <Lit_EscapedChar '\\$'>
                                                    ) (opt)
                                                  )
                                                }
                                              )
                                            ]
                                          )
                                        left_token: <Left_CommandSub '$('>
                                        spids: [2478 2486]
                                      )
                                    )
                                  }
                                )
                              ]
                            )
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:FLAGS spids:[2490])
                                  op: Equal
                                  rhs: 
                                    {
                                      (DQ (${ VSub_Name FLAGS) 
                                        (word_part.BracedVarSub
                                          token: <VSub_Name FLAGS>
                                          suffix_op: 
                                            (suffix_op.StringUnary
                                              op_id: VTest_ColonPlus
                                              arg_word: {(' ')}
                                            )
                                          spids: [2495 2499]
                                        ) ($ VSub_DollarName '$opt')
                                      )
                                    }
                                  spids: [2490]
                                )
                              ]
                              spids: [2490]
                            )
                          ]
                          spids: [2457 2459 2504 16777215]
                        )
                      ]
                      spids: [2414 2420 2507]
                    )
                  ]
                  spids: [2411 2510]
                )
              spids: [16777215 16777215]
            )
            (C {(eval)} {(set)} {(--)} {($ VSub_DollarName '$REV')})
            (command.Case
              to_match: {($ VSub_Pound '$#')}
              arms: [
                (case_arm
                  pat_list: [{(0)}]
                  action: [
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (C {(have_stash)})
                        (C {(die)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(gettext)} {(DQ ('No stash found.'))})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [2542 2548]
                              )
                            )
                          }
                        )
                      ]
                    )
                    (C {(set)} {(--)} 
                      {(${ VSub_Name ref_stash) (Lit_Other '@') (Lit_LBrace '{') (0) (Lit_RBrace '}')}
                    )
                  ]
                  spids: [2531 2532 2565 16777215]
                )
                (case_arm
                  pat_list: [{(1)}]
                  action: [(C {(Lit_Other ':')})]
                  spids: [2568 2569 2575 16777215]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(eval_gettext)} 
                                    {
                                      (DQ ('Too many revisions specified: ') 
                                        (word_part.EscapedLiteralPart
                                          token: <Lit_EscapedChar '\\$'>
                                        ) (REV)
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2585 2593]
                          )
                        )
                      }
                    )
                  ]
                  spids: [2578 2579 2597 16777215]
                )
              ]
              spids: [2524 2528 2600]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:REV spids:[2604])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(git)} {(rev-parse)} {(--symbolic)} {(--verify)} {(--quiet)} 
                                    {(DQ ($ VSub_Number '$1'))}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2605 2619]
                          )
                        }
                      spids: [2604]
                    )
                  ]
                  spids: [2604]
                )
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:reference spids:[2626])
                          op: Equal
                          rhs: {(DQ ($ VSub_Number '$1'))}
                          spids: [2626]
                        )
                      ]
                      spids: [2626]
                    )
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(eval_gettext)} 
                                    {
                                      (DQ (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) 
                                        ('reference is not a valid reference')
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2635 2642]
                          )
                        )
                      }
                    )
                  ]
                  spids: [2623]
                )
              ]
            )
            (command.AndOr
              ops: [Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:i_commit spids:[2650])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(git)} {(rev-parse)} {(--verify)} {(--quiet)} 
                                    {(DQ ($ VSub_DollarName '$REV') ('^2'))}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2651 2664]
                          )
                        }
                      spids: [2650]
                    )
                  ]
                  spids: [2650]
                )
                (C {(set)} {(--)} 
                  {
                    (word_part.CommandSubPart
                      command_list: 
                        (command.CommandList
                          children: [
                            (command.SimpleCommand
                              words: [
                                {(git)}
                                {(rev-parse)}
                                {(DQ ($ VSub_DollarName '$REV'))}
                                {(DQ ($ VSub_DollarName '$REV') ('^1'))}
                                {(DQ ($ VSub_DollarName '$REV') (':'))}
                                {(DQ ($ VSub_DollarName '$REV') ('^1:'))}
                                {(DQ ($ VSub_DollarName '$REV') ('^2:'))}
                              ]
                              redirects: [
                                (redir.Redir
                                  op: <Redir_Great '2>'>
                                  fd: 2
                                  arg_word: {(/dev/null)}
                                )
                              ]
                            )
                          ]
                        )
                      left_token: <Left_CommandSub '$('>
                      spids: [2673 2704]
                    )
                  }
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:s spids:[2709])
                      op: Equal
                      rhs: {($ VSub_Number '$1')}
                      spids: [2709]
                    )
                  ]
                  spids: [2709]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:w_commit spids:[2715])
                      op: Equal
                      rhs: {($ VSub_Number '$1')}
                      spids: [2715]
                    )
                  ]
                  spids: [2715]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:b_commit spids:[2721])
                      op: Equal
                      rhs: {($ VSub_Number '$2')}
                      spids: [2721]
                    )
                  ]
                  spids: [2721]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:w_tree spids:[2727])
                      op: Equal
                      rhs: {($ VSub_Number '$3')}
                      spids: [2727]
                    )
                  ]
                  spids: [2727]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:b_tree spids:[2733])
                      op: Equal
                      rhs: {($ VSub_Number '$4')}
                      spids: [2733]
                    )
                  ]
                  spids: [2733]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:i_tree spids:[2739])
                      op: Equal
                      rhs: {($ VSub_Number '$5')}
                      spids: [2739]
                    )
                  ]
                  spids: [2739]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:IS_STASH_LIKE spids:[2745])
                      op: Equal
                      rhs: {(t)}
                      spids: [2745]
                    )
                  ]
                  spids: [2745]
                )
                (C {(test)} {(DQ ($ VSub_DollarName '$ref_stash'))} {(Lit_Other '=')} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(git)} {(rev-parse)} {(--symbolic-full-name)} 
                                {
                                  (DQ 
                                    (word_part.BracedVarSub
                                      token: <VSub_Name REV>
                                      suffix_op: 
                                        (suffix_op.StringUnary
                                          op_id: VOp1_Percent
                                          arg_word: {('@*')}
                                        )
                                      spids: [2768 2772]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [2760 2774]
                      )
                    )
                  }
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:IS_STASH_REF spids:[2780])
                      op: Equal
                      rhs: {(t)}
                      spids: [2780]
                    )
                  ]
                  spids: [2780]
                )
              ]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:u_commit spids:[2785])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(git)} {(rev-parse)} {(--verify)} {(--quiet)} 
                                    {(DQ ($ VSub_DollarName '$REV') ('^3'))}
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2786 2799]
                          )
                        }
                      spids: [2785]
                    )
                  ]
                  spids: [2785]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:u_tree spids:[2804])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.SimpleCommand
                                    words: [
                                      {(git)}
                                      {(rev-parse)}
                                      {(DQ ($ VSub_DollarName '$REV') ('^3:'))}
                                    ]
                                    redirects: [
                                      (redir.Redir
                                        op: <Redir_Great '2>'>
                                        fd: 2
                                        arg_word: {(/dev/null)}
                                      )
                                    ]
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2805 2817]
                          )
                        }
                      spids: [2804]
                    )
                  ]
                  spids: [2804]
                )
              ]
            )
          ]
          spids: [2309]
        )
      spids: [2305 2308]
    )
    (command.FuncDef
      name: is_stash_like
      body: 
        (command.BraceGroup
          children: [
            (C {(parse_flags_and_rev)} {(DQ ($ VSub_At '$@'))})
            (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$IS_STASH_LIKE'))})
          ]
          spids: [2826]
        )
      spids: [2822 2825]
    )
    (command.FuncDef
      name: assert_stash_like
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(is_stash_like)} {(DQ ($ VSub_At '$@'))})
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:args spids:[2865])
                          op: Equal
                          rhs: {(DQ ($ VSub_Star '$*'))}
                          spids: [2865]
                        )
                      ]
                      spids: [2865]
                    )
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(eval_gettext)} 
                                    {
                                      (DQ ("'") 
                                        (word_part.EscapedLiteralPart
                                          token: <Lit_EscapedChar '\\$'>
                                        ) ("args' is not a stash-like commit")
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2874 2882]
                          )
                        )
                      }
                    )
                  ]
                  spids: [2862]
                )
              ]
            )
          ]
          spids: [2851]
        )
      spids: [2847 2850]
    )
    (command.FuncDef
      name: is_stash_ref
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {(is_stash_like)} {(DQ ($ VSub_At '$@'))})
                (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$IS_STASH_REF'))})
              ]
            )
          ]
          spids: [2895]
        )
      spids: [2891 2894]
    )
    (command.FuncDef
      name: assert_stash_ref
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(is_stash_ref)} {(DQ ($ VSub_At '$@'))})
                (command.BraceGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:args spids:[2935])
                          op: Equal
                          rhs: {(DQ ($ VSub_Star '$*'))}
                          spids: [2935]
                        )
                      ]
                      spids: [2935]
                    )
                    (C {(die)} 
                      {
                        (DQ 
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (C {(eval_gettext)} 
                                    {
                                      (DQ ("'") 
                                        (word_part.EscapedLiteralPart
                                          token: <Lit_EscapedChar '\\$'>
                                        ) ("args' is not a stash reference")
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [2944 2952]
                          )
                        )
                      }
                    )
                  ]
                  spids: [2932]
                )
              ]
            )
          ]
          spids: [2921]
        )
      spids: [2917 2920]
    )
    (command.FuncDef
      name: apply_stash
      body: 
        (command.BraceGroup
          children: [
            (C {(assert_stash_like)} {(DQ ($ VSub_At '$@'))})
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(git)} {(update-index)} {(-q)} {(--refresh)})
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('unable to refresh index'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [2991 2997]
                      )
                    )
                  }
                )
              ]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:c_tree spids:[3006])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: (command.CommandList children:[(C {(git)} {(write-tree)})])
                            left_token: <Left_CommandSub '$('>
                            spids: [3007 3011]
                          )
                        }
                      spids: [3006]
                    )
                  ]
                  spids: [3006]
                )
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(gettext)} {(DQ ('Cannot apply a stash in the middle of a merge'))})
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [3019 3025]
                      )
                    )
                  }
                )
              ]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:unstashed_index_tree spids:[3030])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [3030]
                )
              ]
              spids: [3030]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.AndOr
                      ops: [Op_DAmp Op_DAmp]
                      children: [
                        (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$INDEX_OPTION'))})
                        (C {(test)} {(DQ ($ VSub_DollarName '$b_tree'))} {(KW_Bang '!') (Lit_Other '=')} 
                          {(DQ ($ VSub_DollarName '$i_tree'))}
                        )
                        (C {(test)} {(DQ ($ VSub_DollarName '$c_tree'))} {(KW_Bang '!') (Lit_Other '=')} 
                          {(DQ ($ VSub_DollarName '$i_tree'))}
                        )
                      ]
                    )
                  ]
                  action: [
                    (command.Pipeline
                      children: [
                        (C {(git)} {(diff-tree)} {(--binary)} 
                          {($ VSub_DollarName '$s') (Lit_Other '^') (2) (Lit_Other '^') (..) 
                            ($ VSub_DollarName '$s') (Lit_Other '^') (2)
                          }
                        )
                        (C {(git)} {(apply)} {(--cached)})
                      ]
                      negated: F
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(test)} {($ VSub_QMark '$?')} {(-ne)} {(0)})
                        (C {(die)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(gettext)} {(DQ ('Conflicts in index. Try without --index.'))})
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [3116 3122]
                              )
                            )
                          }
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:unstashed_index_tree spids:[3126])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [(C {(git)} {(write-tree)})]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [3127 3131]
                                  )
                                }
                              spids: [3126]
                            )
                          ]
                          spids: [3126]
                        )
                        (C {(die)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [(C {(gettext)} {(DQ ('Could not save index tree'))})]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [3139 3145]
                              )
                            )
                          }
                        )
                      ]
                    )
                    (C {(git)} {(reset)})
                  ]
                  spids: [16777215 3075]
                )
              ]
              spids: [16777215 3154]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$u_tree'))})]
                  action: [
                    (command.AndOr
                      ops: [Op_DAmp Op_DAmp Op_DPipe]
                      children: [
                        (command.SimpleCommand
                          words: [{(git-read-tree)} {(DQ ($ VSub_DollarName '$u_tree'))}]
                          more_env: [
                            (env_pair
                              name: GIT_INDEX_FILE
                              val: {(DQ ($ VSub_DollarName '$TMPindex'))}
                              spids: [3172]
                            )
                          ]
                        )
                        (command.SimpleCommand
                          words: [{(git)} {(checkout-index)} {(--all)}]
                          more_env: [
                            (env_pair
                              name: GIT_INDEX_FILE
                              val: {(DQ ($ VSub_DollarName '$TMPindex'))}
                              spids: [3186]
                            )
                          ]
                        )
                        (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TMPindex'))})
                        (C {(die)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(gettext)} 
                                        {(DQ ('Could not restore untracked files from stash'))}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [3214 3220]
                              )
                            )
                          }
                        )
                      ]
                    )
                  ]
                  spids: [16777215 3169]
                )
              ]
              spids: [16777215 3224]
            )
            (C {(eval)} 
              {
                (DQ ('\n') ('\t\tGITHEAD_') ($ VSub_DollarName '$w_tree') ("='Stashed changes' &&\n") 
                  ('\t\tGITHEAD_') ($ VSub_DollarName '$c_tree') ("='Updated upstream' &&\n") ('\t\tGITHEAD_') 
                  ($ VSub_DollarName '$b_tree') ("='Version stash was based on' &&\n") ('\t\texport GITHEAD_') ($ VSub_DollarName '$w_tree') 
                  (' GITHEAD_') ($ VSub_DollarName '$c_tree') (' GITHEAD_') ($ VSub_DollarName '$b_tree') ('\n') ('\t')
                )
              }
            )
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$GIT_QUIET'))})]
                  action: [
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:GIT_MERGE_VERBOSITY spids:[3267])
                              op: Equal
                              rhs: {(0)}
                              spids: [3267]
                            )
                          ]
                          spids: [3267]
                        )
                        (C {(export)} {(GIT_MERGE_VERBOSITY)})
                      ]
                    )
                  ]
                  spids: [16777215 3264]
                )
              ]
              spids: [16777215 3277]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (C {(git)} {(merge-recursive)} {($ VSub_DollarName '$b_tree')} {(--)} 
                      {($ VSub_DollarName '$c_tree')} {($ VSub_DollarName '$w_tree')}
                    )
                  ]
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$unstashed_index_tree'))})]
                          action: [
                            (C {(git)} {(read-tree)} {(DQ ($ VSub_DollarName '$unstashed_index_tree'))})
                          ]
                          spids: [16777215 3313]
                        )
                      ]
                      else_action: [
                        (command.AndOr
                          ops: [Op_DAmp Op_DAmp Op_DAmp Op_DPipe]
                          children: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:a spids:[3328])
                                  op: Equal
                                  rhs: {(DQ ($ VSub_DollarName '$TMP') (-added))}
                                  spids: [3328]
                                )
                              ]
                              spids: [3328]
                            )
                            (command.SimpleCommand
                              words: [
                                {(git)}
                                {(diff-index)}
                                {(--cached)}
                                {(--name-only)}
                                {(--diff-filter) (Lit_Other '=') (A)}
                                {($ VSub_DollarName '$c_tree')}
                              ]
                              redirects: [
                                (redir.Redir
                                  op: <Redir_Great '>'>
                                  fd: 16777215
                                  arg_word: {(DQ ($ VSub_DollarName '$a'))}
                                )
                              ]
                            )
                            (C {(git)} {(read-tree)} {(--reset)} {($ VSub_DollarName '$c_tree')})
                            (command.SimpleCommand
                              words: [{(git)} {(update-index)} {(--add)} {(--stdin)}]
                              redirects: [
                                (redir.Redir
                                  op: <Redir_Less '<'>
                                  fd: 16777215
                                  arg_word: {(DQ ($ VSub_DollarName '$a'))}
                                )
                              ]
                            )
                            (C {(die)} 
                              {
                                (DQ 
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [
                                          (C {(gettext)} {(DQ ('Cannot unstage modified files'))})
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [3389 3395]
                                  )
                                )
                              }
                            )
                          ]
                        )
                        (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$a'))})
                      ]
                      spids: [3325 3408]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:squelch spids:[3411])
                          op: Equal
                          rhs: (word.EmptyWord)
                          spids: [3411]
                        )
                      ]
                      spids: [3411]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$GIT_QUIET'))})]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:squelch spids:[3428])
                                  op: Equal
                                  rhs: {(SQ <'>/dev/null 2>&1'>)}
                                  spids: [3428]
                                )
                              ]
                              spids: [3428]
                            )
                          ]
                          spids: [16777215 3425]
                        )
                      ]
                      spids: [16777215 3434]
                    )
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (command.Subshell
                          child: 
                            (command.AndOr
                              ops: [Op_DAmp]
                              children: [
                                (C {(cd)} {(DQ ($ VSub_DollarName '$START_DIR'))})
                                (C {(eval)} {(DQ ('git status ') ($ VSub_DollarName '$squelch'))})
                              ]
                            )
                          spids: [3437 3452]
                        )
                        (C {(Lit_Other ':')})
                      ]
                    )
                  ]
                  spids: [16777215 3295]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:status spids:[3466])
                      op: Equal
                      rhs: {($ VSub_QMark '$?')}
                      spids: [3466]
                    )
                  ]
                  spids: [3466]
                )
                (C {(git)} {(rerere)})
                (command.If
                  arms: [
                    (if_arm
                      cond: [(C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$INDEX_OPTION'))})]
                      action: [
                        (command.SimpleCommand
                          words: [{(gettextln)} {(DQ ('Index was not unstashed.'))}]
                          redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
                        )
                      ]
                      spids: [16777215 3486]
                    )
                  ]
                  spids: [16777215 3499]
                )
                (command.ControlFlow
                  token: <ControlFlow_Exit exit>
                  arg_word: {($ VSub_DollarName '$status')}
                )
              ]
              spids: [3459 3507]
            )
          ]
          spids: [2966]
        )
      spids: [2961 2965]
    )
    (command.FuncDef
      name: pop_stash
      body: 
        (command.BraceGroup
          children: [
            (C {(assert_stash_ref)} {(DQ ($ VSub_At '$@'))})
            (command.If
              arms: [
                (if_arm
                  cond: [(C {(apply_stash)} {(DQ ($ VSub_At '$@'))})]
                  action: [(C {(drop_stash)} {(DQ ($ VSub_At '$@'))})]
                  spids: [16777215 3536]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:status spids:[3549])
                      op: Equal
                      rhs: {($ VSub_QMark '$?')}
                      spids: [3549]
                    )
                  ]
                  spids: [3549]
                )
                (C {(say)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(gettext)} {(DQ ('The stash is kept in case you need it again.'))})
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [3556 3562]
                      )
                    )
                  }
                )
                (command.ControlFlow
                  token: <ControlFlow_Exit exit>
                  arg_word: {($ VSub_DollarName '$status')}
                )
              ]
              spids: [3546 3571]
            )
          ]
          spids: [3516]
        )
      spids: [3512 3515]
    )
    (command.FuncDef
      name: drop_stash
      body: 
        (command.BraceGroup
          children: [
            (C {(assert_stash_ref)} {(DQ ($ VSub_At '$@'))})
            (command.AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (C {(git)} {(reflog)} {(delete)} {(--updateref)} {(--rewrite)} {(DQ (${ VSub_Name REV))})
                (C {(say)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(eval_gettext)} 
                                {
                                  (DQ ('Dropped ') 
                                    (word_part.EscapedLiteralPart
                                      token: <Lit_EscapedChar '\\$'>
                                    ) ('{REV} (') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ('s)')
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [3614 3624]
                      )
                    )
                  }
                )
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(eval_gettext)} 
                                {
                                  (DQ (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) 
                                    ('{REV}: Could not drop stash entry')
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [3633 3640]
                      )
                    )
                  }
                )
              ]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (command.SimpleCommand
                  words: [
                    {(git)}
                    {(rev-parse)}
                    {(--verify)}
                    {(--quiet)}
                    {(DQ ($ VSub_DollarName '$ref_stash') ('@{0}'))}
                  ]
                  redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})]
                )
                (C {(clear_stash)})
              ]
            )
          ]
          spids: [3581]
        )
      spids: [3576 3580]
    )
    (command.FuncDef
      name: apply_to_branch
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(test)} {(-n)} {(DQ ($ VSub_Number '$1'))})
                (C {(die)} 
                  {
                    (DQ 
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [(C {(gettext)} {(DQ ('No branch name specified'))})]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [3694 3700]
                      )
                    )
                  }
                )
              ]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:branch spids:[3704])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [3704]
                )
              ]
              spids: [3704]
            )
            (C {(shift)} {(1)})
            (C {(set)} {(--)} {(--index)} {(DQ ($ VSub_At '$@'))})
            (C {(assert_stash_like)} {(DQ ($ VSub_At '$@'))})
            (command.AndOr
              ops: [Op_DAmp Op_DAmp]
              children: [
                (C {(git)} {(checkout)} {(-b)} {($ VSub_DollarName '$branch')} 
                  {($ VSub_DollarName '$REV') (Lit_Other '^')}
                )
                (C {(apply_stash)} {(DQ ($ VSub_At '$@'))})
                (command.BraceGroup
                  children: [
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$IS_STASH_REF'))})
                        (C {(drop_stash)} {(DQ ($ VSub_At '$@'))})
                      ]
                    )
                  ]
                  spids: [3755]
                )
              ]
            )
          ]
          spids: [3678]
        )
      spids: [3673 3677]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:PARSE_CACHE spids:[3780])
          op: Equal
          rhs: {(SQ <--not-parsed>)}
          spids: [3780]
        )
      ]
      spids: [3780]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:seen_non_option spids:[3788])
          op: Equal
          rhs: (word.EmptyWord)
          spids: [3788]
        )
      ]
      spids: [3788]
    )
    (command.ForEach
      iter_name: opt
      do_arg_iter: T
      body: 
        (command.DoGroup
          children: [
            (command.Case
              to_match: {(DQ ($ VSub_DollarName '$opt'))}
              arms: [
                (case_arm
                  pat_list: [{(-) (Lit_Other '*')}]
                  spids: [3806 3808 3810 16777215]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [
                    (command.Sentence
                      child: 
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:seen_non_option spids:[3816])
                              op: Equal
                              rhs: {(t)}
                              spids: [3816]
                            )
                          ]
                          spids: [3816]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (command.ControlFlow token:<ControlFlow_Break break>)
                  ]
                  spids: [3813 3814 3822 16777215]
                )
              ]
              spids: [3797 3803 3825]
            )
          ]
          spids: [3794 3827]
        )
      spids: [16777215 16777215]
    )
    (command.AndOr
      ops: [Op_DPipe]
      children: [
        (C {(test)} {(-n)} {(DQ ($ VSub_DollarName '$seen_non_option'))})
        (C {(set)} {(DQ (save))} {(DQ ($ VSub_At '$@'))})
      ]
    )
    (command.Case
      to_match: {(DQ ($ VSub_Number '$1'))}
      arms: [
        (case_arm
          pat_list: [{(list)}]
          action: [(C {(shift)}) (C {(list_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3862 3863 3876 16777215]
        )
        (case_arm
          pat_list: [{(show)}]
          action: [(C {(shift)}) (C {(show_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3878 3879 3892 16777215]
        )
        (case_arm
          pat_list: [{(save)}]
          action: [(C {(shift)}) (C {(save_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3894 3895 3908 16777215]
        )
        (case_arm
          pat_list: [{(apply)}]
          action: [(C {(shift)}) (C {(apply_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3910 3911 3924 16777215]
        )
        (case_arm
          pat_list: [{(clear)}]
          action: [(C {(shift)}) (C {(clear_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3926 3927 3940 16777215]
        )
        (case_arm
          pat_list: [{(create)}]
          action: [
            (C {(shift)})
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {(create_stash)} {(DQ ($ VSub_Star '$*'))})
                (C {(echo)} {(DQ ($ VSub_DollarName '$w_commit'))})
              ]
            )
          ]
          spids: [3942 3943 3964 16777215]
        )
        (case_arm
          pat_list: [{(store)}]
          action: [(C {(shift)}) (C {(store_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3966 3967 3980 16777215]
        )
        (case_arm
          pat_list: [{(drop)}]
          action: [(C {(shift)}) (C {(drop_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3982 3983 3996 16777215]
        )
        (case_arm
          pat_list: [{(pop)}]
          action: [(C {(shift)}) (C {(pop_stash)} {(DQ ($ VSub_At '$@'))})]
          spids: [3998 3999 4012 16777215]
        )
        (case_arm
          pat_list: [{(branch)}]
          action: [(C {(shift)}) (C {(apply_to_branch)} {(DQ ($ VSub_At '$@'))})]
          spids: [4014 4015 4028 16777215]
        )
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [
            (command.Case
              to_match: {($ VSub_Pound '$#')}
              arms: [
                (case_arm
                  pat_list: [{(0)}]
                  action: [
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(save_stash)})
                        (C {(say)} 
                          {
                            (DQ 
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(gettext)} 
                                        {
                                          (DQ ('(To restore them type ') 
                                            (word_part.EscapedLiteralPart
                                              token: <Lit_EscapedChar '\\"'>
                                            ) ('git stash apply') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (')')
                                          )
                                        }
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [4053 4063]
                              )
                            )
                          }
                        )
                      ]
                    )
                  ]
                  spids: [4041 4042 4067 16777215]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [(C {(usage)})]
                  spids: [4070 4071 16777215 4077]
                )
              ]
              spids: [4034 4038 4077]
            )
          ]
          spids: [4030 4031 4080 16777215]
        )
      ]
      spids: [3854 3860 4082]
    )
  ]
)