	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PrecacheLevel                ## -- Begin function R_PrecacheLevel
	.p2align	4, 0x90
_R_PrecacheLevel:                       ## @R_PrecacheLevel
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_demoplayback@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_33:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_numflats@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_alloca
	movq	%rax, %r12
	movl	(%rbx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_numsectors@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	xorl	%ecx, %ecx
	movq	_sectors@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rdi
	movq	(%rdi,%rcx), %rdi
	movb	$1, (%r12,%rdi)
	movq	(%rdx), %rdi
	movq	8(%rdi,%rcx), %rdi
	movb	$1, (%r12,%rdi)
	incq	%rsi
	movslq	(%rax), %rdi
	addq	$16, %rcx
	cmpq	%rdi, %rsi
	jl	LBB0_3
LBB0_4:
	movq	_flatmemory@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_numflats@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	movq	_firstflat@GOTPCREL(%rip), %r13
	movq	_lumpinfo@GOTPCREL(%rip), %r14
	movq	_PU_CACHE@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r12,%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r13), %rax
	leal	(%rbx,%rax), %edi
	movq	(%r14), %rcx
	addq	%rbx, %rax
	movq	(%rcx,%rax,8), %rax
	movq	_flatmemory@GOTPCREL(%rip), %rcx
	addq	%rax, (%rcx)
	movl	(%r15), %esi
	callq	_W_CacheLumpNum
	movq	_numflats@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_9:
	movq	_numtextures@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_alloca
	movq	%rax, %r12
	movl	(%rbx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_numsides@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.10:
	xorl	%ecx, %ecx
	movq	_sides@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rdi
	movq	(%rdi,%rcx), %rdi
	movb	$1, (%r12,%rdi)
	movq	(%rdx), %rdi
	movq	8(%rdi,%rcx), %rdi
	movb	$1, (%r12,%rdi)
	movq	(%rdx), %rdi
	movq	16(%rdi,%rcx), %rdi
	movb	$1, (%r12,%rdi)
	incq	%rsi
	movslq	(%rax), %rdi
	addq	$24, %rcx
	cmpq	%rdi, %rsi
	jl	LBB0_11
LBB0_12:
	movq	_skytexture@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$1, (%r12,%rax)
	movq	_texturememory@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_numtextures@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.13:
	xorl	%edi, %edi
	movq	_lumpinfo@GOTPCREL(%rip), %r13
	movq	_PU_CACHE@GOTPCREL(%rip), %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rdi
	movslq	%eax, %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_20
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	cmpb	$0, (%r12,%rdi)
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_textures@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rdi,8), %r15
	cmpl	$0, (%r15)
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movslq	(%rax,%r12,4), %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%rbx), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jl	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_numtextures@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_20:
	movq	_numsprites@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_alloca
	movq	%rax, %rbx
	movl	(%r14), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_thinkercap@GOTPCREL(%rip), %rax
	movq	8(%rax), %rcx
	cmpq	%rax, %rcx
	je	LBB0_25
## %bb.21:
	movq	_P_MobjThinker@GOTPCREL(%rip), %rdx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%rcx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rsi
	cmpq	(%rdx), %rsi
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movb	$1, (%rbx,%rsi)
	jmp	LBB0_24
LBB0_25:
	movq	_spritememory@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_numsprites@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_33
