	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_initNetgameStats            ## -- Begin function WI_initNetgameStats
	.p2align	4, 0x90
_WI_initNetgameStats:                   ## @WI_initNetgameStats
	.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	_StatCount@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_acceleratestage@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ng_state@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_TICRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cnt_pause@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_MAXPLAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_playeringame@GOTPCREL(%rip), %r15
	movq	_cnt_items@GOTPCREL(%rip), %r14
	movq	_cnt_kills@GOTPCREL(%rip), %r12
	movq	_dofrags@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_cnt_frags@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%rbx,8)
	movq	_cnt_secret@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%rbx,8)
	movq	(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	movq	(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	movl	%ebx, %edi
	callq	_WI_fragSum
	addl	%eax, (%r13)
	movq	_MAXPLAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	movq	_dofrags@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WI_initAnimatedBack            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_StatCount,4,2                  ## @StatCount
	.comm	_state,4,2                      ## @state
	.comm	_acceleratestage,8,3            ## @acceleratestage
	.comm	_ng_state,4,2                   ## @ng_state
	.comm	_TICRATE,4,2                    ## @TICRATE
	.comm	_cnt_pause,4,2                  ## @cnt_pause
	.comm	_MAXPLAYERS,4,2                 ## @MAXPLAYERS
	.comm	_playeringame,8,3               ## @playeringame
	.comm	_cnt_frags,8,3                  ## @cnt_frags
	.comm	_cnt_secret,8,3                 ## @cnt_secret
	.comm	_cnt_items,8,3                  ## @cnt_items
	.comm	_cnt_kills,8,3                  ## @cnt_kills
	.comm	_dofrags,4,2                    ## @dofrags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_initNetgameStats            ; -- Begin function WI_initNetgameStats
	.p2align	2
_WI_initNetgameStats:                   ; @WI_initNetgameStats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _StatCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _StatCount@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _state@GOTPAGE
Lloh4:
	ldr	x9, [x9, _state@GOTPAGEOFF]
Lloh5:
	adrp	x10, _acceleratestage@GOTPAGE
Lloh6:
	ldr	x10, [x10, _acceleratestage@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
Lloh8:
	str	xzr, [x10]
Lloh9:
	adrp	x8, _ng_state@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ng_state@GOTPAGEOFF]
	mov	w9, #1
Lloh11:
	str	w9, [x8]
Lloh12:
	adrp	x8, _TICRATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TICRATE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _cnt_pause@GOTPAGE
Lloh16:
	ldr	x9, [x9, _cnt_pause@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
Lloh18:
	adrp	x21, _MAXPLAYERS@GOTPAGE
Lloh19:
	ldr	x21, [x21, _MAXPLAYERS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh20:
	adrp	x20, _dofrags@GOTPAGE
Lloh21:
	ldr	x20, [x20, _dofrags@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, #0
Lloh22:
	adrp	x22, _playeringame@GOTPAGE
Lloh23:
	ldr	x22, [x22, _playeringame@GOTPAGEOFF]
Lloh24:
	adrp	x23, _cnt_frags@GOTPAGE
Lloh25:
	ldr	x23, [x23, _cnt_frags@GOTPAGEOFF]
Lloh26:
	adrp	x24, _cnt_secret@GOTPAGE
Lloh27:
	ldr	x24, [x24, _cnt_secret@GOTPAGEOFF]
Lloh28:
	adrp	x25, _cnt_items@GOTPAGE
Lloh29:
	ldr	x25, [x25, _cnt_items@GOTPAGEOFF]
Lloh30:
	adrp	x26, _cnt_kills@GOTPAGE
Lloh31:
	ldr	x26, [x26, _cnt_kills@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	ldr	w9, [x9, x19, lsl #2]
	cbz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	lsl	x9, x19, #3
	str	xzr, [x8, x9]
	ldr	x8, [x24]
	str	xzr, [x8, x9]
	ldr	x8, [x25]
	str	xzr, [x8, x9]
	ldr	x8, [x26]
	str	xzr, [x8, x9]
	mov	x0, x19
	bl	_WI_fragSum
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
	ldr	w8, [x21]
	b	LBB0_2
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WI_initAnimatedBack
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_StatCount,4,2                  ; @StatCount
	.comm	_state,4,2                      ; @state
	.comm	_acceleratestage,8,3            ; @acceleratestage
	.comm	_ng_state,4,2                   ; @ng_state
	.comm	_TICRATE,4,2                    ; @TICRATE
	.comm	_cnt_pause,4,2                  ; @cnt_pause
	.comm	_MAXPLAYERS,4,2                 ; @MAXPLAYERS
	.comm	_playeringame,8,3               ; @playeringame
	.comm	_cnt_frags,8,3                  ; @cnt_frags
	.comm	_cnt_secret,8,3                 ; @cnt_secret
	.comm	_cnt_items,8,3                  ; @cnt_items
	.comm	_cnt_kills,8,3                  ; @cnt_kills
	.comm	_dofrags,4,2                    ; @dofrags
.subsections_via_symbols
