	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_DrawTeamInfo
_CG_DrawTeamInfo:                       ## @CG_DrawTeamInfo
	.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_teamChatHeight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TEAMCHAT_HEIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	cmpl	%r14d, %eax
	cmovll	%eax, %r14d
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.1:
	movq	_cgs@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	cmpl	4(%r15), %ebx
	jne	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_cg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%r15), %rsi
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	movslq	%edx, %rax
	subq	(%rsi,%rax,8), %rcx
	movq	_cg_teamChatTime@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jle	LBB0_4
## %bb.3:
	incl	%ebx
	movl	%ebx, (%r15)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %edi
	callq	_CG_DrawStrlen
	incl	%ebx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_teamChatHeight,4,2          ## @cg_teamChatHeight
	.comm	_TEAMCHAT_HEIGHT,4,2            ## @TEAMCHAT_HEIGHT
	.comm	_cgs,32,3                       ## @cgs
	.comm	_cg,16,3                        ## @cg
	.comm	_cg_teamChatTime,8,3            ## @cg_teamChatTime
	.comm	_TINYCHAR_HEIGHT,4,2            ## @TINYCHAR_HEIGHT
	.comm	_TINYCHAR_WIDTH,4,2             ## @TINYCHAR_WIDTH
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_TEAM_RED,8,3                   ## @TEAM_RED
	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_CHATLOC_X,8,3                  ## @CHATLOC_X
	.comm	_CHATLOC_Y,8,3                  ## @CHATLOC_Y
	.no_dead_strip	_CG_DrawTeamInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawTeamInfo
_CG_DrawTeamInfo:                       ; @CG_DrawTeamInfo
	.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	x8, _cg_teamChatHeight@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg_teamChatHeight@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TEAMCHAT_HEIGHT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TEAMCHAT_HEIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w19, w8, w9, lt
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x20, _cgs@GOTPAGE
Lloh7:
	ldr	x20, [x20, _cgs@GOTPAGEOFF]
	ldr	d0, [x20]
	mov.s	w8, v0[1]
	fmov	w21, s0
	cmp	w21, w8
	b.ne	LBB0_3
LBB0_2:
	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_3:
Lloh8:
	adrp	x8, _cg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
	ldr	x9, [x20, #8]
	sdiv	w10, w21, w19
	msub	w10, w10, w19, w21
	ldr	x9, [x9, w10, sxtw #3]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x10, _cg_teamChatTime@GOTPAGE
Lloh12:
	ldr	x10, [x10, _cg_teamChatTime@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	sub	x8, x8, x9
	cmp	x8, x10
	b.le	LBB0_5
; %bb.4:
	add	w21, w21, #1
	str	w21, [x20]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	sdiv	w9, w21, w19
	msub	w9, w9, w19, w21
	ldr	w0, [x8, w9, sxtw #2]
	bl	_CG_DrawStrlen
	add	w21, w21, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_teamChatHeight,4,2          ; @cg_teamChatHeight
	.comm	_TEAMCHAT_HEIGHT,4,2            ; @TEAMCHAT_HEIGHT
	.comm	_cgs,32,3                       ; @cgs
	.comm	_cg,16,3                        ; @cg
	.comm	_cg_teamChatTime,8,3            ; @cg_teamChatTime
	.comm	_TINYCHAR_HEIGHT,4,2            ; @TINYCHAR_HEIGHT
	.comm	_TINYCHAR_WIDTH,4,2             ; @TINYCHAR_WIDTH
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_TEAM_RED,8,3                   ; @TEAM_RED
	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_CHATLOC_X,8,3                  ; @CHATLOC_X
	.comm	_CHATLOC_Y,8,3                  ; @CHATLOC_Y
	.no_dead_strip	_CG_DrawTeamInfo
.subsections_via_symbols
