	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function startScan
_startScan:                             ## @startScan
	.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
	movslq	4(%rdi), %r12
	leaq	32(%r12), %r14
	cmpq	$0, (%r12)
	je	LBB0_23
## %bb.1:
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_startScanEntry
	incq	%rbx
	movq	(%r12), %rcx
	cmpq	%rcx, %rbx
	jb	LBB0_2
## %bb.3:
	movq	_GinFuzzySearchLimit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_23
## %bb.4:
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.5:
	movq	24(%r12), %rdx
	imulq	%rcx, %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	movslq	(%rdi), %rdi
	cmpq	%rdi, %rax
	jae	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_6
## %bb.8:
	movq	24(%r12), %r9
	cmpq	$1, %rcx
	jne	LBB0_10
## %bb.9:
	xorl	%edi, %edi
LBB0_18:
	testb	$1, %cl
	je	LBB0_23
## %bb.19:
	movq	(%r9,%rdi,8), %rsi
	movslq	(%rsi), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_20
## %bb.21:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_22
LBB0_10:
	movq	%rcx, %r8
	andq	$-2, %r8
	xorl	%edi, %edi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edx, %edx
	divq	%rcx
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, (%rsi)
	movl	$1, 4(%rsi)
	addq	$2, %rdi
	cmpq	%rdi, %r8
	je	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rdi,8), %rsi
	movslq	(%rsi), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, (%rsi)
	movl	$1, 4(%rsi)
	movq	8(%r9,%rdi,8), %rsi
	movslq	(%rsi), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_17
LBB0_20:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_22:
	movl	%eax, (%rsi)
	movl	$1, 4(%rsi)
LBB0_23:
	cmpq	$0, 8(%r12)
	je	LBB0_26
## %bb.24:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdx
	addq	%rbx, %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_startScanKey
	incq	%rbx
	cmpq	8(%r12), %rbx
	jb	LBB0_25
LBB0_26:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GinFuzzySearchLimit,4,2        ## @GinFuzzySearchLimit
	.no_dead_strip	_startScan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function startScan
_startScan:                             ; @startScan
	.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
	ldrsw	x19, [x0, #4]
	mov	x20, x19
	ldr	x8, [x20], #32
	cbz	x8, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x1, [x8, x22, lsl #3]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_startScanEntry
	add	x22, x22, #1
	ldr	x8, [x19]
	cmp	x22, x8
	b.lo	LBB0_2
; %bb.3:
Lloh0:
	adrp	x9, _GinFuzzySearchLimit@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GinFuzzySearchLimit@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	cmp	w10, #1
	ccmp	x8, #0, #4, ge
	b.eq	LBB0_9
; %bb.4:
	ldr	x9, [x19, #24]
	mul	x10, x8, x10
	mov	x11, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	ldrsw	x12, [x12]
	cmp	x10, x12
	b.hs	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #8
	subs	x11, x11, #1
	b.ne	LBB0_5
; %bb.7:
	ldr	x9, [x19, #24]
	mov	w10, #1
	mov	x11, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9], #8
	ldrsw	x13, [x12]
	udiv	x13, x13, x8
	stp	w13, w10, [x12]
	subs	x11, x11, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_12
; %bb.10:
	mov	x21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x2, x21, x8
	mov	x0, x20
	mov	x1, x19
	bl	_startScanKey
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.lo	LBB0_11
LBB0_12:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GinFuzzySearchLimit,4,2        ; @GinFuzzySearchLimit
	.no_dead_strip	_startScan
.subsections_via_symbols
