	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r13d
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Error
LBB0_2:
	xorl	%eax, %eax
	callq	_I_FloatTime
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_InitTables
	movq	_outputFilename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movq	_numAsmFiles@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movl	$1, %r15d
	cmpl	$2, %r13d
	jl	LBB0_16
## %bb.3:
	leal	-1(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_outputFilename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incl	%r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r14,8), %rsi
	callq	_strcpy
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r12
	incl	%r15d
	cmpl	%r13d, %r15d
	jge	LBB0_16
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movslq	%r15d, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %r12
	cmpb	$45, (%r12)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_Error
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_Error
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_Error
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r14,8), %rdi
	callq	_ParseOptionFile
	jmp	LBB0_15
LBB0_5:
	movq	%rbx, %r12
LBB0_16:
	cmpl	%r13d, %r15d
	jge	LBB0_19
## %bb.17:
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r14
	subl	%r15d, %r13d
	xorl	%ebx, %ebx
	movq	_asmFileNames@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_copystring
	movq	(%r15), %rcx
	movq	(%r12), %rdx
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	movq	%rdx, (%r12)
	incq	%rbx
	cmpl	%ebx, %r13d
	jne	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	callq	_Assemble
	xorl	%eax, %eax
	callq	_I_FloatTime
	subsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	leaq	L_.str.7(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: q3asm [-o output] <files> or q3asm -f <listfile>\n"

	.comm	_outputFilename,4,2             ## @outputFilename
L_.str.1:                               ## @.str.1
	.asciz	"q3asm"

	.comm	_numAsmFiles,8,3                ## @numAsmFiles
L_.str.2:                               ## @.str.2
	.asciz	"-o"

L_.str.3:                               ## @.str.3
	.asciz	"-o must preceed a filename"

L_.str.4:                               ## @.str.4
	.asciz	"-f"

L_.str.5:                               ## @.str.5
	.asciz	"-f must preceed a filename"

L_.str.6:                               ## @.str.6
	.asciz	"Unknown option: %s"

	.comm	_asmFileNames,8,3               ## @asmFileNames
L_.str.7:                               ## @.str.7
	.asciz	"%5.0f seconds elapsed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x1
	mov	x19, x0
	subs	w28, w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
LBB0_2:
	bl	_I_FloatTime
	fmov	d8, d0
	bl	_InitTables
Lloh2:
	adrp	x24, _outputFilename@GOTPAGE
Lloh3:
	ldr	x24, [x24, _outputFilename@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
Lloh6:
	adrp	x27, _numAsmFiles@GOTPAGE
Lloh7:
	ldr	x27, [x27, _numAsmFiles@GOTPAGEOFF]
	str	xzr, [x27]
	mov	w22, #1
	cmp	w19, #2
	b.lt	LBB0_16
; %bb.3:
Lloh8:
	adrp	x21, l_.str.2@PAGE
Lloh9:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh10:
	adrp	x23, l_.str.4@PAGE
Lloh11:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x26, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_Error
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	cmp	w22, w19
	b.ge	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x20, w22, sxtw #3]
	ldrb	w8, [x26]
	cmp	w8, #45
	b.ne	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x25, w22
	mov	x0, x26
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x23
	bl	_strcmp
	cbnz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, w28
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_Error
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x25, #1
	ldr	x0, [x20, x22, lsl #3]
	bl	_ParseOptionFile
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, w28
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Error
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	add	x22, x25, #1
	ldr	x1, [x20, x22, lsl #3]
	bl	_strcpy
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_5
LBB0_16:
	cmp	w22, w19
	b.ge	LBB0_19
; %bb.17:
	add	x20, x20, w22, sxtw #3
	sub	w19, w19, w22
Lloh18:
	adrp	x21, _asmFileNames@GOTPAGE
Lloh19:
	ldr	x21, [x21, _asmFileNames@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	bl	_copystring
	ldr	x8, [x21]
	ldr	x9, [x27]
	str	w0, [x8, x9, lsl #2]
	add	x8, x9, #1
	str	x8, [x27]
	subs	w19, w19, #1
	b.ne	LBB0_18
LBB0_19:
	bl	_Assemble
	bl	_I_FloatTime
	fsub	d0, d0, d8
Lloh20:
	adrp	x0, l_.str.7@PAGE
Lloh21:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: q3asm [-o output] <files> or q3asm -f <listfile>\n"

	.comm	_outputFilename,4,2             ; @outputFilename
l_.str.1:                               ; @.str.1
	.asciz	"q3asm"

	.comm	_numAsmFiles,8,3                ; @numAsmFiles
l_.str.2:                               ; @.str.2
	.asciz	"-o"

l_.str.3:                               ; @.str.3
	.asciz	"-o must preceed a filename"

l_.str.4:                               ; @.str.4
	.asciz	"-f"

l_.str.5:                               ; @.str.5
	.asciz	"-f must preceed a filename"

l_.str.6:                               ; @.str.6
	.asciz	"Unknown option: %s"

	.comm	_asmFileNames,8,3               ; @asmFileNames
l_.str.7:                               ; @.str.7
	.asciz	"%5.0f seconds elapsed\n"

.subsections_via_symbols
