	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs__canonicalize_abspath   ## -- Begin function svn_fs__canonicalize_abspath
	.p2align	4, 0x90
_svn_fs__canonicalize_abspath:          ## @svn_fs__canonicalize_abspath
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	cmpb	$0, (%rdi)
	je	LBB0_3
## %bb.4:
	movq	%rsi, %r15
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r13
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_is_canonical_abspath
	testq	%rax, %rax
	je	LBB0_5
## %bb.22:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apr_pstrmemdup                 ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_3:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_21
LBB0_5:
	leaq	2(%r14), %rsi
	movq	%r15, %rdi
	callq	_apr_palloc
	cmpb	$47, (%r12)
	jne	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_7:
	movb	$47, (%rax)
	movl	$1, %ecx
LBB0_8:
	movq	%rbx, %rdi
	testq	%r14, %r14
	je	LBB0_20
## %bb.9:
	xorl	%edx, %edx
	movq	_TRUE@GOTPCREL(%rip), %rsi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movb	%bl, (%rax,%rcx)
	incq	%rcx
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdx
	cmpq	%rdx, %r14
	je	LBB0_17
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rdx), %ebx
	cmpb	$47, %bl
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	testq	%r13, %r13
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rsi), %r13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	testq	%r13, %r13
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rdi), %r13
	jmp	LBB0_15
LBB0_17:
	cmpb	$47, -1(%rcx,%rax)
	jne	LBB0_20
## %bb.18:
	cmpq	$2, %rcx
	jb	LBB0_20
## %bb.19:
	movb	$0, -1(%rax,%rcx)
	jmp	LBB0_21
LBB0_20:
	movb	$0, (%rax,%rcx)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs__canonicalize_abspath   ; -- Begin function svn_fs__canonicalize_abspath
	.p2align	2
_svn_fs__canonicalize_abspath:          ; @svn_fs__canonicalize_abspath
	.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
	cbz	x0, LBB0_18
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x21, x1
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	ldr	x23, [x22]
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_is_canonical_abspath
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	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_pstrmemdup
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_18
LBB0_5:
	add	x1, x20, #2
	mov	x0, x21
	bl	_apr_palloc
	ldrb	w8, [x19]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.6:
	mov	x8, #0
	cbnz	x20, LBB0_8
	b	LBB0_16
LBB0_7:
	mov	w8, #47
	strb	w8, [x0]
	mov	w8, #1
	cbz	x20, LBB0_16
LBB0_8:
Lloh4:
	adrp	x9, _TRUE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x11, [x22]
	cmp	x23, #0
	csel	x23, xzr, x11, eq
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	strb	w10, [x0, x8]
	add	x8, x8, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x19, #1
	subs	x20, x20, #1
	b.eq	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19]
	cmp	w10, #47
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cbnz	x23, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x23, [x9]
	b	LBB0_10
LBB0_15:
	sub	x9, x8, #1
	ldrb	w10, [x0, x9]
	cmp	w10, #47
	ccmp	x8, #2, #0, eq
	b.hs	LBB0_17
LBB0_16:
	strb	wzr, [x0, x8]
	b	LBB0_18
LBB0_17:
	strb	wzr, [x0, x9]
LBB0_18:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
