	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotGetNextCampSpotGoal         ## -- Begin function BotGetNextCampSpotGoal
	.p2align	4, 0x90
_BotGetNextCampSpotGoal:                ## @BotGetNextCampSpotGoal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	testl	%edi, %edi
	cmovlel	%eax, %ebx
	movq	_campspots@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	leal	1(%rbx), %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	12(%rcx), %eax
	movl	%eax, 20(%r14)
	movl	16(%r14), %edx
	movq	(%rcx), %rdi
	movl	8(%rcx), %esi
	callq	_VectorCopy
	movq	$0, 8(%r14)
	movl	4(%r14), %edx
	movabsq	$-30064771080, %rdi             ## imm = 0xFFFFFFF8FFFFFFF8
	movl	$-8, %esi
	callq	_VectorCopy
	movl	(%r14), %edx
	movabsq	$34359738376, %rdi              ## imm = 0x800000008
	movl	$8, %esi
	callq	_VectorCopy
	incl	%ebx
	movl	%ebx, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_campspots,8,3                  ## @campspots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotGetNextCampSpotGoal         ; -- Begin function BotGetNextCampSpotGoal
	.p2align	2
_BotGetNextCampSpotGoal:                ; @BotGetNextCampSpotGoal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w0, #0
	csel	w20, w0, wzr, gt
Lloh0:
	adrp	x8, _campspots@GOTPAGE
Lloh1:
	ldr	x8, [x8, _campspots@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x1
	add	w9, w20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, #1
	cmp	w9, #0
	b.le	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	ldr	w9, [x8, #12]
	str	w9, [x19, #20]
	ldr	w2, [x19, #16]
	ldr	x0, [x8]
	ldr	w1, [x8, #8]
	bl	_VectorCopy
	str	xzr, [x19, #8]
	ldr	w2, [x19, #4]
	mov	x0, #-30064771080
	mov	w1, #-8
	bl	_VectorCopy
	ldr	w2, [x19]
	mov	x0, #34359738376
	mov	w1, #8
	bl	_VectorCopy
	add	w0, w20, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_campspots,8,3                  ; @campspots
.subsections_via_symbols
