	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_best_vect
_find_best_vect:                        ## @find_best_vect
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BLOCKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	$0, (%r13)
	movq	16(%rbp), %rax
	movl	$0, (%rax)
	movq	_FIXED_CB_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.1:
	xorps	%xmm0, %xmm0
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	addq	%r15, %rbx
	movq	_FIXED_CB_SIZE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jle	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_BLOCKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	leaq	-60(%rbp), %rax
	pushq	%rax
	leaq	-56(%rbp), %rax
	pushq	%rax
	callq	_get_match_score
	addq	$16, %rsp
	movss	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %rax
	movl	%r13d, (%rax)
	movss	-60(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	movq	24(%rbp), %rax
	movss	%xmm1, (%rax)
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
LBB0_7:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCKSIZE,4,2                  ## @BLOCKSIZE
	.comm	_FIXED_CB_SIZE,4,2              ## @FIXED_CB_SIZE
	.no_dead_strip	_find_best_vect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_best_vect
_find_best_vect:                        ; @find_best_vect
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #48
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	mov	x8, sp
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh3:
	adrp	x8, _BLOCKSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLOCKSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x27, x8, #2
	mov	x9, x27
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x7fffffff0
	sub	x28, x8, x9
	mov	sp, x28
	stp	x6, x7, [x29, #-128]            ; 16-byte Folded Spill
	str	wzr, [x7]
	str	wzr, [x6]
Lloh8:
	adrp	x19, _FIXED_CB_SIZE@GOTPAGE
Lloh9:
	ldr	x19, [x19, _FIXED_CB_SIZE@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w20, #0
	movi	d8, #0000000000000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	add	w20, w20, #1
	add	x24, x24, x27
	cmp	w8, w20
	b.le	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
Lloh10:
	adrp	x8, _BLOCKSIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BLOCKSIZE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x2, x8, #2
	mov	x0, x28
	mov	x1, x24
	bl	_memcpy
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x6, x29, #112
	sub	x7, x29, #108
	mov	x0, x26
	mov	x1, x25
	mov	x2, x28
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_get_match_score
	ldur	s0, [x29, #-112]
	fcmp	s0, s8
	b.le	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	w20, [x8]
	ldur	s1, [x29, #-108]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	s1, [x8]
	fmov	s8, s0
	b	LBB0_2
LBB0_7:
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-104]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCKSIZE,4,2                  ; @BLOCKSIZE
	.comm	_FIXED_CB_SIZE,4,2              ; @FIXED_CB_SIZE
	.no_dead_strip	_find_best_vect
.subsections_via_symbols
