	.file	"64200353.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
	.type	COIN, @object
	.size	COIN, 8
COIN:
	.quad	100000000
	.text
	.globl	GetBlockSubsidy
	.type	GetBlockSubsidy, @function
GetBlockSubsidy:
.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 -20[rbp], edi
	mov	eax, 100000000
	imul	rax, rax, 25000
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -20[rbp], 1999
	jg	.L2
	mov	eax, 100000000
	imul	rax, rax, 1000
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L3
.L2:
	cmp	DWORD PTR -20[rbp], 14999
	jg	.L4
	mov	rcx, QWORD PTR -16[rbp]
	movabs	rdx, 5037190915060954895
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 13
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdx, QWORD PTR -16[rbp]
	imul	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L3
.L4:
	cmp	DWORD PTR -20[rbp], 29999
	jg	.L5
	mov	rcx, QWORD PTR -16[rbp]
	movabs	rdx, 5037190915060954895
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 13
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cdqe
	mov	rdx, QWORD PTR -16[rbp]
	imul	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L3
.L5:
	cmp	DWORD PTR -20[rbp], 49999
	jg	.L6
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax, 30000
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	rsi
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L3
.L6:
	cmp	DWORD PTR -20[rbp], 99999
	jg	.L7
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax, 50000
	mov	QWORD PTR -16[rbp], rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -16[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -20[rbp]
	movsd	xmm1, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm2
	divsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L3
.L7:
	mov	eax, 105000
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 999
	jg	.L8
	mov	eax, 100000000
	imul	rax, rax, 1000
	jmp	.L3
.L8:
	mov	eax, 100000000
	imul	rax, QWORD PTR -8[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	GetBlockSubsidy, .-GetBlockSubsidy
	.section	.rodata
	.align 8
.LC1:
	.string	"nHeight %06d - nSubsidy %llu - MarketCap %llu\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
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	GetBlockSubsidy
	add	QWORD PTR -24[rbp], rax
	mov	ecx, 100000000
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	rcx
	mov	rbx, rax
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	GetBlockSubsidy
	mov	esi, 100000000
	cqo
	idiv	rsi
	mov	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, rbx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L11:
	cmp	DWORD PTR -28[rbp], 649999
	jle	.L12
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073217536
	.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	"64200353.c"
	.text
	.section	.rodata
	.align	3
	.type	COIN, %object
	.size	COIN, 8
COIN:
	.word	100000000
	.word	0
	.global	__aeabi_ldivmod
	.global	__aeabi_l2d
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_d2lz
	.text
	.align	2
	.global	GetBlockSubsidy
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetBlockSubsidy, %function
GetBlockSubsidy:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	adr	r1, .L10
	ldmia	r1, {r0-r1}
	ldr	r3, .L10+8
	mul	r2, r3, r1
	mov	r3, #0
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, .L10+8
	umull	r2, r3, r0, lr
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #2000
	bge	.L2
	adr	r1, .L10
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	b	.L3
.L2:
	ldr	r3, [fp, #-32]
	ldr	r2, .L10+12
	cmp	r3, r2
	bgt	.L4
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	ldr	r2, .L10+16
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-24]
	mul	r2, r0, r3
	ldr	r3, [fp, #-28]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-28]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	b	.L3
.L4:
	ldr	r3, [fp, #-32]
	ldr	r2, .L10+20
	cmp	r3, r2
	bgt	.L5
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	ldr	r2, .L10+16
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-24]
	mul	r2, r0, r3
	ldr	r3, [fp, #-28]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-28]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	b	.L3
.L5:
	ldr	r3, [fp, #-32]
	ldr	r2, .L10+24
	cmp	r3, r2
	bgt	.L6
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #4
	orr	r1, r1, r2, lsr #28
	lsl	r0, r2, #4
	subs	r0, r0, r2
	sbc	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #4
	orr	r3, r3, r0, lsr #28
	lsl	r2, r0, #4
	mov	r0, r2
	mov	r1, r3
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-32]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	b	.L3
.L6:
	ldr	r3, [fp, #-32]
	ldr	r2, .L10+28
	cmp	r3, r2
	bge	.L7
	ldr	r3, [fp, #-24]
	ldr	r2, .L10+32
	mul	r2, r3, r2
	ldr	r3, [fp, #-28]
	mov	r1, #0
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	r0, [fp, #-28]
	ldr	ip, .L10+32
	umull	r2, r3, r0, ip
	add	r1, r1, r3
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L10+36
	bl	__aeabi_dmul
	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
	bl	__aeabi_d2lz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	b	.L3
.L11:
	.align	3
.L10:
	.word	100000000
	.word	0
	.word	25000
	.word	14999
	.word	30000
	.word	29999
	.word	49999
	.word	100000
	.word	50000
	.word	1073217536
.L7:
	ldr	r3, [fp, #-32]
	rsb	r3, r3, #104448
	add	r3, r3, #552
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r2, #1000
	sbcs	r3, r3, #0
	bge	.L8
	adr	r1, .L12
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	b	.L3
.L8:
	adr	r1, .L12
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-20]
	mul	r2, r1, r3
	ldr	r3, [fp, #-16]
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-20]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	.align	3
.L12:
	.word	100000000
	.word	0
	.size	GetBlockSubsidy, .-GetBlockSubsidy
	.section	.rodata
	.align	2
.LC0:
	.ascii	"nHeight %06d - nSubsidy %llu - MarketCap %llu\012\000"
	.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, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L15
.L16:
	ldr	r0, [fp, #-32]
	bl	GetBlockSubsidy
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r2, r0
	adc	r5, r3, r1
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	GetBlockSubsidy
	adr	r3, .L18
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	adr	r3, .L18
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, [fp, #-32]
	ldr	r0, .L18+8
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L15:
	ldr	r3, [fp, #-32]
	ldr	r2, .L18+12
	cmp	r3, r2
	blt	.L16
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L19:
	.align	3
.L18:
	.word	100000000
	.word	0
	.word	.LC0
	.word	650000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
