(command.CommandList
  children: [
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Id.Lit_LBracket '[')} 
                  {
                    (DQ 
                      (braced_var_sub
                        token: (Token id:Id.VSub_Name val:BASH_SOURCE span_id:10)
                        bracket_op: 
                          (bracket_op.ArrayIndex
                            expr: (arith_expr.ArithWord w:{(Id.Lit_Digits 0)})
                          )
                      )
                    )
                  } {(Id.KW_Bang '!') (Id.Lit_Equals '=')} {(DQ )} {(Id.Lit_RBracket ']')}
                )
              terminator: (Token id:Id.Op_Semi val:';' span_id:24)
            )
          ]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:current_script_path)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (DQ 
                        (braced_var_sub
                          token: (Token id:Id.VSub_Name val:BASH_SOURCE span_id:32)
                          bracket_op: 
                            (bracket_op.ArrayIndex
                              expr: (arith_expr.ArithWord w:{(Id.Lit_Digits 0)})
                            )
                        )
                      )
                    }
                  spids: [29]
                )
              ]
            )
          ]
          spids: [4 26]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:current_script_path)
              op: assign_op.Equal
              rhs: {(DQ ($ Id.VSub_Number '$0'))}
              spids: [42]
            )
          ]
        )
      ]
    )
    (C {(export)} {(ASDF_DIR)})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:ASDF_DIR)
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                (command_sub
                  left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:56)
                  command_list: 
                    (command.CommandList
                      children: [
                        (command.Sentence
                          child: 
                            (command.AndOr
                              ops: [Id.Op_DPipe]
                              children: [
                                (command.Simple
                                  words: [
                                    {(cd)}
                                    {
                                      (DQ 
                                        (command_sub
                                          left_token: 
                                            (Token
                                              id: Id.Left_DollarParen
                                              val: '$('
                                              span_id: 60
                                            )
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(dirname)} 
                                                  {(DQ ($ Id.VSub_DollarName '$current_script_path'))}
                                                )
                                              ]
                                            )
                                        )
                                      )
                                    }
                                  ]
                                  redirects: [
                                    (redir.Redir
                                      op: (Token id:Id.Redir_AndGreat val:'&>' span_id:69)
                                      fd: -1
                                      arg_word: {(/dev/null)}
                                    )
                                  ]
                                )
                                (command.ControlFlow
                                  token: (Token id:Id.ControlFlow_Exit val:exit span_id:75)
                                  arg_word: {(1)}
                                )
                              ]
                            )
                          terminator: (Token id:Id.Op_Semi val:';' span_id:78)
                        )
                        (C {(pwd)})
                      ]
                    )
                )
              )
            }
          spids: [54]
        )
      ]
    )
    (C {(export)} 
      {(Id.Lit_VarLike 'PATH=') 
        (DQ (${ Id.VSub_Name ASDF_DIR) ('/bin:') (${ Id.VSub_Name ASDF_DIR) ('/shims:') 
          ($ Id.VSub_DollarName '$PATH')
        )
      }
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {(Id.Lit_LBracket '[')} {(-n)} {(DQ ($ Id.VSub_DollarName '$ZSH_VERSION'))} 
                  {(Id.Lit_RBracket ']')}
                )
              terminator: (Token id:Id.Op_Semi val:';' span_id:111)
            )
          ]
          action: [(C {(autoload)} {(-U)} {(bashcompinit)}) (C {(bashcompinit)})]
          spids: [100 113]
        )
      ]
    )
  ]
)