	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function InFieldOfVision
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0xc3340000                      ## float -180
LCPI0_3:
	.long	0x43b40000                      ## float 360
LCPI0_4:
	.long	0x43340000                      ## float 180
LCPI0_5:
	.long	0xc3b40000                      ## float -360
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_InFieldOfVision
	.p2align	4, 0x90
_InFieldOfVision:                       ## @InFieldOfVision
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cvtss2sd	%xmm0, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	xorps	LCPI0_0(%rip), %xmm0
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movss	(%rdi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_AngleMod
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_AngleMod
	movss	%xmm0, (%rbx)
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	subss	%xmm1, %xmm0
	jbe	LBB0_3
## %bb.1:
	ucomiss	LCPI0_4(%rip), %xmm0
	jbe	LBB0_5
## %bb.2:
	addss	LCPI0_5(%rip), %xmm0
	jmp	LBB0_5
LBB0_3:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_5
## %bb.4:
	addss	LCPI0_3(%rip), %xmm0
LBB0_5:
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-24(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm3
	mulsd	%xmm1, %xmm2
	xorpd	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	cvtss2sd	%xmm0, %xmm0
	jbe	LBB0_8
## %bb.6:
	ucomisd	%xmm2, %xmm0
	jbe	LBB0_10
	jmp	LBB0_7
LBB0_8:
	ucomisd	%xmm0, %xmm3
	ja	LBB0_7
LBB0_10:
	movsd	%xmm3, -24(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -32(%rbp)                ## 8-byte Spill
	movss	4(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	callq	_AngleMod
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	callq	_AngleMod
	movss	%xmm0, 4(%rbx)
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	subss	%xmm1, %xmm0
	jbe	LBB0_13
## %bb.11:
	ucomiss	LCPI0_4(%rip), %xmm0
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-24(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	jbe	LBB0_15
## %bb.12:
	addss	LCPI0_5(%rip), %xmm0
	jmp	LBB0_15
LBB0_13:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-24(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	jbe	LBB0_15
## %bb.14:
	addss	LCPI0_3(%rip), %xmm0
LBB0_15:
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	cvtss2sd	%xmm0, %xmm0
	jbe	LBB0_18
## %bb.16:
	ucomisd	%xmm2, %xmm0
	jbe	LBB0_20
LBB0_7:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	ucomisd	%xmm0, %xmm3
	ja	LBB0_7
LBB0_20:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InFieldOfVision                ; -- Begin function InFieldOfVision
	.p2align	2
_InFieldOfVision:                       ; @InFieldOfVision
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x1
	mov	x20, x0
	fneg	s1, s0
	fcvt	d9, s1
	fmov	d10, #0.50000000
	fcvt	d11, s0
	ldr	s0, [x0]
	bl	_AngleMod
	fmov	s8, s0
	ldr	s0, [x19]
	bl	_AngleMod
	str	s0, [x19]
	fsub	s1, s0, s8
	fcmp	s0, s8
	b.le	LBB0_3
; %bb.1:
	mov	w8, #1127481344
	fmov	s0, w8
	fcmp	s1, s0
	b.le	LBB0_6
; %bb.2:
	mov	w8, #-1011613696
	b	LBB0_5
LBB0_3:
	mov	w8, #-1020002304
	fmov	s0, w8
	fcmp	s1, s0
	b.pl	LBB0_6
; %bb.4:
	mov	w8, #1135869952
LBB0_5:
	fmov	s0, w8
	fadd	s1, s1, s0
LBB0_6:
	fmul	d9, d9, d10
	fmul	d10, d11, d10
	fcvt	d0, s1
	fcmp	s1, #0.0
	b.le	LBB0_8
; %bb.7:
	fcmp	d10, d0
	b.pl	LBB0_9
	b	LBB0_17
LBB0_8:
	fcmp	d9, d0
	b.gt	LBB0_17
LBB0_9:
	ldr	s0, [x20, #4]
	bl	_AngleMod
	fmov	s8, s0
	ldr	s0, [x19, #4]
	bl	_AngleMod
	str	s0, [x19, #4]
	fsub	s1, s0, s8
	fcmp	s0, s8
	b.le	LBB0_12
; %bb.10:
	mov	w8, #1127481344
	fmov	s0, w8
	fcmp	s1, s0
	b.le	LBB0_15
; %bb.11:
	mov	w8, #-1011613696
	b	LBB0_14
LBB0_12:
	mov	w8, #-1020002304
	fmov	s0, w8
	fcmp	s1, s0
	b.pl	LBB0_15
; %bb.13:
	mov	w8, #1135869952
LBB0_14:
	fmov	s0, w8
	fadd	s1, s1, s0
LBB0_15:
	fcvt	d0, s1
	fcmp	s1, #0.0
	b.le	LBB0_18
; %bb.16:
	fcmp	d10, d0
	b.pl	LBB0_19
LBB0_17:
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
	fcmp	d9, d0
	b.gt	LBB0_17
LBB0_19:
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
