	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotMatch_FormationSpace
LCPI0_0:
	.quad	0x402381d7dbf487fd              ## double 9.7536000000000004
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x43fa0000                      ## float 500
LCPI0_2:
	.long	0x42c80000                      ## float 100
LCPI0_3:
	.long	0x42400000                      ## float 48
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotMatch_FormationSpace
	.p2align	4, 0x90
_BotMatch_FormationSpace:               ## @BotMatch_FormationSpace
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_TeamPlayIsOn
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_BotAddressedToBot
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_trap_BotMatchVariable
	movq	_ST_FEET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_atof
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	cvtsi2sd	%eax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	jmp	LBB0_5
LBB0_4:
	shll	$5, %eax
	cvtsi2ss	%eax, %xmm0
LBB0_5:
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cmpltss	%xmm0, %xmm1
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	andps	%xmm2, %xmm3
	andnps	%xmm0, %xmm1
	orps	%xmm3, %xmm1
	cmpltss	LCPI0_3(%rip), %xmm0
	movaps	%xmm0, %xmm3
	andnps	%xmm1, %xmm3
	andps	%xmm2, %xmm0
	orps	%xmm3, %xmm0
	movss	%xmm0, (%r14)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.comm	_NUMBER,4,2                     ## @NUMBER
	.comm	_ST_FEET,4,2                    ## @ST_FEET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_FormationSpace        ; -- Begin function BotMatch_FormationSpace
	.p2align	2
_BotMatch_FormationSpace:               ; @BotMatch_FormationSpace
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	bl	_TeamPlayIsOn
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_BotAddressedToBot
	cbz	w0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _NUMBER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NUMBER@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_trap_BotMatchVariable
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _ST_FEET@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ST_FEET@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w20, w9, w8
	mov	x0, x21
	bl	_atof
	lsl	w8, w0, #5
	scvtf	s0, w8
	scvtf	d1, w0
	mov	x8, #34813
	movk	x8, #56308, lsl #16
	movk	x8, #33239, lsl #32
	movk	x8, #16419, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	fcvt	s1, d1
	cmp	w20, #0
	fcsel	s0, s0, s1, eq
	mov	w8, #1140457472
	fmov	s1, w8
	fcmp	s0, s1
	mov	w8, #1111490560
	fmov	s1, w8
	fccmp	s0, s1, #8, le
	mov	w8, #1120403456
	fmov	s1, w8
	fcsel	s0, s1, s0, mi
	str	s0, [x19]
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #32
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.comm	_NUMBER,4,2                     ; @NUMBER
	.comm	_ST_FEET,4,2                    ; @ST_FEET
.subsections_via_symbols
