	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotModelMinsMaxs               ## -- Begin function BotModelMinsMaxs
	.p2align	4, 0x90
_BotModelMinsMaxs:                      ## @BotModelMinsMaxs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	_level@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	movq	_g_entities@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	addq	$24, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, -4(%rbx)
	je	LBB0_8
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	addq	$28, %rbx
	cmpl	%r15d, %eax
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, -8(%rbx)
	jne	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, -24(%rbx)
	je	LBB0_7
	jmp	LBB0_12
LBB0_13:
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.14:
	movq	%rcx, %rdi
	callq	_VectorClear
LBB0_15:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_VectorClear
LBB0_17:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movl	-16(%rbx), %edi
	movl	-12(%rbx), %esi
	movq	%rcx, %rdx
	callq	_VectorAdd
LBB0_10:
	testq	%r14, %r14
	je	LBB0_17
## %bb.11:
	movl	-20(%rbx), %esi
	movl	-16(%rbx), %edi
	movq	%r14, %rdx
	callq	_VectorAdd
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_level,4,2                      ## @level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotModelMinsMaxs               ; -- Begin function BotModelMinsMaxs
	.p2align	2
_BotModelMinsMaxs:                      ; @BotModelMinsMaxs
	.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
	mov	x19, x4
Lloh0:
	adrp	x8, _level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w20, #0
Lloh3:
	adrp	x9, _g_entities@GOTPAGE
Lloh4:
	ldr	x9, [x9, _g_entities@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x21, x9, #12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x21, #8]
	cmp	w9, w0
	b.eq	LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	add	x21, x21, #28
	cmp	w8, w20
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, #12]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x21, #4]
	cmp	w9, w1
	b.ne	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w2, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w9, [x21, #-12]
	cmp	w9, w2
	b.eq	LBB0_2
	b	LBB0_3
LBB0_9:
	cbz	x3, LBB0_11
; %bb.10:
	mov	x0, x3
	bl	_VectorClear
LBB0_11:
	cbz	x19, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_VectorClear
LBB0_13:
	mov	w20, #0
LBB0_14:
	mov	x0, x20
	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
LBB0_15:
	cbz	x3, LBB0_17
; %bb.16:
	ldp	w0, w1, [x21, #-4]
	mov	x2, x3
	bl	_VectorAdd
LBB0_17:
	cbz	x19, LBB0_14
; %bb.18:
	ldp	w1, w0, [x21, #-8]
	mov	x2, x19
	bl	_VectorAdd
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_level,4,2                      ; @level
.subsections_via_symbols
