	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_best_token
_find_best_token:                       ## @find_best_token
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_token_profit@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%edx, %edx
	movl	$-10000, %esi                   ## imm = 0xD8F0
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, %esi
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, %rdx
	cmpq	$65536, %rdx                    ## imm = 0x10000
	je	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rdx,4), %edi
	cmpl	%esi, %edi
	cmovgl	%edx, %eax
	movl	4(%r8,%rdx,4), %ecx
	cmovgl	%edi, %esi
	cmpl	%esi, %ecx
	jg	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rdx), %eax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r8,%rdx,4), %edi
	cmpl	%ecx, %edi
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %edi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	2(%rdx), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%r8,%rdx,4), %esi
	cmpl	%edi, %esi
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	3(%rdx), %eax
	jmp	LBB0_10
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_token_profit,8,3               ## @token_profit
	.no_dead_strip	_find_best_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_best_token
_find_best_token:                       ; @find_best_token
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	w0, #0
Lloh0:
	adrp	x9, _token_profit@GOTPAGE
Lloh1:
	ldr	x9, [x9, _token_profit@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #-10000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8, lsl #2]
	cmp	w11, w10
	csel	w0, w8, w0, gt
	csel	w10, w11, w10, gt
	add	x8, x8, #1
	cmp	x8, #16, lsl #12                ; =65536
	b.ne	LBB0_1
; %bb.2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_token_profit,8,3               ; @token_profit
	.no_dead_strip	_find_best_token
.subsections_via_symbols
