	.file	"extr_exportents.c_ExportEntitiesMain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Usage: q3map -exportents [-v] <mapname>\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	".bsp"
.LC2:
	.string	"Loading %s\n"
	.text
	.p2align 4
	.globl	ExportEntitiesMain
	.type	ExportEntitiesMain, @function
ExportEntitiesMain:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	test	edi, edi
	jle	.L6
	movsx	rdi, edi
	mov	rdi, QWORD PTR -8[rsi+rdi*8]
	call	ExpandArg@PLT
	mov	edi, DWORD PTR source[rip]
	mov	esi, eax
	call	strcpy@PLT
	mov	edi, DWORD PTR source[rip]
	call	StripExtension@PLT
	mov	edi, DWORD PTR source[rip]
	lea	rsi, .LC1[rip]
	call	DefaultExtension@PLT
	mov	esi, DWORD PTR source[rip]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	Sys_Printf@PLT
	mov	edi, DWORD PTR source[rip]
	call	LoadBSPFile@PLT
	xor	eax, eax
	call	ExportEntities@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	Sys_Printf@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ExportEntitiesMain, .-ExportEntitiesMain
	.comm	source,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_exportents.c_ExportEntitiesMain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Usage: q3map -exportents [-v] <mapname>\012\000"
	.align	2
.LC1:
	.ascii	".bsp\000"
	.align	2
.LC2:
	.ascii	"Loading %s\012\000"
	.text
	.align	2
	.global	ExportEntitiesMain
	.syntax unified
	.arm
	.fpu softvfp
	.type	ExportEntitiesMain, %function
ExportEntitiesMain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	push	{r4, r5, r6, lr}
	ble	.L6
	ldr	r4, .L7
	sub	r0, r0, #-1073741823
	ldr	r0, [r1, r0, lsl #2]
	ldr	r5, [r4]
	bl	ExpandArg
	mov	r1, r0
	mov	r0, r5
	bl	strcpy
	ldr	r0, [r4]
	bl	StripExtension
	ldr	r0, [r4]
	ldr	r1, .L7+4
	bl	DefaultExtension
	ldr	r1, [r4]
	ldr	r0, .L7+8
	bl	Sys_Printf
	ldr	r0, [r4]
	bl	LoadBSPFile
	bl	ExportEntities
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r0, .L7+12
	bl	Sys_Printf
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	source
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	ExportEntitiesMain, .-ExportEntitiesMain
	.comm	source,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
