	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_LoadSubsectors               ## -- Begin function P_LoadSubsectors
	.p2align	4, 0x90
_P_LoadSubsectors:                      ## @P_LoadSubsectors
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	callq	_W_LumpLength
	sarl	$3, %eax
	movq	_numsubsectors@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	shll	$4, %eax
	movq	_PU_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_Z_Malloc
	movq	_subsectors@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	_PU_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_W_CacheLumpNum
	movq	%rax, %r15
	movq	(%r12), %rdi
	movl	(%r14), %edx
	shll	$4, %edx
	xorl	%esi, %esi
	callq	_memset
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	(%r12), %r12
	addq	$8, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15,%rbx,8), %edi
	callq	_SHORT
	movq	%rax, (%r12)
	movl	(%r15,%rbx,8), %edi
	callq	_SHORT
	movq	%rax, -8(%r12)
	addq	$16, %r12
	incq	%rbx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Z_Free                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_numsubsectors,4,2              ## @numsubsectors
	.comm	_PU_LEVEL,4,2                   ## @PU_LEVEL
	.comm	_subsectors,8,3                 ## @subsectors
	.comm	_PU_STATIC,4,2                  ## @PU_STATIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_LoadSubsectors               ; -- Begin function P_LoadSubsectors
	.p2align	2
_P_LoadSubsectors:                      ; @P_LoadSubsectors
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_W_LumpLength
Lloh0:
	adrp	x20, _numsubsectors@GOTPAGE
Lloh1:
	ldr	x20, [x20, _numsubsectors@GOTPAGEOFF]
	asr	w8, w0, #3
	str	w8, [x20]
	lsl	w0, w8, #4
Lloh2:
	adrp	x8, _PU_LEVEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PU_LEVEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_Z_Malloc
Lloh5:
	adrp	x22, _subsectors@GOTPAGE
Lloh6:
	ldr	x22, [x22, _subsectors@GOTPAGEOFF]
	str	x0, [x22]
Lloh7:
	adrp	x8, _PU_STATIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PU_STATIC@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_W_CacheLumpNum
	mov	x19, x0
	ldr	x0, [x22]
	ldr	w8, [x20]
	lsl	w2, w8, #4
	mov	w1, #0
	bl	_memset
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
	ldr	x8, [x22]
	add	x22, x8, #8
	add	x23, x19, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_SHORT
	str	x0, [x22]
	ldur	w0, [x23, #-4]
	bl	_SHORT
	stur	x0, [x22, #-8]
	add	w21, w21, #1
	ldr	w8, [x20]
	add	x22, x22, #16
	add	x23, x23, #8
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_Z_Free
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_numsubsectors,4,2              ; @numsubsectors
	.comm	_PU_LEVEL,4,2                   ; @PU_LEVEL
	.comm	_subsectors,8,3                 ; @subsectors
	.comm	_PU_STATIC,4,2                  ; @PU_STATIC
.subsections_via_symbols
