	.file	"extr_unix_main.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	geteuid@PLT
	mov	DWORD PTR saved_euid[rip], eax
	xor	eax, eax
	call	getuid@PLT
	mov	edi, eax
	call	seteuid@PLT
	mov	edi, ebp
	mov	rsi, rbx
	call	Sys_ParseArgs@PLT
	mov	rdi, QWORD PTR [rbx]
	call	Sys_SetDefaultCDPath@PLT
	cmp	ebp, 1
	jle	.L2
	lea	r12d, -2[rbp]
	lea	r13, 8[rbx]
	mov	ebp, 1
	lea	r14, 16[rbx+r12*8]
.L3:
	mov	rdi, QWORD PTR 0[r13]
	add	r13, 8
	call	strlen@PLT
	lea	ebp, 1[rbp+rax]
	cmp	r14, r13
	jne	.L3
	mov	edi, ebp
	lea	r14, 2[r12]
	lea	r13, .LC0[rip]
	mov	r12d, 1
	call	malloc@PLT
	mov	BYTE PTR [rax], 0
	mov	rbp, rax
.L6:
	cmp	r12, 1
	je	.L5
	mov	rsi, r13
	mov	rdi, rbp
	call	strcat@PLT
.L5:
	mov	rsi, QWORD PTR [rbx+r12*8]
	mov	rdi, rbp
	add	r12, 1
	call	strcat@PLT
	cmp	r14, r12
	jne	.L6
.L8:
	mov	eax, DWORD PTR MAX_QUED_EVENTS[rip]
	mov	rdi, QWORD PTR eventQue[rip]
	xor	esi, esi
	lea	edx, 0[0+rax*4]
	call	memset@PLT
	mov	eax, DWORD PTR MAX_MSGLEN[rip]
	mov	rdi, QWORD PTR sys_packetReceived[rip]
	xor	esi, esi
	lea	edx, 0[0+rax*4]
	call	memset@PLT
	mov	rdi, rbp
	call	Com_Init@PLT
	xor	eax, eax
	call	NET_Init@PLT
	xor	eax, eax
	call	Sys_ConsoleInputInit@PLT
	mov	esi, DWORD PTR F_GETFL[rip]
	xor	edx, edx
	xor	edi, edi
	call	fcntl@PLT
	mov	esi, DWORD PTR F_SETFL[rip]
	or	eax, DWORD PTR FNDELAY[rip]
	xor	edi, edi
	mov	edx, eax
	call	fcntl@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	call	Sys_ConfigureFPU@PLT
	xor	eax, eax
	call	Com_Frame@PLT
	jmp	.L7
.L2:
	mov	edi, 1
	call	malloc@PLT
	mov	BYTE PTR [rax], 0
	mov	rbp, rax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	sys_packetReceived,8,8
	.comm	saved_euid,4,4
	.comm	eventQue,8,8
	.comm	MAX_QUED_EVENTS,4,4
	.comm	MAX_MSGLEN,4,4
	.comm	F_SETFL,4,4
	.comm	F_GETFL,4,4
	.comm	FNDELAY,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_unix_main.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" \000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	bl	geteuid
	ldr	r3, .L13
	str	r0, [r3]
	bl	getuid
	bl	seteuid
	mov	r1, r5
	mov	r0, r6
	bl	Sys_ParseArgs
	ldr	r0, [r5]
	bl	Sys_SetDefaultCDPath
	cmp	r6, #1
	ble	.L2
	mov	r4, #1
	mov	r8, r5
	sub	r7, r5, #4
	add	r7, r7, r6, lsl #2
.L3:
	ldr	r0, [r8, #4]!
	bl	strlen
	cmp	r8, r7
	add	r3, r0, #1
	add	r4, r4, r3
	bne	.L3
	mov	r0, r4
	bl	malloc
	mov	r3, #0
	mov	r4, r0
	mov	r7, #1
	ldr	r8, .L13+4
	strb	r3, [r0]
	b	.L8
.L5:
	mov	r0, r4
	bl	strlen
	mov	r2, #2
	mov	r1, r8
	add	r0, r4, r0
	bl	memcpy
.L8:
	mov	r0, r4
	ldr	r1, [r5, #4]!
	add	r7, r7, #1
	bl	strcat
	cmp	r6, r7
	bne	.L5
.L7:
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	ldr	r2, [r2]
	mov	r1, #0
	ldr	r0, [r3]
	lsl	r2, r2, #2
	bl	memset
	ldr	r2, .L13+16
	ldr	r3, .L13+20
	ldr	r2, [r2]
	mov	r1, #0
	ldr	r0, [r3]
	lsl	r2, r2, #2
	bl	memset
	mov	r0, r4
	bl	Com_Init
	bl	NET_Init
	bl	Sys_ConsoleInputInit
	mov	r2, #0
	ldr	r1, .L13+24
	ldr	r3, .L13+28
	mov	r0, r2
	ldr	r1, [r1]
	ldr	r4, [r3]
	bl	fcntl
	mov	r2, r0
	ldr	r3, .L13+32
	mov	r1, r4
	ldr	r3, [r3]
	mov	r0, #0
	orr	r2, r2, r3
	bl	fcntl
.L6:
	bl	Sys_ConfigureFPU
	bl	Com_Frame
	b	.L6
.L2:
	mov	r0, #1
	bl	malloc
	mov	r3, #0
	mov	r4, r0
	strb	r3, [r0]
	b	.L7
.L14:
	.align	2
.L13:
	.word	saved_euid
	.word	.LC0
	.word	MAX_QUED_EVENTS
	.word	eventQue
	.word	MAX_MSGLEN
	.word	sys_packetReceived
	.word	F_GETFL
	.word	F_SETFL
	.word	FNDELAY
	.size	main, .-main
	.comm	sys_packetReceived,4,4
	.comm	saved_euid,4,4
	.comm	eventQue,4,4
	.comm	MAX_QUED_EVENTS,4,4
	.comm	MAX_MSGLEN,4,4
	.comm	F_SETFL,4,4
	.comm	F_GETFL,4,4
	.comm	FNDELAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
