	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_GetGameStatusText           ## -- Begin function CG_GetGameStatusText
	.p2align	4, 0x90
_CG_GetGameStatusText:                  ## @CG_GetGameStatusText
	.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	_cgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.1:
	movq	_cg@GOTPCREL(%rip), %rbx
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_PERS_TEAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.9:
	leaq	L_.str(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_cg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_4
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_va                             ## TAILCALL
LBB0_2:
	movq	_PERS_RANK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	incq	%rdi
	callq	_CG_PlaceString
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_PERS_SCORE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	jge	LBB0_5
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
LBB0_6:
	movq	%rax, %rsi
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_va                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_cgs,8,3                        ## @cgs
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.comm	_cg,16,3                        ## @cg
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
L_.str.1:                               ## @.str.1
	.asciz	"%s place with %i"

	.comm	_PERS_RANK,8,3                  ## @PERS_RANK
	.comm	_PERS_SCORE,8,3                 ## @PERS_SCORE
L_.str.2:                               ## @.str.2
	.asciz	"Teams are tied at %i"

L_.str.3:                               ## @.str.3
	.asciz	"Red leads Blue, %i to %i"

L_.str.4:                               ## @.str.4
	.asciz	"Blue leads Red, %i to %i"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_GetGameStatusText           ; -- Begin function CG_GetGameStatusText
	.p2align	2
_CG_GetGameStatusText:                  ; @CG_GetGameStatusText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _cgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GT_TEAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GT_TEAM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
Lloh6:
	adrp	x19, _cg@GOTPAGE
Lloh7:
	ldr	x19, [x19, _cg@GOTPAGEOFF]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _PERS_TEAM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PERS_TEAM@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, 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.2:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_3:
Lloh16:
	adrp	x8, _cg@GOTPAGE
Lloh17:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldp	x1, x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_6
; %bb.4:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_va
LBB0_5:
Lloh21:
	adrp	x9, _PERS_RANK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PERS_RANK@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, #1
	bl	_CG_PlaceString
	mov	x1, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _PERS_SCORE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PERS_SCORE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_6:
	b.ge	LBB0_8
; %bb.7:
	str	x1, [sp]
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x8
	b	LBB0_9
LBB0_8:
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_9:
	bl	_va
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_cgs,8,3                        ; @cgs
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.comm	_cg,16,3                        ; @cg
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
l_.str.1:                               ; @.str.1
	.asciz	"%s place with %i"

	.comm	_PERS_RANK,8,3                  ; @PERS_RANK
	.comm	_PERS_SCORE,8,3                 ; @PERS_SCORE
l_.str.2:                               ; @.str.2
	.asciz	"Teams are tied at %i"

l_.str.3:                               ; @.str.3
	.asciz	"Red leads Blue, %i to %i"

l_.str.4:                               ; @.str.4
	.asciz	"Blue leads Red, %i to %i"

.subsections_via_symbols
