	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_initVariables               ## -- Begin function WI_initVariables
	.p2align	4, 0x90
_WI_initVariables:                      ## @WI_initVariables
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_wbs@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_acceleratestage@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_bcnt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_cnt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_firstrefresh@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	12(%rdi), %eax
	movq	_me@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	28(%rdi), %eax
	movq	_plrs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	cmpl	$0, 20(%rdi)
	je	LBB0_3
LBB0_4:
	cmpl	$0, 24(%rdi)
	jne	LBB0_6
LBB0_5:
	movl	$1, 24(%rdi)
LBB0_6:
	movq	_gamemode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_retail@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.7:
	movl	(%rdi), %eax
	cmpl	$3, %eax
	jl	LBB0_9
## %bb.8:
	addl	$-3, %eax
	movl	%eax, (%rdi)
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	movl	$1, 16(%rdi)
	cmpl	$0, 20(%rdi)
	jne	LBB0_4
LBB0_3:
	movl	$1, 20(%rdi)
	cmpl	$0, 24(%rdi)
	jne	LBB0_6
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_wbs,8,3                        ## @wbs
	.comm	_acceleratestage,8,3            ## @acceleratestage
	.comm	_bcnt,8,3                       ## @bcnt
	.comm	_cnt,8,3                        ## @cnt
	.comm	_firstrefresh,4,2               ## @firstrefresh
	.comm	_me,4,2                         ## @me
	.comm	_plrs,4,2                       ## @plrs
	.comm	_gamemode,8,3                   ## @gamemode
	.comm	_retail,8,3                     ## @retail
	.comm	_MAXPLAYERS,4,2                 ## @MAXPLAYERS
	.comm	_commercial,8,3                 ## @commercial
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_initVariables               ; -- Begin function WI_initVariables
	.p2align	2
_WI_initVariables:                      ; @WI_initVariables
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _wbs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wbs@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _acceleratestage@GOTPAGE
Lloh4:
	ldr	x8, [x8, _acceleratestage@GOTPAGEOFF]
Lloh5:
	adrp	x9, _bcnt@GOTPAGE
Lloh6:
	ldr	x9, [x9, _bcnt@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	str	xzr, [x9]
Lloh9:
	adrp	x8, _cnt@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cnt@GOTPAGEOFF]
Lloh11:
	adrp	x9, _me@GOTPAGE
Lloh12:
	ldr	x9, [x9, _me@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
	ldp	w8, w10, [x0, #12]
Lloh14:
	str	w8, [x9]
Lloh15:
	adrp	x8, _plrs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _plrs@GOTPAGEOFF]
	ldr	w9, [x0, #28]
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x9, _firstrefresh@GOTPAGE
Lloh19:
	ldr	x9, [x9, _firstrefresh@GOTPAGEOFF]
	mov	w8, #1
Lloh20:
	str	w8, [x9]
	cbz	w10, LBB0_8
; %bb.1:
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_9
LBB0_2:
	ldr	w8, [x0, #24]
	cbnz	w8, LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x0, #24]
LBB0_4:
Lloh21:
	adrp	x8, _gamemode@GOTPAGE
Lloh22:
	ldr	x8, [x8, _gamemode@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _retail@GOTPAGE
Lloh25:
	ldr	x9, [x9, _retail@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.5:
	ldr	w8, [x0]
	subs	w8, w8, #3
	b.lt	LBB0_7
; %bb.6:
	str	w8, [x0]
LBB0_7:
	ret
LBB0_8:
	str	w8, [x0, #16]
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_2
LBB0_9:
	mov	w8, #1
	str	w8, [x0, #20]
	ldr	w8, [x0, #24]
	cbnz	w8, LBB0_4
	b	LBB0_3
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_wbs,8,3                        ; @wbs
	.comm	_acceleratestage,8,3            ; @acceleratestage
	.comm	_bcnt,8,3                       ; @bcnt
	.comm	_cnt,8,3                        ; @cnt
	.comm	_firstrefresh,4,2               ; @firstrefresh
	.comm	_me,4,2                         ; @me
	.comm	_plrs,4,2                       ; @plrs
	.comm	_gamemode,8,3                   ; @gamemode
	.comm	_retail,8,3                     ; @retail
	.comm	_MAXPLAYERS,4,2                 ; @MAXPLAYERS
	.comm	_commercial,8,3                 ; @commercial
.subsections_via_symbols
