	.file	"50137838.c"
	.intel_syntax noprefix
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	flagContinua
	.data
	.align 4
	.type	flagContinua, @object
	.size	flagContinua, 4
flagContinua:
	.long	1
	.text
	.globl	timeout
	.type	timeout, @function
timeout:
.LFB6:
	.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 -4[rbp], edi
	mov	DWORD PTR flagContinua[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	timeout, .-timeout
	.section	.rodata
	.align 8
.LC0:
	.string	"\nInsira o resultado da opera\303\247\303\243o apresentada!\n"
.LC1:
	.string	"\n%d %c %d = "
.LC2:
	.string	" %s"
.LC3:
	.string	"Parabens, acertou a conta!"
	.align 8
.LC4:
	.string	"Nao acertou, o resultado era %d!\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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -212[rbp], 0
	mov	WORD PTR -35[rbp], 11563
	mov	BYTE PTR -33[rbp], 42
	lea	rax, timeout[rip]
	mov	QWORD PTR -192[rbp], rax
	mov	DWORD PTR -56[rbp], 0
	lea	rax, -192[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L3
.L15:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 680390859
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 101
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 1[rdx]
	mov	DWORD PTR -208[rbp], eax
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 680390859
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 101
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 1[rdx]
	mov	DWORD PTR -204[rbp], eax
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -200[rbp], edx
	mov	ecx, DWORD PTR -200[rbp]
	mov	edx, ecx
	add	edx, edx
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -200[rbp], eax
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	movzx	eax, BYTE PTR -35[rbp+rax]
	movsx	edx, al
	mov	ecx, DWORD PTR -204[rbp]
	mov	eax, DWORD PTR -208[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 1
	jne	.L17
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -200[rbp], 2
	je	.L6
	cmp	DWORD PTR -200[rbp], 2
	jg	.L3
	cmp	DWORD PTR -200[rbp], 0
	je	.L7
	cmp	DWORD PTR -200[rbp], 1
	je	.L8
	jmp	.L3
.L7:
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -204[rbp]
	add	eax, edx
	cmp	DWORD PTR -196[rbp], eax
	jne	.L9
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	jmp	.L3
.L9:
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -204[rbp]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L3
.L8:
	mov	eax, DWORD PTR -208[rbp]
	sub	eax, DWORD PTR -204[rbp]
	cmp	DWORD PTR -196[rbp], eax
	jne	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	jmp	.L3
.L11:
	mov	eax, DWORD PTR -208[rbp]
	sub	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -208[rbp]
	imul	eax, DWORD PTR -204[rbp]
	cmp	DWORD PTR -196[rbp], eax
	jne	.L13
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	jmp	.L18
.L13:
	mov	eax, DWORD PTR -208[rbp]
	imul	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L18:
	nop
.L3:
	mov	eax, DWORD PTR flagContinua[rip]
	test	eax, eax
	jne	.L15
	jmp	.L5
.L17:
	nop
.L5:
	mov	eax, DWORD PTR count[rip]
	mov	edi, eax
	call	exit@PLT
	.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	"50137838.c"
	.text
	.global	count
	.bss
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.space	4
	.global	flagContinua
	.data
	.align	2
	.type	flagContinua, %object
	.size	flagContinua, 4
flagContinua:
	.word	1
	.text
	.align	2
	.global	timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	timeout, %function
timeout:
	@ 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, .L2
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	flagContinua
	.size	timeout, .-timeout
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Insira o resultado da opera\303\247\303\243o ap"
	.ascii	"resentada!\012\000"
	.align	2
.LC2:
	.ascii	"\012%d %c %d = \000"
	.align	2
.LC3:
	.ascii	" %s\000"
	.align	2
.LC4:
	.ascii	"Parabens, acertou a conta!\000"
	.align	2
.LC5:
	.ascii	"Nao acertou, o resultado era %d!\012\000"
	.align	2
.LC0:
	.ascii	"+-*"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-192]
	ldr	r2, .L21+4
	sub	r3, fp, #32
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r3, .L21+8
	str	r3, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #172
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r0, .L21+12
	bl	puts
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L5
.L17:
	bl	rand
	mov	r1, r0
	ldr	r3, .L21+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-188]
	bl	rand
	mov	r1, r0
	ldr	r3, .L21+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-184]
	bl	rand
	mov	r2, r0
	ldr	r3, .L21+24
	smull	r0, r1, r3, r2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-180]
	sub	r2, fp, #32
	ldr	r3, [fp, #-180]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-184]
	ldr	r1, [fp, #-188]
	ldr	r0, .L21+28
	bl	printf
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L21+32
	bl	__isoc99_scanf
	str	r0, [fp, #-176]
	ldr	r3, [fp, #-176]
	cmp	r3, #1
	bne	.L19
	sub	r3, fp, #28
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-176]
	ldr	r3, [fp, #-180]
	cmp	r3, #2
	beq	.L8
	ldr	r3, [fp, #-180]
	cmp	r3, #2
	bgt	.L5
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	beq	.L10
	b	.L5
.L9:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-184]
	add	r3, r2, r3
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	bne	.L11
	ldr	r0, .L21+36
	bl	puts
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L21+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+40
	str	r3, [r2]
	b	.L5
.L11:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-184]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+44
	bl	printf
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L5
.L10:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-184]
	sub	r3, r2, r3
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	bne	.L13
	ldr	r0, .L21+36
	bl	puts
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L21+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+40
	str	r3, [r2]
	b	.L5
.L13:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-184]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+44
	bl	printf
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L5
.L8:
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-184]
	mul	r3, r2, r3
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	bne	.L15
	ldr	r0, .L21+36
	bl	puts
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L21+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+40
	str	r3, [r2]
	b	.L20
.L15:
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-184]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+44
	bl	printf
	ldr	r3, .L21+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L20:
	nop
.L5:
	ldr	r3, .L21+48
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	b	.L7
.L19:
	nop
.L7:
	ldr	r3, .L21+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	.LC0
	.word	timeout
	.word	.LC1
	.word	stdout
	.word	680390859
	.word	1431655766
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	count
	.word	.LC5
	.word	flagContinua
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
