	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function autocomplete_ms_file
_autocomplete_ms_file:                  ## @autocomplete_ms_file
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_r_return_if_fail
	movq	%rbx, %rdi
	movl	$62, %esi
	callq	_strchr
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	leaq	L_.str(%rip), %r12
	cmovneq	%rcx, %r12
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	incq	%rax
	movq	%rax, %rdi
	callq	_r_str_trim_ro
	movq	%rax, %rbx
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	cmpb	$0, (%rbx)
	je	LBB0_7
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %r12
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_autocomplete_ms_path           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.no_dead_strip	_autocomplete_ms_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function autocomplete_ms_file
_autocomplete_ms_file:                  ; @autocomplete_ms_file
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_r_return_if_fail
	mov	x0, x21
	mov	w1, #62
	bl	_strchr
	ldr	x8, [x19]
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x22, x22, x8, eq
LBB0_2:
	cbz	x0, LBB0_4
; %bb.3:
	add	x0, x0, #1
	bl	_r_str_trim_ro
	mov	x21, x0
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	ldrb	w8, [x21]
	cbz	w8, LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x21
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_autocomplete_ms_path
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.no_dead_strip	_autocomplete_ms_file
.subsections_via_symbols
