	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_DrawRedFlagName
_CG_DrawRedFlagName:                    ## @CG_DrawRedFlagName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%esi, %r9d
	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), %r10
	movq	_PW_REDFLAG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	movq	(%r10), %r10
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rcx
	cmpq	%rcx, %rsi
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rax,%rcx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r10, (%rax,%rcx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r8d, 8(%rax,%rcx)
	je	LBB0_6
## %bb.5:
	movl	16(%rdi), %r8d
	movq	(%rdi), %rsi
	addq	8(%rdi), %rsi
	movl	12(%rax,%rcx), %ecx
	movl	%edx, (%rsp)
	movl	%r8d, %edi
	movl	%r9d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_CG_Text_Paint
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,16,3                       ## @cgs
	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
	.comm	_PW_REDFLAG,4,2                 ## @PW_REDFLAG
	.no_dead_strip	_CG_DrawRedFlagName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawRedFlagName
_CG_DrawRedFlagName:                    ; @CG_DrawRedFlagName
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _cgs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cgs@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x6, x2
	mov	x2, x1
	ldr	x10, [x9, #8]
Lloh2:
	adrp	x9, _TEAM_BLUE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TEAM_BLUE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _PW_REDFLAG@GOTPAGE
Lloh6:
	ldr	x11, [x11, _PW_REDFLAG@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	mov	w12, #1
	lsl	w11, w12, w11
	add	x10, x10, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #24
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	cbz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x12, [x10, #-16]
	cmp	x12, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w12, [x10, #-8]
	tst	w11, w12
	b.eq	LBB0_2
; %bb.6:
	ldr	w8, [x0, #16]
	ldp	x11, x9, [x0]
	add	x1, x11, x9
	ldur	w3, [x10, #-4]
	mov	x0, x8
	mov	w4, #0
	mov	w5, #0
	b	_CG_Text_Paint
LBB0_7:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,16,3                       ; @cgs
	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
	.comm	_PW_REDFLAG,4,2                 ; @PW_REDFLAG
	.no_dead_strip	_CG_DrawRedFlagName
.subsections_via_symbols
