	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_CheckLocalSounds            ## -- Begin function CG_CheckLocalSounds
	.p2align	4, 0x90
_CG_CheckLocalSounds:                   ## @CG_CheckLocalSounds
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	_PERS_TEAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax,%rdx,4), %esi
	movq	(%r14), %rcx
	cmpl	(%rcx,%rdx,4), %esi
	jne	LBB0_76
## %bb.1:
	movq	%rdi, %rbx
	movq	_PERS_HITS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %eax
	movl	(%rcx,%rdx,4), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_3
## %bb.2:
	movl	$140, %eax
	jmp	LBB0_5
LBB0_3:
	jge	LBB0_6
## %bb.4:
	movl	$136, %eax
LBB0_5:
	addq	_cgs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CHAN_LOCAL_SOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_trap_S_StartLocalSound
LBB0_6:
	movq	8(%rbx), %rcx
	movq	_STAT_HEALTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %esi
	testl	%esi, %esi
	jle	LBB0_9
## %bb.7:
	movq	8(%r14), %rcx
	movl	(%rcx,%rax,4), %eax
	decl	%eax
	cmpl	%eax, %esi
	jge	LBB0_9
## %bb.8:
	movq	_cg@GOTPCREL(%rip), %rdi
	addq	$24, %rdi
	callq	_CG_PainEvent
LBB0_9:
	movq	_cg@GOTPCREL(%rip), %r15
	cmpq	$0, 16(%r15)
	je	LBB0_10
LBB0_76:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%rbx), %rax
	movq	_PERS_CAPTURES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	(%r14), %rsi
	cmpl	(%rsi,%rcx,4), %edx
	jne	LBB0_12
## %bb.11:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_12:
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	128(%rax), %esi
	movl	132(%rax), %edi
	callq	_pushReward
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_13:
	movq	_PERS_IMPRESSIVE_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movl	(%rax,%rdi,4), %edx
	cmpl	(%rsi,%rdi,4), %edx
	je	LBB0_15
## %bb.14:
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	116(%rax), %esi
	movl	120(%rax), %edi
	callq	_pushReward
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_15:
	movq	_PERS_EXCELLENT_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movl	(%rax,%rdi,4), %edx
	cmpl	(%rsi,%rdi,4), %edx
	je	LBB0_17
## %bb.16:
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	104(%rax), %esi
	movl	108(%rax), %edi
	callq	_pushReward
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_17:
	movq	_PERS_GAUNTLET_FRAG_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movl	(%rax,%rdi,4), %edx
	cmpl	(%rsi,%rdi,4), %edx
	je	LBB0_19
## %bb.18:
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	72(%rax), %edi
	movl	96(%rax), %esi
	callq	_pushReward
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_19:
	movq	_PERS_DEFEND_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movl	(%rax,%rdi,4), %edx
	cmpl	(%rsi,%rdi,4), %edx
	je	LBB0_21
## %bb.20:
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	88(%rax), %esi
	movl	92(%rax), %edi
	callq	_pushReward
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_21:
	movq	_PERS_ASSIST_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movl	(%rax,%rdi,4), %edx
	cmpl	(%rsi,%rdi,4), %edx
	je	LBB0_23
## %bb.22:
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	80(%rax), %esi
	movl	84(%rax), %edi
	callq	_pushReward
	movq	(%rbx), %rax
	movq	(%r14), %rsi
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_23:
	movq	_PERS_PLAYEREVENTS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %eax
	movl	(%rsi,%rdx,4), %edx
	cmpl	%edx, %eax
	je	LBB0_32
## %bb.24:
	movq	_PLAYEREVENT_DENIEDREWARD@GOTPCREL(%rip), %rcx
	xorl	%eax, %edx
	movq	_cgs@GOTPCREL(%rip), %rax
	testl	%edx, (%rcx)
	je	LBB0_26
## %bb.25:
	addq	$76, %rax
	jmp	LBB0_30
LBB0_26:
	movq	_PLAYEREVENT_GAUNTLETREWARD@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_28