## %bb.26:
	xorl	%edi, %edi
	movq	_sprites@GOTPCREL(%rip), %rsi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_27 Depth=1
	incq	%rdi
	movslq	%eax, %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_33
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	cmpb	$0, (%rbx,%rdi)
	je	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	(%rsi), %rcx
	movq	%rdi, %rdx
	shlq	$4, %rdx
	cmpl	$0, (%rcx,%rdx)
	jle	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rcx,%rdx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_firstspritelump@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	(%rcx,%r12,8), %rcx
	movslq	(%rcx), %rdi
	addq	%rax, %rdi
	movq	_lumpinfo@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	movq	_spritememory@GOTPCREL(%rip), %r14
	addq	%rax, (%r14)
	movq	_PU_CACHE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movslq	(%rbx), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r12,8), %rcx
	movslq	4(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	_firstspritelump@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%r12,8), %rcx
	movslq	8(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	_firstspritelump@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%r12,8), %rcx
	movslq	12(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	_firstspritelump@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%r12,8), %rcx
	movslq	16(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	_firstspritelump@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%r12,8), %rcx
	movslq	20(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	_firstspritelump@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%r12,8), %rcx
	movslq	24(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	_firstspritelump@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%r12,8), %rcx
	movslq	28(%rcx), %rdi
	addq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%rax,%rdi,8), %rax
	addq	%rax, (%r14)
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_W_CacheLumpNum
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	_sprites@GOTPCREL(%rip), %rsi
	incq	%r12
	movq	(%rsi), %rcx
	movslq	(%rcx,%rdx), %rax
	cmpq	%rax, %r12
	jl	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_numsprites@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_demoplayback,8,3               ## @demoplayback
	.comm	_numflats,4,2                   ## @numflats
	.comm	_numsectors,4,2                 ## @numsectors
	.comm	_sectors,8,3                    ## @sectors
	.comm	_flatmemory,8,3                 ## @flatmemory
	.comm	_firstflat,4,2                  ## @firstflat
	.comm	_lumpinfo,8,3                   ## @lumpinfo
	.comm	_PU_CACHE,4,2                   ## @PU_CACHE
	.comm	_numtextures,4,2                ## @numtextures
	.comm	_numsides,4,2                   ## @numsides
	.comm	_sides,8,3                      ## @sides
	.comm	_skytexture,8,3                 ## @skytexture
	.comm	_texturememory,8,3              ## @texturememory
	.comm	_textures,8,3                   ## @textures
	.comm	_numsprites,4,2                 ## @numsprites
	.comm	_thinkercap,16,3                ## @thinkercap
	.comm	_P_MobjThinker,8,3              ## @P_MobjThinker
	.comm	_spritememory,8,3               ## @spritememory
	.comm	_sprites,8,3                    ## @sprites
	.comm	_firstspritelump,4,2            ## @firstspritelump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PrecacheLevel                ; -- Begin function R_PrecacheLevel
	.p2align	2
_R_PrecacheLevel:                       ; @R_PrecacheLevel
	.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
Lloh0:
	adrp	x8, _demoplayback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _demoplayback@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	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_2:
Lloh3:
	adrp	x22, _numflats@GOTPAGE
