	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_Draw2D
_CG_Draw2D:                             ## @CG_Draw2D
	.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	_cg@GOTPCREL(%rip), %r14
	cmpq	$0, 32(%r14)
	je	LBB0_1
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r15
	movq	_cg_draw2D@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_cg_drawReducedUI@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	je	LBB0_3
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_3
## %bb.12:
	movq	16(%r14), %rax
	movq	(%rax), %rcx
	movq	_PM_INTERMISSION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.28:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_DrawIntermission            ## TAILCALL
LBB0_3:
	movq	_STEREO_CENTER@GOTPCREL(%rip), %rcx
	cmpq	%r15, (%rcx)
	jne	LBB0_27
## %bb.4:
	movq	_cg_drawCrosshairAlways@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_CG_DrawCrosshair
	movq	(%rbx), %rax
LBB0_6:
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_CG_DrawStatusBarReduced
LBB0_8:
	movq	_cg_drawScriptTextAlways@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_CG_DrawScriptMessage
LBB0_10:
	movq	_cg_drawScriptRectanglesAlways@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_DrawScriptFilledRectangles  ## TAILCALL
LBB0_13:
	movq	8(%rax), %rcx
	movq	_PERS_TEAM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_17
## %bb.14:
	xorl	%eax, %eax
	callq	_CG_DrawSpectator
	movq	_STEREO_CENTER@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_CG_DrawCrosshair
LBB0_16:
	xorl	%eax, %eax
	callq	_CG_DrawCrosshairNames
	jmp	LBB0_22
LBB0_17:
	cmpl	$0, 24(%r14)
	jne	LBB0_22
## %bb.18:
	movq	16(%rax), %rax
	movq	_STAT_HEALTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jle	LBB0_22
## %bb.19:
	xorl	%eax, %eax
	callq	_CG_DrawStatusBar
	xorl	%eax, %eax
	callq	_CG_DrawAmmoWarning
	movq	_STEREO_CENTER@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	callq	_CG_DrawCrosshair
LBB0_21:
	xorl	%eax, %eax
	callq	_CG_DrawCrosshairNames
	xorl	%eax, %eax
	callq	_CG_DrawWeaponSelect
	xorl	%eax, %eax
	callq	_CG_DrawHoldableItem
	xorl	%eax, %eax
	callq	_CG_DrawReward
LBB0_22:
	movq	_cgs@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_24
## %bb.23:
	xorl	%eax, %eax
	callq	_CG_DrawTeamInfo
LBB0_24:
	xorl	%eax, %eax
	callq	_CG_DrawScriptMessage
	xorl	%eax, %eax
	callq	_CG_DrawScriptFilledRectangles
	xorl	%eax, %eax
	callq	_CG_DrawVote
	xorl	%eax, %eax
	callq	_CG_DrawTeamVote
	xorl	%eax, %eax
	callq	_CG_DrawLagometer
	movq	%r15, %rdi
	callq	_CG_DrawUpperRight
	xorl	%eax, %eax
	callq	_CG_DrawLowerRight
	xorl	%eax, %eax
	callq	_CG_DrawLowerLeft
	xorl	%eax, %eax
	callq	_CG_DrawFollow
	testl	%eax, %eax
	jne	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	callq	_CG_DrawWarmup
LBB0_26:
	xorl	%eax, %eax
	callq	_CG_DrawScoreboard
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	jne	LBB0_27
## %bb.29:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_DrawCenterString            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,40,3                        ## @cg
	.comm	_cg_draw2D,8,3                  ## @cg_draw2D
	.comm	_cg_drawReducedUI,8,3           ## @cg_drawReducedUI
	.comm	_STEREO_CENTER,8,3              ## @STEREO_CENTER
	.comm	_cg_drawCrosshairAlways,8,3     ## @cg_drawCrosshairAlways
	.comm	_cg_drawScriptTextAlways,8,3    ## @cg_drawScriptTextAlways
	.comm	_cg_drawScriptRectanglesAlways,8,3 ## @cg_drawScriptRectanglesAlways
	.comm	_PM_INTERMISSION,8,3            ## @PM_INTERMISSION
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
	.comm	_STAT_HEALTH,8,3                ## @STAT_HEALTH
	.comm	_cgs,24,3                       ## @cgs
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.comm	_cg_drawStatus,8,3              ## @cg_drawStatus
	.comm	_cg_paused,4,2                  ## @cg_paused
	.no_dead_strip	_CG_Draw2D
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_Draw2D
_CG_Draw2D:                             ; @CG_Draw2D
	.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
Lloh0:
	adrp	x20, _cg@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cg@GOTPAGEOFF]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_2
LBB0_1:
	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_2:
	mov	x19, x0
Lloh2:
	adrp	x8, _cg_draw2D@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cg_draw2D@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x8]
Lloh5:
	adrp	x21, _cg_drawReducedUI@GOTPAGE
