	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_completer
_find_completer:                        ## @find_completer
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	%rdx, %rdi
	callq	_find_string_ent
	testw	%ax, %ax
	js	LBB0_8
## %bb.1:
	cmpw	$-1, %bx
	je	LBB0_2
## %bb.3:
	movq	_completer_table@GOTPCREL(%rip), %rdx
	movswq	%bx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_main_table@GOTPCREL(%rip), %rdx
	movswq	%r14w, %rcx
LBB0_4:
	addq	%rcx, %rcx
	addq	(%rdx), %rcx
	movzwl	(%rcx), %ecx
	cmpw	$-1, %cx
	je	LBB0_8
## %bb.5:
	movq	_completer_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movswq	%cx, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	cmpw	%ax, 2(%rdx,%rsi,2)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzwl	4(%rdx,%rsi,2), %ecx
	cmpw	$-1, %cx
	jne	LBB0_6
LBB0_8:
	movw	$-1, %cx
LBB0_9:
	movswl	%cx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_main_table,8,3                 ## @main_table
	.comm	_completer_table,8,3            ## @completer_table
	.no_dead_strip	_find_completer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_completer
_find_completer:                        ; @find_completer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_find_string_ent
	mov	w8, #65535
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, _main_table@GOTPAGE
Lloh1:
	ldr	x9, [x9, _main_table@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, x9, w20, sxtw #1
Lloh3:
	adrp	x9, _completer_table@GOTPAGE
Lloh4:
	ldr	x9, [x9, _completer_table@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	w11, #6
	smaddl	x11, w19, w11, x9
	cmn	w19, #1
	csel	x10, x10, x11, eq
	ldrh	w11, [x10]
	cmp	w11, w8
	b.eq	LBB0_6
; %bb.2:
	mov	w10, #6
	mov	x8, x11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxth	x11, w8
	madd	x12, x11, x10, x9
	ldrh	w12, [x12, #2]
	cmp	w12, w0, uxth
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x11, x10, x9
	ldrh	w8, [x8, #4]
	mov	w11, #65535
	cmp	w8, w11
	b.ne	LBB0_3
; %bb.5:
	mov	w8, #65535
LBB0_6:
	sxth	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_main_table,8,3                 ; @main_table
	.comm	_completer_table,8,3            ; @completer_table
	.no_dead_strip	_find_completer
.subsections_via_symbols
