	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMod_LoadNodes                 ## -- Begin function CMod_LoadNodes
	.p2align	4, 0x90
_CMod_LoadNodes:                        ## @CMod_LoadNodes
	.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	_cmod_base@GOTPCREL(%rip), %rax
	movq	8(%rdi), %r14
	addq	(%rax), %r14
	movl	(%rdi), %ebx
	testb	$15, %bl
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r15
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movl	(%r15), %ebx
LBB0_2:
	movl	%ebx, %r15d
	sarl	$4, %r15d
	cmpl	$15, %ebx
	jg	LBB0_4
## %bb.3:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
LBB0_4:
	movl	%ebx, %edi
	andl	$-16, %edi
	movq	_h_high@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Hunk_Alloc
	movq	_cm@GOTPCREL(%rip), %r12
	movq	%rax, 16(%r12)
	movl	%r15d, (%r12)
	cmpl	$16, %ebx
	jl	LBB0_7
## %bb.5:
	movq	%rax, %r13
	cmpl	$2, %r15d
	movl	$1, %ecx
	cmovgel	%r15d, %ecx
	shlq	$4, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r15
	movl	8(%r14,%rbx), %edi
	callq	_LittleLong
	cltq
	addq	%r15, %rax
	movq	%rax, 8(%r13,%rbx)
	movq	(%r14,%rbx), %rax
	movl	(%rax), %edi
	callq	_LittleLong
	movq	(%r13,%rbx), %rcx
	movl	%eax, (%rcx)
	movq	(%r14,%rbx), %rax
	movl	4(%rax), %edi
	callq	_LittleLong
	movq	(%r13,%rbx), %rcx
	movl	%eax, 4(%rcx)
	addq	$16, %rbx
	cmpl	%ebx, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmod_base,8,3                  ## @cmod_base
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MOD_LoadBmodel: funny lump size"

L_.str.1:                               ## @.str.1
	.asciz	"Map has no nodes"

	.comm	_h_high,4,2                     ## @h_high
	.comm	_cm,24,3                        ## @cm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMod_LoadNodes                 ; -- Begin function CMod_LoadNodes
	.p2align	2
_CMod_LoadNodes:                        ; @CMod_LoadNodes
	.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
Lloh0:
	adrp	x8, _cmod_base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmod_base@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	x22, [x0, #8]
	ldr	w23, [x0]
Lloh3:
	adrp	x20, _ERR_DROP@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ERR_DROP@GOTPAGEOFF]
	tst	w23, #0xf
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	ldr	w23, [x19]
LBB0_2:
	asr	w24, w23, #4
	cmp	w23, #15
	b.gt	LBB0_4
; %bb.3:
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
LBB0_4:
	and	w0, w23, #0xfffffff0
Lloh9:
	adrp	x8, _h_high@GOTPAGE
Lloh10:
	ldr	x8, [x8, _h_high@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_Hunk_Alloc
Lloh12:
	adrp	x20, _cm@GOTPAGE
Lloh13:
	ldr	x20, [x20, _cm@GOTPAGEOFF]
	str	x0, [x20, #16]
	str	w24, [x20]
	cmp	w23, #16
	b.lt	LBB0_7
; %bb.5:
	mov	x19, x0
	add	x21, x22, x21
	cmp	w24, #1
	csinc	w22, w24, wzr, gt
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20, #8]
	ldr	w0, [x21, #8]
	bl	_LittleLong
	add	x8, x23, w0, sxtw
	str	x8, [x19, #8]
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_LittleLong
	ldr	x8, [x19]
	str	w0, [x8]
	ldr	x8, [x21], #16
	ldr	w0, [x8, #4]
	bl	_LittleLong
	ldr	x8, [x19], #16
	str	w0, [x8, #4]
	subs	w22, w22, #1
	b.ne	LBB0_6
LBB0_7:
	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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_cmod_base,8,3                  ; @cmod_base
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MOD_LoadBmodel: funny lump size"

l_.str.1:                               ; @.str.1
	.asciz	"Map has no nodes"

	.comm	_h_high,4,2                     ; @h_high
	.comm	_cm,24,3                        ; @cm
.subsections_via_symbols
