	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_best_v                     ## -- Begin function get_best_v
	.p2align	4, 0x90
_get_best_v:                            ## @get_best_v
	.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
	movl	%edi, %r14d
	movq	_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$0, (%r15)
	movl	%edi, %r13d
	negl	%r13d
	cmovsl	%edi, %r13d
	movq	_MAX_BEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	cmovgel	%eax, %r13d
	movslq	%r13d, %rax
	leaq	4(,%rax,4), %rax
	movq	_MAX_BUFF@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setb	%dil
	callq	_assert
	movq	_bestn@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.2:
	movl	$1, %ebx
	movq	_best@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	-8(%rcx,%rbx,8), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	_names_buff@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_black_list_check
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movl	-8(%rax,%rbx,8), %eax
	movslq	(%r15), %rcx
	leaq	1(%rcx), %rdx
	movl	%edx, (%r15)
	movl	%eax, 4(%r15,%rcx,4)
	decl	%r13d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_bestn@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	testl	%r13d, %r13d
	jne	LBB0_3
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buff,8,3                       ## @buff
	.comm	_MAX_BEST,4,2                   ## @MAX_BEST
	.comm	_MAX_BUFF,4,2                   ## @MAX_BUFF
	.comm	_bestn,4,2                      ## @bestn
	.comm	_names_buff,8,3                 ## @names_buff
	.comm	_names,8,3                      ## @names
	.comm	_best,8,3                       ## @best
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_best_v                     ; -- Begin function get_best_v
	.p2align	2
_get_best_v:                            ; @get_best_v
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _buff@GOTPAGE
Lloh1:
	ldr	x8, [x8, _buff@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	str	wzr, [x20]
	cmp	w0, #0
	cneg	w8, w0, mi
Lloh3:
	adrp	x9, _MAX_BEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_BEST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w21, w8, w9, lt
	add	w8, w21, #1
Lloh6:
	adrp	x9, _MAX_BUFF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_BUFF@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	cmp	x9, w8, sxtw #2
	cset	w0, hi
	bl	_assert
Lloh9:
	adrp	x22, _bestn@GOTPAGE
Lloh10:
	ldr	x22, [x22, _bestn@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	ccmp	w21, #0, #4, ge
	b.ne	LBB0_2
LBB0_1:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x23, #0
Lloh11:
	adrp	x24, _best@GOTPAGE
Lloh12:
	ldr	x24, [x24, _best@GOTPAGEOFF]
Lloh13:
	adrp	x25, _names_buff@GOTPAGE
Lloh14:
	ldr	x25, [x25, _names_buff@GOTPAGEOFF]
Lloh15:
	adrp	x26, _names@GOTPAGE
Lloh16:
	ldr	x26, [x26, _names@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	ldr	x8, [x8, x23, lsl #3]
	ldrsw	x9, [x20]
	add	x9, x9, #1
	str	w9, [x20]
	str	w8, [x20, x9, lsl #2]
	sub	w21, w21, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	ccmp	w21, #0, #4, lt
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w19, #31, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	ldr	x10, [x24]
	ldr	x10, [x10, x23, lsl #3]
	ldr	x9, [x9, x10, lsl #3]
	add	x0, x9, x8
	bl	_black_list_check
	cbnz	w0, LBB0_4
	b	LBB0_3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_buff,8,3                       ; @buff
	.comm	_MAX_BEST,4,2                   ; @MAX_BEST
	.comm	_MAX_BUFF,4,2                   ; @MAX_BUFF
	.comm	_bestn,4,2                      ; @bestn
	.comm	_names_buff,8,3                 ; @names_buff
	.comm	_names,8,3                      ; @names
	.comm	_best,8,3                       ; @best
.subsections_via_symbols
