	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svn_path_join_internal
_svn_path_join_internal:                ## @svn_path_join_internal
	.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
	pushq	%rax
	.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_path_is_canonical_internal
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_svn_path_is_canonical_internal
	movl	%eax, %edi
	callq	_assert
	cmpb	$47, (%rbx)
	je	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	$8, %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:
	cmpl	$1, %r13d
	jne	LBB0_8
## %bb.7:
	xorl	%r13d, %r13d
	cmpb	$47, (%r12)
	setne	%r13b
LBB0_8:
	leal	(%r14,%r13), %esi
	addl	$2, %esi
	movq	%r15, %rdi
	callq	_apr_palloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	%r13d, %rax
	movb	$47, (%r15,%rax)
	leaq	(%r15,%rax), %rdi
	incq	%rdi
	incl	%r14d
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_svn_path_join_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svn_path_join_internal
_svn_path_join_internal:                ; @svn_path_join_internal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x23, x0
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_svn_path_is_canonical_internal
	bl	_assert
	mov	x0, x19
	mov	x1, x21
	bl	_svn_path_is_canonical_internal
	bl	_assert
	ldrb	w8, [x19]
	cmp	w8, #47
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_SVN_PATH_IS_EMPTY
	cbz	x0, LBB0_4
LBB0_2:
	add	w2, w22, #1
	mov	x0, x21
	mov	x1, x19
LBB0_3:
	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
	ldp	x24, x23, [sp], #64             ; 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, w23, #1
	mov	x0, x21
	mov	x1, x20
	b	LBB0_3
LBB0_6:
	cmp	w23, #1
	b.ne	LBB0_8
; %bb.7:
	ldrb	w8, [x20]
	cmp	w8, #47
	cset	w23, ne
LBB0_8:
	add	w8, w22, w23
	add	w1, w8, #2
	mov	x0, x21
	bl	_apr_palloc
	mov	x21, x0
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	add	x0, x21, w23, sxtw
	mov	w8, #47
	strb	w8, [x0], #1
	add	w2, w22, #1
	mov	x1, x19
	bl	_memcpy
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_svn_path_join_internal
.subsections_via_symbols
