	.file	"bug.bc"
	.text
	.globl	main
	.align	16, 0x90
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# BB#0:                                 # %entry
	subq	$24, %rsp
.Ltmp1:
	.cfi_def_cfa_offset 32
	movl	%edi, %eax
	movq	%rax, (%rsp)            # 8-byte Spill
	movq	(%rsp), %rax            # 8-byte Reload
	addl	$1000, %eax             # imm = 0x3E8
	jmp	.LBB0_1
	.align	16, 0x90
.LBB0_2:                                # %while.body
                                        #   in Loop: Header=BB0_1 Depth=1
	movq	(%rsp), %rcx            # 8-byte Reload
	movslq	%ecx, %rax
	movq	%rax, 16(%rsp)          # 8-byte Spill
	movq	16(%rsp), %rax          # 8-byte Reload
	imulq	$1717986919, %rax, %rcx # imm = 0x66666667
	movq	%rcx, (%rsp)            # 8-byte Spill
	movq	(%rsp), %rcx            # 8-byte Reload
	movq	%rcx, %rax
	movq	%rax, 8(%rsp)           # 8-byte Spill
	movq	8(%rsp), %rax           # 8-byte Reload
	shrq	$63, %rax
	movq	%rax, 8(%rsp)           # 8-byte Spill
	movq	(%rsp), %rax            # 8-byte Reload
	sarq	$34, %rax
	movq	%rax, (%rsp)            # 8-byte Spill
	movq	8(%rsp), %rax           # 8-byte Reload
	movq	(%rsp), %rax            # 8-byte Reload
	addl	%eax, %eax
.LBB0_1:                                # %entry
                                        # =>This Inner Loop Header: Depth=1
	movq	%rax, (%rsp)            # 8-byte Spill
	movl	$.L.str, %edi
	movq	(%rsp), %rax            # 8-byte Reload
	movl	%eax, %esi
	xorb	%al, %al
	callq	printf
	movq	(%rsp), %rax            # 8-byte Reload
	cmpl	$11, %eax
	jge	.LBB0_2
# BB#3:                                 # %while.end
	xorl	%eax, %eax
	addq	$24, %rsp
	ret
.Ltmp2:
	.size	main, .Ltmp2-main
	.cfi_endproc

	.type	.L.str,@object          # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	 "x: %d\n"
	.size	.L.str, 7


	.section	".note.GNU-stack","",@progbits
