	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VM_LoadSymbols                 ## -- Begin function VM_LoadSymbols
	.p2align	4, 0x90
_VM_LoadSymbols:                        ## @VM_LoadSymbols
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_QPATH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_com_developer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_17
## %bb.1:
	movl	32(%r12), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_COM_StripExtension
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rcx
	callq	_Com_sprintf
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_FS_ReadFile
	movq	-80(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rax, -72(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_COM_Parse
	cmpb	$0, (%rax)
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.5:
	leaq	24(%r12), %r15
	xorl	%r14d, %r14d
	leaq	-72(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_ParseHex
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_COM_Parse
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_COM_Parse
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_COM_Parse
	cmpb	$0, (%rax)
	jne	LBB0_6
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	callq	_ParseHex
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_COM_Parse
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %ebx
	leal	16(%rbx), %edi
	movq	_h_high@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Hunk_Alloc
	movq	%rax, (%r15)
	movq	$0, 8(%rax)
	testl	%r14d, %r14d
	js	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%r14d, %edx
	movl	(%rcx,%rdx,4), %r14d
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	addq	$8, %r15
	movl	%r14d, (%rax)
	movl	4(%rax), %edi
	incl	%ebx
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_Q_strncpyz
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	incl	%r14d
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_17
LBB0_4:
	xorl	%r14d, %r14d
LBB0_16:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, 16(%rax)
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	-80(%rbp), %rdi
	callq	_FS_FreeFile
LBB0_17:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_16
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QPATH,4,2                  ## @MAX_QPATH
	.comm	_com_developer,8,3              ## @com_developer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm/%s.map"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't load symbol file: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"WARNING: incomplete line at end of file\n"

	.comm	_h_high,4,2                     ## @h_high
L_.str.3:                               ## @.str.3
	.asciz	"%i symbols parsed from %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VM_LoadSymbols                 ; -- Begin function VM_LoadSymbols
	.p2align	2
_VM_LoadSymbols:                        ; @VM_LoadSymbols
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_QPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
	ldr	w2, [x8]
	mov	x9, x2
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x2, #15
	and	x10, x10, #0x1fffffff0
	sub	x21, x9, x10
	mov	sp, x21
	ldr	w22, [x8]
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh9:
	adrp	x8, _com_developer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _com_developer@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_16
; %bb.1:
	ldr	w0, [x19, #32]
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_COM_StripExtension
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_Com_sprintf
	sub	x1, x29, #96
	mov	x0, x20
	bl	_FS_ReadFile
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_13
; %bb.2:
	ldr	w26, [x19]
	stur	x8, [x29, #-104]
	sub	x0, x29, #104
	bl	_COM_Parse
	ldrb	w8, [x0]
	cbz	w8, LBB0_14
; %bb.3:
	mov	w25, #0
	add	x27, x19, #24
Lloh14:
	adrp	x28, _h_high@GOTPAGE
Lloh15:
	ldr	x28, [x28, _h_high@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_ParseHex
	mov	x21, x0
	sub	x0, x29, #104
	bl	_COM_Parse
	cbz	w21, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #104
	bl	_COM_Parse
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #104
	bl	_COM_Parse
	ldrb	w8, [x0]
	cbnz	w8, LBB0_4
	b	LBB0_15
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_ParseHex
	mov	x22, x0
	sub	x0, x29, #104
	bl	_COM_Parse
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	bl	_strlen
	mov	x23, x0
	add	w0, w0, #16
	ldr	w1, [x28]
	bl	_Hunk_Alloc
	str	x0, [x27]
	mov	x27, x0
	str	xzr, [x27, #8]!
	tbnz	w22, #31, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, w26
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w22, [x8, w22, uxtw #2]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [x0]
	ldr	w0, [x0, #4]
	add	w2, w23, #1
	mov	x1, x21
	bl	_Q_strncpyz
	add	w25, w25, #1
	b	LBB0_6
LBB0_13:
	str	x20, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
	b	LBB0_16
LBB0_14:
	mov	w25, #0
LBB0_15:
	str	w25, [x19, #16]
	stp	x25, x20, [sp, #-16]!
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
	ldur	x0, [x29, #-96]
	bl	_FS_FreeFile
LBB0_16:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.17:
	sub	sp, x29, #80
	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_18:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_Printf
	b	LBB0_15
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QPATH,4,2                  ; @MAX_QPATH
	.comm	_com_developer,8,3              ; @com_developer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm/%s.map"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't load symbol file: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"WARNING: incomplete line at end of file\n"

	.comm	_h_high,4,2                     ; @h_high
l_.str.3:                               ; @.str.3
	.asciz	"%i symbols parsed from %s\n"

.subsections_via_symbols
