	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_ra_serf__exchange_capabilities ## -- Begin function svn_ra_serf__exchange_capabilities
	.p2align	4, 0x90
_svn_ra_serf__exchange_capabilities:    ## @svn_ra_serf__exchange_capabilities
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	$0, (%rsi)
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_create_options_req
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movq	8(%rcx), %rdi
	movl	%eax, 16(%rdi)
	movq	%rbx, %rsi
	callq	_svn_ra_serf__context_run_one
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-40(%rbp), %rax
	movq	8(%rax), %rdi
	movl	(%rdi), %ecx
	cmpl	$301, %ecx                      ## imm = 0x12D
	jne	LBB0_10
## %bb.2:
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.5:
	callq	_svn_path_is_url
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-40(%rbp), %rax
	movq	8(%rax), %rax
	movq	8(%rax), %rdi
	jmp	LBB0_8
LBB0_9:
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_create_options_req
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movq	8(%rcx), %rdi
	movl	%eax, 16(%rdi)
	movq	%rbx, %rsi
	callq	_svn_ra_serf__context_run_one
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-40(%rbp), %rax
	movq	8(%rax), %rdi
	movl	(%rdi), %ecx
LBB0_10:
	leal	-300(%rcx), %edx
	cmpl	$98, %edx
	ja	LBB0_12
## %bb.11:
	movq	_SVN_ERR_RA_SESSION_URL_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	$301, %ecx                      ## imm = 0x12D
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	__
	movq	-40(%rbp), %rcx
	movq	8(%rcx), %rcx
	movq	8(%rcx), %rcx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_createf
	jmp	LBB0_17
LBB0_12:
	cmpl	$200, %ecx
	jne	LBB0_13
## %bb.14:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	movl	(%r14), %edi
	callq	_apr_pstrdup
	movl	%eax, 4(%r14)
	jmp	LBB0_16
LBB0_4:
	movq	_SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_17
LBB0_13:
	callq	_svn_ra_serf__unexpected_status
	movl	%eax, %edi
	callq	_svn_error_trace
	jmp	LBB0_17
LBB0_7:
	movq	%r15, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_apr_uri_unparse
	movq	%rax, %rdi
LBB0_8:
	movq	%r12, %rsi
	callq	_svn_uri_canonicalize
	movq	%rax, (%r15)
LBB0_16:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,4,2 ## @SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Location header not set on redirect response"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_RA_SESSION_URL_MISMATCH,4,2 ## @SVN_ERR_RA_SESSION_URL_MISMATCH
L_.str.1:                               ## @.str.1
	.asciz	"Repository moved permanently to '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"Repository moved temporarily to '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_ra_serf__exchange_capabilities ; -- Begin function svn_ra_serf__exchange_capabilities
	.p2align	2
_svn_ra_serf__exchange_capabilities:    ; @svn_ra_serf__exchange_capabilities
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x19, x0
	cbz	x1, LBB0_6
; %bb.1:
	mov	x22, x2
	mov	x21, x1
	str	xzr, [x1]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_create_options_req
	bl	_SVN_ERR
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	x0, [x9, #8]
	str	w8, [x0, #16]
	mov	x1, x20
	bl	_svn_ra_serf__context_run_one
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #8]
	ldr	w9, [x0]
	cmp	w9, #301
	b.ne	LBB0_7
; %bb.2:
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_12
; %bb.3:
	ldr	w8, [x0]
	cbz	w8, LBB0_12
; %bb.4:
	bl	_svn_path_is_url
	cbz	x0, LBB0_14
; %bb.5:
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	ldr	x0, [x8, #8]
	b	LBB0_15
LBB0_6:
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_create_options_req
	bl	_SVN_ERR
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	x0, [x9, #8]
	str	w8, [x0, #16]
	mov	x1, x20
	bl	_svn_ra_serf__context_run_one
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #8]
	ldr	w9, [x0]
LBB0_7:
	sub	w10, w9, #300
	cmp	w10, #98
	b.hi	LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _SVN_ERR_RA_SESSION_URL_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_RA_SESSION_URL_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, l_.str.2@PAGE
Lloh10:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh11:
	adrp	x10, l_.str.1@PAGE
Lloh12:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w9, #301
	csel	x0, x10, x8, eq
	bl	__
	mov	x2, x0
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	ldr	x3, [x8, #8]
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_createf
	b	LBB0_17
LBB0_9:
	cmp	w9, #200
	b.ne	LBB0_13
; %bb.10:
	ldr	x1, [x8]
	cbz	x1, LBB0_16
; %bb.11:
	ldr	w0, [x19]
	bl	_apr_pstrdup
	str	w0, [x19, #4]
	b	LBB0_16
LBB0_12:
Lloh13:
	adrp	x8, _SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_17
LBB0_13:
	bl	_svn_ra_serf__unexpected_status
	bl	_svn_error_trace
	b	LBB0_17
LBB0_14:
	str	x21, [sp]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #0
	bl	_apr_uri_unparse
LBB0_15:
	mov	x1, x22
	bl	_svn_uri_canonicalize
	str	x0, [x21]
LBB0_16:
Lloh18:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS,4,2 ; @SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Location header not set on redirect response"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_RA_SESSION_URL_MISMATCH,4,2 ; @SVN_ERR_RA_SESSION_URL_MISMATCH
l_.str.1:                               ; @.str.1
	.asciz	"Repository moved permanently to '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"Repository moved temporarily to '%s'"

.subsections_via_symbols
