	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TryRunTics                     ## -- Begin function TryRunTics
	.p2align	4, 0x90
_TryRunTics:                            ## @TryRunTics
	.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
	xorl	%eax, %eax
	callq	_I_GetTime
	movq	_ticdup@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %ebx
	movl	%eax, %r14d
	subl	_TryRunTics.oldentertics(%rip), %r14d
	movl	%eax, _TryRunTics.oldentertics(%rip)
	xorl	%eax, %eax
	callq	_NetUpdate
	movq	_MAXINT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_doomcom@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jle	LBB0_12
## %bb.1:
	movq	_nodeingame@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_nettics@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
LBB0_9:
	testb	$1, %al
	je	LBB0_12
## %bb.10:
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_12
## %bb.11:
	movl	(%rcx,%rsi,4), %eax
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
LBB0_12:
	movq	_gametic@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cltd
	movq	_ticdup@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%r13d, %ecx
	subl	%eax, %ecx
	leal	-1(%rcx), %eax
	cmpl	%ecx, %r14d
	movl	%ecx, %edx
	cmovll	%r14d, %edx
	leal	1(%r14), %esi
	cmpl	%eax, %r14d
	cmovll	%esi, %edx
	cmpl	$2, %edx
	movl	$1, %r12d
	cmovgel	%edx, %r12d
	movq	_frameon@GOTPCREL(%rip), %r15
	incl	(%r15)
	movq	_debugfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r12d, %r8d
	callq	_fprintf
LBB0_14:
	movq	_demoplayback@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_29
## %bb.15:
	movq	_MAXPLAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.17:
	movq	_playeringame@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rax,8)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_18
## %bb.20:
	movl	%ecx, %eax
	jmp	LBB0_21
LBB0_3:
	movl	%eax, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %rdi
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rcx,%rsi,4), %ebx
	cmpl	%r13d, %ebx
	cmovll	%ebx, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%rdx,%rsi,8)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rcx,%rsi,4), %ebx
	cmpl	%r13d, %ebx
	cmovll	%ebx, %r13d
	jmp	LBB0_8
LBB0_16:
	xorl	%eax, %eax
LBB0_21:
	movq	_consoleplayer@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_29
## %bb.22:
	movq	_nettics@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_nodeforplayer@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, %eax
	movq	(%rdx,%rax,8), %rdx
	movl	(%rcx,%rdx,4), %eax
	cmpl	%eax, (%rcx)
	jg	LBB0_24
## %bb.23:
	movq	_gametime@GOTPCREL(%rip), %rax
	decl	(%rax)
	movl	(%rcx,%rdx,4), %eax
LBB0_24:
	movq	_oldnettics@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpl	%eax, (%rdx)
	setg	%sil
	movq	_frameskip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r15), %edi
	andl	$3, %edi
	movl	%esi, (%rax,%rdi,4)
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
	cmpl	$0, (%rax)
	je	LBB0_29
## %bb.25:
	cmpl	$0, 4(%rax)
	je	LBB0_29
## %bb.26:
	cmpl	$0, 8(%rax)
	je	LBB0_29
## %bb.27:
	cmpl	$0, 12(%rax)
	je	LBB0_29
## %bb.28:
	movq	_skiptics@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_29:
	movq	_ticdup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_nettics@GOTPCREL(%rip), %r14
	movl	%r12d, %r15d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	callq	_I_GetTime
	movq	_ticdup@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cltd
	idivl	%ecx
	subl	%r12d, %eax
	cmpl	$20, %eax
	jge	LBB0_63
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_52 Depth 2
	movl	(%rbx), %eax
	cltd
	idivl	%ecx
	addl	%r15d, %eax
	cmpl	%eax, %r13d
	jge	LBB0_31
## %bb.48:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	callq	_NetUpdate
	movq	_MAXINT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_doomcom@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_60
## %bb.49:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	_nodeingame@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%r14), %rcx
	cmpl	$1, %eax
	jne	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%esi, %esi
