	.file	"832560.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"+"
.LC1:
	.string	"-"
.LC2:
	.string	"*"
.LC3:
	.string	"/"
.LC4:
	.string	"~"
	.text
	.globl	evaluate
	.type	evaluate, @function
evaluate:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strndup@PLT
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rdx, QWORD PTR -48[rbp+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -72[rbp], rax
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L3
	add	DWORD PTR -88[rbp], 1
	cmp	DWORD PTR -88[rbp], 4
	je	.L14
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rdx, QWORD PTR -48[rbp+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -72[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -56[rbp+rdx*4], eax
	add	DWORD PTR -84[rbp], 1
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -72[rbp], rax
.L2:
	cmp	QWORD PTR -72[rbp], 0
	jne	.L6
	jmp	.L5
.L14:
	nop
.L5:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC0[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L7
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -80[rbp], eax
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC1[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	sub	eax, edx
	mov	DWORD PTR -80[rbp], eax
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC2[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L10
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, edx
	mov	DWORD PTR -80[rbp], eax
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC3[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -80[rbp], eax
	jmp	.L8
.L11:
	mov	DWORD PTR -80[rbp], -2147483648
.L8:
	mov	eax, DWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	evaluate, .-evaluate
	.section	.rodata
.LC5:
	.string	"/server_queue"
	.align 8
.LC6:
	.string	"Error in creating server's message queue"
.LC7:
	.string	"Error in receiving message"
.LC8:
	.string	" "
.LC9:
	.string	"Data received from %s is %s\n"
	.align 8
.LC10:
	.string	"Error in opening %s message queue\n"
.LC11:
	.string	"Invalid Operator"
	.align 8
.LC12:
	.string	"%s Expression %s is evaluated to %d\n"
.LC13:
	.string	"Invalid operator is present"
.LC14:
	.string	"%s"
.LC15:
	.string	"%d"
	.align 8
.LC16:
	.string	"Error in sending message to %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -132[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 10
	mov	QWORD PTR -64[rbp], 256
	mov	QWORD PTR -56[rbp], 0
	lea	rdi, .LC5[rip]
	call	mq_unlink@PLT
	lea	rax, -80[rbp]
	mov	rcx, rax
	mov	edx, 436
	mov	esi, 66
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	mq_open@PLT
	mov	DWORD PTR -128[rbp], eax
	cmp	DWORD PTR -128[rbp], -1
	jne	.L16
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L26
.L16:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -120[rbp], rax
.L25:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	mq_receive@PLT
	cmp	rax, -1
	jne	.L18
	lea	rdi, .LC5[rip]
	call	mq_unlink@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L26
.L18:
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -112[rbp], rax
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rcx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1702195551
	mov	WORD PTR 4[rax], 25973
	mov	BYTE PTR 6[rax], 0
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mq_open@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], -1
	jne	.L19
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	call	mq_unlink@PLT
	mov	eax, 0
	jmp	.L26
.L19:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	evaluate
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], -2147483648
	jne	.L20
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L21
.L20:
	mov	ecx, DWORD PTR -132[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	DWORD PTR -132[rbp], -2147483648
	jne	.L22
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, .LC13[rip]
	lea	rdx, .LC14[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L23
.L22:
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	ecx, edx
	lea	rdx, .LC15[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
.L23:
	mov	rsi, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	mq_send@PLT
	cmp	eax, -1
	jne	.L25
	mov	eax, DWORD PTR -124[rbp]
	mov	edi, eax
	call	mq_close@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"832560.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"+\000"
	.align	2
.LC1:
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"*\000"
	.align	2
.LC3:
	.ascii	"/\000"
	.align	2
.LC4:
	.ascii	"~\000"
	.text
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	evaluate
	.syntax unified
	.arm
	.fpu softvfp
	.type	evaluate, %function
evaluate:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-64]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	strndup
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, .L15+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strtok
	str	r0, [fp, #-48]
	b	.L2
.L6:
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-48]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #4
	beq	.L14
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strtok
	str	r0, [fp, #-48]
	b	.L2
.L3:
	ldr	r0, [fp, #-48]
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-48]
.L2:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L6
	b	.L5
.L14:
	nop
.L5:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L15+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L7
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L8
.L7:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L9
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L8
.L9:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L15+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L8
.L10:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L15+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-52]
	b	.L8
.L11:
	mov	r3, #-2147483648
	str	r3, [fp, #-52]
.L8:
	ldr	r3, [fp, #-52]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC7
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	evaluate, .-evaluate
	.section	.rodata
	.align	2
.LC8:
	.ascii	"/server_queue\000"
	.align	2
.LC9:
	.ascii	"Error in creating server's message queue\000"
	.align	2
.LC10:
	.ascii	"Error in receiving message\000"
	.align	2
.LC11:
	.ascii	" \000"
	.align	2
.LC12:
	.ascii	"Data received from %s is %s\012\000"
	.align	2
.LC13:
	.ascii	"/\000\000"
	.align	2
.LC14:
	.ascii	"_queue\000"
	.align	2
.LC15:
	.ascii	"Error in opening %s message queue\012\000"
	.align	2
.LC16:
	.ascii	"Invalid Operator\000"
	.align	2
.LC17:
	.ascii	"%s Expression %s is evaluated to %d\012\000"
	.align	2
.LC18:
	.ascii	"Invalid operator is present\000"
	.align	2
.LC19:
	.ascii	"%s\000"
	.align	2
.LC20:
	.ascii	"%d\000"
	.align	2
.LC21:
	.ascii	"Error in sending message to %s\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #10
	str	r3, [fp, #-36]
	mov	r3, #256
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r0, .L30+4
	bl	mq_unlink
	sub	r3, fp, #40
	mov	r2, #436
	mov	r1, #66
	ldr	r0, .L30+4
	bl	mq_open
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmn	r3, #1
	bne	.L18
	ldr	r0, .L30+8
	bl	puts
	mov	r3, #0
	b	.L28
.L18:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-64]
.L27:
	ldr	r3, [fp, #-32]
	mov	r2, r3
	mov	r3, #0
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-68]
	bl	mq_receive
	mov	r3, r0
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L30+4
	bl	mq_unlink
	ldr	r0, [fp, #-64]
	bl	free
	ldr	r0, .L30+12
	bl	puts
	mov	r3, #0
	b	.L28
.L20:
	ldr	r1, .L30+16
	ldr	r0, [fp, #-64]
	bl	strtok
	str	r0, [fp, #-60]
	ldr	r1, .L30+16
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-56]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-60]
	ldr	r0, .L30+20
	bl	printf
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-52]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r2, .L30+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-60]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-52]
	bl	strncat
	ldr	r0, [fp, #-52]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r2, .L30+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	mq_open
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L21
	ldr	r1, [fp, #-60]
	ldr	r0, .L30+32
	bl	printf
	ldr	r0, .L30+4
	bl	mq_unlink
	mov	r3, #0
	b	.L28
.L21:
	ldr	r0, [fp, #-56]
	bl	evaluate
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #-2147483648
	bne	.L22
	ldr	r0, .L30+36
	bl	puts
	b	.L23
.L22:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-60]
	ldr	r0, .L30+40
	bl	printf
.L23:
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-72]
	cmp	r3, #-2147483648
	bne	.L24
	ldr	r3, .L30+44
	ldr	r2, .L30+48
	mov	r1, #100
	ldr	r0, [fp, #-44]
	bl	snprintf
	b	.L25
.L24:
	ldr	r3, [fp, #-72]
	ldr	r2, .L30+52
	mov	r1, #100
	ldr	r0, [fp, #-44]
	bl	snprintf
.L25:
	mov	r3, #0
	mov	r2, #100
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-48]
	bl	mq_send
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	ldr	r0, [fp, #-48]
	bl	mq_close
	ldr	r1, [fp, #-60]
	ldr	r0, .L30+56
	bl	printf
	b	.L27
.L28:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC22
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
