	.file	"150815.c"
	.intel_syntax noprefix
	.text
	.globl	results
	.bss
	.align 32
	.type	results, @object
	.size	results, 10000
results:
	.zero	10000
	.globl	keyword
	.align 32
	.type	keyword, @object
	.size	keyword, 128
keyword:
	.zero	128
	.globl	numberOfFiles
	.align 4
	.type	numberOfFiles, @object
	.size	numberOfFiles, 4
numberOfFiles:
	.zero	4
	.globl	exits
	.align 4
	.type	exits, @object
	.size	exits, 4
exits:
	.zero	4
	.section	.rodata
.LC0:
	.string	"SIGNAL RECIEVED"
	.text
	.globl	sigHandler
	.type	sigHandler, @function
sigHandler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR exits[rip], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sigHandler, .-sigHandler
	.section	.rodata
.LC1:
	.string	"r"
.LC2:
	.string	"<%s> [!]: File not found!"
.LC3:
	.string	" %d"
.LC4:
	.string	"<%s> [%d]: %s"
	.text
	.globl	threadFuncx
	.type	threadFuncx, @function
threadFuncx:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 1352
	.cfi_offset 3, -24
	mov	QWORD PTR -1352[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -1352[rbp]
	lea	rax, -1280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -1336[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -1336[rbp]
	cdqe
	imul	rax, rax, 1000
	lea	rdx, results[rip]
	add	rdx, rax
	lea	rax, -1280[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	je	.L24
	add	DWORD PTR -1336[rbp], 1
.L3:
	mov	eax, DWORD PTR numberOfFiles[rip]
	cmp	DWORD PTR -1336[rbp], eax
	jl	.L6
	jmp	.L5
.L24:
	nop
.L5:
	lea	rax, -1280[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1304[rbp], rax
	cmp	QWORD PTR -1304[rbp], 0
	jne	.L7
	mov	eax, DWORD PTR -1336[rbp]
	cdqe
	imul	rax, rax, 1000
	lea	rdx, results[rip]
	lea	rcx, [rax+rdx]
	lea	rax, -1280[rbp]
	mov	rdx, rax
	lea	rsi, .LC2[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L7:
	mov	DWORD PTR -1332[rbp], 0
	mov	QWORD PTR -1024[rbp], 0
	mov	QWORD PTR -1016[rbp], 0
	lea	rdx, -1008[rbp]
	mov	eax, 0
	mov	ecx, 123
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -1328[rbp], 0
	jmp	.L8
.L22:
	add	DWORD PTR -1332[rbp], 1
	mov	DWORD PTR -1324[rbp], 0
	jmp	.L9
.L11:
	add	DWORD PTR -1324[rbp], 1
.L10:
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	al, 10
	je	.L11
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	test	al, al
	je	.L11
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	al, 9
	je	.L11
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	al, 32
	je	.L11
	mov	eax, DWORD PTR -1324[rbp]
	mov	DWORD PTR -1312[rbp], eax
	add	DWORD PTR -1324[rbp], 1
	jmp	.L12
.L14:
	add	DWORD PTR -1324[rbp], 1
.L12:
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	al, 10
	je	.L13
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	test	al, al
	je	.L13
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	al, 9
	je	.L13
	mov	eax, DWORD PTR -1324[rbp]
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	al, 32
	jne	.L14
.L13:
	mov	eax, DWORD PTR -1324[rbp]
	sub	eax, 1
	mov	DWORD PTR -1308[rbp], eax
	mov	eax, DWORD PTR -1312[rbp]
	movsx	rbx, eax
	lea	rax, -1152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L8
	mov	eax, DWORD PTR -1308[rbp]
	movsx	rbx, eax
	lea	rax, -1152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L8
	lea	rdi, keyword[rip]
	call	strlen@PLT
	mov	edx, DWORD PTR -1308[rbp]
	sub	edx, DWORD PTR -1312[rbp]
	add	edx, 1
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L25
	mov	DWORD PTR -1316[rbp], 1
	mov	DWORD PTR -1320[rbp], 0
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -1320[rbp]
	cdqe
	lea	rdx, keyword[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	ecx, DWORD PTR -1312[rbp]
	mov	eax, DWORD PTR -1320[rbp]
	add	eax, ecx
	cdqe
	movzx	eax, BYTE PTR -1152[rbp+rax]
	cmp	dl, al
	je	.L18
	mov	DWORD PTR -1316[rbp], 0
	jmp	.L19
.L18:
	add	DWORD PTR -1320[rbp], 1
.L17:
	mov	eax, DWORD PTR -1320[rbp]
	movsx	rbx, eax
	lea	rdi, keyword[rip]
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L20
.L19:
	cmp	DWORD PTR -1316[rbp], 1
	jne	.L16
	add	DWORD PTR -1328[rbp], 1
	mov	edx, DWORD PTR -1332[rbp]
	lea	rax, -1290[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -1290[rbp]
	lea	rax, -1024[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	jmp	.L16
.L25:
	nop
.L16:
	add	DWORD PTR -1324[rbp], 1
.L9:
	mov	eax, DWORD PTR -1324[rbp]
	movsx	rbx, eax
	lea	rax, -1152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L10
.L8:
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1152[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	mov	eax, DWORD PTR -1336[rbp]
	cdqe
	imul	rax, rax, 1000
	lea	rdx, results[rip]
	lea	rdi, [rax+rdx]
	lea	rcx, -1024[rbp]
	mov	edx, DWORD PTR -1328[rbp]
	lea	rax, -1280[rbp]
	mov	r8, rcx
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE7:
	.size	threadFuncx, .-threadFuncx
	.section	.rodata
	.align 8
.LC5:
	.string	"Server's queue cannot be created. Error: %s (%d)\n"
.LC6:
	.string	"Error sending reply: %s (%d)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 2968
	.cfi_offset 3, -24
	mov	DWORD PTR -2964[rbp], edi
	mov	QWORD PTR -2976[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, sigHandler[rip]
	mov	edi, 2
	call	signal@PLT
	mov	QWORD PTR -2864[rbp], 2048
	mov	QWORD PTR -2856[rbp], 5
	mov	QWORD PTR -2848[rbp], 1540
	mov	QWORD PTR -2840[rbp], 0
	mov	DWORD PTR -2952[rbp], 438
	mov	rax, QWORD PTR -2976[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -2864[rbp]
	mov	edx, DWORD PTR -2952[rbp]
	mov	esi, 2112
	mov	rdi, rax
	mov	eax, 0
	call	mq_open@PLT
	mov	DWORD PTR -2948[rbp], eax
	cmp	DWORD PTR -2948[rbp], -1
	jne	.L29
	call	__errno_location@PLT
	mov	ebx, DWORD PTR [rax]
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L41
.L40:
	lea	rsi, -1712[rbp]
	mov	eax, DWORD PTR -2948[rbp]
	mov	ecx, 0
	mov	edx, 1540
	mov	edi, eax
	call	mq_receive@PLT
	test	rax, rax
	jle	.L29
	mov	DWORD PTR -2944[rbp], 0
	call	fork@PLT
	mov	DWORD PTR -2944[rbp], eax
	cmp	DWORD PTR -2944[rbp], 0
	jne	.L29
	lea	rax, -1712[rbp]
	sub	rax, -128
	mov	rsi, rax
	lea	rdi, keyword[rip]
	call	strcpy@PLT
	mov	eax, DWORD PTR -1456[rbp]
	mov	DWORD PTR numberOfFiles[rip], eax
	mov	DWORD PTR -2956[rbp], 0
	jmp	.L31
.L32:
	lea	rdx, -1712[rbp]
	mov	eax, DWORD PTR -2956[rbp]
	cdqe
	add	rax, 2
	sal	rax, 7
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -2956[rbp]
	cdqe
	imul	rax, rax, 1000
	lea	rcx, results[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -2956[rbp], 1
.L31:
	mov	eax, DWORD PTR numberOfFiles[rip]
	cmp	DWORD PTR -2956[rbp], eax
	jl	.L32
	lea	rax, -2928[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	DWORD PTR -2956[rbp], 0
	jmp	.L33
.L34:
	lea	rdx, -1712[rbp]
	mov	eax, DWORD PTR -2956[rbp]
	cdqe
	add	rax, 2
	sal	rax, 7
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rsi, -2928[rbp]
	lea	rax, -2936[rbp]
	mov	rcx, rdx
	lea	rdx, threadFuncx[rip]
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rdx, QWORD PTR -2936[rbp]
	mov	eax, DWORD PTR -2956[rbp]
	cdqe
	mov	QWORD PTR -2800[rbp+rax*8], rdx
	add	DWORD PTR -2956[rbp], 1
.L33:
	mov	eax, DWORD PTR numberOfFiles[rip]
	cmp	DWORD PTR -2956[rbp], eax
	jl	.L34
	mov	DWORD PTR -2956[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -2956[rbp]
	cdqe
	mov	rax, QWORD PTR -2800[rbp+rax*8]
	mov	QWORD PTR -2936[rbp], rax
	mov	rax, QWORD PTR -2936[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -2956[rbp], 1
.L35:
	mov	eax, DWORD PTR numberOfFiles[rip]
	cmp	DWORD PTR -2956[rbp], eax
	jl	.L36
	mov	BYTE PTR -2720[rbp], 0
	mov	DWORD PTR -2956[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -2956[rbp]
	cdqe
	imul	rax, rax, 1000
	lea	rdx, results[rip]
	add	rdx, rax
	lea	rax, -2720[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -2720[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -2720[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 10
	add	DWORD PTR -2956[rbp], 1
.L37:
	mov	eax, DWORD PTR numberOfFiles[rip]
	cmp	DWORD PTR -2956[rbp], eax
	jl	.L38
	lea	rdx, -1712[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -160[rbp]
	mov	esi, 2049
	mov	rdi, rax
	mov	eax, 0
	call	mq_open@PLT
	mov	DWORD PTR -2940[rbp], eax
	lea	rsi, -2720[rbp]
	mov	eax, DWORD PTR -2940[rbp]
	mov	ecx, 0
	mov	edx, 1000
	mov	edi, eax
	call	mq_send@PLT
	cmp	eax, -1
	jne	.L39
	call	__errno_location@PLT
	mov	ebx, DWORD PTR [rax]
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L39:
	mov	eax, DWORD PTR -2940[rbp]
	mov	edi, eax
	call	mq_close@PLT
	mov	edi, 0
	call	exit@PLT
.L29:
	mov	eax, DWORD PTR exits[rip]
	cmp	eax, 1
	jne	.L40
	mov	eax, DWORD PTR -2948[rbp]
	mov	edi, eax
	call	mq_close@PLT
	mov	rax, QWORD PTR -2976[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	mq_unlink@PLT
	mov	eax, 0
.L41:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"150815.c"
	.text
	.comm	results,10000,4
	.comm	keyword,128,4
	.comm	numberOfFiles,4,4
	.global	exits
	.bss
	.align	2
	.type	exits, %object
	.size	exits, 4
exits:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"SIGNAL RECIEVED\000"
	.text
	.align	2
	.global	sigHandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigHandler, %function
sigHandler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L2
	bl	puts
	ldr	r3, .L2+4
	mov	r2, #1
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	exits
	.size	sigHandler, .-sigHandler
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"<%s> [!]: File not found!\000"
	.align	2
.LC3:
	.ascii	" %d\000"
	.align	2
.LC4:
	.ascii	"<%s> [%d]: %s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	threadFuncx
	.syntax unified
	.arm
	.fpu softvfp
	.type	threadFuncx, %function
threadFuncx:
	@ args = 0, pretend = 0, frame = 1320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1328
	str	r0, [fp, #-1320]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, [fp, #-1320]
	mov	r0, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-1312]
	b	.L5
.L8:
	ldr	r2, [fp, #-1312]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L28+4
	add	r2, r3, r2
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-1312]
	add	r3, r3, #1
	str	r3, [fp, #-1312]
.L5:
	ldr	r3, .L28+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1312]
	cmp	r2, r3
	blt	.L8
	b	.L7
.L26:
	nop
.L7:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L28+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1288]
	ldr	r3, [fp, #-1288]
	cmp	r3, #0
	bne	.L9
	ldr	r2, [fp, #-1312]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L28+4
	add	r0, r3, r2
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L28+16
	bl	sprintf
	mov	r0, #0
	bl	pthread_exit
.L9:
	mov	r3, #0
	str	r3, [fp, #-1308]
	mov	r3, #0
	str	r3, [fp, #-1008]
	sub	r3, fp, #1004
	mov	r2, #996
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1304]
	b	.L10
.L24:
	ldr	r3, [fp, #-1308]
	add	r3, r3, #1
	str	r3, [fp, #-1308]
	mov	r3, #0
	str	r3, [fp, #-1300]
	b	.L11
.L13:
	ldr	r3, [fp, #-1300]
	add	r3, r3, #1
	str	r3, [fp, #-1300]
.L12:
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L13
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L13
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L13
	ldr	r3, [fp, #-1300]
	str	r3, [fp, #-1284]
	ldr	r3, [fp, #-1300]
	add	r3, r3, #1
	str	r3, [fp, #-1300]
	b	.L14
.L16:
	ldr	r3, [fp, #-1300]
	add	r3, r3, #1
	str	r3, [fp, #-1300]
.L14:
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L15
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L15
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L16
.L15:
	ldr	r3, [fp, #-1300]
	sub	r3, r3, #1
	str	r3, [fp, #-1280]
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1284]
	cmp	r2, r3
	bls	.L10
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1280]
	cmp	r2, r3
	bls	.L10
	ldr	r0, .L28+20
	bl	strlen
	mov	r1, r0
	ldr	r2, [fp, #-1280]
	ldr	r3, [fp, #-1284]
	sub	r3, r2, r3
	add	r3, r3, #1
	cmp	r1, r3
	bne	.L27
	mov	r3, #1
	str	r3, [fp, #-1292]
	mov	r3, #0
	str	r3, [fp, #-1296]
	b	.L19
.L22:
	ldr	r2, .L28+20
	ldr	r3, [fp, #-1296]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-1284]
	ldr	r3, [fp, #-1296]
	add	r3, r1, r3
	sub	r1, fp, #4
	add	r3, r1, r3
	ldrb	r3, [r3, #-1132]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L20
	mov	r3, #0
	str	r3, [fp, #-1292]
	b	.L21
.L20:
	ldr	r3, [fp, #-1296]
	add	r3, r3, #1
	str	r3, [fp, #-1296]
.L19:
	ldr	r0, .L28+20
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1296]
	cmp	r2, r3
	bhi	.L22
.L21:
	ldr	r3, [fp, #-1292]
	cmp	r3, #1
	bne	.L18
	ldr	r3, [fp, #-1304]
	add	r3, r3, #1
	str	r3, [fp, #-1304]
	sub	r3, fp, #1264
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1308]
	ldr	r1, .L28+24
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1264
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1008
	mov	r1, r3
	mov	r0, r2
	bl	strcat
	b	.L18
.L27:
	nop
.L18:
	ldr	r3, [fp, #-1300]
	add	r3, r3, #1
	str	r3, [fp, #-1300]
.L11:
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1300]
	cmp	r2, r3
	bhi	.L12
.L10:
	sub	r3, fp, #1120
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1288]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r2, [fp, #-1312]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L28+4
	add	r0, r3, r2
	sub	r2, fp, #1248
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1008
	str	r3, [sp]
	ldr	r3, [fp, #-1304]
	ldr	r1, .L28+28
	bl	sprintf
	mov	r0, #0
	bl	pthread_exit
.L29:
	.align	2
.L28:
	.word	.LC5
	.word	results
	.word	numberOfFiles
	.word	.LC1
	.word	.LC2
	.word	keyword
	.word	.LC3
	.word	.LC4
	.size	threadFuncx, .-threadFuncx
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Server's queue cannot be created. Error: %s (%d)\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"\012\000"
	.align	2
.LC8:
	.ascii	"Error sending reply: %s (%d)\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2816
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2816
	sub	sp, sp, #4
	str	r0, [fp, #-2824]
	str	r1, [fp, #-2828]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L47+4
	mov	r0, #2
	bl	signal
	mov	r3, #2048
	str	r3, [fp, #-2792]
	mov	r3, #5
	str	r3, [fp, #-2788]
	ldr	r3, .L47+8
	str	r3, [fp, #-2784]
	mov	r3, #0
	str	r3, [fp, #-2780]
	ldr	r3, .L47+12
	str	r3, [fp, #-2808]
	ldr	r3, [fp, #-2828]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #2768
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, [fp, #-2808]
	mov	r1, #2112
	bl	mq_open
	str	r0, [fp, #-2804]
	ldr	r3, [fp, #-2804]
	cmn	r3, #1
	bne	.L33
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r4, r0
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L47+16
	bl	printf
	mov	r3, #1
	b	.L45
.L44:
	sub	r1, fp, #1664
	sub	r1, r1, #12
	sub	r1, r1, #8
	mov	r3, #0
	ldr	r2, .L47+8
	ldr	r0, [fp, #-2804]
	bl	mq_receive
	mov	r3, r0
	cmp	r3, #0
	ble	.L33
	mov	r3, #0
	str	r3, [fp, #-2800]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-2800]
	ldr	r3, [fp, #-2800]
	cmp	r3, #0
	bne	.L33
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r3, r3, #128
	mov	r1, r3
	ldr	r0, .L47+20
	bl	strcpy
	ldr	r3, [fp, #-1428]
	ldr	r2, .L47+24
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-2812]
	b	.L35
.L36:
	ldr	r2, [fp, #-2812]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L47+28
	add	r0, r3, r2
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-2812]
	add	r2, r2, #2
	lsl	r2, r2, #7
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-2812]
	add	r3, r3, #1
	str	r3, [fp, #-2812]
.L35:
	ldr	r3, .L47+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-2812]
	cmp	r2, r3
	blt	.L36
	sub	r3, fp, #2736
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	pthread_attr_init
	mov	r3, #0
	str	r3, [fp, #-2812]
	b	.L37
.L38:
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-2812]
	add	r2, r2, #2
	lsl	r2, r2, #7
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r1, fp, #2736
	sub	r1, r1, #12
	sub	r1, r1, #12
	sub	r0, fp, #2800
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L47+32
	bl	pthread_create
	ldr	r2, [fp, #-2816]
	ldr	r3, [fp, #-2812]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-2712]
	ldr	r3, [fp, #-2812]
	add	r3, r3, #1
	str	r3, [fp, #-2812]
.L37:
	ldr	r3, .L47+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-2812]
	cmp	r2, r3
	blt	.L38
	mov	r3, #0
	str	r3, [fp, #-2812]
	b	.L39
.L40:
	ldr	r3, [fp, #-2812]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-2712]
	str	r3, [fp, #-2816]
	ldr	r3, [fp, #-2816]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-2812]
	add	r3, r3, #1
	str	r3, [fp, #-2812]
.L39:
	ldr	r3, .L47+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-2812]
	cmp	r2, r3
	blt	.L40
	mov	r3, #0
	strb	r3, [fp, #-2684]
	mov	r3, #0
	str	r3, [fp, #-2812]
	b	.L41
.L42:
	ldr	r2, [fp, #-2812]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L47+28
	add	r2, r3, r2
	sub	r3, fp, #2672
	sub	r3, r3, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #2672
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #2672
	sub	r3, r3, #12
	add	r3, r3, r2
	ldr	r2, .L47+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-2812]
	add	r3, r3, #1
	str	r3, [fp, #-2812]
.L41:
	ldr	r3, .L47+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-2812]
	cmp	r2, r3
	blt	.L42
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #144
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	sub	r3, fp, #144
	ldr	r1, .L47+40
	mov	r0, r3
	bl	mq_open
	str	r0, [fp, #-2796]
	sub	r1, fp, #2672
	sub	r1, r1, #12
	mov	r3, #0
	mov	r2, #1000
	ldr	r0, [fp, #-2796]
	bl	mq_send
	mov	r3, r0
	cmn	r3, #1
	bne	.L43
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r4, r0
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L47+44
	bl	printf
.L43:
	ldr	r0, [fp, #-2796]
	bl	mq_close
	mov	r0, #0
	bl	exit
.L33:
	ldr	r3, .L47+48
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L44
	ldr	r0, [fp, #-2804]
	bl	mq_close
	ldr	r3, [fp, #-2828]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	mq_unlink
	mov	r3, #0
.L45:
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC9
	.word	sigHandler
	.word	1540
	.word	438
	.word	.LC6
	.word	keyword
	.word	numberOfFiles
	.word	results
	.word	threadFuncx
	.word	.LC7
	.word	2049
	.word	.LC8
	.word	exits
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