LBB0_57:                                ##   in Loop: Header=BB0_30 Depth=1
	testb	$1, %al
	je	LBB0_60
## %bb.58:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	(%rcx,%rsi,4), %eax
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	(%rbx), %eax
	cltd
	movq	_ticdup@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	cmpl	%eax, %r13d
	jge	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_30 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_I_Error
	jmp	LBB0_62
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	%eax, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_52 Depth=2
	movq	_gametic@GOTPCREL(%rip), %rbx
	addq	$2, %rsi
	cmpq	%rsi, %rdi
	je	LBB0_57
LBB0_52:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_52 Depth=2
	movl	(%rcx,%rsi,4), %ebx
	cmpl	%r13d, %ebx
	cmovll	%ebx, %r13d
LBB0_54:                                ##   in Loop: Header=BB0_52 Depth=2
	cmpq	$0, 8(%rdx,%rsi,8)
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_52 Depth=2
	movl	4(%rcx,%rsi,4), %ebx
	cmpl	%r13d, %ebx
	cmovll	%ebx, %r13d
	jmp	LBB0_56
LBB0_31:
	movq	_MAXPLAYERS@GOTPCREL(%rip), %r12
	movq	_BT_SPECIAL@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_32:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##       Child Loop BB0_41 Depth 3
	decl	%r15d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_46
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_34 Depth=2
	movq	_ticdup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_gametic@GOTPCREL(%rip), %rbx
LBB0_45:                                ##   in Loop: Header=BB0_34 Depth=2
	incl	%r15d
	cmpl	%ecx, %r15d
	jge	LBB0_46
LBB0_34:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_41 Depth 3
	movl	(%rbx), %eax
	cltd
	idivl	%ecx
	cmpl	%r13d, %eax
	jle	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	leaq	L_.str.2(%rip), %rdi
	callq	_I_Error
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=2
	movq	_advancedemo@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=2
	xorl	%eax, %eax
	callq	_D_DoAdvanceDemo
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=2
	xorl	%eax, %eax
	callq	_M_Ticker
	xorl	%eax, %eax
	callq	_G_Ticker
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	movq	_ticdup@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	cmpl	%edx, %r15d
	je	LBB0_45
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=2
	movl	(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_45
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=2
	cltd
	idivl	%ecx
	cltd
	movq	_BACKUPTICS@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movq	_netcmds@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movslq	%edx, %rbx
	xorl	%edx, %edx
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=3
	incq	%rdx
	movslq	%esi, %rax
	cmpq	%rax, %rdx
	jge	LBB0_44
LBB0_41:                                ##   Parent Loop BB0_32 Depth=1
                                        ##     Parent Loop BB0_34 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r8,%rdx,8), %rdi
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movq	$0, 8(%rdi,%rcx)
	movl	(%r14), %eax
	testl	%eax, (%rdi,%rcx)
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=3
	addq	%rcx, %rdi
	movl	$0, (%rdi)
	movl	(%r12), %esi
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_32 Depth=1
	xorl	%eax, %eax
	callq	_NetUpdate
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_64
## %bb.47:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	_ticdup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_32
LBB0_64:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_63:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_M_Ticker                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_TryRunTics.oldentertics,4,2 ## @TryRunTics.oldentertics
	.comm	_ticdup,4,2                     ## @ticdup
	.comm	_MAXINT,4,2                     ## @MAXINT
	.comm	_doomcom,8,3                    ## @doomcom
	.comm	_nodeingame,8,3                 ## @nodeingame
	.comm	_nettics,8,3                    ## @nettics
	.comm	_gametic,4,2                    ## @gametic
	.comm	_frameon,4,2                    ## @frameon
	.comm	_debugfile,8,3                  ## @debugfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"=======real: %i  avail: %i  game: %i\n"

	.comm	_demoplayback,4,2               ## @demoplayback
	.comm	_MAXPLAYERS,4,2                 ## @MAXPLAYERS
	.comm	_playeringame,8,3               ## @playeringame
	.comm	_consoleplayer,4,2              ## @consoleplayer
	.comm	_nodeforplayer,8,3              ## @nodeforplayer
	.comm	_gametime,4,2                   ## @gametime
	.comm	_oldnettics,4,2                 ## @oldnettics
	.comm	_frameskip,8,3                  ## @frameskip
	.comm	_skiptics,4,2                   ## @skiptics
L_.str.1:                               ## @.str.1
	.asciz	"TryRunTics: lowtic < gametic"

L_.str.2:                               ## @.str.2
	.asciz	"gametic>lowtic"

	.comm	_advancedemo,8,3                ## @advancedemo
	.comm	_BACKUPTICS,4,2                 ## @BACKUPTICS
	.comm	_netcmds,8,3                    ## @netcmds
	.comm	_BT_SPECIAL,4,2                 ## @BT_SPECIAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TryRunTics                     ; -- Begin function TryRunTics
	.p2align	2
_TryRunTics:                            ; @TryRunTics
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	bl	_I_GetTime
Lloh0:
	adrp	x21, _ticdup@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ticdup@GOTPAGEOFF]
	ldr	w8, [x21]
	sdiv	w24, w0, w8
	adrp	x8, _TryRunTics.oldentertics@PAGE
	ldr	w9, [x8, _TryRunTics.oldentertics@PAGEOFF]
	sub	w20, w24, w9
	str	w24, [x8, _TryRunTics.oldentertics@PAGEOFF]
	bl	_NetUpdate
