	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DefineSymbol                   ## -- Begin function DefineSymbol
	.p2align	4, 0x90
_DefineSymbol:                          ## @DefineSymbol
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_LINE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_passNumber@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	je	LBB0_18
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_Q_stricmp
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_Error
LBB0_4:
	cmpb	$36, (%r15)
	jne	LBB0_6
## %bb.5:
	movq	_currentFileIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_sprintf
	movq	%rbx, %r15
LBB0_6:
	movq	%r15, %rdi
	callq	_HashString
	movl	%eax, %r13d
	movq	_symbols@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx), %rbx
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	(%rbx), %r13d
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	20(%rbx), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	callq	_CodeError
	jmp	LBB0_18
LBB0_12:
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_copystring
	movl	%eax, 20(%r12)
	movl	%r13d, (%r12)
	movl	%r14d, 4(%r12)
	movq	_currentSegment@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_lastSymbol@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movq	_symbols@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	cmpl	%r14d, 4(%rax)
	jle	LBB0_15
LBB0_14:
	movq	%rax, 8(%r12)
	movq	%r12, (%rcx)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%r14d, 4(%rax)
	jl	LBB0_15
LBB0_17:
	movq	%rax, 8(%r12)
	movq	%r12, 8(%rcx)
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LINE_LENGTH,4,2            ## @MAX_LINE_LENGTH
	.comm	_passNumber,4,2                 ## @passNumber
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmMain"

L_.str.1:                               ## @.str.1
	.asciz	"vmMain must be the first symbol in the qvm (got offset %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s_%i"

	.comm	_currentFileIndex,4,2           ## @currentFileIndex
	.comm	_symbols,8,3                    ## @symbols
L_.str.3:                               ## @.str.3
	.asciz	"Multiple definitions for %s\n"

	.comm	_currentSegment,4,2             ## @currentSegment
	.comm	_lastSymbol,8,3                 ## @lastSymbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DefineSymbol                   ; -- Begin function DefineSymbol
	.p2align	2
_DefineSymbol:                          ; @DefineSymbol
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_LINE_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_LINE_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _passNumber@GOTPAGE
Lloh9:
	ldr	x8, [x8, _passNumber@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_17
; %bb.1:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_Q_stricmp
	cbz	w19, LBB0_4
; %bb.2:
	cbnz	w0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_Error
LBB0_4:
	ldrb	w8, [x20]
	cmp	w8, #36
	b.ne	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _currentFileIndex@GOTPAGE
Lloh16:
	ldr	x8, [x8, _currentFileIndex@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_sprintf
	mov	x20, x21
LBB0_6:
	mov	x0, x20
	bl	_HashString
	mov	x21, x0
Lloh20:
	adrp	x23, _symbols@GOTPAGE
Lloh21:
	ldr	x23, [x23, _symbols@GOTPAGEOFF]
	ldr	x22, [x23]
	cbnz	x22, LBB0_11
LBB0_7:
	mov	w0, #24
	bl	_malloc
	mov	x22, x0
	mov	x0, x20
	bl	_copystring
	stp	w21, w19, [x22]
Lloh22:
	adrp	x8, _currentSegment@GOTPAGE
Lloh23:
	ldr	x8, [x8, _currentSegment@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	stp	w8, w0, [x22, #16]
Lloh25:
	adrp	x8, _lastSymbol@GOTPAGE
Lloh26:
	ldr	x8, [x8, _lastSymbol@GOTPAGEOFF]
Lloh27:
	str	x22, [x8]
	ldr	x8, [x23]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w9, [x8, #4]
	cmp	w9, w19
	b.le	LBB0_14
LBB0_9:
	str	x8, [x22, #8]
	str	x22, [x23]
	b	LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_7
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x22, #20]
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_10
; %bb.13:
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_CodeError
	b	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w10, [x8, #4]
	cmp	w10, w19
	b.lt	LBB0_14
LBB0_16:
	str	x8, [x22, #8]
	str	x22, [x9, #8]
LBB0_17:
	ldur	x8, [x29, #-56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	sub	sp, x29, #48
	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
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LINE_LENGTH,4,2            ; @MAX_LINE_LENGTH
	.comm	_passNumber,4,2                 ; @passNumber
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmMain"

l_.str.1:                               ; @.str.1
	.asciz	"vmMain must be the first symbol in the qvm (got offset %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s_%i"

	.comm	_currentFileIndex,4,2           ; @currentFileIndex
	.comm	_symbols,8,3                    ; @symbols
l_.str.3:                               ; @.str.3
	.asciz	"Multiple definitions for %s\n"

	.comm	_currentSegment,4,2             ; @currentSegment
	.comm	_lastSymbol,8,3                 ; @lastSymbol
.subsections_via_symbols