## %bb.27:
	addq	$72, %rax
	jmp	LBB0_30
LBB0_28:
	movq	_PLAYEREVENT_HOLYSHIT@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_31
## %bb.29:
	addq	$68, %rax
LBB0_30:
	movl	(%rax), %edi
	movq	_CHAN_ANNOUNCER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_trap_S_StartLocalSound
LBB0_31:
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_32:
	movl	(%rcx), %r13d
	movq	_cgs@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_40
## %bb.33:
	movq	16(%rbx), %rcx
	movq	_PW_REDFLAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	16(%r14), %rax
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.34:
	cmpq	(%rax,%rdx,8), %rsi
	jne	LBB0_39
LBB0_35:
	movq	_PW_BLUEFLAG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.36:
	cmpq	(%rax,%rdx,8), %rsi
	jne	LBB0_39
LBB0_37:
	movq	_PW_NEUTRALFLAG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_40
## %bb.38:
	cmpq	(%rax,%rdx,8), %rcx
	je	LBB0_40
LBB0_39:
	movl	64(%r12), %edi
	movq	_CHAN_ANNOUNCER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_trap_S_StartLocalSound
LBB0_40:
	orl	12(%r15), %r13d
	jne	LBB0_50
## %bb.41:
	movq	(%rbx), %rax
	movq	_PERS_RANK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	(%r14), %rax
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	je	LBB0_50
## %bb.42:
	movq	(%r12), %rdx
	movq	_GT_TEAM@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jge	LBB0_50
## %bb.43:
	testl	%ecx, %ecx
	je	LBB0_44
## %bb.45:
	movq	_RANK_TIED_FLAG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %ecx
	jne	LBB0_47
## %bb.46:
	leaq	56(%r12), %rax
	jmp	LBB0_49
LBB0_44:
	leaq	60(%r12), %rax
	jmp	LBB0_49
LBB0_47:
	notl	%edx
	testl	%edx, %eax
	jne	LBB0_50
## %bb.48:
	leaq	52(%r12), %rax
LBB0_49:
	movl	(%rax), %edi
	callq	_CG_AddBufferedSound
