	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_ra__dup_session            ## -- Begin function svn_ra__dup_session
	.p2align	4, 0x90
_svn_ra__dup_session:                   ## @svn_ra__dup_session
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rdx, -48(%rbp)
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r15, %rcx
	callq	_svn_ra_get_path_relative_to_root
	jmp	LBB0_3
LBB0_2:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_svn_ra_get_session_url
LBB0_3:
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_apr_pcalloc
	movq	%rax, %rbx
	movl	20(%r13), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r13), %eax
	movl	%eax, 16(%rbx)
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	movq	%r12, 8(%rbx)
	movq	(%r13), %rax
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	*8(%rax)
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_svn_ra_open4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*%rax
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_5:
	movq	%rbx, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_ra_open4,4,2               ## @svn_ra_open4
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_ra__dup_session            ; -- Begin function svn_ra__dup_session
	.p2align	2
_svn_ra__dup_session:                   ; @svn_ra__dup_session
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x3
	mov	x22, x1
	mov	x19, x0
	str	x2, [sp, #8]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x22
	mov	x3, x20
	bl	_svn_ra_get_path_relative_to_root
	b	LBB0_3
LBB0_2:
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, x20
	bl	_svn_ra_get_session_url
LBB0_3:
	bl	_SVN_ERR
	mov	x0, x21
	mov	w1, #24
	bl	_apr_pcalloc
	mov	x23, x0
	ldr	d0, [x22, #16]
	str	d0, [x0, #16]
	ldr	x8, [x22]
	stp	x8, x21, [x0]
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	x2, [sp, #8]
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	blr	x8
	bl	_SVN_ERR
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x9, _svn_ra_open4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_ra_open4@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x23
	blr	x8
	bl	_SVN_ERR
LBB0_5:
	str	x23, [x19]
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_ra_open4,4,2               ; @svn_ra_open4
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
