	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DeathmatchScoreboardMessage    ## -- Begin function DeathmatchScoreboardMessage
	.p2align	4, 0x90
_DeathmatchScoreboardMessage:           ## @DeathmatchScoreboardMessage
	.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
	subq	$2504, %rsp                     ## imm = 0x9C8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, -2480(%rbp)
	movq	_level@GOTPCREL(%rip), %r11
	movl	(%r11), %eax
	movq	%rax, -2504(%rbp)               ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rbx, -2496(%rbp)               ## 8-byte Spill
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r11), %rax
	movq	32(%r11), %r10
	movq	(%rax,%rsi,8), %rcx
	leaq	(%rcx,%rcx,4), %rdi
	movq	24(%r10,%rdi,8), %rax
	movl	$-1, %r9d
	movq	_CON_CONNECTING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r10,%rdi,8), %r9d
	cmpl	$999, %r9d                      ## imm = 0x3E7
	movl	$999, %eax                      ## imm = 0x3E7
	cmovgel	%eax, %r9d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r10,%rdi,8), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	imull	$100, 4(%r10,%rdi,8), %eax
	cltd
	idivl	%ebx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -2512(%rbp)               ## 8-byte Spill
	movq	16(%r10,%rdi,8), %rbx
	movq	_PERS_RANK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	$0, (%rbx,%rdx,8)
	movq	%rsi, -2520(%rbp)               ## 8-byte Spill
	movl	%r8d, -2484(%rbp)               ## 4-byte Spill
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PERS_KILLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	$0, (%rbx,%rdx,8)
	sete	%dl
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%dl, %eax
	movq	%rax, -2536(%rbp)               ## 8-byte Spill
	movq	_PERS_SCORE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rbx,%rdx,8), %r8
	movl	16(%r11), %edx
	subl	32(%r10,%rdi,8), %edx
	movslq	%edx, %rdx
	imulq	$1172812403, %rdx, %r10         ## imm = 0x45E7B273
	movq	%r10, %rdx
	shrq	$63, %rdx
	sarq	$46, %r10
	addl	%edx, %r10d
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rcx,4), %eax
	movq	%rax, -2528(%rbp)               ## 8-byte Spill
	movq	_PERS_IMPRESSIVE_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_PERS_EXCELLENT_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_PERS_GAUNTLET_FRAG_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_PERS_DEFEND_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PERS_ASSIST_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r11
	movq	_PERS_CAPTURES@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r13
	subq	$8, %rsp
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	leaq	L_.str(%rip), %rdx
	pushq	(%rbx,%r13,8)
	pushq	-2536(%rbp)                     ## 8-byte Folded Reload
	pushq	(%rbx,%r11,8)
	pushq	(%rbx,%rax,8)
	pushq	(%rbx,%r14,8)
	movq	%rdi, %r14
	pushq	(%rbx,%r15,8)
	pushq	(%rbx,%r12,8)
	pushq	-2512(%rbp)                     ## 8-byte Folded Reload
	pushq	-2528(%rbp)                     ## 8-byte Folded Reload
	pushq	$0
	pushq	%r10
	callq	_Com_sprintf
	addq	$96, %rsp
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movl	-2484(%rbp), %eax               ## 4-byte Reload
	addl	%eax, %ebx
	cmpl	$1024, %ebx                     ## imm = 0x400
	jg	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cltq
	leaq	(%rax,%rbp), %rdi
	addq	$-2480, %rdi                    ## imm = 0xF650
	movq	%r14, %rsi
	callq	_strcpy
	movq	-2520(%rbp), %rsi               ## 8-byte Reload
	incq	%rsi
	movl	%ebx, %r8d
	cmpq	%rsi, -2504(%rbp)               ## 8-byte Folded Reload
	movq	_level@GOTPCREL(%rip), %r11
	jne	LBB0_3
