	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tfrc_binsearch
_tfrc_binsearch:                        ## @tfrc_binsearch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TFRC_CALC_X_ARRSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jl	LBB0_6
## %bb.1:
	movq	_tfrc_calc_x_lookup@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	cmpl	%eax, %r9d
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%r9), %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rdx
	movq	(%r8,%rdx,8), %rdx
	cmpl	%edi, (%rdx,%rsi,4)
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	movl	%ecx, %r9d
	cmpl	%eax, %r9d
	jl	LBB0_2
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TFRC_CALC_X_ARRSIZE,4,2        ## @TFRC_CALC_X_ARRSIZE
	.comm	_tfrc_calc_x_lookup,8,3         ## @tfrc_calc_x_lookup
	.no_dead_strip	_tfrc_binsearch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tfrc_binsearch
_tfrc_binsearch:                        ; @tfrc_binsearch
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _TFRC_CALC_X_ARRSIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TFRC_CALC_X_ARRSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w0, w9, #1
	cmp	w9, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w9, #0
Lloh3:
	adrp	x10, _tfrc_calc_x_lookup@GOTPAGE
Lloh4:
	ldr	x10, [x10, _tfrc_calc_x_lookup@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w0, w9
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	ldr	x12, [x10, w11, sxtw #3]
	ldr	w12, [x12, x1, lsl #2]
	cmp	w12, w8
	csel	w0, w0, w11, lt
	csinc	w9, w9, w11, ge
	cmp	w9, w0
	b.lt	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TFRC_CALC_X_ARRSIZE,4,2        ; @TFRC_CALC_X_ARRSIZE
	.comm	_tfrc_calc_x_lookup,8,3         ; @tfrc_calc_x_lookup
	.no_dead_strip	_tfrc_binsearch
.subsections_via_symbols