Lloh6:
	ldr	x21, [x21, _cg_drawReducedUI@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x9, #0
	ccmp	x8, #0, #0, ne
	b.eq	LBB0_12
; %bb.3:
Lloh7:
	adrp	x9, _STEREO_CENTER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _STEREO_CENTER@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x19
	b.ne	LBB0_1
; %bb.4:
Lloh10:
	adrp	x9, _cg_drawCrosshairAlways@GOTPAGE
Lloh11:
	ldr	x9, [x9, _cg_drawCrosshairAlways@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.5:
	bl	_CG_DrawCrosshair
	ldr	x8, [x21]
LBB0_6:
	cbz	x8, LBB0_8
; %bb.7:
	bl	_CG_DrawStatusBarReduced
LBB0_8:
Lloh13:
	adrp	x8, _cg_drawScriptTextAlways@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cg_drawScriptTextAlways@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	bl	_CG_DrawScriptMessage
LBB0_10:
Lloh16:
	adrp	x8, _cg_drawScriptRectanglesAlways@GOTPAGE
Lloh17:
	ldr	x8, [x8, _cg_drawScriptRectanglesAlways@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.11:
	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
	b	_CG_DrawScriptFilledRectangles
LBB0_12:
	ldr	x8, [x20, #16]
	ldr	x9, [x8]
Lloh19:
	adrp	x10, _PM_INTERMISSION@GOTPAGE
Lloh20:
	ldr	x10, [x10, _PM_INTERMISSION@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.13:
	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
	b	_CG_DrawIntermission
LBB0_14:
	ldr	x9, [x8, #8]
Lloh22:
	adrp	x10, _PERS_TEAM@GOTPAGE
Lloh23:
	ldr	x10, [x10, _PERS_TEAM@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
Lloh25:
	adrp	x10, _TEAM_SPECTATOR@GOTPAGE
Lloh26:
	ldr	x10, [x10, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_18
; %bb.15:
	bl	_CG_DrawSpectator
Lloh28:
	adrp	x8, _STEREO_CENTER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _STEREO_CENTER@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_17
; %bb.16:
	bl	_CG_DrawCrosshair
LBB0_17:
	bl	_CG_DrawCrosshairNames
	b	LBB0_23
LBB0_18:
	ldr	w9, [x20, #24]
	cbnz	w9, LBB0_23
; %bb.19:
	ldr	x8, [x8, #16]
Lloh31:
	adrp	x9, _STAT_HEALTH@GOTPAGE
Lloh32:
	ldr	x9, [x9, _STAT_HEALTH@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #1
	b.lt	LBB0_23
; %bb.20:
	bl	_CG_DrawStatusBar
	bl	_CG_DrawAmmoWarning
Lloh34:
	adrp	x8, _STEREO_CENTER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _STEREO_CENTER@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_22
; %bb.21:
	bl	_CG_DrawCrosshair
LBB0_22:
	bl	_CG_DrawCrosshairNames
	bl	_CG_DrawWeaponSelect
	bl	_CG_DrawHoldableItem
	bl	_CG_DrawReward
LBB0_23:
Lloh37:
	adrp	x8, _cgs@GOTPAGE
Lloh38:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8, #8]
Lloh40:
	adrp	x9, _GT_TEAM@GOTPAGE
Lloh41:
	ldr	x9, [x9, _GT_TEAM@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_25
; %bb.24:
	bl	_CG_DrawTeamInfo
LBB0_25:
	bl	_CG_DrawScriptMessage
	bl	_CG_DrawScriptFilledRectangles
	bl	_CG_DrawVote
	bl	_CG_DrawTeamVote
	bl	_CG_DrawLagometer
	mov	x0, x19
	bl	_CG_DrawUpperRight
	bl	_CG_DrawLowerRight
	bl	_CG_DrawLowerLeft
	bl	_CG_DrawFollow
	cbnz	w0, LBB0_27
; %bb.26:
	bl	_CG_DrawWarmup
LBB0_27:
	bl	_CG_DrawScoreboard
	str	w0, [x20, #8]
	cbnz	w0, LBB0_1
; %bb.28:
	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
	b	_CG_DrawCenterString
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,40,3                        ; @cg
	.comm	_cg_draw2D,8,3                  ; @cg_draw2D
	.comm	_cg_drawReducedUI,8,3           ; @cg_drawReducedUI
	.comm	_STEREO_CENTER,8,3              ; @STEREO_CENTER
	.comm	_cg_drawCrosshairAlways,8,3     ; @cg_drawCrosshairAlways
	.comm	_cg_drawScriptTextAlways,8,3    ; @cg_drawScriptTextAlways
	.comm	_cg_drawScriptRectanglesAlways,8,3 ; @cg_drawScriptRectanglesAlways
	.comm	_PM_INTERMISSION,8,3            ; @PM_INTERMISSION
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
	.comm	_STAT_HEALTH,8,3                ; @STAT_HEALTH
	.comm	_cgs,24,3                       ; @cgs
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.comm	_cg_drawStatus,8,3              ; @cg_drawStatus
	.comm	_cg_paused,4,2                  ; @cg_paused
	.no_dead_strip	_CG_Draw2D
.subsections_via_symbols
