	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotInitWaypoints               ## -- Begin function BotInitWaypoints
	.p2align	4, 0x90
_BotInitWaypoints:                      ## @BotInitWaypoints
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_botai_freewaypoints@GOTPCREL(%rip), %r9
	movq	$0, (%r9)
	movq	_MAX_WAYPOINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_9
## %bb.1:
	movq	_botai_waypoints@GOTPCREL(%rip), %r10
	movq	(%r10), %rsi
	leaq	-1(%r8), %rcx
	movl	%r8d, %r11d
	andl	$3, %r11d
	xorl	%eax, %eax
	cmpq	$3, %rcx
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	testq	%r11, %r11
	jne	LBB0_7
	jmp	LBB0_9
LBB0_3:
	andl	$-4, %r8d
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rsi,%rax)
	movq	(%r10), %rcx
	leaq	(%rcx,%rax), %rsi
	movq	%rsi, (%r9)
	movq	%rsi, 8(%rcx,%rax)
	movq	(%r10), %rcx
	leaq	8(%rcx,%rax), %rsi
	movq	%rsi, (%r9)
	movq	%rsi, 16(%rcx,%rax)
	movq	(%r10), %rsi
	leaq	16(%rsi,%rax), %rdx
	movq	%rdx, (%r9)
	leaq	(,%rdi,8), %rcx
	movq	%rdx, 24(%rsi,%rax)
	movq	(%r10), %rsi
	orq	$24, %rcx
	addq	%rsi, %rcx
	leaq	(%rsi,%rax), %rdx
	addq	$24, %rdx
	movq	%rdx, (%r9)
	addq	$4, %rdi
	addq	$32, %rax
	cmpq	%rdi, %r8
	jne	LBB0_4
## %bb.5:
	addq	%rsi, %rax
	addq	$-8, %rax
	testq	%r11, %r11
	je	LBB0_9
LBB0_7:
	leaq	(,%rdi,8), %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rsi,%rcx)
	movq	(%r10), %rsi
	leaq	(%rsi,%rdi,8), %rax
	leaq	(%rsi,%rcx), %rdx
	movq	%rdx, (%r9)
	incq	%rdi
	addq	$8, %rcx
	decq	%r11
	jne	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_botai_freewaypoints,8,3        ## @botai_freewaypoints
	.comm	_MAX_WAYPOINTS,4,2              ## @MAX_WAYPOINTS
	.comm	_botai_waypoints,8,3            ## @botai_waypoints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotInitWaypoints               ; -- Begin function BotInitWaypoints
	.p2align	2
_BotInitWaypoints:                      ; @BotInitWaypoints
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _botai_freewaypoints@GOTPAGE
Lloh1:
	ldr	x8, [x8, _botai_freewaypoints@GOTPAGEOFF]
	str	xzr, [x8]
Lloh2:
	adrp	x9, _MAX_WAYPOINTS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_WAYPOINTS@GOTPAGEOFF]
Lloh4:
	ldr	w14, [x9]
	cmp	w14, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	mov	x13, #0
	mov	x10, #0
Lloh5:
	adrp	x11, _botai_waypoints@GOTPAGE
Lloh6:
	ldr	x11, [x11, _botai_waypoints@GOTPAGEOFF]
	ldr	x12, [x11]
	lsl	x14, x14, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x13, [x12, x9]
	ldr	x12, [x11]
	add	x13, x12, x10, lsl #3
	add	x15, x12, x9
	str	x15, [x8]
	add	x10, x10, #1
	add	x9, x9, #8
	cmp	x14, x9
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_botai_freewaypoints,8,3        ; @botai_freewaypoints
	.comm	_MAX_WAYPOINTS,4,2              ; @MAX_WAYPOINTS
	.comm	_botai_waypoints,8,3            ; @botai_waypoints
.subsections_via_symbols
