	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_DrawRedFlagHead
_CG_DrawRedFlagHead:                    ## @CG_DrawRedFlagHead
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_7
## %bb.1:
	movq	8(%rax), %rax
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rdi
	movq	_PW_REDFLAG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%rdi), %rcx
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	xorl	%edi, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rdi
	cmpq	%rdi, %rsi
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rax,%rdi)
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, (%rax,%rdi)
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%edx, 8(%rax,%rdi)
	je	LBB0_2
## %bb.6:
	callq	_CG_DrawRedFlagHead.cold.1
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function CG_DrawRedFlagHead.cold.1
LCPI1_0:
	.quad	0x4084500000000000              ## double 650
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CG_DrawRedFlagHead.cold.1:             ## @CG_DrawRedFlagHead.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_VectorClear
	movq	_cg@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	divsd	LCPI1_0(%rip), %xmm0
	callq	_sin
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,16,3                       ## @cgs
	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
	.comm	_PW_REDFLAG,4,2                 ## @PW_REDFLAG
	.comm	_cg,8,3                         ## @cg
	.comm	_YAW,8,3                        ## @YAW
	.no_dead_strip	_CG_DrawRedFlagHead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawRedFlagHead
_CG_DrawRedFlagHead:                    ; @CG_DrawRedFlagHead
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, _cgs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cgs@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x11, [x9, #8]
Lloh2:
	adrp	x9, _TEAM_BLUE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TEAM_BLUE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _PW_REDFLAG@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PW_REDFLAG@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	mov	w12, #1
	lsl	w10, w12, w10
	add	x11, x11, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #24
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cbz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x12, [x11, #-16]
	cmp	x12, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w12, [x11, #-8]
	tst	w10, w12
	b.eq	LBB0_2
; %bb.6:
	bl	_CG_DrawRedFlagHead.cold.1
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function CG_DrawRedFlagHead.cold.1
lCPI1_0:
	.quad	0x4084500000000000              ; double 650
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_CG_DrawRedFlagHead.cold.1:             ; @CG_DrawRedFlagHead.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_VectorClear
Lloh8:
	adrp	x8, _cg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh10:
	ldr	d0, [x8]
Lloh11:
	adrp	x8, lCPI1_0@PAGE
Lloh12:
	ldr	d1, [x8, lCPI1_0@PAGEOFF]
	fdiv	d0, d0, d1
	bl	_sin
	brk	#0x1
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,16,3                       ; @cgs
	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
	.comm	_PW_REDFLAG,4,2                 ; @PW_REDFLAG
	.comm	_cg,8,3                         ; @cg
	.comm	_YAW,8,3                        ; @YAW
	.no_dead_strip	_CG_DrawRedFlagHead
.subsections_via_symbols