## %bb.13:
	movq	-2504(%rbp), %rsi               ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi def $rsi
	movq	-2496(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	xorl	%esi, %esi
	jmp	LBB0_14
LBB0_16:
	movq	-2496(%rbp), %rbx               ## 8-byte Reload
	movq	-2520(%rbp), %rsi               ## 8-byte Reload
	movq	_level@GOTPCREL(%rip), %r11
LBB0_14:
	movq	_g_entities@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	shrq	$2, %rbx
	movq	24(%r11), %rax
	movq	_TEAM_RED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rdi
	leaq	-2480(%rbp), %r8
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_va
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_trap_SendServerCommand
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.15:
	addq	$2504, %rsp                     ## imm = 0x9C8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_level,40,3                     ## @level
	.comm	_CON_CONNECTING,8,3             ## @CON_CONNECTING
	.comm	_PERS_RANK,8,3                  ## @PERS_RANK
	.comm	_PERS_KILLED,8,3                ## @PERS_KILLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %i %i %i %i %i %i %i %i %i %i %i %i %i %i"

	.comm	_PERS_SCORE,8,3                 ## @PERS_SCORE
	.comm	_g_entities,8,3                 ## @g_entities
	.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_CAPTURES,8,3              ## @PERS_CAPTURES
L_.str.1:                               ## @.str.1
	.asciz	"scores %i %i %i%s"

	.comm	_TEAM_RED,8,3                   ## @TEAM_RED
	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DeathmatchScoreboardMessage    ; -- Begin function DeathmatchScoreboardMessage
	.p2align	2
_DeathmatchScoreboardMessage:           ; @DeathmatchScoreboardMessage
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2512
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	strb	wzr, [sp, #72]
Lloh3:
	adrp	x22, _level@GOTPAGE
Lloh4:
	ldr	x22, [x22, _level@GOTPAGEOFF]
	ldr	w24, [x22]
	cmp	w24, #1
	b.lt	LBB0_14
; %bb.1:
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	mov	x19, #0
	mov	w26, #0
	mov	w25, #40
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
Lloh7:
	adrp	x27, _PERS_DEFEND_COUNT@GOTPAGE
Lloh8:
	ldr	x27, [x27, _PERS_DEFEND_COUNT@GOTPAGEOFF]
Lloh9:
	adrp	x23, _PERS_ASSIST_COUNT@GOTPAGE
Lloh10:
	ldr	x23, [x23, _PERS_ASSIST_COUNT@GOTPAGEOFF]
Lloh11:
	adrp	x20, _PERS_CAPTURES@GOTPAGE
Lloh12:
	ldr	x20, [x20, _PERS_CAPTURES@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #32]
	ldr	x9, [x22, #8]
	ldr	x3, [x9, x19, lsl #3]
	madd	x9, x3, x25, x8
	ldr	x9, [x9, #24]
Lloh13:
	adrp	x10, _CON_CONNECTING@GOTPAGE
Lloh14:
	ldr	x10, [x10, _CON_CONNECTING@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w5, #-1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	madd	x9, x3, x25, x8
	ldr	w9, [x9, #8]
	cmp	w9, #999
	mov	w10, #999
	csel	w5, w9, w10, lt
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mul	x9, x3, x25
	ldr	w9, [x8, x9]
	cbz	w9, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	x10, x3, x25, x8
	ldr	w10, [x10, #4]
	mov	w11, #100
	mul	w10, w10, w11
	sdiv	w9, w10, w9
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	madd	x10, x3, x25, x8
	ldr	x10, [x10, #16]
Lloh16:
	adrp	x11, _PERS_RANK@GOTPAGE
Lloh17:
	ldr	x11, [x11, _PERS_RANK@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	ldr	x11, [x10, x11, lsl #3]
	cbz	x11, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w11, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x11, _PERS_KILLED@GOTPAGE
Lloh20:
	ldr	x11, [x11, _PERS_KILLED@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	ldr	x11, [x10, x11, lsl #3]
	cmp	x11, #0
	cset	w11, eq
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x12, _PERS_SCORE@GOTPAGE
Lloh23:
	ldr	x12, [x12, _PERS_SCORE@GOTPAGEOFF]
Lloh24:
	ldr	x12, [x12]
	ldr	x4, [x10, x12, lsl #3]
	ldr	w12, [x22, #16]
	madd	x8, x3, x25, x8
	ldr	w8, [x8, #32]
	sub	w8, w12, w8
	mov	w12, #45683
	movk	w12, #17895, lsl #16
	smull	x8, w8, w12
	lsr	x12, x8, #32
	lsr	x8, x8, #63
	add	w6, w8, w12, asr #14
Lloh25:
	adrp	x8, _g_entities@GOTPAGE
Lloh26:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	w8, [x8, x3, lsl #2]
Lloh28:
	adrp	x12, _PERS_IMPRESSIVE_COUNT@GOTPAGE
Lloh29:
	ldr	x12, [x12, _PERS_IMPRESSIVE_COUNT@GOTPAGEOFF]
Lloh30:
	ldr	x12, [x12]
	ldr	x12, [x10, x12, lsl #3]
Lloh31:
	adrp	x13, _PERS_EXCELLENT_COUNT@GOTPAGE
Lloh32:
	ldr	x13, [x13, _PERS_EXCELLENT_COUNT@GOTPAGEOFF]
Lloh33:
	ldr	x13, [x13]
	ldr	x13, [x10, x13, lsl #3]
Lloh34:
	adrp	x14, _PERS_GAUNTLET_FRAG_COUNT@GOTPAGE
Lloh35:
	ldr	x14, [x14, _PERS_GAUNTLET_FRAG_COUNT@GOTPAGEOFF]
Lloh36:
	ldr	x14, [x14]
	ldr	x14, [x10, x14, lsl #3]
	ldr	x15, [x27]
	ldr	x15, [x10, x15, lsl #3]
	ldr	x16, [x23]
	ldr	x16, [x10, x16, lsl #3]
	ldr	x17, [x20]
	ldr	x10, [x10, x17, lsl #3]
	str	x10, [sp, #56]
	str	w11, [sp, #48]
	stp	x15, x16, [sp, #32]
	stp	x13, x14, [sp, #16]
	add	x0, sp, #1472
	str	x12, [sp, #8]
	stp	w8, w9, [sp]
	mov	w1, #1024
	mov	x2, x21
	mov	w7, #0
	bl	_Com_sprintf
	add	x0, sp, #1472
	bl	_strlen
	add	w28, w0, w26
	cmp	w28, #1024
	b.gt	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x8, sp, #72
	add	x0, x8, w26, sxtw
	add	x1, sp, #1472
	bl	_strcpy
	add	x19, x19, #1
	mov	x26, x28
	cmp	x24, x19
	b.ne	LBB0_2
; %bb.12:
	mov	x19, x24
LBB0_13:
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	b	LBB0_15
LBB0_14:
	mov	w19, #0
LBB0_15:
Lloh37:
	adrp	x8, _g_entities@GOTPAGE
Lloh38:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	sub	x8, x0, x8
	ldr	x9, [x22, #24]
Lloh40:
	adrp	x10, _TEAM_RED@GOTPAGE
Lloh41:
	ldr	x10, [x10, _TEAM_RED@GOTPAGEOFF]
Lloh42:
	ldr	x10, [x10]
	ldr	w2, [x9, x10, lsl #2]
	lsr	x20, x8, #2
Lloh43:
	adrp	x8, _TEAM_BLUE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TEAM_BLUE@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	ldr	w3, [x9, x8, lsl #2]
Lloh46:
	adrp	x0, l_.str.1@PAGE
Lloh47:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x4, sp, #72
	mov	x1, x19
	bl	_va
	mov	x1, x0
	mov	x0, x20
	bl	_trap_SendServerCommand
	ldur	x8, [x29, #-96]
Lloh48:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	add	sp, sp, #2512
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_level,40,3                     ; @level
	.comm	_CON_CONNECTING,8,3             ; @CON_CONNECTING
	.comm	_PERS_RANK,8,3                  ; @PERS_RANK
	.comm	_PERS_KILLED,8,3                ; @PERS_KILLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %i %i %i %i %i %i %i %i %i %i %i %i %i %i"

	.comm	_PERS_SCORE,8,3                 ; @PERS_SCORE
	.comm	_g_entities,8,3                 ; @g_entities
	.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_CAPTURES,8,3              ; @PERS_CAPTURES
l_.str.1:                               ; @.str.1
	.asciz	"scores %i %i %i%s"

	.comm	_TEAM_RED,8,3                   ; @TEAM_RED
	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
.subsections_via_symbols
