	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_dirent_join                ## -- Begin function svn_dirent_join
	.p2align	4, 0x90
_svn_dirent_join:                       ## @svn_dirent_join
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_strlen
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_svn_dirent_is_canonical
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_svn_dirent_is_canonical
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_svn_dirent_is_absolute
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movq	%r12, %rdi
	callq	_SVN_PATH_IS_EMPTY
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	incl	%r14d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apr_pmemdup                    ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	callq	_SVN_PATH_IS_EMPTY
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	incl	%r13d
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	jmp	LBB0_2
LBB0_6:
	movslq	%r13d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	-1(%rax,%r12), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	xorl	%ecx, %ecx
	cmpb	$47, %al
	setne	%cl
	movl	%r14d, %eax
	incl	%r14d
	leal	(%rax,%r13), %esi
	incl	%esi
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	addl	%ecx, %esi
	movq	%r15, %rdi
	callq	_apr_palloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpb	$47, -41(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movb	$47, (%r15,%rcx)
LBB0_8:
	movq	%r15, %rax
	addq	%rcx, %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_dirent_join                ; -- Begin function svn_dirent_join
	.p2align	2
_svn_dirent_join:                       ; @svn_dirent_join
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x22, x0
	mov	x0, x19
	bl	_strlen
	mov	x23, x0
	mov	x0, x20
	mov	x1, x21
	bl	_svn_dirent_is_canonical
	bl	_assert
	mov	x0, x19
	mov	x1, x21
	bl	_svn_dirent_is_canonical
	bl	_assert
	mov	x0, x19
	bl	_svn_dirent_is_absolute
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_SVN_PATH_IS_EMPTY
	cbz	x0, LBB0_4
LBB0_2:
	add	w2, w23, #1
	mov	x0, x21
	mov	x1, x19
LBB0_3:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_apr_pmemdup
LBB0_4:
	mov	x0, x19
	bl	_SVN_PATH_IS_EMPTY
	cbz	x0, LBB0_6
; %bb.5:
	add	w2, w22, #1
	mov	x0, x21
	mov	x1, x20
	b	LBB0_3
LBB0_6:
	sxtw	x24, w22
	add	x8, x24, x20
	ldurb	w25, [x8, #-1]
	add	w23, w23, #1
	add	w8, w23, w22
	cmp	w25, #47
	cinc	w1, w8, ne
	mov	x0, x21
	bl	_apr_palloc
	mov	x21, x0
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	cmp	w25, #47
	cset	w8, ne
	b.eq	LBB0_8
; %bb.7:
	mov	w9, #47
	strb	w9, [x21, x24]
LBB0_8:
	add	x9, x21, x24
	add	x0, x9, w8, uxtw
	mov	x1, x19
	mov	x2, x23
	bl	_memcpy
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