Lloh4:
	ldr	x22, [x22, _numflats@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_alloca
	mov	x19, x0
	ldr	w2, [x22]
	mov	w1, #0
	bl	_memset
Lloh5:
	adrp	x8, _numsectors@GOTPAGE
Lloh6:
	ldr	x8, [x8, _numsectors@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x9, #0
	mov	x10, #0
Lloh7:
	adrp	x11, _sectors@GOTPAGE
Lloh8:
	ldr	x11, [x11, _sectors@GOTPAGEOFF]
	mov	w12, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x13, [x13, x9]
	strb	w12, [x19, x13]
	ldr	x13, [x11]
	add	x13, x13, x9
	ldr	x13, [x13, #8]
	strb	w12, [x19, x13]
	add	x10, x10, #1
	ldrsw	x13, [x8]
	add	x9, x9, #16
	cmp	x10, x13
	b.lt	LBB0_4
LBB0_5:
Lloh9:
	adrp	x23, _flatmemory@GOTPAGE
Lloh10:
	ldr	x23, [x23, _flatmemory@GOTPAGEOFF]
	str	xzr, [x23]
	ldr	w8, [x22]
Lloh11:
	adrp	x20, _lumpinfo@GOTPAGE
Lloh12:
	ldr	x20, [x20, _lumpinfo@GOTPAGEOFF]
Lloh13:
	adrp	x21, _PU_CACHE@GOTPAGE
Lloh14:
	ldr	x21, [x21, _PU_CACHE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x24, #0
Lloh15:
	adrp	x25, _firstflat@GOTPAGE
Lloh16:
	ldr	x25, [x25, _firstflat@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19, x24]
	cbz	w9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [x25]
	add	w0, w24, w8
	ldr	x9, [x20]
	add	x8, x24, x8
	ldr	x8, [x9, x8, lsl #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x22]
	b	LBB0_7
LBB0_10:
Lloh17:
	adrp	x22, _numtextures@GOTPAGE
Lloh18:
	ldr	x22, [x22, _numtextures@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_alloca
	mov	x19, x0
	ldr	w2, [x22]
	mov	w1, #0
	bl	_memset
Lloh19:
	adrp	x8, _numsides@GOTPAGE
Lloh20:
	ldr	x8, [x8, _numsides@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x9, #0
	mov	x10, #0
Lloh21:
	adrp	x11, _sides@GOTPAGE
Lloh22:
	ldr	x11, [x11, _sides@GOTPAGEOFF]
	mov	w12, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x13, [x13, x9]
	strb	w12, [x19, x13]
	ldr	x13, [x11]
	add	x13, x13, x9
	ldr	x13, [x13, #8]
	strb	w12, [x19, x13]
	ldr	x13, [x11]
	add	x13, x13, x9
	ldr	x13, [x13, #16]
	strb	w12, [x19, x13]
	add	x10, x10, #1
	ldrsw	x13, [x8]
	add	x9, x9, #24
	cmp	x10, x13
	b.lt	LBB0_12
LBB0_13:
Lloh23:
	adrp	x8, _skytexture@GOTPAGE
Lloh24:
	ldr	x8, [x8, _skytexture@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	mov	w9, #1
	strb	w9, [x19, x8]
Lloh26:
	adrp	x23, _texturememory@GOTPAGE
Lloh27:
	ldr	x23, [x23, _texturememory@GOTPAGEOFF]
	str	xzr, [x23]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:
	mov	x24, #0
Lloh28:
	adrp	x25, _textures@GOTPAGE
Lloh29:
	ldr	x25, [x25, _textures@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_21
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldrb	w9, [x19, x24]
	cbz	w9, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x25]
	ldr	x26, [x9, x24, lsl #3]
	ldr	w9, [x26]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x27, #0
LBB0_19:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26, #8]
	ldrsw	x0, [x8, x27, lsl #2]
	ldr	x8, [x20]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_W_CacheLumpNum
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.lt	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x22]
	b	LBB0_15
LBB0_21:
Lloh30:
	adrp	x19, _numsprites@GOTPAGE
Lloh31:
	ldr	x19, [x19, _numsprites@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_alloca
	mov	x22, x0
	ldr	w2, [x19]
	mov	w1, #0
	bl	_memset
Lloh32:
	adrp	x8, _thinkercap@GOTPAGE
Lloh33:
	ldr	x8, [x8, _thinkercap@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	cmp	x9, x8
	b.eq	LBB0_26
; %bb.22:
Lloh34:
	adrp	x10, _P_MobjThinker@GOTPAGE
Lloh35:
	ldr	x10, [x10, _P_MobjThinker@GOTPAGEOFF]
	mov	w11, #1
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x9, [x9, #8]
	cmp	x9, x8
	b.eq	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	ldr	x13, [x10]
	cmp	x12, x13
	b.ne	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	strb	w11, [x22, x12]
	b	LBB0_23
LBB0_26:
Lloh36:
	adrp	x23, _spritememory@GOTPAGE
Lloh37:
	ldr	x23, [x23, _spritememory@GOTPAGEOFF]
	str	xzr, [x23]
Lloh38:
	adrp	x8, _numsprites@GOTPAGE
Lloh39:
	ldr	x8, [x8, _numsprites@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.27:
	mov	x24, #0
Lloh41:
	adrp	x25, _sprites@GOTPAGE
Lloh42:
	ldr	x25, [x25, _sprites@GOTPAGEOFF]
Lloh43:
	adrp	x26, _firstspritelump@GOTPAGE
Lloh44:
	ldr	x26, [x26, _firstspritelump@GOTPAGEOFF]
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_1
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	ldrb	w9, [x22, x24]
	cbz	w9, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x9, [x25]
	lsl	x27, x24, #4
	ldr	w10, [x9, x27]
	cmp	w10, #1
	b.lt	LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x28, #0
LBB0_32:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x9, x27
	ldr	x22, [x8, #8]
	lsl	x19, x28, #3
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #4]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #8]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #12]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #16]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #20]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #24]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	ldr	w8, [x26]
	ldr	x9, [x22, x19]
	ldr	w9, [x9, #28]
	add	w0, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	ldr	w1, [x21]
	bl	_W_CacheLumpNum
	add	x28, x28, #1
	ldr	x9, [x25]
	ldrsw	x8, [x9, x27]
	cmp	x28, x8
	b.lt	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=1
Lloh45:
	adrp	x8, _numsprites@GOTPAGE
Lloh46:
	ldr	x8, [x8, _numsprites@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_demoplayback,8,3               ; @demoplayback
	.comm	_numflats,4,2                   ; @numflats
	.comm	_numsectors,4,2                 ; @numsectors
	.comm	_sectors,8,3                    ; @sectors
	.comm	_flatmemory,8,3                 ; @flatmemory
	.comm	_firstflat,4,2                  ; @firstflat
	.comm	_lumpinfo,8,3                   ; @lumpinfo
	.comm	_PU_CACHE,4,2                   ; @PU_CACHE
	.comm	_numtextures,4,2                ; @numtextures
	.comm	_numsides,4,2                   ; @numsides
	.comm	_sides,8,3                      ; @sides
	.comm	_skytexture,8,3                 ; @skytexture
	.comm	_texturememory,8,3              ; @texturememory
	.comm	_textures,8,3                   ; @textures
	.comm	_numsprites,4,2                 ; @numsprites
	.comm	_thinkercap,16,3                ; @thinkercap
	.comm	_P_MobjThinker,8,3              ; @P_MobjThinker
	.comm	_spritememory,8,3               ; @spritememory
	.comm	_sprites,8,3                    ; @sprites
	.comm	_firstspritelump,4,2            ; @firstspritelump
.subsections_via_symbols
