	.file	"791040.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%i"
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 1
	jmp	.L2
.L8:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -8[rbp]
	and	eax, 1
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	shr	rax
	jmp	.L5
.L4:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, 1
.L5:
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	QWORD PTR -8[rbp], 1
	jne	.L6
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L7
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
.L7:
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 999999
	jle	.L8
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"791040.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%i\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r1, #0
	str	r1, [fp, #-52]
	mov	r1, #0
	str	r1, [fp, #-48]
	mov	r1, #1
	str	r1, [fp, #-44]
	b	.L2
.L8:
	ldr	r1, [fp, #-44]
	mov	r0, r1
	asr	r1, r0, #31
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r1, #1
	str	r1, [fp, #-40]
	b	.L3
.L6:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r6, #1
	mov	r7, #0
	and	r8, r0, r6
	and	r9, r1, r7
	orrs	r1, r8, r9
	bne	.L4
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #1
	orr	r2, r2, r1, lsl #31
	lsr	r3, r1, #1
	b	.L5
.L4:
	sub	r7, fp, #36
	ldmia	r7, {r6-r7}
	mov	r0, r6
	mov	r1, r7
	adds	ip, r0, r0
	str	ip, [fp, #-68]
	adc	r1, r1, r1
	str	r1, [fp, #-64]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	adds	r4, r0, r6
	adc	r5, r1, r7
	adds	r2, r4, #1
	adc	r3, r5, #0
.L5:
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-40]
	add	r1, r1, #1
	str	r1, [fp, #-40]
.L3:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r1, #0
	cmpeq	r0, #1
	bne	.L6
	ldr	r0, [fp, #-40]
	ldr	r1, [fp, #-52]
	cmp	r0, r1
	ble	.L7
	ldr	r1, [fp, #-40]
	str	r1, [fp, #-52]
	ldr	r1, [fp, #-44]
	str	r1, [fp, #-48]
.L7:
	ldr	r1, [fp, #-44]
	add	r1, r1, #1
	str	r1, [fp, #-44]
.L2:
	ldr	r1, [fp, #-44]
	ldr	r0, .L10
	cmp	r1, r0
	blt	.L8
	ldr	r1, [fp, #-48]
	ldr	r0, .L10+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L11:
	.align	2
.L10:
	.word	1000000
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
