	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_RunFrame                     ## -- Begin function G_RunFrame
	.p2align	4, 0x90
_G_RunFrame:                            ## @G_RunFrame
	.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	_level@GOTPCREL(%rip), %r14
	cmpq	$0, 24(%r14)
	je	LBB0_1
LBB0_36:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	incl	16(%r14)
	movl	4(%r14), %eax
	movl	%eax, (%r14)
	movl	%edi, 4(%r14)
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_G_UpdateCvars
	xorl	%eax, %eax
	callq	_trap_Milliseconds
	cmpl	$0, 8(%r14)
	jle	LBB0_26
## %bb.2:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_EVENT_VALID_MSEC@GOTPCREL(%rip), %r12
	movq	_ET_MISSILE@GOTPCREL(%rip), %r13
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_G_FreeEntity
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
	addq	$88, %rbx
	cmpl	8(%r14), %r15d
	jge	LBB0_26
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_25
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	4(%r14), %rax
	subq	(%rbx), %rax
	cmpq	(%r12), %rax
	jle	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 32(%rbx)
	movq	80(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rax)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 64(%rbx)
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 72(%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	movq	%rbx, %rdi
	callq	_trap_UnlinkEntity
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 64(%rbx)
	jne	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 56(%rbx)
	je	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_G_RunMissile
	jmp	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ET_ITEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 40(%rbx)
	je	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_G_RunItem
	jmp	LBB0_25
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 48(%rbx)
	jne	LBB0_25
	jmp	LBB0_15
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ET_MOVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_G_RunMover
	jmp	LBB0_25
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_G_RunClient
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_G_RunThink
	jmp	LBB0_25
LBB0_26:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_trap_Milliseconds
	xorl	%eax, %eax
	callq	_trap_Milliseconds
	movl	12(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_31
## %bb.27:
	movq	_g_entities@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=1
	incl	%r15d
	addq	$88, %rbx
	cmpl	%eax, %r15d
	jge	LBB0_31
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	%rbx, %rdi
	callq	_ClientEndFrame
	movl	12(%r14), %eax
	jmp	LBB0_30
LBB0_31:
	xorl	%eax, %eax
	callq	_trap_Milliseconds
	xorl	%eax, %eax
	callq	_CheckTournament
	xorl	%eax, %eax
	callq	_CheckExitRules
	xorl	%eax, %eax
	callq	_CheckTeamStatus
	xorl	%eax, %eax
	callq	_CheckVote
	movq	_TEAM_RED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CheckTeamVote
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CheckTeamVote
	xorl	%eax, %eax
	callq	_CheckCvars
	movq	_g_listEntity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_36
## %bb.32:
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_35
## %bb.33:
	movl	$8, %r12d
	xorl	%ebx, %ebx
	movq	_g_entities@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_G_Printf
	incq	%rbx
	movslq	(%r15), %rax
	addq	$88, %r12
	cmpq	%rax, %rbx
	jl	LBB0_34
LBB0_35:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_Cvar_Set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_level,32,3                     ## @level
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_EVENT_VALID_MSEC,8,3           ## @EVENT_VALID_MSEC
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_ET_MISSILE,8,3                 ## @ET_MISSILE
	.comm	_ET_ITEM,8,3                    ## @ET_ITEM
	.comm	_ET_MOVER,8,3                   ## @ET_MOVER
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
	.comm	_TEAM_RED,4,2                   ## @TEAM_RED
	.comm	_TEAM_BLUE,4,2                  ## @TEAM_BLUE
	.comm	_g_listEntity,8,3               ## @g_listEntity
	.comm	_MAX_GENTITIES,4,2              ## @MAX_GENTITIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%4i: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"g_listEntity"

L_.str.2:                               ## @.str.2
	.asciz	"0"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_RunFrame                     ; -- Begin function G_RunFrame
	.p2align	2
_G_RunFrame:                            ; @G_RunFrame
	.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
Lloh0:
	adrp	x20, _level@GOTPAGE
Lloh1:
	ldr	x20, [x20, _level@GOTPAGEOFF]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_2
LBB0_1:
	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_2:
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	ldr	w8, [x20, #4]
	stp	w8, w0, [x20]
	bl	_G_UpdateCvars
	bl	_trap_Milliseconds
	ldr	w8, [x20, #8]
Lloh2:
	adrp	x21, _g_entities@GOTPAGE
Lloh3:
	ldr	x21, [x21, _g_entities@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.3:
	mov	w22, #0
	ldr	x19, [x21]
Lloh4:
	adrp	x23, _EVENT_VALID_MSEC@GOTPAGE
Lloh5:
	ldr	x23, [x23, _EVENT_VALID_MSEC@GOTPAGEOFF]
Lloh6:
	adrp	x24, _qfalse@GOTPAGE
Lloh7:
	ldr	x24, [x24, _qfalse@GOTPAGEOFF]
Lloh8:
	adrp	x25, _ET_MISSILE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ET_MISSILE@GOTPAGEOFF]
Lloh10:
	adrp	x26, _ET_ITEM@GOTPAGE
Lloh11:
	ldr	x26, [x26, _ET_ITEM@GOTPAGEOFF]
Lloh12:
	adrp	x27, _ET_MOVER@GOTPAGE
Lloh13:
	ldr	x27, [x27, _ET_MOVER@GOTPAGEOFF]
Lloh14:
	adrp	x28, _MAX_CLIENTS@GOTPAGE
Lloh15:
	ldr	x28, [x28, _MAX_CLIENTS@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_G_FreeEntity
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	add	x19, x19, #88
	ldr	w8, [x20, #8]
	cmp	w22, w8
	b.ge	LBB0_27
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x20, #4]
	ldr	x9, [x19]
	ldr	x10, [x23]
	sub	x8, x8, x9
	cmp	x8, x10
	b.le	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x19, #32]
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x8]
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	str	x8, [x19, #72]
	mov	x0, x19
	bl	_trap_UnlinkEntity
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #56]
	cbz	w8, LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_G_RunMissile
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_G_RunItem
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_5
	b	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_G_RunMover
	b	LBB0_5
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	mov	x0, x19
	cmp	w22, w8
	b.ge	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_G_RunClient
	b	LBB0_5
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_G_RunThink
	b	LBB0_5
LBB0_27:
	bl	_trap_Milliseconds
	bl	_trap_Milliseconds
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.28:
	mov	w22, #0
	ldr	x19, [x21]
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	w22, w22, #1
	add	x19, x19, #88
	cmp	w22, w8
	b.ge	LBB0_32
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x19
	bl	_ClientEndFrame
	ldr	w8, [x20, #12]
	b	LBB0_29
LBB0_32:
	bl	_trap_Milliseconds
	bl	_CheckTournament
	bl	_CheckExitRules
	bl	_CheckTeamStatus
	bl	_CheckVote
Lloh16:
	adrp	x8, _TEAM_RED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TEAM_RED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_CheckTeamVote
Lloh19:
	adrp	x8, _TEAM_BLUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TEAM_BLUE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_CheckTeamVote
	bl	_CheckCvars
Lloh22:
	adrp	x8, _g_listEntity@GOTPAGE
Lloh23:
	ldr	x8, [x8, _g_listEntity@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.33:
Lloh25:
	adrp	x22, _MAX_GENTITIES@GOTPAGE
Lloh26:
	ldr	x22, [x22, _MAX_GENTITIES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.34:
	mov	x19, #0
	mov	w23, #8
Lloh27:
	adrp	x20, l_.str@PAGE
Lloh28:
	add	x20, x20, l_.str@PAGEOFF
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w2, [x8, x23]
	mov	x0, x20
	mov	x1, x19
	bl	_G_Printf
	add	x19, x19, #1
	ldrsw	x8, [x22]
	add	x23, x23, #88
	cmp	x19, x8
	b.lt	LBB0_35
LBB0_36:
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	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
	b	_trap_Cvar_Set
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_level,32,3                     ; @level
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_EVENT_VALID_MSEC,8,3           ; @EVENT_VALID_MSEC
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_ET_MISSILE,8,3                 ; @ET_MISSILE
	.comm	_ET_ITEM,8,3                    ; @ET_ITEM
	.comm	_ET_MOVER,8,3                   ; @ET_MOVER
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
	.comm	_TEAM_RED,4,2                   ; @TEAM_RED
	.comm	_TEAM_BLUE,4,2                  ; @TEAM_BLUE
	.comm	_g_listEntity,8,3               ; @g_listEntity
	.comm	_MAX_GENTITIES,4,2              ; @MAX_GENTITIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%4i: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"g_listEntity"

l_.str.2:                               ; @.str.2
	.asciz	"0"

.subsections_via_symbols
