	.file	"11073977.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"NOTAS:"
.LC2:
	.string	"MOEDAS:"
.LC3:
	.string	"%d nota(s) de R$ %d.00\n"
.LC4:
	.string	"%d moeda(s) de R$ %.2f\n"
.LC5:
	.string	"%lf"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 10000
	mov	DWORD PTR -60[rbp], 5000
	mov	DWORD PTR -56[rbp], 2000
	mov	DWORD PTR -52[rbp], 1000
	mov	DWORD PTR -48[rbp], 500
	mov	DWORD PTR -44[rbp], 200
	mov	DWORD PTR -40[rbp], 100
	mov	DWORD PTR -36[rbp], 50
	mov	DWORD PTR -32[rbp], 25
	mov	DWORD PTR -28[rbp], 10
	mov	DWORD PTR -24[rbp], 5
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -84[rbp], 0
	jmp	.L2
.L10:
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -88[rbp], eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L3
.L9:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	sub	DWORD PTR -88[rbp], eax
	add	DWORD PTR -80[rbp], 1
.L4:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	DWORD PTR -88[rbp], eax
	jge	.L5
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 100
	jne	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L6:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 199
	jle	.L7
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	sub	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	eax, DWORD PTR -80[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
.L8:
	add	DWORD PTR -84[rbp], 1
	add	DWORD PTR -76[rbp], 1
.L3:
	cmp	DWORD PTR -76[rbp], 11
	jle	.L9
.L2:
	lea	rax, -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L10
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"11073977.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC1:
	.ascii	"NOTAS:\000"
	.align	2
.LC2:
	.ascii	"MOEDAS:\000"
	.align	2
.LC3:
	.ascii	"%d nota(s) de R$ %d.00\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"%d moeda(s) de R$ %.2f\012\000"
	.align	2
.LC5:
	.ascii	"%lf\000"
	.align	2
.LC0:
	.word	10000
	.word	5000
	.word	2000
	.word	1000
	.word	500
	.word	200
	.word	100
	.word	50
	.word	25
	.word	10
	.word	5
	.word	1
	.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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L13+4
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L2
.L10:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L13+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r0, .L13+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L3
.L9:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L4
.L5:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	ldr	r2, [fp, #-84]
	sub	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L4:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	bge	.L5
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	cmp	r3, #100
	bne	.L6
	ldr	r0, .L13+16
	bl	puts
.L6:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	cmp	r3, #199
	ble	.L7
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	ldr	r2, .L13+20
	smull	r1, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-76]
	ldr	r0, .L13+24
	bl	printf
	b	.L8
.L7:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L13+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-76]
	ldr	r0, .L13+28
	bl	printf
.L8:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L3:
	ldr	r3, [fp, #-72]
	cmp	r3, #11
	ble	.L9
.L2:
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L13+32
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	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	.LC6
	.word	.LC0
	.word	1079574528
	.word	.LC1
	.word	.LC2
	.word	1374389535
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
