	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_DrawBlueFlagStatus
_CG_DrawBlueFlagStatus:                 ## @CG_DrawBlueFlagStatus
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r8
	movq	%rdi, %rbx
	movq	_cgs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.1:
	movq	_GT_1FCTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	_GT_HARVESTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	xorl	%edi, %edi
	callq	_trap_R_SetColor
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	24(%r14), %r8
	jmp	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_6
## %bb.9:
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_DrawPic                     ## TAILCALL
LBB0_6:
	movq	_PW_BLUEFLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BG_FindItemForPowerup
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_trap_R_SetColor
	movl	8(%r14), %eax
	cmpl	$3, %eax
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	16(%r14), %rbx
	cmovbl	%eax, %r15d
	movq	(%rbx,%r15,8), %r8
LBB0_4:
	callq	_CG_DrawPic
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_R_SetColor                ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,32,3                       ## @cgs
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_GT_1FCTF,8,3                   ## @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ## @GT_HARVESTER
	.comm	_PW_BLUEFLAG,4,2                ## @PW_BLUEFLAG
	.no_dead_strip	_CG_DrawBlueFlagStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawBlueFlagStatus
_CG_DrawBlueFlagStatus:                 ; @CG_DrawBlueFlagStatus
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _cgs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cgs@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _GT_1FCTF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _GT_1FCTF@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x4, x1
	cbz	x1, LBB0_5
; %bb.2:
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CG_DrawPic
LBB0_3:
Lloh8:
	adrp	x9, _GT_HARVESTER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GT_HARVESTER@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	mov	x0, #0
	bl	_trap_R_SetColor
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldr	x4, [x20, #24]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _PW_BLUEFLAG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PW_BLUEFLAG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_BG_FindItemForPowerup
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, #0
	bl	_trap_R_SetColor
	ldr	w8, [x20, #8]
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldr	x9, [x20, #16]
	cmp	w8, #3
	csel	w8, w8, wzr, lo
	ldr	x4, [x9, w8, uxtw #3]
LBB0_7:
	bl	_CG_DrawPic
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_R_SetColor
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,32,3                       ; @cgs
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_GT_1FCTF,8,3                   ; @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ; @GT_HARVESTER
	.comm	_PW_BLUEFLAG,4,2                ; @PW_BLUEFLAG
	.no_dead_strip	_CG_DrawBlueFlagStatus
.subsections_via_symbols
