	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_Ticker                      ## -- Begin function WI_Ticker
	.p2align	4, 0x90
_WI_Ticker:                             ## @WI_Ticker
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bcnt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.1:
	movq	_gamemode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_commercial@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_mus_dm2int@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_mus_inter@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_S_ChangeMusic
LBB0_5:
	xorl	%eax, %eax
	callq	_WI_checkForAccelerate
	movq	_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$130, %eax
	je	LBB0_12
## %bb.6:
	cmpl	$129, %eax
	je	LBB0_11
## %bb.7:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.8:
	movq	_deathmatch@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.14:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_WI_updateDeathmatchStats       ## TAILCALL
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_WI_updateNoState               ## TAILCALL
LBB0_11:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_WI_updateShowNextLoc           ## TAILCALL
LBB0_13:
	popq	%rbp
	retq
LBB0_9:
	movq	_netgame@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.15:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_WI_updateNetgameStats          ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_WI_updateStats                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bcnt,4,2                       ## @bcnt
	.comm	_gamemode,8,3                   ## @gamemode
	.comm	_commercial,8,3                 ## @commercial
	.comm	_mus_dm2int,4,2                 ## @mus_dm2int
	.comm	_mus_inter,4,2                  ## @mus_inter
	.comm	_state,4,2                      ## @state
	.comm	_deathmatch,4,2                 ## @deathmatch
	.comm	_netgame,4,2                    ## @netgame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_Ticker                      ; -- Begin function WI_Ticker
	.p2align	2
_WI_Ticker:                             ; @WI_Ticker
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _bcnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bcnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cbnz	w9, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _gamemode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gamemode@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _commercial@GOTPAGE
Lloh6:
	ldr	x9, [x9, _commercial@GOTPAGEOFF]
Lloh7:
	adrp	x10, _mus_dm2int@GOTPAGE
Lloh8:
	ldr	x10, [x10, _mus_dm2int@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x11, _mus_inter@GOTPAGE
Lloh11:
	ldr	x11, [x11, _mus_inter@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	mov	w1, #1
	bl	_S_ChangeMusic
LBB0_2:
	bl	_WI_checkForAccelerate
Lloh12:
	adrp	x8, _state@GOTPAGE
Lloh13:
	ldr	x8, [x8, _state@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.5:
Lloh15:
	adrp	x8, _deathmatch@GOTPAGE
Lloh16:
	ldr	x8, [x8, _deathmatch@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WI_updateDeathmatchStats
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WI_updateNoState
LBB0_8:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WI_updateShowNextLoc
LBB0_9:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh18:
	adrp	x8, _netgame@GOTPAGE
Lloh19:
	ldr	x8, [x8, _netgame@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.11:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WI_updateNetgameStats
LBB0_12:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WI_updateStats
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_bcnt,4,2                       ; @bcnt
	.comm	_gamemode,8,3                   ; @gamemode
	.comm	_commercial,8,3                 ; @commercial
	.comm	_mus_dm2int,4,2                 ; @mus_dm2int
	.comm	_mus_inter,4,2                  ; @mus_inter
	.comm	_state,4,2                      ; @state
	.comm	_deathmatch,4,2                 ; @deathmatch
	.comm	_netgame,4,2                    ; @netgame
.subsections_via_symbols
