	.file	"22735.c"
	.intel_syntax noprefix
	.text
	.globl	int_handler
	.type	int_handler, @function
int_handler:
.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
	cmp	DWORD PTR -4[rbp], 2
	jne	.L3
	mov	edi, 0
	call	exit@PLT
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	int_handler, .-int_handler
	.globl	name
	.bss
	.align 4
	.type	name, @object
	.size	name, 4
name:
	.zero	4
	.globl	client
	.align 4
	.type	client, @object
	.size	client, 4
client:
	.zero	4
	.globl	server
	.align 4
	.type	server, @object
	.size	server, 4
server:
	.zero	4
	.globl	client_id
	.data
	.align 4
	.type	client_id, @object
	.size	client_id, 4
client_id:
	.long	-1
	.text
	.globl	reset_msg
	.type	reset_msg, @function
reset_msg:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 20[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	reset_msg, .-reset_msg
	.section	.rodata
	.align 8
.LC0:
	.string	"%s: type - %ld Queue - %d Id - %d Number - %d Result - %d\n"
	.text
	.globl	print_message
	.type	print_message, @function
print_message:
.LFB8:
	.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	QWORD PTR -8[rbp], rdi
	mov	edi, DWORD PTR 36[rbp]
	mov	esi, DWORD PTR 32[rbp]
	mov	r9d, DWORD PTR 28[rbp]
	mov	r8d, DWORD PTR 24[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_message, .-print_message
	.globl	to_name
	.type	to_name, @function
to_name:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	esi, 1
	mov	edi, 6
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 47
	mov	DWORD PTR -12[rbp], 1
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -2139062143
	shr	rdx, 32
	add	edx, eax
	sar	edx, 7
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	sal	edx, 8
	sub	edx, ecx
	sub	eax, edx
	mov	ecx, eax
	mov	eax, ecx
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L7:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L8
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	to_name, .-to_name
	.globl	is_prime
	.type	is_prime, @function
is_prime:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 1
	ja	.L11
	mov	eax, 0
	jmp	.L12
.L11:
	cmp	DWORD PTR -20[rbp], 3
	ja	.L13
	mov	eax, 1
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L14
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, ecx
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	shr	eax
	mov	edx, eax
	add	edx, edx
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	test	eax, eax
	jne	.L15
.L14:
	mov	eax, 0
	jmp	.L12
.L15:
	cmp	DWORD PTR -20[rbp], 24
	ja	.L16
	mov	eax, 1
	jmp	.L12
.L16:
	mov	DWORD PTR -8[rbp], 5
	mov	eax, DWORD PTR -20[rbp]
	shr	eax
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 5
	jmp	.L17
.L19:
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	div	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L18
	mov	eax, 1
	jmp	.L12
.L18:
	add	DWORD PTR -8[rbp], 2
.L17:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L19
	mov	eax, 0
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	is_prime, .-is_prime
	.section	.rodata
.LC1:
	.string	"Line %d\n"
.LC2:
	.string	"Can't send ready message\n"
.LC3:
	.string	"Can't read number messeage\n"
.LC4:
	.string	"Can't send result message\n"
	.text
	.globl	count
	.type	count, @function
count:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	DWORD PTR -180[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -168[rbp], 24
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	reset_msg
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	reset_msg
	mov	QWORD PTR -160[rbp], 3
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -148[rbp], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR server[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, -96[rbp]
	mov	ecx, 3
	mov	edi, eax
	call	mq_send@PLT
	cmp	eax, -1
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 112
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC2[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
.L21:
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	reset_msg
	mov	eax, DWORD PTR client[rip]
	lea	rsi, -64[rbp]
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	mq_receive@PLT
	cmp	rax, -1
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 117
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC3[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
.L22:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	reset_msg
	mov	QWORD PTR -160[rbp], 5
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -144[rbp], eax
	mov	DWORD PTR -140[rbp], 0
	mov	eax, DWORD PTR -112[rbp]
	mov	edi, eax
	call	is_prime
	mov	DWORD PTR -140[rbp], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR server[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, -32[rbp]
	mov	ecx, 5
	mov	edi, eax
	call	mq_send@PLT
	cmp	eax, -1
	jne	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 128
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC4[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
.L23:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	reset_msg
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	reset_msg
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	count, .-count
	.section	.rodata
.LC5:
	.string	"Closing client's queue\n"
	.align 8
.LC6:
	.string	"Can't send close queue signal\n"
.LC7:
	.string	"Can't unlink POSIX queue\n"
	.text
	.globl	close_queue
	.type	close_queue, @function
close_queue:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR client[rip]
	mov	edi, eax
	call	mq_close@PLT
	cmp	eax, -1
	jne	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 134
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	QWORD PTR -64[rbp], 6
	mov	eax, DWORD PTR client_id[rip]
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR server[rip]
	lea	rsi, -32[rbp]
	mov	ecx, 6
	mov	edx, 25
	mov	edi, eax
	call	mq_send@PLT
	cmp	eax, -1
	jne	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 140
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	eax, DWORD PTR name[rip]
	mov	edi, eax
	call	to_name
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mq_unlink@PLT
	cmp	eax, -1
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 142
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -72[rbp], 0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	close_queue, .-close_queue
	.section	.rodata
.LC8:
	.string	"Wrong number of arguments\n"
	.align 8
.LC9:
	.string	"Can't open server's POSIX queue\n"
	.align 8
.LC10:
	.string	"Can't open client's POSIX queue\n"
.LC11:
	.string	"Can't set attributes\n"
.LC12:
	.string	"Can't set closing command\n"
.LC13:
	.string	"Can't set signal handling\n"
.LC14:
	.string	"Can't send queue id\n"
.LC15:
	.string	"Can't get client's id\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -228[rbp], 2
	je	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 149
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 10
	mov	QWORD PTR -112[rbp], 25
	mov	QWORD PTR -104[rbp], 0
	mov	rax, QWORD PTR -240[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 47
	mov	rax, QWORD PTR -240[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	ecx, 0
	mov	edx, 438
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mq_open@PLT
	mov	DWORD PTR server[rip], eax
	mov	eax, DWORD PTR server[rip]
	cmp	eax, -1
	jne	.L32
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 156
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	add	eax, 1
	mov	DWORD PTR name[rip], eax
	mov	eax, DWORD PTR name[rip]
	mov	edi, eax
	call	to_name
	mov	QWORD PTR -208[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	mov	ecx, 0
	mov	edx, 438
	mov	esi, 66
	mov	rdi, rax
	mov	eax, 0
	call	mq_open@PLT
	mov	DWORD PTR client[rip], eax
	mov	eax, DWORD PTR client[rip]
	cmp	eax, -1
	jne	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 160
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	eax, DWORD PTR client[rip]
	lea	rcx, -128[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	mq_setattr@PLT
	cmp	eax, -1
	jne	.L34
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 161
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC11[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
.L34:
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -208[rbp], 0
	lea	rdi, close_queue[rip]
	call	atexit@PLT
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 165
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	lea	rsi, int_handler[rip]
	mov	edi, 2
	call	signal@PLT
	cmp	rax, -1
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 166
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC13[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
.L36:
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	reset_msg
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	reset_msg
	mov	QWORD PTR -192[rbp], 1
	mov	QWORD PTR -200[rbp], 24
	mov	eax, DWORD PTR name[rip]
	mov	DWORD PTR -184[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR server[rip]
	mov	rdx, QWORD PTR -200[rbp]
	lea	rsi, -64[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	mq_send@PLT
	cmp	eax, -1
	jne	.L37
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 176
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC14[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	eax, DWORD PTR client[rip]
	lea	rsi, -32[rbp]
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	mq_receive@PLT
	cmp	rax, -1
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 178
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -216[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	mov	DWORD PTR client_id[rip], eax
	mov	DWORD PTR -212[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -216[rbp]
	mov	edi, eax
	call	count
.L39:
	cmp	DWORD PTR -212[rbp], 0
	je	.L40
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"22735.c"
	.text
	.align	2
	.global	int_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	int_handler, %function
int_handler:
	@ 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	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L3
	mov	r0, #0
	bl	exit
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	int_handler, .-int_handler
	.comm	name,4,4
	.global	client
	.bss
	.align	2
	.type	client, %object
	.size	client, 4
client:
	.space	4
	.global	server
	.align	2
	.type	server, %object
	.size	server, 4
server:
	.space	4
	.global	client_id
	.data
	.align	2
	.type	client_id, %object
	.size	client_id, 4
client_id:
	.word	-1
	.text
	.align	2
	.global	reset_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_msg, %function
reset_msg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	mov	r2, #0
	strb	r2, [r3, #1]
	mov	r2, #0
	strb	r2, [r3, #2]
	mov	r2, #0
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	strb	r2, [r3, #4]
	mvn	r2, #0
	strb	r2, [r3, #5]
	mvn	r2, #0
	strb	r2, [r3, #6]
	mvn	r2, #0
	strb	r2, [r3, #7]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	strb	r2, [r3, #8]
	mvn	r2, #0
	strb	r2, [r3, #9]
	mvn	r2, #0
	strb	r2, [r3, #10]
	mvn	r2, #0
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #12]
	mov	r2, #0
	strb	r2, [r3, #13]
	mov	r2, #0
	strb	r2, [r3, #14]
	mov	r2, #0
	strb	r2, [r3, #15]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #16]
	mov	r2, #0
	strb	r2, [r3, #17]
	mov	r2, #0
	strb	r2, [r3, #18]
	mov	r2, #0
	strb	r2, [r3, #19]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	reset_msg, .-reset_msg
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: type - %ld Queue - %d Id - %d Number - %d Resul"
	.ascii	"t - %d\012\000"
	.text
	.align	2
	.global	print_message
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_message, %function
print_message:
	@ args = 24, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L6
	ldr	ip, [r3]
	ldr	lr, [fp, #8]
	ldr	r3, [fp, #12]
	ldr	r2, [fp, #16]
	ldr	r1, [fp, #20]
	ldr	r0, [fp, #24]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	ldr	r2, [fp, #-8]
	ldr	r1, .L6+4
	mov	r0, ip
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L7:
	.align	2
.L6:
	.word	stderr
	.word	.LC0
	.size	print_message, .-print_message
	.align	2
	.global	to_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	to_name, %function
to_name:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r1, #1
	mov	r0, #6
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #47
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L9
.L10:
	ldr	r2, [fp, #-16]
	ldr	r3, .L12
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #7
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	sub	r1, r2, r3
	and	r2, r1, #255
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L10
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	-2139062143
	.size	to_name, .-to_name
	.global	__aeabi_uidivmod
	.align	2
	.global	is_prime
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_prime, %function
is_prime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bhi	.L15
	mov	r3, #0
	b	.L16
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bhi	.L17
	mov	r3, #1
	b	.L16
.L17:
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L18
	ldr	r1, [fp, #-16]
	ldr	r3, .L24
	umull	r2, r3, r1, r3
	lsr	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L19
.L18:
	mov	r3, #0
	b	.L16
.L19:
	ldr	r3, [fp, #-16]
	cmp	r3, #24
	bhi	.L20
	mov	r3, #1
	b	.L16
.L20:
	mov	r3, #5
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #5
	str	r3, [fp, #-12]
	b	.L21
.L23:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L22
	mov	r3, #1
	b	.L16
.L22:
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
.L21:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L23
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	-1431655765
	.size	is_prime, .-is_prime
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Line %d\012\000"
	.align	2
.LC2:
	.ascii	"Can't send ready message\012\000"
	.align	2
.LC3:
	.ascii	"Can't read number messeage\012\000"
	.align	2
.LC4:
	.ascii	"Can't send result message\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	count
	.syntax unified
	.arm
	.fpu softvfp
	.type	count, %function
count:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #20
	str	r3, [fp, #-112]
	sub	r3, fp, #108
	mov	r0, r3
	bl	reset_msg
	sub	r3, fp, #88
	mov	r0, r3
	bl	reset_msg
	mov	r3, #3
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-100]
	sub	ip, fp, #68
	sub	lr, fp, #108
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L31+4
	ldr	r0, [r3]
	sub	r1, fp, #68
	mov	r3, #3
	ldr	r2, [fp, #-112]
	bl	mq_send
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	ldr	r3, .L31+8
	ldr	r3, [r3]
	mov	r2, #112
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L31+16
	bl	perror
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
.L27:
	sub	r3, fp, #108
	mov	r0, r3
	bl	reset_msg
	ldr	r3, .L31+20
	ldr	r0, [r3]
	sub	r1, fp, #48
	mov	r3, #0
	mov	r2, #8192
	bl	mq_receive
	mov	r3, r0
	cmn	r3, #1
	bne	.L28
	ldr	r3, .L31+8
	ldr	r3, [r3]
	mov	r2, #117
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L31+24
	bl	perror
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
.L28:
	sub	ip, fp, #88
	sub	lr, fp, #48
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r3, fp, #108
	mov	r0, r3
	bl	reset_msg
	mov	r3, #5
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-76]
	mov	r0, r3
	bl	is_prime
	mov	r3, r0
	str	r3, [fp, #-92]
	sub	ip, fp, #28
	sub	lr, fp, #108
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L31+4
	ldr	r0, [r3]
	sub	r1, fp, #28
	mov	r3, #5
	ldr	r2, [fp, #-112]
	bl	mq_send
	mov	r3, r0
	cmn	r3, #1
	bne	.L29
	ldr	r3, .L31+8
	ldr	r3, [r3]
	mov	r2, #128
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L31+28
	bl	perror
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
.L29:
	sub	r3, fp, #88
	mov	r0, r3
	bl	reset_msg
	sub	r3, fp, #108
	mov	r0, r3
	bl	reset_msg
	nop
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC5
	.word	server
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	client
	.word	.LC3
	.word	.LC4
	.size	count, .-count
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Closing client's queue\012\000"
	.align	2
.LC7:
	.ascii	"Can't send close queue signal\012\000"
	.align	2
.LC8:
	.ascii	"Can't unlink POSIX queue\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	close_queue
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_queue, %function
close_queue:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L38+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	mq_close
	mov	r3, r0
	cmn	r3, #1
	bne	.L34
	ldr	r3, .L38+8
	ldr	r3, [r3]
	mov	r2, #134
	ldr	r1, .L38+12
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L38+16
	bl	perror
	mov	r0, #1
	bl	exit
.L34:
	mov	r3, #6
	str	r3, [fp, #-48]
	ldr	r3, .L38+20
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	sub	ip, fp, #28
	sub	lr, fp, #48
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L38+24
	ldr	r0, [r3]
	sub	r1, fp, #28
	mov	r3, #6
	mov	r2, #25
	bl	mq_send
	mov	r3, r0
	cmn	r3, #1
	bne	.L35
	ldr	r3, .L38+8
	ldr	r3, [r3]
	mov	r2, #140
	ldr	r1, .L38+12
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L38+28
	bl	perror
	mov	r0, #1
	bl	exit
.L35:
	ldr	r3, .L38+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	to_name
	str	r0, [fp, #-52]
	ldr	r0, [fp, #-52]
	bl	mq_unlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L36
	ldr	r3, .L38+8
	ldr	r3, [r3]
	mov	r2, #142
	ldr	r1, .L38+12
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L38+36
	bl	perror
	mov	r0, #1
	bl	exit
.L36:
	ldr	r0, [fp, #-52]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-52]
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC9
	.word	client
	.word	stderr
	.word	.LC1
	.word	.LC6
	.word	client_id
	.word	server
	.word	.LC7
	.word	name
	.word	.LC8
	.size	close_queue, .-close_queue
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Wrong number of arguments\012\000"
	.align	2
.LC11:
	.ascii	"Can't open server's POSIX queue\012\000"
	.align	2
.LC12:
	.ascii	"Can't open client's POSIX queue\012\000"
	.align	2
.LC13:
	.ascii	"Can't set attributes\012\000"
	.align	2
.LC14:
	.ascii	"Can't set closing command\012\000"
	.align	2
.LC15:
	.ascii	"Can't set signal handling\012\000"
	.align	2
.LC16:
	.ascii	"Can't send queue id\012\000"
	.align	2
.LC17:
	.ascii	"Can't get client's id\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-144]
	cmp	r3, #2
	beq	.L41
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #149
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+12
	bl	perror
	mov	r0, #1
	bl	exit
.L41:
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #10
	str	r3, [fp, #-76]
	mov	r3, #25
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-148]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #47
	strb	r2, [r3]
	ldr	r3, [fp, #-148]
	add	r3, r3, #4
	ldr	r0, [r3]
	mov	r3, #0
	ldr	r2, .L53+16
	mov	r1, #1
	bl	mq_open
	mov	r3, r0
	ldr	r2, .L53+20
	str	r3, [r2]
	ldr	r3, .L53+20
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L42
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #156
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+24
	bl	perror
	mov	r0, #1
	bl	exit
.L42:
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, .L53+28
	str	r3, [r2]
	ldr	r3, .L53+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	to_name
	str	r0, [fp, #-136]
	mov	r3, #0
	ldr	r2, .L53+16
	mov	r1, #66
	ldr	r0, [fp, #-136]
	bl	mq_open
	mov	r3, r0
	ldr	r2, .L53+32
	str	r3, [r2]
	ldr	r3, .L53+32
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L43
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #160
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+36
	bl	perror
	mov	r0, #1
	bl	exit
.L43:
	ldr	r3, .L53+32
	ldr	r3, [r3]
	sub	r1, fp, #80
	mov	r2, #0
	mov	r0, r3
	bl	mq_setattr
	mov	r3, r0
	cmn	r3, #1
	bne	.L44
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #161
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+40
	bl	perror
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
.L44:
	ldr	r0, [fp, #-136]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-136]
	ldr	r0, .L53+44
	bl	atexit
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #165
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+48
	bl	perror
	mov	r0, #1
	bl	exit
.L45:
	ldr	r1, .L53+52
	mov	r0, #2
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L46
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #166
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+56
	bl	perror
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
.L46:
	sub	r3, fp, #120
	mov	r0, r3
	bl	reset_msg
	sub	r3, fp, #100
	mov	r0, r3
	bl	reset_msg
	mov	r3, #1
	str	r3, [fp, #-120]
	mov	r3, #20
	str	r3, [fp, #-132]
	ldr	r3, .L53+28
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	sub	ip, fp, #48
	sub	lr, fp, #120
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L53+20
	ldr	r0, [r3]
	sub	r1, fp, #48
	mov	r3, #0
	ldr	r2, [fp, #-132]
	bl	mq_send
	mov	r3, r0
	cmn	r3, #1
	bne	.L47
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #176
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+60
	bl	perror
	mov	r0, #1
	bl	exit
.L47:
	ldr	r3, .L53+32
	ldr	r0, [r3]
	sub	r1, fp, #28
	mov	r3, #0
	mov	r2, #8192
	bl	mq_receive
	mov	r3, r0
	cmn	r3, #1
	bne	.L48
	ldr	r3, .L53+4
	ldr	r3, [r3]
	mov	r2, #178
	ldr	r1, .L53+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L53+64
	bl	perror
	mov	r0, #1
	bl	exit
.L48:
	sub	ip, fp, #100
	sub	lr, fp, #28
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-128]
	ldr	r2, .L53+68
	ldr	r3, [fp, #-128]
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L49
.L50:
	ldr	r0, [fp, #-128]
	bl	count
.L49:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L50
	mov	r3, #0
	ldr	r2, .L53
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC18
	.word	stderr
	.word	.LC1
	.word	.LC10
	.word	438
	.word	server
	.word	.LC11
	.word	name
	.word	client
	.word	.LC12
	.word	.LC13
	.word	close_queue
	.word	.LC14
	.word	int_handler
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	client_id
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
