	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_relpath_join               ## -- Begin function svn_relpath_join
	.p2align	4, 0x90
_svn_relpath_join:                      ## @svn_relpath_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_strlen
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_relpath_is_canonical
	movl	%eax, %edi
	callq	_assert
	movq	%r14, %rdi
	callq	_relpath_is_canonical
	movl	%eax, %edi
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	leaq	(%rbx,%r15), %rsi
	addq	$2, %rsi
	movq	%r13, %rdi
	callq	_apr_palloc
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movb	$47, (%r13,%rbx)
	leaq	(%rbx,%r13), %rdi
	incq	%rdi
	incq	%r15
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	incq	%r15
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	jmp	LBB0_2
LBB0_4:
	incq	%rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apr_pmemdup                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_relpath_join               ; -- Begin function svn_relpath_join
	.p2align	2
_svn_relpath_join:                      ; @svn_relpath_join
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x21, x0
	mov	x0, x19
	bl	_strlen
	mov	x23, x0
	mov	x0, x20
	bl	_relpath_is_canonical
	bl	_assert
	mov	x0, x19
	bl	_relpath_is_canonical
	bl	_assert
	cbz	x21, LBB0_3
; %bb.1:
	cbz	x23, LBB0_4
; %bb.2:
	add	x8, x21, x23
	add	x1, x8, #2
	mov	x0, x22
	bl	_apr_palloc
	mov	x22, x0
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	add	x0, x22, x21
	mov	w8, #47
	strb	w8, [x0], #1
	add	x2, x23, #1
	mov	x1, x19
	bl	_memcpy
	mov	x0, x22
	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
LBB0_3:
	add	x2, x23, #1
	mov	x0, x22
	mov	x1, x19
	b	LBB0_5
LBB0_4:
	add	x2, x21, #1
	mov	x0, x22
	mov	x1, x20
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