LBB0_50:
	movl	8(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_62
## %bb.51:
	movl	(%r15), %edx
	movl	4(%r15), %eax
	subl	12(%r12), %edx
	testb	$4, %al
	jne	LBB0_54
## %bb.52:
	imull	$60, %ecx, %esi
	orl	$2, %esi
	imull	$1000, %esi, %esi               ## imm = 0x3E8
	cmpl	%esi, %edx
	jle	LBB0_54
## %bb.53:
	leaq	48(%r12), %rcx
	movl	$7, %edx
	jmp	LBB0_61
LBB0_54:
	testb	$2, %al
	jne	LBB0_57
## %bb.55:
	imull	$60000, %ecx, %esi              ## imm = 0xEA60
	addl	$-60000, %esi                   ## imm = 0xFFFF15A0
	cmpl	%esi, %edx
	jle	LBB0_57
## %bb.56:
	leaq	44(%r12), %rcx
	movl	$3, %edx
	jmp	LBB0_61
LBB0_57:
	cmpl	$6, %ecx
	jb	LBB0_62
## %bb.58:
	movl	%eax, %esi
	andl	$1, %esi
	jne	LBB0_62
## %bb.59:
	imull	$60000, %ecx, %ecx              ## imm = 0xEA60
	addl	$-300000, %ecx                  ## imm = 0xFFFB6C20
	cmpl	%ecx, %edx
	jle	LBB0_62
## %bb.60:
	leaq	40(%r12), %rcx
	movl	$1, %edx
LBB0_61:
	orl	%edx, %eax
	movl	%eax, 4(%r15)
	movl	(%rcx), %edi
	movq	_CHAN_ANNOUNCER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_trap_S_StartLocalSound
LBB0_62:
	movl	16(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_76
## %bb.63:
	movq	(%r12), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jge	LBB0_76
## %bb.64:
	movl	20(%r12), %esi
	movl	24(%r12), %edx
	cmpl	%esi, %edx
	cmovlel	%esi, %edx
	movq	_GT_TEAM@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	cmovnel	%esi, %edx
	movl	8(%r15), %eax
	testb	$4, %al
	jne	LBB0_67
## %bb.65:
	leal	-1(%rcx), %esi
	cmpl	%esi, %edx
	jne	LBB0_67
## %bb.66:
	addq	$36, %r12
	movl	$7, %ecx
LBB0_75:
	orl	%ecx, %eax
	movl	%eax, 8(%r15)
	movl	(%r12), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_AddBufferedSound            ## TAILCALL
LBB0_67:
	cmpl	$3, %ecx
	jb	LBB0_76
## %bb.68:
	testb	$2, %al
	jne	LBB0_71
## %bb.69:
	leal	-2(%rcx), %esi
	cmpl	%esi, %edx
	jne	LBB0_71
## %bb.70:
	addq	$32, %r12
	movl	$3, %ecx
	jmp	LBB0_75
LBB0_71:
	cmpl	$4, %ecx
	jb	LBB0_76
## %bb.72:
	testb	$1, %al
	jne	LBB0_76
## %bb.73:
	addl	$-3, %ecx
	cmpl	%ecx, %edx
	jne	LBB0_76
## %bb.74:
	addq	$28, %r12
	movl	$1, %ecx
	jmp	LBB0_75
	.cfi_endproc
                                        ## -- End function
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_PERS_HITS,8,3                  ## @PERS_HITS
	.comm	_cgs,152,3                      ## @cgs
	.comm	_CHAN_LOCAL_SOUND,4,2           ## @CHAN_LOCAL_SOUND
	.comm	_STAT_HEALTH,8,3                ## @STAT_HEALTH
	.comm	_cg,32,3                        ## @cg
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_PERS_CAPTURES,8,3              ## @PERS_CAPTURES
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_PERS_IMPRESSIVE_COUNT,8,3      ## @PERS_IMPRESSIVE_COUNT
	.comm	_PERS_EXCELLENT_COUNT,8,3       ## @PERS_EXCELLENT_COUNT
	.comm	_PERS_GAUNTLET_FRAG_COUNT,8,3   ## @PERS_GAUNTLET_FRAG_COUNT
	.comm	_PERS_DEFEND_COUNT,8,3          ## @PERS_DEFEND_COUNT
	.comm	_PERS_ASSIST_COUNT,8,3          ## @PERS_ASSIST_COUNT
	.comm	_PERS_PLAYEREVENTS,8,3          ## @PERS_PLAYEREVENTS
	.comm	_PLAYEREVENT_DENIEDREWARD,4,2   ## @PLAYEREVENT_DENIEDREWARD
	.comm	_CHAN_ANNOUNCER,4,2             ## @CHAN_ANNOUNCER
	.comm	_PLAYEREVENT_GAUNTLETREWARD,4,2 ## @PLAYEREVENT_GAUNTLETREWARD
	.comm	_PLAYEREVENT_HOLYSHIT,4,2       ## @PLAYEREVENT_HOLYSHIT
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.comm	_PW_REDFLAG,8,3                 ## @PW_REDFLAG
	.comm	_PW_BLUEFLAG,8,3                ## @PW_BLUEFLAG
	.comm	_PW_NEUTRALFLAG,8,3             ## @PW_NEUTRALFLAG
	.comm	_PERS_RANK,8,3                  ## @PERS_RANK
	.comm	_RANK_TIED_FLAG,4,2             ## @RANK_TIED_FLAG
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_PERS_ATTACKEE_ARMOR,8,3        ## @PERS_ATTACKEE_ARMOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_CheckLocalSounds            ; -- Begin function CG_CheckLocalSounds
	.p2align	2
_CG_CheckLocalSounds:                   ; @CG_CheckLocalSounds
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PERS_TEAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PERS_TEAM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x10, x9, #2
	ldr	w11, [x8, x10]
	ldr	x9, [x1]
	ldr	w10, [x9, x10]
	cmp	w11, w10
	b.ne	LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x10, _PERS_HITS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PERS_HITS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w8, [x8, x10]
	ldr	w9, [x9, x10]
Lloh6:
	adrp	x21, _cgs@GOTPAGE
Lloh7:
	ldr	x21, [x21, _cgs@GOTPAGEOFF]
	cmp	w8, w9
	b.le	LBB0_3
; %bb.2:
	add	x8, x21, #140
	b	LBB0_5
LBB0_3:
	b.ge	LBB0_6
; %bb.4:
	add	x8, x21, #136
LBB0_5:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _CHAN_LOCAL_SOUND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHAN_LOCAL_SOUND@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_trap_S_StartLocalSound
LBB0_6:
	ldr	x8, [x20, #8]
Lloh11:
	adrp	x9, _STAT_HEALTH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _STAT_HEALTH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w1, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x9]
	sub	w8, w8, #1
	cmp	w1, #1
	ccmp	w1, w8, #0, ge
Lloh14:
	adrp	x22, _cg@GOTPAGE
Lloh15:
	ldr	x22, [x22, _cg@GOTPAGEOFF]
	b.ge	LBB0_8
; %bb.7:
	add	x0, x22, #24
	bl	_CG_PainEvent
LBB0_8:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x8, [x20]
Lloh16:
	adrp	x9, _PERS_CAPTURES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PERS_CAPTURES@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w2, [x8, x9]
	ldr	x10, [x19]
	ldr	w9, [x10, x9]
	cmp	w2, w9
	b.ne	LBB0_12
; %bb.11:
Lloh19:
	adrp	x9, _qfalse@GOTPAGE
Lloh20:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	ldp	w1, w0, [x21, #128]
	bl	_pushReward
	ldr	x8, [x20]
	ldr	x10, [x19]
Lloh21:
	adrp	x9, _qtrue@GOTPAGE
Lloh22:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_13:
Lloh23:
	adrp	x11, _PERS_IMPRESSIVE_COUNT@GOTPAGE
Lloh24:
	ldr	x11, [x11, _PERS_IMPRESSIVE_COUNT@GOTPAGEOFF]
Lloh25:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w2, [x8, x11]
	ldr	w11, [x10, x11]
	cmp	w2, w11
	b.eq	LBB0_15
; %bb.14:
	ldp	w1, w0, [x21, #116]
	bl	_pushReward
	ldr	x8, [x20]
	ldr	x10, [x19]
Lloh26:
	adrp	x9, _qtrue@GOTPAGE
Lloh27:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_15:
Lloh28:
	adrp	x11, _PERS_EXCELLENT_COUNT@GOTPAGE
Lloh29:
	ldr	x11, [x11, _PERS_EXCELLENT_COUNT@GOTPAGEOFF]
Lloh30:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w2, [x8, x11]
	ldr	w11, [x10, x11]
	cmp	w2, w11
	b.eq	LBB0_17
; %bb.16:
	ldp	w1, w0, [x21, #104]
	bl	_pushReward
	ldr	x8, [x20]
	ldr	x10, [x19]
Lloh31:
	adrp	x9, _qtrue@GOTPAGE
Lloh32:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_17:
Lloh33:
	adrp	x11, _PERS_GAUNTLET_FRAG_COUNT@GOTPAGE
Lloh34:
	ldr	x11, [x11, _PERS_GAUNTLET_FRAG_COUNT@GOTPAGEOFF]
Lloh35:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w2, [x8, x11]
	ldr	w11, [x10, x11]
	cmp	w2, w11
	b.eq	LBB0_19
; %bb.18:
	ldr	w0, [x21, #72]
	ldr	w1, [x21, #96]
	bl	_pushReward
	ldr	x8, [x20]
	ldr	x10, [x19]
Lloh36:
	adrp	x9, _qtrue@GOTPAGE
Lloh37:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_19:
Lloh38:
	adrp	x11, _PERS_DEFEND_COUNT@GOTPAGE
Lloh39:
	ldr	x11, [x11, _PERS_DEFEND_COUNT@GOTPAGEOFF]
Lloh40:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w2, [x8, x11]
	ldr	w11, [x10, x11]
	cmp	w2, w11
	b.eq	LBB0_21
; %bb.20:
	ldp	w1, w0, [x21, #88]
	bl	_pushReward
	ldr	x8, [x20]
	ldr	x10, [x19]
Lloh41:
	adrp	x9, _qtrue@GOTPAGE
Lloh42:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_21:
Lloh43:
	adrp	x11, _PERS_ASSIST_COUNT@GOTPAGE
Lloh44:
	ldr	x11, [x11, _PERS_ASSIST_COUNT@GOTPAGEOFF]
Lloh45:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w2, [x8, x11]
	ldr	w11, [x10, x11]
	cmp	w2, w11
	b.eq	LBB0_23
; %bb.22:
	ldp	w1, w0, [x21, #80]
	bl	_pushReward
	ldr	x8, [x20]
	ldr	x10, [x19]
Lloh46:
	adrp	x9, _qtrue@GOTPAGE
Lloh47:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_23:
Lloh48:
	adrp	x11, _PERS_PLAYEREVENTS@GOTPAGE
Lloh49:
	ldr	x11, [x11, _PERS_PLAYEREVENTS@GOTPAGEOFF]
Lloh50:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w8, [x8, x11]
	ldr	w10, [x10, x11]
	cmp	w8, w10
	b.eq	LBB0_32
; %bb.24:
Lloh51:
	adrp	x9, _PLAYEREVENT_DENIEDREWARD@GOTPAGE
Lloh52:
	ldr	x9, [x9, _PLAYEREVENT_DENIEDREWARD@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	eor	w8, w10, w8
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
	add	x8, x21, #76
	b	LBB0_30
LBB0_26:
Lloh54:
	adrp	x9, _PLAYEREVENT_GAUNTLETREWARD@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PLAYEREVENT_GAUNTLETREWARD@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	add	x8, x21, #72
	b	LBB0_30
LBB0_28:
Lloh57:
	adrp	x9, _PLAYEREVENT_HOLYSHIT@GOTPAGE
Lloh58:
	ldr	x9, [x9, _PLAYEREVENT_HOLYSHIT@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.29:
	add	x8, x21, #68
LBB0_30:
	ldr	w0, [x8]
Lloh60:
	adrp	x8, _CHAN_ANNOUNCER@GOTPAGE
Lloh61:
	ldr	x8, [x8, _CHAN_ANNOUNCER@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_trap_S_StartLocalSound
LBB0_31:
Lloh63:
	adrp	x9, _qtrue@GOTPAGE
Lloh64:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
LBB0_32:
	ldr	w24, [x9]
	ldr	x8, [x21]
Lloh65:
	adrp	x23, _GT_TEAM@GOTPAGE
Lloh66:
	ldr	x23, [x23, _GT_TEAM@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.le	LBB0_40
; %bb.33:
Lloh67:
	adrp	x8, _PW_REDFLAG@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PW_REDFLAG@GOTPAGEOFF]
	ldr	x9, [x20, #16]
Lloh69:
	ldr	x8, [x8]
	lsl	x10, x8, #3
	ldr	x11, [x9, x10]
	ldr	x8, [x19, #16]
	cbz	x11, LBB0_35
; %bb.34:
	ldr	x10, [x8, x10]
	cmp	x11, x10
	b.ne	LBB0_39
LBB0_35:
Lloh70:
	adrp	x10, _PW_BLUEFLAG@GOTPAGE
Lloh71:
	ldr	x10, [x10, _PW_BLUEFLAG@GOTPAGEOFF]
Lloh72:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldr	x11, [x9, x10]
	cbz	x11, LBB0_37
; %bb.36:
	ldr	x10, [x8, x10]
	cmp	x11, x10
	b.ne	LBB0_39
LBB0_37:
Lloh73:
	adrp	x10, _PW_NEUTRALFLAG@GOTPAGE
Lloh74:
	ldr	x10, [x10, _PW_NEUTRALFLAG@GOTPAGEOFF]
Lloh75:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldr	x9, [x9, x10]
	cbz	x9, LBB0_40
; %bb.38:
	ldr	x8, [x8, x10]
	cmp	x9, x8
	b.eq	LBB0_40
LBB0_39:
	ldr	w0, [x21, #64]
Lloh76:
	adrp	x8, _CHAN_ANNOUNCER@GOTPAGE
Lloh77:
	ldr	x8, [x8, _CHAN_ANNOUNCER@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	bl	_trap_S_StartLocalSound
LBB0_40:
	ldr	w8, [x22, #12]
	orr	w8, w24, w8
	cbnz	w8, LBB0_50
; %bb.41:
	ldr	x8, [x20]
Lloh79:
	adrp	x9, _PERS_RANK@GOTPAGE
Lloh80:
	ldr	x9, [x9, _PERS_RANK@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	lsl	x10, x9, #2
	ldr	w9, [x8, x10]
	ldr	x8, [x19]
	ldr	w8, [x8, x10]
	cmp	w9, w8
	b.eq	LBB0_50
; %bb.42:
	ldr	x10, [x21]
	ldr	x11, [x23]
	cmp	x10, x11
	b.ge	LBB0_50
; %bb.43:
	cbz	w9, LBB0_46
; %bb.44:
Lloh82:
	adrp	x10, _RANK_TIED_FLAG@GOTPAGE
Lloh83:
	ldr	x10, [x10, _RANK_TIED_FLAG@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_47
; %bb.45:
	add	x8, x21, #56
	b	LBB0_49
LBB0_46:
	add	x8, x21, #60
	b	LBB0_49
LBB0_47:
	bics	wzr, w8, w10
	b.ne	LBB0_50
; %bb.48:
	add	x8, x21, #52
LBB0_49:
	ldr	w0, [x8]
	bl	_CG_AddBufferedSound
LBB0_50:
	ldr	w9, [x21, #8]
	cmp	w9, #1
	b.lt	LBB0_62
; %bb.51:
	ldr	w10, [x21, #12]
	ldp	w11, w8, [x22]
	sub	w10, w11, w10
	tbnz	w8, #2, LBB0_54
; %bb.52:
	mov	w11, #60
	mul	w11, w9, w11
	orr	w11, w11, #0x2
	mov	w12, #1000
	mul	w11, w11, w12
	cmp	w10, w11
	b.le	LBB0_54
; %bb.53:
	add	x9, x21, #48
	mov	w10, #7
	b	LBB0_61
LBB0_54:
	tbnz	w8, #1, LBB0_57
; %bb.55:
	mov	w11, #60000
	mov	w12, #-60000
	madd	w11, w9, w11, w12
	cmp	w10, w11
	b.le	LBB0_57
; %bb.56:
	add	x9, x21, #44
	mov	w10, #3
	b	LBB0_61
LBB0_57:
	cmp	w9, #6
	b.lo	LBB0_62
; %bb.58:
	tbnz	w8, #0, LBB0_62
; %bb.59:
	mov	w11, #60000
	mov	w12, #27680
	movk	w12, #65531, lsl #16
	madd	w9, w9, w11, w12
	cmp	w10, w9
	b.le	LBB0_62
; %bb.60:
	add	x9, x21, #40
	mov	w10, #1
LBB0_61:
	orr	w8, w8, w10
	str	w8, [x22, #4]
	ldr	w0, [x9]
Lloh85:
	adrp	x8, _CHAN_ANNOUNCER@GOTPAGE
Lloh86:
	ldr	x8, [x8, _CHAN_ANNOUNCER@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	bl	_trap_S_StartLocalSound
LBB0_62:
	ldr	w9, [x21, #16]
	subs	w11, w9, #1
	b.lt	LBB0_9
; %bb.63:
	ldr	x8, [x21]
Lloh88:
	adrp	x10, _GT_CTF@GOTPAGE
Lloh89:
	ldr	x10, [x10, _GT_CTF@GOTPAGEOFF]
Lloh90:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ge	LBB0_9
; %bb.64:
	ldr	x10, [x23]
	ldp	w12, w13, [x21, #20]
	cmp	w13, w12
	csel	w13, w13, w12, gt
	cmp	x8, x10
	csel	w10, w13, w12, eq
	ldr	w8, [x22, #8]
	tbnz	w8, #2, LBB0_68
; %bb.65:
	cmp	w10, w11
	b.ne	LBB0_68
; %bb.66:
	add	x9, x21, #36
	mov	w10, #7
LBB0_67:
	orr	w8, w8, w10
	str	w8, [x22, #8]
	ldr	w0, [x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_CG_AddBufferedSound
LBB0_68:
	subs	w11, w9, #3
	b.lo	LBB0_9
; %bb.69:
	tbnz	w8, #1, LBB0_72
; %bb.70:
	sub	w12, w9, #2
	cmp	w10, w12
	b.ne	LBB0_72
; %bb.71:
	add	x9, x21, #32
	mov	w10, #3
	b	LBB0_67
LBB0_72:
	cmp	w9, #4
	b.lo	LBB0_9
; %bb.73:
	tbnz	w8, #0, LBB0_9
; %bb.74:
	cmp	w10, w11
	b.ne	LBB0_9
; %bb.75:
	add	x9, x21, #28
	mov	w10, #1
	b	LBB0_67
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_PERS_HITS,8,3                  ; @PERS_HITS
	.comm	_cgs,152,3                      ; @cgs
	.comm	_CHAN_LOCAL_SOUND,4,2           ; @CHAN_LOCAL_SOUND
	.comm	_STAT_HEALTH,8,3                ; @STAT_HEALTH
	.comm	_cg,32,3                        ; @cg
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_PERS_CAPTURES,8,3              ; @PERS_CAPTURES
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_PERS_IMPRESSIVE_COUNT,8,3      ; @PERS_IMPRESSIVE_COUNT
	.comm	_PERS_EXCELLENT_COUNT,8,3       ; @PERS_EXCELLENT_COUNT
	.comm	_PERS_GAUNTLET_FRAG_COUNT,8,3   ; @PERS_GAUNTLET_FRAG_COUNT
	.comm	_PERS_DEFEND_COUNT,8,3          ; @PERS_DEFEND_COUNT
	.comm	_PERS_ASSIST_COUNT,8,3          ; @PERS_ASSIST_COUNT
	.comm	_PERS_PLAYEREVENTS,8,3          ; @PERS_PLAYEREVENTS
	.comm	_PLAYEREVENT_DENIEDREWARD,4,2   ; @PLAYEREVENT_DENIEDREWARD
	.comm	_CHAN_ANNOUNCER,4,2             ; @CHAN_ANNOUNCER
	.comm	_PLAYEREVENT_GAUNTLETREWARD,4,2 ; @PLAYEREVENT_GAUNTLETREWARD
	.comm	_PLAYEREVENT_HOLYSHIT,4,2       ; @PLAYEREVENT_HOLYSHIT
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.comm	_PW_REDFLAG,8,3                 ; @PW_REDFLAG
	.comm	_PW_BLUEFLAG,8,3                ; @PW_BLUEFLAG
	.comm	_PW_NEUTRALFLAG,8,3             ; @PW_NEUTRALFLAG
	.comm	_PERS_RANK,8,3                  ; @PERS_RANK
	.comm	_RANK_TIED_FLAG,4,2             ; @RANK_TIED_FLAG
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_PERS_ATTACKEE_ARMOR,8,3        ; @PERS_ATTACKEE_ARMOR
.subsections_via_symbols
