	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Field_CompleteCommand          ## -- Begin function Field_CompleteCommand
	.p2align	4, 0x90
_Field_CompleteCommand:                 ## @Field_CompleteCommand
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_completionField@GOTPCREL(%rip), %r14
	movq	%rdi, (%r14)
	movq	(%rdi), %rdi
	callq	_Cmd_TokenizeString
	xorl	%edi, %edi
	callq	_Cmd_Argv
	movq	_completionString@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movb	(%rax), %cl
	cmpb	$92, %cl
	je	LBB0_2
## %bb.1:
	cmpb	$47, %cl
	jne	LBB0_3
LBB0_2:
	incq	%rax
	movq	%rax, (%r15)
LBB0_3:
	movq	_matchCount@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	_shortestMatch@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	$0, (%rcx)
	cmpb	$0, (%rax)
	je	LBB0_11
## %bb.4:
	movq	_FindMatches@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_Cmd_CommandCompletion
	movl	(%rbx), %edi
	callq	_Cvar_CommandCompletion
	cmpl	$0, (%r13)
	je	LBB0_11
## %bb.5:
	movq	(%r14), %rsi
	leaq	-56(%rbp), %rdi
	movl	$16, %edx
	callq	_Com_Memcpy
	movl	(%r13), %ebx
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$8, %esi
	callq	_Com_sprintf
	cmpl	$1, %ebx
	jne	LBB0_10
## %bb.6:
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	$8, %esi
	callq	_Q_strcat
	jmp	LBB0_9
LBB0_10:
	movq	(%r14), %rbx
	movq	(%rbx), %rdi
	callq	_strlen
	movq	%rax, 8(%rbx)
	movq	-56(%rbp), %rdi
	movq	(%r15), %rsi
	callq	_ConcatRemaining
	movq	(%r14), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_Com_Printf
	movq	_PrintMatches@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_Cmd_CommandCompletion
	movl	(%rbx), %edi
	callq	_Cvar_CommandCompletion
	jmp	LBB0_11
LBB0_8:
	movq	-56(%rbp), %rdi
	movq	(%r15), %rsi
	callq	_ConcatRemaining
LBB0_9:
	movq	(%r14), %rbx
	movq	(%rbx), %rdi
	callq	_strlen
	movq	%rax, 8(%rbx)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_completionField,8,3            ## @completionField
	.comm	_completionString,8,3           ## @completionString
	.comm	_matchCount,4,2                 ## @matchCount
	.comm	_shortestMatch,8,3              ## @shortestMatch
	.comm	_FindMatches,4,2                ## @FindMatches
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\%s"

L_.str.1:                               ## @.str.1
	.asciz	" "

L_.str.2:                               ## @.str.2
	.asciz	"]%s\n"

	.comm	_PrintMatches,4,2               ## @PrintMatches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Field_CompleteCommand          ; -- Begin function Field_CompleteCommand
	.p2align	2
_Field_CompleteCommand:                 ; @Field_CompleteCommand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x19, _completionField@GOTPAGE
Lloh1:
	ldr	x19, [x19, _completionField@GOTPAGEOFF]
	str	x0, [x19]
	ldr	x0, [x0]
	bl	_Cmd_TokenizeString
	mov	w0, #0
	bl	_Cmd_Argv
Lloh2:
	adrp	x20, _completionString@GOTPAGE
Lloh3:
	ldr	x20, [x20, _completionString@GOTPAGEOFF]
	str	x0, [x20]
	ldrb	w8, [x0]
	cmp	w8, #92
	b.eq	LBB0_2
; %bb.1:
	cmp	w8, #47
	b.ne	LBB0_3
LBB0_2:
	add	x0, x0, #1
	str	x0, [x20]
LBB0_3:
Lloh4:
	adrp	x21, _matchCount@GOTPAGE
Lloh5:
	ldr	x21, [x21, _matchCount@GOTPAGEOFF]
	str	wzr, [x21]
Lloh6:
	adrp	x22, _shortestMatch@GOTPAGE
Lloh7:
	ldr	x22, [x22, _shortestMatch@GOTPAGEOFF]
	ldr	x8, [x22]
	str	xzr, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.4:
Lloh8:
	adrp	x23, _FindMatches@GOTPAGE
Lloh9:
	ldr	x23, [x23, _FindMatches@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_Cmd_CommandCompletion
	ldr	w0, [x23]
	bl	_Cvar_CommandCompletion
	ldr	w8, [x21]
	cbz	w8, LBB0_11
; %bb.5:
	ldr	x1, [x19]
	mov	x0, sp
	mov	w2, #16
	bl	_Com_Memcpy
	ldr	w21, [x21]
	ldr	x8, [x19]
	ldr	x0, [x8]
	ldr	x3, [x22]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #8
	bl	_Com_sprintf
	cmp	w21, #1
	b.ne	LBB0_8
; %bb.6:
	bl	_Cmd_Argc
	cmp	w0, #1
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x19]
	ldr	x0, [x8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #8
	bl	_Q_strcat
	b	LBB0_10
LBB0_8:
	ldr	x21, [x19]
	ldr	x0, [x21]
	bl	_strlen
	str	x0, [x21, #8]
	ldr	x0, [sp]
	ldr	x1, [x20]
	bl	_ConcatRemaining
	ldr	x8, [x19]
	ldr	x1, [x8]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_Printf
Lloh16:
	adrp	x19, _PrintMatches@GOTPAGE
Lloh17:
	ldr	x19, [x19, _PrintMatches@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_Cmd_CommandCompletion
	ldr	w0, [x19]
	bl	_Cvar_CommandCompletion
	b	LBB0_11
LBB0_9:
	ldr	x0, [sp]
	ldr	x1, [x20]
	bl	_ConcatRemaining
LBB0_10:
	ldr	x19, [x19]
	ldr	x0, [x19]
	bl	_strlen
	str	x0, [x19, #8]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_completionField,8,3            ; @completionField
	.comm	_completionString,8,3           ; @completionString
	.comm	_matchCount,4,2                 ; @matchCount
	.comm	_shortestMatch,8,3              ; @shortestMatch
	.comm	_FindMatches,4,2                ; @FindMatches
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\%s"

l_.str.1:                               ; @.str.1
	.asciz	" "

l_.str.2:                               ; @.str.2
	.asciz	"]%s\n"

	.comm	_PrintMatches,4,2               ; @PrintMatches
.subsections_via_symbols
