	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function SelectCTFSpawnPoint
LCPI0_0:
	.long	0x41100000                      ## float 9
LCPI0_1:
	.long	0x43b40000                      ## float 360
LCPI0_2:
	.long	0xbf000000                      ## float -0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SelectCTFSpawnPoint
	.p2align	4, 0x90
_SelectCTFSpawnPoint:                   ## @SelectCTFSpawnPoint
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%edi, %eax
	movl	%esi, %edi
	movl	%eax, %esi
	movl	%r8d, %edx
	callq	_SelectRandomTeamSpawnPoint
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	movq	%r15, %rsi
	callq	_VectorCopy
	movss	8(%r15), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, 8(%r15)
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_VectorCopy
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_random
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	LCPI0_1(%rip), %xmm1
	jne	LBB0_3
	jp	LBB0_3
## %bb.2:
	mulss	LCPI0_1(%rip), %xmm0
	jmp	LBB0_4
LBB0_5:
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SelectSpawnPoint               ## TAILCALL
LBB0_3:
	addss	LCPI0_2(%rip), %xmm0
	mulss	(%rbx), %xmm0
	addss	4(%r14), %xmm0
LBB0_4:
	movss	%xmm0, 4(%r14)
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vec3_origin,4,2                ## @vec3_origin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SelectCTFSpawnPoint            ; -- Begin function SelectCTFSpawnPoint
	.p2align	2
_SelectCTFSpawnPoint:                   ; @SelectCTFSpawnPoint
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x8, x0
	mov	x0, x1
	mov	x1, x8
	mov	x2, x4
	bl	_SelectRandomTeamSpawnPoint
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #8]
	mov	x1, x21
	bl	_VectorCopy
	ldr	s0, [x21, #8]
	fmov	s1, #9.00000000
	fadd	s0, s0, s1
	str	s0, [x21, #8]
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_VectorCopy
	ldr	s8, [x20]
	bl	_random
	mov	w8, #1135869952
	fmov	s1, w8
	fcmp	s8, s1
	b.ne	LBB0_4
; %bb.2:
	mov	w8, #1135869952
	fmov	s1, w8
	fmul	s0, s0, s1
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _vec3_origin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_SelectSpawnPoint
LBB0_4:
	fmov	s1, #-0.50000000
	fadd	s0, s0, s1
	ldr	s1, [x20]
	fmul	s0, s0, s1
	ldr	s1, [x19, #4]
	fadd	s0, s1, s0
LBB0_5:
	str	s0, [x19, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vec3_origin,4,2                ; @vec3_origin
.subsections_via_symbols
