	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_LoadSideDefs                 ## -- Begin function P_LoadSideDefs
	.p2align	4, 0x90
_P_LoadSideDefs:                        ## @P_LoadSideDefs
	.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
	movl	%edi, %r15d
	callq	_W_LumpLength
	cltq
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rcx
	shrq	$4, %rdx
	movq	_numsides@GOTPCREL(%rip), %r13
	movl	%edx, (%r13)
	shll	$4, %edx
	leal	(%rdx,%rdx,2), %edi
	movq	_PU_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_Z_Malloc
	movq	_sides@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	(%r13), %ecx
	shll	$4, %ecx
	leal	(%rcx,%rcx,2), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_PU_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_W_CacheLumpNum
	movq	%rax, %r15
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	movq	(%r14), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	20(%r15,%r14), %edi
	callq	_SHORT
	movq	_FRACBITS@GOTPCREL(%rip), %rbx
	movzbl	(%rbx), %ecx
	shlq	%cl, %rax
	movq	%rax, (%r12,%r14,2)
	movl	16(%r15,%r14), %edi
	callq	_SHORT
	movzbl	(%rbx), %ecx
	shlq	%cl, %rax
	movq	%rax, 8(%r12,%r14,2)
	movl	12(%r15,%r14), %edi
	callq	_R_TextureNumForName
	movq	%rax, 40(%r12,%r14,2)
	movl	8(%r15,%r14), %edi
	callq	_R_TextureNumForName
	movq	%rax, 32(%r12,%r14,2)
	movl	4(%r15,%r14), %edi
	callq	_R_TextureNumForName
	movq	%rax, 24(%r12,%r14,2)
	movq	%r13, %rbx
	movq	_sectors@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%r15,%r14), %edi
	callq	_SHORT
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movq	%rbx, %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%r12,%r14,2)
	incl	%ebx
	addq	$24, %r14
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Z_Free                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_numsides,4,2                   ## @numsides
	.comm	_PU_LEVEL,4,2                   ## @PU_LEVEL
	.comm	_sides,8,3                      ## @sides
	.comm	_PU_STATIC,4,2                  ## @PU_STATIC
	.comm	_FRACBITS,8,3                   ## @FRACBITS
	.comm	_sectors,8,3                    ## @sectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_LoadSideDefs                 ; -- Begin function P_LoadSideDefs
	.p2align	2
_P_LoadSideDefs:                        ; @P_LoadSideDefs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_W_LumpLength
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	mov	x9, #-6148914691236517206
	movk	x9, #43691
	umulh	x8, x8, x9
	lsr	x8, x8, #4
Lloh0:
	adrp	x20, _numsides@GOTPAGE
Lloh1:
	ldr	x20, [x20, _numsides@GOTPAGEOFF]
	str	w8, [x20]
	add	w8, w8, w8, lsl #1
	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, _sides@GOTPAGE
Lloh6:
	ldr	x22, [x22, _sides@GOTPAGEOFF]
	str	x0, [x22]
	ldr	w8, [x20]
	add	w8, w8, w8, lsl #1
	lsl	w2, w8, #4
	mov	w1, #0
	bl	_memset
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	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
	ldr	x22, [x22]
	add	x23, x19, #12
Lloh10:
	adrp	x24, _FRACBITS@GOTPAGE
Lloh11:
	ldr	x24, [x24, _FRACBITS@GOTPAGEOFF]
Lloh12:
	adrp	x25, _sectors@GOTPAGE
Lloh13:
	ldr	x25, [x25, _sectors@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #8]
	bl	_SHORT
	ldr	x8, [x24]
	lsl	x8, x0, x8
	str	x8, [x22]
	ldr	w0, [x23, #4]
	bl	_SHORT
	ldr	x8, [x24]
	lsl	x8, x0, x8
	str	x8, [x22, #8]
	ldr	w0, [x23]
	bl	_R_TextureNumForName
	str	x0, [x22, #40]
	ldur	w0, [x23, #-4]
	bl	_R_TextureNumForName
	str	x0, [x22, #32]
	ldur	w0, [x23, #-8]
	bl	_R_TextureNumForName
	str	x0, [x22, #24]
	ldr	x26, [x25]
	ldur	w0, [x23, #-12]
	bl	_SHORT
	add	x8, x26, x0, lsl #2
	str	x8, [x22, #16]
	add	w21, w21, #1
	ldr	w8, [x20]
	add	x23, x23, #24
	add	x22, x22, #48
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 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
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_numsides,4,2                   ; @numsides
	.comm	_PU_LEVEL,4,2                   ; @PU_LEVEL
	.comm	_sides,8,3                      ; @sides
	.comm	_PU_STATIC,4,2                  ; @PU_STATIC
	.comm	_FRACBITS,8,3                   ; @FRACBITS
	.comm	_sectors,8,3                    ; @sectors
.subsections_via_symbols
