	.file	"686390.c"
	.intel_syntax noprefix
	.text
	.globl	porc
	.type	porc, @function
porc:
.LFB0:
	.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 -8[rbp], esi
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	porc, .-porc
	.section	.rodata
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %c"
.LC4:
	.string	"Total: %d cobaias\n"
.LC5:
	.string	"Total de coelhos: %d\n"
.LC6:
	.string	"Total de ratos: %d\n"
.LC7:
	.string	"Total de sapos: %d\n"
	.align 8
.LC8:
	.string	"Percentual de coelhos: %.2lf %%\n"
	.align 8
.LC9:
	.string	"Percentual de ratos: %.2lf %%\n"
	.align 8
.LC10:
	.string	"Percentual de sapos: %.2lf %%\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -36[rbp], 1
	jmp	.L4
.L8:
	lea	rdx, -61[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -61[rbp]
	cmp	al, 67
	jne	.L5
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -48[rbp], eax
	jmp	.L6
.L5:
	movzx	eax, BYTE PTR -61[rbp]
	cmp	al, 83
	jne	.L7
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -40[rbp], eax
	jmp	.L6
.L7:
	movzx	eax, BYTE PTR -61[rbp]
	cmp	al, 82
	jne	.L6
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -44[rbp], eax
.L6:
	add	DWORD PTR -36[rbp], 1
.L4:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L8
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	porc
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	porc
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	porc
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	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
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.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	"686390.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	porc
	.syntax unified
	.arm
	.fpu softvfp
	.type	porc, %function
porc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L3
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	1079574528
	.size	porc, .-porc
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d %c\000"
	.align	2
.LC2:
	.ascii	"Total: %d cobaias\012\000"
	.align	2
.LC3:
	.ascii	"Total de coelhos: %d\012\000"
	.align	2
.LC4:
	.ascii	"Total de ratos: %d\012\000"
	.align	2
.LC5:
	.ascii	"Total de sapos: %d\012\000"
	.align	2
.LC6:
	.ascii	"Percentual de coelhos: %.2lf %%\012\000"
	.align	2
.LC7:
	.ascii	"Percentual de ratos: %.2lf %%\012\000"
	.align	2
.LC8:
	.ascii	"Percentual de sapos: %.2lf %%\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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L6
.L10:
	sub	r2, fp, #65
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L7
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L8
.L7:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #83
	bne	.L9
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	b	.L8
.L9:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L8
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L8:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	ble	.L10
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	porc
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-56]
	bl	porc
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-56]
	bl	porc
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r1, [fp, #-56]
	ldr	r0, .L13+12
	bl	printf
	ldr	r1, [fp, #-52]
	ldr	r0, .L13+16
	bl	printf
	ldr	r1, [fp, #-48]
	ldr	r0, .L13+20
	bl	printf
	ldr	r1, [fp, #-44]
	ldr	r0, .L13+24
	bl	printf
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L13+28
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L13+32
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L13+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
