	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotScheduleBotThink            ## -- Begin function BotScheduleBotThink
	.p2align	4, 0x90
_BotScheduleBotThink:                   ## @BotScheduleBotThink
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	_botstates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r11
	movq	_bot_thinktime@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	xorl	%ecx, %ecx
	movq	_numbots@GOTPCREL(%rip), %r9
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rsi)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, %eax
	imull	%edi, %eax
	cltd
	idivl	(%r9)
	movl	%eax, (%rsi)
	incl	%edi
	movl	(%r8), %eax
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
	.comm	_botstates,8,3                  ## @botstates
	.comm	_bot_thinktime,4,2              ## @bot_thinktime
	.comm	_numbots,4,2                    ## @numbots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotScheduleBotThink            ; -- Begin function BotScheduleBotThink
	.p2align	2
_BotScheduleBotThink:                   ; @BotScheduleBotThink
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_CLIENTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w12, [x8]
	cmp	w12, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x9, #0
	mov	w10, #0
Lloh2:
	adrp	x11, _botstates@GOTPAGE
Lloh3:
	ldr	x11, [x11, _botstates@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
Lloh5:
	adrp	x13, _bot_thinktime@GOTPAGE
Lloh6:
	ldr	x13, [x13, _bot_thinktime@GOTPAGEOFF]
Lloh7:
	ldr	w13, [x13]
Lloh8:
	adrp	x14, _numbots@GOTPAGE
Lloh9:
	ldr	x14, [x14, _numbots@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, w12, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x11, x9, lsl #3]
	cbz	x15, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x15, #4]
	cbz	w16, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	w12, w13, w10
	ldr	w16, [x14]
	sdiv	w12, w12, w16
	str	w12, [x15]
	add	w10, w10, #1
	ldr	w12, [x8]
	b	LBB0_2
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
	.comm	_botstates,8,3                  ; @botstates
	.comm	_bot_thinktime,4,2              ; @bot_thinktime
	.comm	_numbots,4,2                    ; @numbots
.subsections_via_symbols
