	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	cmpl	$1, %r14d
	jg	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Error
LBB0_2:
	movq	8(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_62
## %bb.3:
	leaq	8(%r13), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_63
## %bb.4:
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_64
## %bb.5:
	movq	(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_71
## %bb.6:
	movq	(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_72
## %bb.7:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_tempsource@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
	movl	$1, %ebx
	cmpl	$2, %r14d
	jl	LBB0_65
## %bb.8:
	movl	$1, %ebx
	jmp	LBB0_12
LBB0_62:
	addl	$-2, %r14d
	addq	$16, %r13
	movl	%r14d, %edi
	movq	%r13, %rsi
	callq	_Bspinfo
	jmp	LBB0_79
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_12 Depth=1
	leal	1(%r12), %ebx
	movq	8(%r13,%r12,8), %rdi
	callq	_atoi
	movq	_numthreads@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	cmpl	%r14d, %ebx
	jge	LBB0_65
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r12
	movq	(%r13,%r12,8), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	(,%r12,8), %r15
	addq	%r13, %r15
	movq	(%r15), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_38
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_39
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_40
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_41
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_42
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_43
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.19(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_44
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.21(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_45
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.23(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_46
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_47
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.27(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_48
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.29(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_49
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.31(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_50
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.33(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_51
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.35(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_52
## %bb.28:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.37(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_53
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.39(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_54
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.41(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_55
## %bb.31:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.43(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_56
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.45(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_57
## %bb.33:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.47(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_58
## %bb.34:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.49(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_59
## %bb.35:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.51(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_61
## %bb.36:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rsi
	cmpb	$45, (%rsi)
	jne	LBB0_65
## %bb.37:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.53(%rip), %rdi
	xorl	%eax, %eax
	callq	_Error
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_12 Depth=1
	movq	_tempsource@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leal	1(%r12), %ebx
	movq	8(%r13,%r12,8), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	callq	_strcpy
	jmp	LBB0_11
LBB0_39:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_glview@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_40:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_verbose@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_41:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_drawflag@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_42:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nowater@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_43:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_noopt@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_44:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nofill@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_45:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nodetail@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_46:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_fulldetail@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_47:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.26(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_onlyents@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_48:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.28(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_onlytextures@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_49:                                ##   in Loop: Header=BB0_12 Depth=1
	leal	1(%r12), %ebx
	movq	8(%r13,%r12,8), %rdi
	callq	_atof
	movq	_microvolume@GOTPCREL(%rip), %rax
	movsd	%xmm0, (%rax)
	leaq	L_.str.30(%rip), %rdi
	movb	$1, %al
	callq	__printf
	jmp	LBB0_11
LBB0_50:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.32(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nofog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_51:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.34(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nosubdivide@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_52:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.36(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_leaktest@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_53:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.38(%rip), %rdi
	xorl	%eax, %eax
	callq	__printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_verboseentities@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_54:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_noCurveBrushes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.40(%rip), %rdi
	jmp	LBB0_60
LBB0_55:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_notjunc@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.42(%rip), %rdi
	jmp	LBB0_60
LBB0_56:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_testExpand@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.44(%rip), %rdi
	jmp	LBB0_60
LBB0_57:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_showseams@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.46(%rip), %rdi
	jmp	LBB0_60
LBB0_58:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_outbase@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.48(%rip), %rsi
	jmp	LBB0_10
LBB0_59:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_fakemap@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.50(%rip), %rdi
LBB0_60:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	__printf
	jmp	LBB0_11
LBB0_61:                                ##   in Loop: Header=BB0_12 Depth=1
	leal	1(%r12), %ebx
	movq	8(%r13,%r12,8), %rdi
	callq	_atoi
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovll	%ecx, %eax
	movq	_samplesize@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.52(%rip), %rdi
	movl	%eax, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	__printf
	jmp	LBB0_11
LBB0_63:
	decl	%r14d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_LightMain
	jmp	LBB0_79
LBB0_64:
	decl	%r14d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_VLightMain
	jmp	LBB0_79
LBB0_65:
	decl	%r14d
	cmpl	%r14d, %ebx
	je	LBB0_67
## %bb.66:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Error
LBB0_67:
	xorl	%eax, %eax
	callq	_I_FloatTime
	movsd	%xmm0, -1080(%rbp)              ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ThreadSetDefault
	movslq	%ebx, %r12
	movq	(%r13,%r12,8), %rdi
	callq	_SetQdirFromPath
	movq	_source@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	(%r13,%r12,8), %rdi
	callq	_ExpandArg
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcpy
	movq	(%r15), %rdi
	callq	_StripExtension
	movq	(%r15), %rdx
	leaq	L_.str.54(%rip), %rsi
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_remove
	movq	(%r15), %rdx
	leaq	L_.str.55(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_remove
	movq	_name@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	(%r13,%r12,8), %rdi
	callq	_ExpandArg
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcpy
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax), %rdi
	addq	$-4, %rdi
	leaq	L_.str.56(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_69
## %bb.68:
	movq	(%r15), %rdx
	leaq	L_.str.57(%rip), %rsi
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_remove
	movq	(%r14), %rdi
	leaq	L_.str.58(%rip), %rsi
	callq	_DefaultExtension
LBB0_69:
	movq	_onlyents@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_73
## %bb.70:
	xorl	%eax, %eax
	callq	_OnlyEnts
	jmp	LBB0_79
LBB0_71:
	decl	%r14d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_VSoundMain
	jmp	LBB0_79
LBB0_72:
	decl	%r14d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_VisMain
	jmp	LBB0_79
LBB0_73:
	movq	_onlytextures@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_75
## %bb.74:
	xorl	%eax, %eax
	callq	_OnlyTextures
	jmp	LBB0_79
LBB0_75:
	xorl	%eax, %eax
	callq	_LoadShaderInfo
	movq	_tempsource@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	testq	%rax, %rax
	jg	LBB0_77
## %bb.76:
	movq	(%r14), %rbx
LBB0_77:
	movq	%rbx, %rdi
	callq	_LoadMapFile
	xorl	%eax, %eax
	callq	_SetModelNumbers
	xorl	%eax, %eax
	callq	_SetLightStyles
	xorl	%eax, %eax
	callq	_ProcessModels
	xorl	%eax, %eax
	callq	_EndBSPFile
	xorl	%eax, %eax
	callq	_I_FloatTime
	subsd	-1080(%rbp), %xmm0              ## 8-byte Folded Reload
	leaq	L_.str.59(%rip), %rdi
	movb	$1, %al
	callq	__printf
	movq	_tempsource@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_79
## %bb.78:
	movq	%rbx, %rdi
	callq	_remove
LBB0_79:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_81
## %bb.80:
	xorl	%eax, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_81:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Q3Map v1.0s (c) 1999 Id Software Inc.\n"

L_.str.1:                               ## @.str.1
	.asciz	"usage: q3map [options] mapfile"

L_.str.2:                               ## @.str.2
	.asciz	"-info"

L_.str.3:                               ## @.str.3
	.asciz	"-light"

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

L_.str.5:                               ## @.str.5
	.asciz	"-vsound"

L_.str.6:                               ## @.str.6
	.asciz	"-vis"

L_.str.7:                               ## @.str.7
	.asciz	"---- q3map ----\n"

	.comm	_tempsource,8,3                 ## @tempsource
L_.str.8:                               ## @.str.8
	.asciz	"-tempname"

L_.str.9:                               ## @.str.9
	.asciz	"-threads"

	.comm	_numthreads,8,3                 ## @numthreads
L_.str.10:                              ## @.str.10
	.asciz	"-glview"

	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_glview,8,3                     ## @glview
L_.str.11:                              ## @.str.11
	.asciz	"-v"

L_.str.12:                              ## @.str.12
	.asciz	"verbose = true\n"

	.comm	_verbose,8,3                    ## @verbose
L_.str.13:                              ## @.str.13
	.asciz	"-draw"

L_.str.14:                              ## @.str.14
	.asciz	"drawflag = true\n"

	.comm	_drawflag,8,3                   ## @drawflag
L_.str.15:                              ## @.str.15
	.asciz	"-nowater"

L_.str.16:                              ## @.str.16
	.asciz	"nowater = true\n"

	.comm	_nowater,8,3                    ## @nowater
L_.str.17:                              ## @.str.17
	.asciz	"-noopt"

L_.str.18:                              ## @.str.18
	.asciz	"noopt = true\n"

	.comm	_noopt,8,3                      ## @noopt
L_.str.19:                              ## @.str.19
	.asciz	"-nofill"

L_.str.20:                              ## @.str.20
	.asciz	"nofill = true\n"

	.comm	_nofill,8,3                     ## @nofill
L_.str.21:                              ## @.str.21
	.asciz	"-nodetail"

L_.str.22:                              ## @.str.22
	.asciz	"nodetail = true\n"

	.comm	_nodetail,8,3                   ## @nodetail
L_.str.23:                              ## @.str.23
	.asciz	"-fulldetail"

L_.str.24:                              ## @.str.24
	.asciz	"fulldetail = true\n"

	.comm	_fulldetail,8,3                 ## @fulldetail
L_.str.25:                              ## @.str.25
	.asciz	"-onlyents"

L_.str.26:                              ## @.str.26
	.asciz	"onlyents = true\n"

	.comm	_onlyents,8,3                   ## @onlyents
L_.str.27:                              ## @.str.27
	.asciz	"-onlytextures"

L_.str.28:                              ## @.str.28
	.asciz	"onlytextures = true\n"

	.comm	_onlytextures,8,3               ## @onlytextures
L_.str.29:                              ## @.str.29
	.asciz	"-micro"

	.comm	_microvolume,8,3                ## @microvolume
L_.str.30:                              ## @.str.30
	.asciz	"microvolume = %f\n"

L_.str.31:                              ## @.str.31
	.asciz	"-nofog"

L_.str.32:                              ## @.str.32
	.asciz	"nofog = true\n"

	.comm	_nofog,8,3                      ## @nofog
L_.str.33:                              ## @.str.33
	.asciz	"-nosubdivide"

L_.str.34:                              ## @.str.34
	.asciz	"nosubdivide = true\n"

	.comm	_nosubdivide,8,3                ## @nosubdivide
L_.str.35:                              ## @.str.35
	.asciz	"-leaktest"

L_.str.36:                              ## @.str.36
	.asciz	"leaktest = true\n"

	.comm	_leaktest,8,3                   ## @leaktest
L_.str.37:                              ## @.str.37
	.asciz	"-verboseentities"

L_.str.38:                              ## @.str.38
	.asciz	"verboseentities = true\n"

	.comm	_verboseentities,8,3            ## @verboseentities
L_.str.39:                              ## @.str.39
	.asciz	"-nocurves"

	.comm	_noCurveBrushes,8,3             ## @noCurveBrushes
L_.str.40:                              ## @.str.40
	.asciz	"no curve brushes\n"

L_.str.41:                              ## @.str.41
	.asciz	"-notjunc"

	.comm	_notjunc,8,3                    ## @notjunc
L_.str.42:                              ## @.str.42
	.asciz	"no tjunction fixing\n"

L_.str.43:                              ## @.str.43
	.asciz	"-expand"

	.comm	_testExpand,8,3                 ## @testExpand
L_.str.44:                              ## @.str.44
	.asciz	"Writing expanded.map.\n"

L_.str.45:                              ## @.str.45
	.asciz	"-showseams"

	.comm	_showseams,8,3                  ## @showseams
L_.str.46:                              ## @.str.46
	.asciz	"Showing seams on terrain.\n"

L_.str.47:                              ## @.str.47
	.asciz	"-tmpout"

	.comm	_outbase,8,3                    ## @outbase
L_.str.48:                              ## @.str.48
	.asciz	"/tmp"

L_.str.49:                              ## @.str.49
	.asciz	"-fakemap"

	.comm	_fakemap,8,3                    ## @fakemap
L_.str.50:                              ## @.str.50
	.asciz	"will generate fakemap.map\n"

L_.str.51:                              ## @.str.51
	.asciz	"-samplesize"

	.comm	_samplesize,4,2                 ## @samplesize
L_.str.52:                              ## @.str.52
	.asciz	"lightmap sample size is %dx%d units\n"

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

	.comm	_source,8,3                     ## @source
L_.str.54:                              ## @.str.54
	.asciz	"%s.prt"

L_.str.55:                              ## @.str.55
	.asciz	"%s.lin"

	.comm	_name,8,3                       ## @name
L_.str.56:                              ## @.str.56
	.asciz	".reg"

L_.str.57:                              ## @.str.57
	.asciz	"%s.reg"

L_.str.58:                              ## @.str.58
	.asciz	".map"

L_.str.59:                              ## @.str.59
	.asciz	"%5.0f seconds elapsed\n"

	.comm	_gamedir,4,2                    ## @gamedir
.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:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	sub	sp, sp, #1056
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__printf
	subs	w20, w21, #1
	b.gt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Error
LBB0_2:
	mov	x22, x19
	ldr	x0, [x22, #8]!
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_62
; %bb.3:
	ldr	x0, [x22]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_63
; %bb.4:
	ldr	x0, [x22]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_64
; %bb.5:
	ldr	x0, [x22]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_71
; %bb.6:
	ldr	x0, [x22]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_72
; %bb.7:
Lloh17:
	adrp	x0, l_.str.7@PAGE
Lloh18:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__printf
Lloh19:
	adrp	x8, _tempsource@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tempsource@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	strb	wzr, [x8]
	mov	w28, #1
	cmp	w21, #2
	b.lt	LBB0_65
; %bb.8:
Lloh22:
	adrp	x22, l_.str.8@PAGE
Lloh23:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh24:
	adrp	x23, l_.str.9@PAGE
Lloh25:
	add	x23, x23, l_.str.9@PAGEOFF
Lloh26:
	adrp	x24, l_.str.10@PAGE
Lloh27:
	add	x24, x24, l_.str.10@PAGEOFF
Lloh28:
	adrp	x27, _qtrue@GOTPAGE
Lloh29:
	ldr	x27, [x27, _qtrue@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
Lloh30:
	adrp	x8, _tempsource@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tempsource@GOTPAGEOFF]
Lloh32:
	ldr	x0, [x8]
	add	x28, x25, #1
	ldr	x1, [x19, x28, lsl #3]
	bl	_strcpy
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w28, w28, #1
	cmp	w28, w21
	b.ge	LBB0_65
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x25, w28
	add	x26, x19, w28, sxtw #3
	ldr	x0, [x26]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_38
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_39
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_40
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh35:
	adrp	x1, l_.str.13@PAGE
Lloh36:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_41
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh37:
	adrp	x1, l_.str.15@PAGE
Lloh38:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_42
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh39:
	adrp	x1, l_.str.17@PAGE
Lloh40:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_43
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh41:
	adrp	x1, l_.str.19@PAGE
Lloh42:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_44
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh43:
	adrp	x1, l_.str.21@PAGE
Lloh44:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_45
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh45:
	adrp	x1, l_.str.23@PAGE
Lloh46:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_46
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh47:
	adrp	x1, l_.str.25@PAGE
Lloh48:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_47
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh49:
	adrp	x1, l_.str.27@PAGE
Lloh50:
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_48
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh51:
	adrp	x1, l_.str.29@PAGE
Lloh52:
	add	x1, x1, l_.str.29@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_49
; %bb.25:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh53:
	adrp	x1, l_.str.31@PAGE
Lloh54:
	add	x1, x1, l_.str.31@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_51
; %bb.26:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh55:
	adrp	x1, l_.str.33@PAGE
Lloh56:
	add	x1, x1, l_.str.33@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_52
; %bb.27:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh57:
	adrp	x1, l_.str.35@PAGE
Lloh58:
	add	x1, x1, l_.str.35@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_53
; %bb.28:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh59:
	adrp	x1, l_.str.37@PAGE
Lloh60:
	add	x1, x1, l_.str.37@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_54
; %bb.29:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh61:
	adrp	x1, l_.str.39@PAGE
Lloh62:
	add	x1, x1, l_.str.39@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_55
; %bb.30:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh63:
	adrp	x1, l_.str.41@PAGE
Lloh64:
	add	x1, x1, l_.str.41@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_56
; %bb.31:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh65:
	adrp	x1, l_.str.43@PAGE
Lloh66:
	add	x1, x1, l_.str.43@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_57
; %bb.32:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh67:
	adrp	x1, l_.str.45@PAGE
Lloh68:
	add	x1, x1, l_.str.45@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_58
; %bb.33:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh69:
	adrp	x1, l_.str.47@PAGE
Lloh70:
	add	x1, x1, l_.str.47@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_59
; %bb.34:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh71:
	adrp	x1, l_.str.49@PAGE
Lloh72:
	add	x1, x1, l_.str.49@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_60
; %bb.35:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x26]
Lloh73:
	adrp	x1, l_.str.51@PAGE
Lloh74:
	add	x1, x1, l_.str.51@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.36:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x26]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_65
; %bb.37:                               ;   in Loop: Header=BB0_12 Depth=1
	str	x8, [sp]
Lloh75:
	adrp	x0, l_.str.53@PAGE
Lloh76:
	add	x0, x0, l_.str.53@PAGEOFF
	bl	_Error
	b	LBB0_11
LBB0_38:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x28, x25, #1
	ldr	x0, [x19, x28, lsl #3]
	bl	_atoi
Lloh77:
	adrp	x8, _numthreads@GOTPAGE
Lloh78:
	ldr	x8, [x8, _numthreads@GOTPAGEOFF]
Lloh79:
	str	x0, [x8]
	b	LBB0_10
LBB0_39:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
Lloh80:
	adrp	x9, _glview@GOTPAGE
Lloh81:
	ldr	x9, [x9, _glview@GOTPAGEOFF]
Lloh82:
	str	x8, [x9]
	b	LBB0_11
LBB0_40:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh83:
	adrp	x0, l_.str.12@PAGE
Lloh84:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh85:
	adrp	x9, _verbose@GOTPAGE
Lloh86:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
Lloh87:
	str	x8, [x9]
	b	LBB0_11
LBB0_41:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh88:
	adrp	x0, l_.str.14@PAGE
Lloh89:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh90:
	adrp	x9, _drawflag@GOTPAGE
Lloh91:
	ldr	x9, [x9, _drawflag@GOTPAGEOFF]
Lloh92:
	str	x8, [x9]
	b	LBB0_11
LBB0_42:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh93:
	adrp	x0, l_.str.16@PAGE
Lloh94:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh95:
	adrp	x9, _nowater@GOTPAGE
Lloh96:
	ldr	x9, [x9, _nowater@GOTPAGEOFF]
Lloh97:
	str	x8, [x9]
	b	LBB0_11
LBB0_43:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh98:
	adrp	x0, l_.str.18@PAGE
Lloh99:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh100:
	adrp	x9, _noopt@GOTPAGE
Lloh101:
	ldr	x9, [x9, _noopt@GOTPAGEOFF]
Lloh102:
	str	x8, [x9]
	b	LBB0_11
LBB0_44:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh103:
	adrp	x0, l_.str.20@PAGE
Lloh104:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh105:
	adrp	x9, _nofill@GOTPAGE
Lloh106:
	ldr	x9, [x9, _nofill@GOTPAGEOFF]
Lloh107:
	str	x8, [x9]
	b	LBB0_11
LBB0_45:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh108:
	adrp	x0, l_.str.22@PAGE
Lloh109:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh110:
	adrp	x9, _nodetail@GOTPAGE
Lloh111:
	ldr	x9, [x9, _nodetail@GOTPAGEOFF]
Lloh112:
	str	x8, [x9]
	b	LBB0_11
LBB0_46:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh113:
	adrp	x0, l_.str.24@PAGE
Lloh114:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh115:
	adrp	x9, _fulldetail@GOTPAGE
Lloh116:
	ldr	x9, [x9, _fulldetail@GOTPAGEOFF]
Lloh117:
	str	x8, [x9]
	b	LBB0_11
LBB0_47:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh118:
	adrp	x0, l_.str.26@PAGE
Lloh119:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh120:
	adrp	x9, _onlyents@GOTPAGE
Lloh121:
	ldr	x9, [x9, _onlyents@GOTPAGEOFF]
Lloh122:
	str	x8, [x9]
	b	LBB0_11
LBB0_48:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh123:
	adrp	x0, l_.str.28@PAGE
Lloh124:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh125:
	adrp	x9, _onlytextures@GOTPAGE
Lloh126:
	ldr	x9, [x9, _onlytextures@GOTPAGEOFF]
Lloh127:
	str	x8, [x9]
	b	LBB0_11
LBB0_49:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x28, x25, #1
	ldr	x0, [x19, x28, lsl #3]
	bl	_atof
Lloh128:
	adrp	x8, _microvolume@GOTPAGE
Lloh129:
	ldr	x8, [x8, _microvolume@GOTPAGEOFF]
Lloh130:
	str	d0, [x8]
	str	d0, [sp]
Lloh131:
	adrp	x0, l_.str.30@PAGE
Lloh132:
	add	x0, x0, l_.str.30@PAGEOFF
LBB0_50:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	__printf
	b	LBB0_10
LBB0_51:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh133:
	adrp	x0, l_.str.32@PAGE
Lloh134:
	add	x0, x0, l_.str.32@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh135:
	adrp	x9, _nofog@GOTPAGE
Lloh136:
	ldr	x9, [x9, _nofog@GOTPAGEOFF]
Lloh137:
	str	x8, [x9]
	b	LBB0_11
LBB0_52:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh138:
	adrp	x0, l_.str.34@PAGE
Lloh139:
	add	x0, x0, l_.str.34@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh140:
	adrp	x9, _nosubdivide@GOTPAGE
Lloh141:
	ldr	x9, [x9, _nosubdivide@GOTPAGEOFF]
Lloh142:
	str	x8, [x9]
	b	LBB0_11
LBB0_53:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh143:
	adrp	x0, l_.str.36@PAGE
Lloh144:
	add	x0, x0, l_.str.36@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh145:
	adrp	x9, _leaktest@GOTPAGE
Lloh146:
	ldr	x9, [x9, _leaktest@GOTPAGEOFF]
Lloh147:
	str	x8, [x9]
	b	LBB0_11
LBB0_54:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh148:
	adrp	x0, l_.str.38@PAGE
Lloh149:
	add	x0, x0, l_.str.38@PAGEOFF
	bl	__printf
	ldr	x8, [x27]
Lloh150:
	adrp	x9, _verboseentities@GOTPAGE
Lloh151:
	ldr	x9, [x9, _verboseentities@GOTPAGEOFF]
Lloh152:
	str	x8, [x9]
	b	LBB0_11
LBB0_55:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
Lloh153:
	adrp	x9, _noCurveBrushes@GOTPAGE
Lloh154:
	ldr	x9, [x9, _noCurveBrushes@GOTPAGEOFF]
Lloh155:
	str	x8, [x9]
Lloh156:
	adrp	x0, l_.str.40@PAGE
Lloh157:
	add	x0, x0, l_.str.40@PAGEOFF
	bl	__printf
	b	LBB0_11
LBB0_56:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
Lloh158:
	adrp	x9, _notjunc@GOTPAGE
Lloh159:
	ldr	x9, [x9, _notjunc@GOTPAGEOFF]
Lloh160:
	str	x8, [x9]
Lloh161:
	adrp	x0, l_.str.42@PAGE
Lloh162:
	add	x0, x0, l_.str.42@PAGEOFF
	bl	__printf
	b	LBB0_11
LBB0_57:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
Lloh163:
	adrp	x9, _testExpand@GOTPAGE
Lloh164:
	ldr	x9, [x9, _testExpand@GOTPAGEOFF]
Lloh165:
	str	x8, [x9]
Lloh166:
	adrp	x0, l_.str.44@PAGE
Lloh167:
	add	x0, x0, l_.str.44@PAGEOFF
	bl	__printf
	b	LBB0_11
LBB0_58:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
Lloh168:
	adrp	x9, _showseams@GOTPAGE
Lloh169:
	ldr	x9, [x9, _showseams@GOTPAGEOFF]
Lloh170:
	str	x8, [x9]
Lloh171:
	adrp	x0, l_.str.46@PAGE
Lloh172:
	add	x0, x0, l_.str.46@PAGEOFF
	bl	__printf
	b	LBB0_11
LBB0_59:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh173:
	adrp	x8, _outbase@GOTPAGE
Lloh174:
	ldr	x8, [x8, _outbase@GOTPAGEOFF]
Lloh175:
	ldr	x0, [x8]
Lloh176:
	adrp	x1, l_.str.48@PAGE
Lloh177:
	add	x1, x1, l_.str.48@PAGEOFF
	bl	_strcpy
	b	LBB0_11
LBB0_60:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
Lloh178:
	adrp	x9, _fakemap@GOTPAGE
Lloh179:
	ldr	x9, [x9, _fakemap@GOTPAGEOFF]
Lloh180:
	str	x8, [x9]
Lloh181:
	adrp	x0, l_.str.50@PAGE
Lloh182:
	add	x0, x0, l_.str.50@PAGEOFF
	bl	__printf
	b	LBB0_11
LBB0_61:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x28, x25, #1
	ldr	x0, [x19, x28, lsl #3]
	bl	_atoi
	cmp	w0, #1
	csinc	w8, w0, wzr, gt
Lloh183:
	adrp	x9, _samplesize@GOTPAGE
Lloh184:
	ldr	x9, [x9, _samplesize@GOTPAGEOFF]
Lloh185:
	str	w8, [x9]
	stp	x8, x8, [sp]
Lloh186:
	adrp	x0, l_.str.52@PAGE
Lloh187:
	add	x0, x0, l_.str.52@PAGEOFF
	b	LBB0_50
LBB0_62:
	sub	w0, w21, #2
	add	x1, x19, #16
	bl	_Bspinfo
	b	LBB0_77
LBB0_63:
	mov	x0, x20
	mov	x1, x22
	bl	_LightMain
	b	LBB0_77
LBB0_64:
	mov	x0, x20
	mov	x1, x22
	bl	_VLightMain
	b	LBB0_77
LBB0_65:
	cmp	w28, w20
	b.eq	LBB0_67
; %bb.66:
Lloh188:
	adrp	x0, l_.str.1@PAGE
Lloh189:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Error
LBB0_67:
	bl	_I_FloatTime
	fmov	d8, d0
	bl	_ThreadSetDefault
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	sbfiz	x23, x28, #3, #32
	ldr	x0, [x19, x23]
	bl	_SetQdirFromPath
Lloh190:
	adrp	x21, _source@GOTPAGE
Lloh191:
	ldr	x21, [x21, _source@GOTPAGEOFF]
	ldr	x20, [x21]
	ldr	x0, [x19, x23]
	bl	_ExpandArg
	mov	x1, x0
	mov	x0, x20
	bl	_strcpy
	ldr	x0, [x21]
	bl	_StripExtension
	ldr	x2, [x21]
Lloh192:
	adrp	x1, l_.str.54@PAGE
Lloh193:
	add	x1, x1, l_.str.54@PAGEOFF
	add	x0, sp, #16
	bl	_sprintf
	add	x0, sp, #16
	bl	_remove
	ldr	x2, [x21]
Lloh194:
	adrp	x1, l_.str.55@PAGE
Lloh195:
	add	x1, x1, l_.str.55@PAGEOFF
	add	x0, sp, #16
	bl	_sprintf
	add	x0, sp, #16
	bl	_remove
Lloh196:
	adrp	x22, _name@GOTPAGE
Lloh197:
	ldr	x22, [x22, _name@GOTPAGEOFF]
	ldr	x20, [x22]
	ldr	x0, [x19, x23]
	bl	_ExpandArg
	mov	x1, x0
	mov	x0, x20
	bl	_strcpy
	ldr	x19, [x22]
	mov	x0, x19
	bl	_strlen
	add	x8, x19, x0
	sub	x0, x8, #4
Lloh198:
	adrp	x1, l_.str.56@PAGE
Lloh199:
	add	x1, x1, l_.str.56@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_69
; %bb.68:
	ldr	x2, [x21]
Lloh200:
	adrp	x1, l_.str.57@PAGE
Lloh201:
	add	x1, x1, l_.str.57@PAGEOFF
	add	x0, sp, #16
	bl	_sprintf
	add	x0, sp, #16
	bl	_remove
	ldr	x0, [x22]
Lloh202:
	adrp	x1, l_.str.58@PAGE
Lloh203:
	add	x1, x1, l_.str.58@PAGEOFF
	bl	_DefaultExtension
LBB0_69:
Lloh204:
	adrp	x8, _onlyents@GOTPAGE
Lloh205:
	ldr	x8, [x8, _onlyents@GOTPAGEOFF]
Lloh206:
	ldr	x8, [x8]
	cbz	x8, LBB0_73
; %bb.70:
	bl	_OnlyEnts
	b	LBB0_77
LBB0_71:
	mov	x0, x20
	mov	x1, x22
	bl	_VSoundMain
	b	LBB0_77
LBB0_72:
	mov	x0, x20
	mov	x1, x22
	bl	_VisMain
	b	LBB0_77
LBB0_73:
Lloh207:
	adrp	x8, _onlytextures@GOTPAGE
Lloh208:
	ldr	x8, [x8, _onlytextures@GOTPAGEOFF]
Lloh209:
	ldr	x8, [x8]
	cbz	x8, LBB0_75
; %bb.74:
	bl	_OnlyTextures
	b	LBB0_77
LBB0_75:
	bl	_LoadShaderInfo
Lloh210:
	adrp	x20, _tempsource@GOTPAGE
Lloh211:
	ldr	x20, [x20, _tempsource@GOTPAGEOFF]
	ldr	x19, [x20]
	mov	x0, x19
	bl	_strlen
	ldr	x8, [x22]
	cmp	x0, #0
	csel	x0, x19, x8, gt
	bl	_LoadMapFile
	bl	_SetModelNumbers
	bl	_SetLightStyles
	bl	_ProcessModels
	bl	_EndBSPFile
	bl	_I_FloatTime
	fsub	d0, d0, d8
	str	d0, [sp]
Lloh212:
	adrp	x0, l_.str.59@PAGE
Lloh213:
	add	x0, x0, l_.str.59@PAGEOFF
	bl	__printf
	ldr	x19, [x20]
	mov	x0, x19
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_77
; %bb.76:
	mov	x0, x19
	bl	_remove
LBB0_77:
	ldur	x8, [x29, #-112]
Lloh214:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh215:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh216:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_79
; %bb.78:
	mov	w0, #0
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_79:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotStr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotStr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotStr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotStr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotStr	Lloh100, Lloh101, Lloh102
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGotStr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotStr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotStr	Lloh115, Lloh116, Lloh117
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGotStr	Lloh120, Lloh121, Lloh122
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotStr	Lloh125, Lloh126, Lloh127
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpLdrGotStr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotStr	Lloh135, Lloh136, Lloh137
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotStr	Lloh140, Lloh141, Lloh142
	.loh AdrpAdd	Lloh138, Lloh139
	.loh AdrpLdrGotStr	Lloh145, Lloh146, Lloh147
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpLdrGotStr	Lloh150, Lloh151, Lloh152
	.loh AdrpAdd	Lloh148, Lloh149
	.loh AdrpAdd	Lloh156, Lloh157
	.loh AdrpLdrGotStr	Lloh153, Lloh154, Lloh155
	.loh AdrpAdd	Lloh161, Lloh162
	.loh AdrpLdrGotStr	Lloh158, Lloh159, Lloh160
	.loh AdrpAdd	Lloh166, Lloh167
	.loh AdrpLdrGotStr	Lloh163, Lloh164, Lloh165
	.loh AdrpAdd	Lloh171, Lloh172
	.loh AdrpLdrGotStr	Lloh168, Lloh169, Lloh170
	.loh AdrpAdd	Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpAdd	Lloh181, Lloh182
	.loh AdrpLdrGotStr	Lloh178, Lloh179, Lloh180
	.loh AdrpAdd	Lloh186, Lloh187
	.loh AdrpLdrGotStr	Lloh183, Lloh184, Lloh185
	.loh AdrpAdd	Lloh188, Lloh189
	.loh AdrpAdd	Lloh198, Lloh199
	.loh AdrpLdrGot	Lloh196, Lloh197
	.loh AdrpAdd	Lloh194, Lloh195
	.loh AdrpAdd	Lloh192, Lloh193
	.loh AdrpLdrGot	Lloh190, Lloh191
	.loh AdrpAdd	Lloh202, Lloh203
	.loh AdrpAdd	Lloh200, Lloh201
	.loh AdrpLdrGotLdr	Lloh204, Lloh205, Lloh206
	.loh AdrpLdrGotLdr	Lloh207, Lloh208, Lloh209
	.loh AdrpAdd	Lloh212, Lloh213
	.loh AdrpLdrGot	Lloh210, Lloh211
	.loh AdrpLdrGotLdr	Lloh214, Lloh215, Lloh216
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Q3Map v1.0s (c) 1999 Id Software Inc.\n"

l_.str.1:                               ; @.str.1
	.asciz	"usage: q3map [options] mapfile"

l_.str.2:                               ; @.str.2
	.asciz	"-info"

l_.str.3:                               ; @.str.3
	.asciz	"-light"

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

l_.str.5:                               ; @.str.5
	.asciz	"-vsound"

l_.str.6:                               ; @.str.6
	.asciz	"-vis"

l_.str.7:                               ; @.str.7
	.asciz	"---- q3map ----\n"

	.comm	_tempsource,8,3                 ; @tempsource
l_.str.8:                               ; @.str.8
	.asciz	"-tempname"

l_.str.9:                               ; @.str.9
	.asciz	"-threads"

	.comm	_numthreads,8,3                 ; @numthreads
l_.str.10:                              ; @.str.10
	.asciz	"-glview"

	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_glview,8,3                     ; @glview
l_.str.11:                              ; @.str.11
	.asciz	"-v"

l_.str.12:                              ; @.str.12
	.asciz	"verbose = true\n"

	.comm	_verbose,8,3                    ; @verbose
l_.str.13:                              ; @.str.13
	.asciz	"-draw"

l_.str.14:                              ; @.str.14
	.asciz	"drawflag = true\n"

	.comm	_drawflag,8,3                   ; @drawflag
l_.str.15:                              ; @.str.15
	.asciz	"-nowater"

l_.str.16:                              ; @.str.16
	.asciz	"nowater = true\n"

	.comm	_nowater,8,3                    ; @nowater
l_.str.17:                              ; @.str.17
	.asciz	"-noopt"

l_.str.18:                              ; @.str.18
	.asciz	"noopt = true\n"

	.comm	_noopt,8,3                      ; @noopt
l_.str.19:                              ; @.str.19
	.asciz	"-nofill"

l_.str.20:                              ; @.str.20
	.asciz	"nofill = true\n"

	.comm	_nofill,8,3                     ; @nofill
l_.str.21:                              ; @.str.21
	.asciz	"-nodetail"

l_.str.22:                              ; @.str.22
	.asciz	"nodetail = true\n"

	.comm	_nodetail,8,3                   ; @nodetail
l_.str.23:                              ; @.str.23
	.asciz	"-fulldetail"

l_.str.24:                              ; @.str.24
	.asciz	"fulldetail = true\n"

	.comm	_fulldetail,8,3                 ; @fulldetail
l_.str.25:                              ; @.str.25
	.asciz	"-onlyents"

l_.str.26:                              ; @.str.26
	.asciz	"onlyents = true\n"

	.comm	_onlyents,8,3                   ; @onlyents
l_.str.27:                              ; @.str.27
	.asciz	"-onlytextures"

l_.str.28:                              ; @.str.28
	.asciz	"onlytextures = true\n"

	.comm	_onlytextures,8,3               ; @onlytextures
l_.str.29:                              ; @.str.29
	.asciz	"-micro"

	.comm	_microvolume,8,3                ; @microvolume
l_.str.30:                              ; @.str.30
	.asciz	"microvolume = %f\n"

l_.str.31:                              ; @.str.31
	.asciz	"-nofog"

l_.str.32:                              ; @.str.32
	.asciz	"nofog = true\n"

	.comm	_nofog,8,3                      ; @nofog
l_.str.33:                              ; @.str.33
	.asciz	"-nosubdivide"

l_.str.34:                              ; @.str.34
	.asciz	"nosubdivide = true\n"

	.comm	_nosubdivide,8,3                ; @nosubdivide
l_.str.35:                              ; @.str.35
	.asciz	"-leaktest"

l_.str.36:                              ; @.str.36
	.asciz	"leaktest = true\n"

	.comm	_leaktest,8,3                   ; @leaktest
l_.str.37:                              ; @.str.37
	.asciz	"-verboseentities"

l_.str.38:                              ; @.str.38
	.asciz	"verboseentities = true\n"

	.comm	_verboseentities,8,3            ; @verboseentities
l_.str.39:                              ; @.str.39
	.asciz	"-nocurves"

	.comm	_noCurveBrushes,8,3             ; @noCurveBrushes
l_.str.40:                              ; @.str.40
	.asciz	"no curve brushes\n"

l_.str.41:                              ; @.str.41
	.asciz	"-notjunc"

	.comm	_notjunc,8,3                    ; @notjunc
l_.str.42:                              ; @.str.42
	.asciz	"no tjunction fixing\n"

l_.str.43:                              ; @.str.43
	.asciz	"-expand"

	.comm	_testExpand,8,3                 ; @testExpand
l_.str.44:                              ; @.str.44
	.asciz	"Writing expanded.map.\n"

l_.str.45:                              ; @.str.45
	.asciz	"-showseams"

	.comm	_showseams,8,3                  ; @showseams
l_.str.46:                              ; @.str.46
	.asciz	"Showing seams on terrain.\n"

l_.str.47:                              ; @.str.47
	.asciz	"-tmpout"

	.comm	_outbase,8,3                    ; @outbase
l_.str.48:                              ; @.str.48
	.asciz	"/tmp"

l_.str.49:                              ; @.str.49
	.asciz	"-fakemap"

	.comm	_fakemap,8,3                    ; @fakemap
l_.str.50:                              ; @.str.50
	.asciz	"will generate fakemap.map\n"

l_.str.51:                              ; @.str.51
	.asciz	"-samplesize"

	.comm	_samplesize,4,2                 ; @samplesize
l_.str.52:                              ; @.str.52
	.asciz	"lightmap sample size is %dx%d units\n"

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

	.comm	_source,8,3                     ; @source
l_.str.54:                              ; @.str.54
	.asciz	"%s.prt"

l_.str.55:                              ; @.str.55
	.asciz	"%s.lin"

	.comm	_name,8,3                       ; @name
l_.str.56:                              ; @.str.56
	.asciz	".reg"

l_.str.57:                              ; @.str.57
	.asciz	"%s.reg"

l_.str.58:                              ; @.str.58
	.asciz	".map"

l_.str.59:                              ; @.str.59
	.asciz	"%5.0f seconds elapsed\n"

	.comm	_gamedir,4,2                    ; @gamedir
.subsections_via_symbols
