	.file	"150140592.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Portuguese"
	.align 8
.LC1:
	.string	"C\303\241lculo de dois n\303\272meros inteiros"
.LC2:
	.string	"Informe o primeiro n\303\272mero: "
.LC3:
	.string	"%i"
.LC4:
	.string	"Informe o segundo n\303\272mero: "
	.align 8
.LC5:
	.string	"Agora selecione a op\303\247\303\243o do MENU:"
	.align 8
.LC6:
	.string	"0 - Sair, 1 - Somar, 2 - Subtrair, 3 - Multiplicar, 4 - Dividir. "
.LC7:
	.string	"Programa finalizado."
.LC8:
	.string	"Soma dos dois n\303\272meros: %i\n"
	.align 8
.LC9:
	.string	"Subtra\303\247\303\243o dos dois n\303\272meros: %i\n"
	.align 8
.LC10:
	.string	"Multiplica\303\247\303\243o dos dois n\303\272meros: %i\n"
	.align 8
.LC11:
	.string	"Divis\303\243o dos dois n\303\272meros: %.2f\n"
	.align 8
.LC12:
	.string	"Op\303\247\303\243o inv\303\241lida. Reinicie o programa, por favor."
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	mov	edi, 6
	call	setlocale@PLT
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], -1
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L2
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L4
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2
	jne	.L5
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jle	.L6
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	jne	.L7
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jne	.L8
	mov	eax, DWORD PTR -20[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L3
.L8:
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"150140592.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Portuguese\000"
	.align	2
.LC1:
	.ascii	"C\303\241lculo de dois n\303\272meros inteiros\000"
	.align	2
.LC2:
	.ascii	"Informe o primeiro n\303\272mero: \000"
	.align	2
.LC3:
	.ascii	"%i\000"
	.align	2
.LC4:
	.ascii	"Informe o segundo n\303\272mero: \000"
	.align	2
.LC5:
	.ascii	"Agora selecione a op\303\247\303\243o do MENU:\000"
	.align	2
.LC6:
	.ascii	"0 - Sair, 1 - Somar, 2 - Subtrair, 3 - Multiplicar,"
	.ascii	" 4 - Dividir. \000"
	.align	2
.LC7:
	.ascii	"Programa finalizado.\000"
	.align	2
.LC8:
	.ascii	"Soma dos dois n\303\272meros: %i\012\000"
	.align	2
.LC9:
	.ascii	"Subtra\303\247\303\243o dos dois n\303\272meros: %i"
	.ascii	"\012\000"
	.align	2
.LC10:
	.ascii	"Multiplica\303\247\303\243o dos dois n\303\272meros"
	.ascii	": %i\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC11:
	.ascii	"Divis\303\243o dos dois n\303\272meros: %.2f\012\000"
	.align	2
.LC12:
	.ascii	"Op\303\247\303\243o inv\303\241lida. Reinicie o pro"
	.ascii	"grama, por favor.\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L11+4
	mov	r0, #6
	bl	setlocale
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mvn	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L11+8
	bl	puts
	ldr	r0, .L11+12
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L11+16
	bl	__isoc99_scanf
	ldr	r0, .L11+20
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L11+16
	bl	__isoc99_scanf
	ldr	r0, .L11+24
	bl	puts
	ldr	r0, .L11+28
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L11+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L11+32
	bl	puts
	b	.L3
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L4
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+36
	bl	printf
	b	.L3
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L5
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L6
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+40
	bl	printf
	b	.L3
.L6:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+40
	bl	printf
	b	.L3
.L5:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bne	.L7
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+44
	bl	printf
	b	.L3
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L8
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+48
	bl	printf
	b	.L3
.L8:
	ldr	r0, .L11+52
	bl	puts
.L3:
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
