	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotFindCachedCharacter
LCPI0_0:
	.quad	0x3f847ae147ae147b              ## double 0.01
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotFindCachedCharacter
	.p2align	4, 0x90
_BotFindCachedCharacter:                ## @BotFindCachedCharacter
	.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
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.1:
	movaps	%xmm0, %xmm1
	movq	%rdi, %r12
	movl	$1, %ebx
	movq	_botcharacters@GOTPCREL(%rip), %r13
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rax), %edi
	movq	%r12, %rsi
	callq	_strcmp
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	ucomiss	%xmm1, %xmm0
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	xorps	%xmm0, %xmm0
	cvtsi2ssq	(%rax), %xmm0
	subss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_fabs
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	ucomisd	%xmm0, %xmm2
	jbe	LBB0_6
LBB0_7:
	movl	%ebx, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
	.comm	_botcharacters,8,3              ## @botcharacters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotFindCachedCharacter         ; -- Begin function BotFindCachedCharacter
	.p2align	2
_BotFindCachedCharacter:                ; @BotFindCachedCharacter
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
Lloh0:
	adrp	x21, _MAX_CLIENTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	fmov	s8, s0
	mov	x20, x0
	mov	w19, #1
Lloh2:
	adrp	x22, _botcharacters@GOTPAGE
Lloh3:
	ldr	x22, [x22, _botcharacters@GOTPAGEOFF]
	mov	x23, #5243
	movk	x23, #18350, lsl #16
	movk	x23, #31457, lsl #32
	movk	x23, #16260, lsl #48
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x19, #1
	ldrsw	x9, [x21]
	cmp	x19, x9
	mov	x19, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x19, lsl #3]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	fcmp	s8, #0.0
	b.mi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x19, lsl #3]
	ldr	x8, [x8]
	scvtf	s0, x8
	fsub	s0, s0, s8
	fcvtzs	x0, s0
	bl	_fabs
	fmov	d1, x23
	fcmp	d0, d1
	b.pl	LBB0_2
	b	LBB0_8
LBB0_7:
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	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	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
	.comm	_botcharacters,8,3              ; @botcharacters
.subsections_via_symbols
