	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_cg@GOTPCREL(%rip), %rbx
	cmpq	$0, 32(%rbx)
	jne	LBB0_13
## %bb.1:
	movq	_cg_draw2D@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.2:
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	_PM_INTERMISSION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CG_DrawIntermission            ## TAILCALL
LBB0_3:
	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_5
## %bb.4:
	xorl	%eax, %eax
	callq	_CG_DrawSpectator
	xorl	%eax, %eax
	callq	_CG_DrawCrosshair
	xorl	%eax, %eax
	callq	_CG_DrawCrosshairNames
	jmp	LBB0_10
LBB0_5:
	cmpl	$0, 24(%rbx)
	jne	LBB0_8
## %bb.6:
	movq	16(%rax), %rax
	movq	_STAT_HEALTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jle	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_CG_DrawStatusBar
	xorl	%eax, %eax
	callq	_CG_DrawAmmoWarning
	xorl	%eax, %eax
	callq	_CG_DrawCrosshair
	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_8:
	movq	_cgs@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_CG_DrawTeamInfo
LBB0_10:
	xorl	%eax, %eax
	callq	_CG_DrawVote
	xorl	%eax, %eax
	callq	_CG_DrawTeamVote
	xorl	%eax, %eax
	callq	_CG_DrawLagometer
	xorl	%eax, %eax
	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_12
## %bb.11:
	xorl	%eax, %eax
	callq	_CG_DrawWarmup
LBB0_12:
	xorl	%eax, %eax
	callq	_CG_DrawScoreboard
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_15
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CG_DrawCenterString            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,40,3                        ## @cg
	.comm	_cg_draw2D,8,3                  ## @cg_draw2D
	.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	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
Lloh0:
	adrp	x19, _cg@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cg@GOTPAGEOFF]
	ldr	x8, [x19, #32]
Lloh2:
	adrp	x9, _cg_draw2D@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cg_draw2D@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_13
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
Lloh5:
	adrp	x10, _PM_INTERMISSION@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PM_INTERMISSION@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CG_DrawIntermission
LBB0_3:
	ldr	x9, [x8, #8]
Lloh8:
	adrp	x10, _PERS_TEAM@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PERS_TEAM@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
Lloh11:
	adrp	x10, _TEAM_SPECTATOR@GOTPAGE
Lloh12:
	ldr	x10, [x10, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	bl	_CG_DrawSpectator
	bl	_CG_DrawCrosshair
	bl	_CG_DrawCrosshairNames
	b	LBB0_10
LBB0_5:
	ldr	w9, [x19, #24]
	cbnz	w9, LBB0_8
; %bb.6:
	ldr	x8, [x8, #16]
Lloh14:
	adrp	x9, _STAT_HEALTH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _STAT_HEALTH@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.7:
	bl	_CG_DrawStatusBar
	bl	_CG_DrawAmmoWarning
	bl	_CG_DrawCrosshair
	bl	_CG_DrawCrosshairNames
	bl	_CG_DrawWeaponSelect
	bl	_CG_DrawHoldableItem
	bl	_CG_DrawReward
LBB0_8:
Lloh17:
	adrp	x8, _cgs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8, #8]
Lloh20:
	adrp	x9, _GT_TEAM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GT_TEAM@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_10
; %bb.9:
	bl	_CG_DrawTeamInfo
LBB0_10:
	bl	_CG_DrawVote
	bl	_CG_DrawTeamVote
	bl	_CG_DrawLagometer
	bl	_CG_DrawUpperRight
	bl	_CG_DrawLowerRight
	bl	_CG_DrawLowerLeft
	bl	_CG_DrawFollow
	cbnz	w0, LBB0_12
; %bb.11:
	bl	_CG_DrawWarmup
LBB0_12:
	bl	_CG_DrawScoreboard
	str	w0, [x19, #8]
	cbz	w0, LBB0_14
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CG_DrawCenterString
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,40,3                        ; @cg
	.comm	_cg_draw2D,8,3                  ; @cg_draw2D
	.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