Lloh2:
	adrp	x25, _MAXINT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MAXINT@GOTPAGEOFF]
	ldr	w22, [x25]
Lloh4:
	adrp	x26, _doomcom@GOTPAGE
Lloh5:
	ldr	x26, [x26, _doomcom@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	w8, [x8]
Lloh6:
	adrp	x27, _nodeingame@GOTPAGE
Lloh7:
	ldr	x27, [x27, _nodeingame@GOTPAGEOFF]
Lloh8:
	adrp	x28, _nettics@GOTPAGE
Lloh9:
	ldr	x28, [x28, _nettics@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x9, [x27]
	ldr	x10, [x28]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #4
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x10]
	cmp	w11, w22
	csel	w22, w11, w22, lt
	b	LBB0_2
LBB0_5:
Lloh10:
	adrp	x23, _gametic@GOTPAGE
Lloh11:
	ldr	x23, [x23, _gametic@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x21]
	sdiv	w8, w8, w9
	sub	w3, w22, w8
	cmp	w20, w3
	sub	w8, w3, #1
	csel	w9, w20, w3, lt
	cmp	w20, w8
	csinc	w8, w9, w20, ge
	cmp	w8, #1
	csinc	w19, w8, wzr, gt
Lloh12:
	adrp	x9, _frameon@GOTPAGE
Lloh13:
	ldr	x9, [x9, _frameon@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
Lloh14:
	adrp	x8, _debugfile@GOTPAGE
Lloh15:
	ldr	x8, [x8, _debugfile@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.6:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x4, x19
	bl	_fprintf
LBB0_7:
Lloh19:
	adrp	x8, _demoplayback@GOTPAGE
Lloh20:
	ldr	x8, [x8, _demoplayback@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cbnz	w8, LBB0_22
; %bb.8:
Lloh22:
	adrp	x8, _MAXPLAYERS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAXPLAYERS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.9:
	mov	x8, #0
Lloh25:
	adrp	x10, _playeringame@GOTPAGE
Lloh26:
	ldr	x10, [x10, _playeringame@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x8, lsl #3]
	cbnz	x11, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.12:
	mov	x8, x9
	b	LBB0_14
LBB0_13:
	mov	w8, #0
LBB0_14:
Lloh28:
	adrp	x9, _consoleplayer@GOTPAGE
Lloh29:
	ldr	x9, [x9, _consoleplayer@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w9, w8
	b.eq	LBB0_22
; %bb.15:
	ldr	x9, [x28]
	ldr	w11, [x9]
Lloh31:
	adrp	x10, _nodeforplayer@GOTPAGE
Lloh32:
	ldr	x10, [x10, _nodeforplayer@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	ldr	x8, [x10, w8, uxtw #3]
	ldr	w10, [x9, x8, lsl #2]
	cmp	w11, w10
	b.gt	LBB0_17
; %bb.16:
Lloh34:
	adrp	x10, _gametime@GOTPAGE
Lloh35:
	ldr	x10, [x10, _gametime@GOTPAGEOFF]
	ldr	w11, [x10]
	sub	w11, w11, #1
	str	w11, [x10]
	ldr	w10, [x9, x8, lsl #2]
LBB0_17:
Lloh36:
	adrp	x11, _oldnettics@GOTPAGE
Lloh37:
	ldr	x11, [x11, _oldnettics@GOTPAGEOFF]
	ldr	w8, [x11]
	cmp	w8, w10
	cset	w10, gt
Lloh38:
	adrp	x8, _frameskip@GOTPAGE
Lloh39:
	ldr	x8, [x8, _frameskip@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
Lloh41:
	adrp	x12, _frameon@GOTPAGE
Lloh42:
	ldr	x12, [x12, _frameon@GOTPAGEOFF]
Lloh43:
	ldr	w12, [x12]
	and	x12, x12, #0x3
	str	w10, [x8, x12, lsl #2]
	ldr	w9, [x9]
	str	w9, [x11]
	ldr	w9, [x8]
	cbz	w9, LBB0_22
; %bb.18:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_22
; %bb.19:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_22
; %bb.20:
	ldr	w8, [x8, #12]
	cbz	w8, LBB0_22
; %bb.21:
Lloh44:
	adrp	x8, _skiptics@GOTPAGE
Lloh45:
	ldr	x8, [x8, _skiptics@GOTPAGEOFF]
	mov	w9, #1
Lloh46:
	str	w9, [x8]
LBB0_22:
	ldr	w8, [x21]
Lloh47:
	adrp	x20, l_.str.1@PAGE
Lloh48:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	bl	_I_GetTime
	ldr	w8, [x21]
	sdiv	w9, w0, w8
	sub	w9, w9, w24
	cmp	w9, #20
	b.ge	LBB0_50
LBB0_24:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	ldr	w9, [x23]
	sdiv	w9, w9, w8
	add	w9, w9, w19
	cmp	w22, w9
	b.ge	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	bl	_NetUpdate
	ldr	w22, [x25]
	ldr	x8, [x26]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x9, [x27]
	ldr	x10, [x28]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	add	x10, x10, #4
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_30
LBB0_28:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9]
	cbz	x11, LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	ldr	w11, [x10]
	cmp	w11, w22
	csel	w22, w11, w22, lt
	b	LBB0_27
LBB0_30:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x23]
	ldr	w9, [x21]
	sdiv	w8, w8, w9
	cmp	w22, w8
	b.ge	LBB0_23
; %bb.31:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x20
	bl	_I_Error
	b	LBB0_23
LBB0_32:
Lloh49:
	adrp	x20, l_.str.2@PAGE
Lloh50:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh51:
	adrp	x24, _advancedemo@GOTPAGE
Lloh52:
	ldr	x24, [x24, _advancedemo@GOTPAGEOFF]
Lloh53:
	adrp	x25, _MAXPLAYERS@GOTPAGE
Lloh54:
	ldr	x25, [x25, _MAXPLAYERS@GOTPAGEOFF]
Lloh55:
	adrp	x26, _BACKUPTICS@GOTPAGE
Lloh56:
	ldr	x26, [x26, _BACKUPTICS@GOTPAGEOFF]
Lloh57:
	adrp	x27, _netcmds@GOTPAGE
Lloh58:
	ldr	x27, [x27, _netcmds@GOTPAGEOFF]
Lloh59:
	adrp	x28, _BT_SPECIAL@GOTPAGE
Lloh60:
	ldr	x28, [x28, _BT_SPECIAL@GOTPAGEOFF]
LBB0_33:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
                                        ;       Child Loop BB0_45 Depth 3
	sub	w19, w19, #1
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_47
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	w19, #0
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_37 Depth=2
	ldr	w8, [x21]
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	add	w19, w19, #1
	cmp	w19, w8
	b.ge	LBB0_47
LBB0_37:                                ;   Parent Loop BB0_33 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_45 Depth 3
	ldr	w9, [x23]
	sdiv	w8, w9, w8
	cmp	w8, w22
	b.le	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x0, x20
	bl	_I_Error
LBB0_39:                                ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x24]
	cbz	x8, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_37 Depth=2
	bl	_D_DoAdvanceDemo
LBB0_41:                                ;   in Loop: Header=BB0_37 Depth=2
	bl	_M_Ticker
	bl	_G_Ticker
	ldr	w8, [x23]
	add	w11, w8, #1
	str	w11, [x23]
	ldr	w8, [x21]
	sub	w9, w8, #1
	cmp	w19, w9
	b.eq	LBB0_36
; %bb.42:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	w9, [x25]
	cmp	w9, #1
	b.lt	LBB0_36
; %bb.43:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x10, #0
	sdiv	w8, w11, w8
	ldr	w11, [x26]
	sdiv	w12, w8, w11
	msub	w11, w12, w11, w8
	ldr	x8, [x27]
	sxtw	x11, w11
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=3
	add	x10, x10, #1
	cmp	x10, w9, sxtw
	b.ge	LBB0_35
LBB0_45:                                ;   Parent Loop BB0_33 Depth=1
                                        ;     Parent Loop BB0_37 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x12, [x8, x10, lsl #3]
	add	x12, x12, x11, lsl #4
	str	xzr, [x12, #8]
	ldr	w13, [x12]
	ldr	w14, [x28]
	tst	w14, w13
	b.eq	LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=3
	str	wzr, [x12]
	ldr	w9, [x25]
	b	LBB0_44
LBB0_47:                                ;   in Loop: Header=BB0_33 Depth=1
	bl	_NetUpdate
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w19, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [x21]
	b	LBB0_33
LBB0_49:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_50:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_M_Ticker
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_TryRunTics.oldentertics,4,2 ; @TryRunTics.oldentertics
	.comm	_ticdup,4,2                     ; @ticdup
	.comm	_MAXINT,4,2                     ; @MAXINT
	.comm	_doomcom,8,3                    ; @doomcom
	.comm	_nodeingame,8,3                 ; @nodeingame
	.comm	_nettics,8,3                    ; @nettics
	.comm	_gametic,4,2                    ; @gametic
	.comm	_frameon,4,2                    ; @frameon
	.comm	_debugfile,8,3                  ; @debugfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=======real: %i  avail: %i  game: %i\n"

	.comm	_demoplayback,4,2               ; @demoplayback
	.comm	_MAXPLAYERS,4,2                 ; @MAXPLAYERS
	.comm	_playeringame,8,3               ; @playeringame
	.comm	_consoleplayer,4,2              ; @consoleplayer
	.comm	_nodeforplayer,8,3              ; @nodeforplayer
	.comm	_gametime,4,2                   ; @gametime
	.comm	_oldnettics,4,2                 ; @oldnettics
	.comm	_frameskip,8,3                  ; @frameskip
	.comm	_skiptics,4,2                   ; @skiptics
l_.str.1:                               ; @.str.1
	.asciz	"TryRunTics: lowtic < gametic"

l_.str.2:                               ; @.str.2
	.asciz	"gametic>lowtic"

	.comm	_advancedemo,8,3                ; @advancedemo
	.comm	_BACKUPTICS,4,2                 ; @BACKUPTICS
	.comm	_netcmds,8,3                    ; @netcmds
	.comm	_BT_SPECIAL,4,2                 ; @BT_SPECIAL
.subsections_via_symbols
