	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strbuf_normalize_path          ## -- Begin function strbuf_normalize_path
	.p2align	4, 0x90
_strbuf_normalize_path:                 ## @strbuf_normalize_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	4(%rdi), %esi
	leaq	-24(%rbp), %rdi
	callq	_strbuf_grow
	movl	-24(%rbp), %edi
	movl	(%rbx), %esi
	callq	_normalize_path_copy
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-24(%rbp), %edi
	callq	_strlen
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strbuf_setlen
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strbuf_swap
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %ebx
LBB0_3:
	leaq	-24(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strbuf_normalize_path          ; -- Begin function strbuf_normalize_path
	.p2align	2
_strbuf_normalize_path:                 ; @strbuf_normalize_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w1, [x0, #4]
	add	x0, sp, #8
	bl	_strbuf_grow
	ldr	w0, [sp, #8]
	ldr	w1, [x19]
	bl	_normalize_path_copy
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #8
	bl	_strbuf_setlen
	add	x1, sp, #8
	mov	x0, x19
	bl	_strbuf_swap
	mov	w19, #0
	b	LBB0_3
LBB0_2:
	mov	w19, #-1
LBB0_3:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
.subsections_via_symbols
