Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
m,p,a,b,c,i,j,t;main(n){for(;t=999+scanf("%d%d",&n,&m),n;printf("%d\n",c<2?a+1:n))for(i=c=0;i<n;i++)scanf("%d",&b),j=m/b*b,(j<t||j==t&&b<=p)&&(c=j==t&&b==p?c+1:1,t=j,p=b,a=i);exit(0);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	jmp	.L2
.L12:
	movl	$0, c(%rip)
	movl	c(%rip), %eax
	movl	%eax, i(%rip)
	jmp	.L3
.L9:
	leaq	b(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	m(%rip), %eax
	movl	b(%rip), %ecx
	cltd
	idivl	%ecx
	movl	%eax, %edx
	movl	b(%rip), %eax
	imull	%edx, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jl	.L4
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jne	.L8
	movl	b(%rip), %edx
	movl	p(%rip), %eax
	cmpl	%eax, %edx
	jg	.L8
.L4:
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	b(%rip), %edx
	movl	p(%rip), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	c(%rip), %eax
	addl	$1, %eax
	jmp	.L7
.L6:
	movl	$1, %eax
.L7:
	movl	%eax, c(%rip)
	movl	j(%rip), %eax
	movl	%eax, t(%rip)
	movl	b(%rip), %eax
	movl	%eax, p(%rip)
	movl	i(%rip), %eax
	movl	%eax, a(%rip)
	movl	a(%rip), %eax
	testl	%eax, %eax
.L8:
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
.L3:
	movl	i(%rip), %edx
	movl	-4(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L9
	movl	c(%rip), %eax
	cmpl	$1, %eax
	jg	.L10
	movl	a(%rip), %eax
	addl	$1, %eax
	jmp	.L11
.L10:
	movl	-4(%rbp), %eax
.L11:
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-4(%rbp), %rax
	leaq	m(%rip), %rdx
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$999, %eax
	movl	%eax, t(%rip)
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	m(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	b(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r13, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	addl	$999, %eax
	movl	%eax, t(%rip)
	movl	12(%rsp), %eax
	testl	%eax, %eax
	je	.L16
	movl	$0, c(%rip)
	movl	$0, i(%rip)
	jg	.L3
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	movl	i(%rip), %edx
	je	.L17
.L6:
	movl	12(%rsp), %esi
	leal	1(%rdx), %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jge	.L18
.L3:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	movl	m(%rip), %eax
	movl	b(%rip), %ecx
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	cmpl	t(%rip), %eax
	movl	%eax, j(%rip)
	jge	.L19
	movl	i(%rip), %edx
	movl	$1, %esi
.L5:
	movl	%esi, c(%rip)
	movl	%eax, t(%rip)
	movl	%ecx, p(%rip)
	movl	%edx, a(%rip)
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	cmpl	p(%rip), %ecx
	jg	.L6
	movl	$1, %esi
	jne	.L5
	movl	c(%rip), %edi
	leal	1(%rdi), %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	$1, c(%rip)
	jle	.L7
.L4:
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	movl	a(%rip), %eax
	leal	1(%rax), %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	m(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	b(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r13, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	addl	$999, %eax
	movl	%eax, t(%rip)
	movl	12(%rsp), %eax
	testl	%eax, %eax
	je	.L16
	movl	$0, c(%rip)
	movl	$0, i(%rip)
	jg	.L3
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	movl	i(%rip), %edx
	je	.L17
.L6:
	movl	12(%rsp), %esi
	leal	1(%rdx), %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jge	.L18
.L3:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	movl	m(%rip), %eax
	movl	b(%rip), %ecx
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	cmpl	t(%rip), %eax
	movl	%eax, j(%rip)
	jge	.L19
	movl	i(%rip), %edx
	movl	$1, %esi
.L5:
	movl	%esi, c(%rip)
	movl	%eax, t(%rip)
	movl	%ecx, p(%rip)
	movl	%edx, a(%rip)
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	cmpl	p(%rip), %ecx
	jg	.L6
	movl	$1, %esi
	jne	.L5
	movl	c(%rip), %edi
	leal	1(%rdi), %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	$1, c(%rip)
	jle	.L7
.L4:
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	movl	a(%rip), %eax
	leal	1(%rax), %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

m,p,a,b,c,i,j,t;main(n){for(;t=999+scanf("%d%d",&n,&m),n;printf("%d\n",c<2?a+1:n))for(i=c=0;i<n;i++)scanf("%d",&b),j=m/b*b,(j<t||j==t&&b<=p)&&(c=j==t&&b==p?c+1:1,t=j,p=b,a=i);exit(0);}
3 101
3 7 4
5 24
4 6 12 3 8
5 1
1 1 2 2 3
0 0
 3 101
3 7 4
5 24
4 5 12 3 8
5 1
1 1 2 2 3
0 0
 3 101
1 7 7
5 24
4 5 12 4 8
5 1
1 1 2 2 3
0 0
 3 100
3 7 4
5 6
4 6 12 3 8
5 1
1 1 2 2 3
0 0
 3 101
1 7 4
5 24
4 5 12 3 8
5 1
1 1 4 2 3
0 0
 3 101
1 7 4
5 24
4 5 12 4 8
5 1
1 1 2 3 3
0 0
 3 111
3 7 4
5 43
4 6 12 3 8
5 1
1 1 2 2 3
0 0
 3 101
1 7 7
5 24
4 5 12 4 8
5 1
1 1 3 2 6
0 0
 3 110
5 7 3
5 43
4 7 12 3 8
5 1
1 1 2 4 3
0 0
 3 100
3 7 8
5 6
1 6 21 6 8
5 1
2 2 2 2 3
0 0

2
4
5
 2
2
5
 3
2
5
 2
5
5
 2
2
4
 2
2
3
 2
3
5
 3
2
4
 2
3
3
 3
5
5

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
m,p,a,b,c,i,j,t;main(n){for(;t=999+scanf("%d%d",&n,&m),n;printf("%d\n",c<2?a+1:n))for(i=c=0;i<n;i++)scanf("%d",&b),j=m/b*b,(j<t||j==t&&b<=p)&&(c=j==t&&b==p?c+1:1,t=j,p=b,a=i);exit(0);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	jmp	.L2
.L12:
	movl	$0, c(%rip)
	movl	c(%rip), %eax
	movl	%eax, i(%rip)
	jmp	.L3
.L9:
	leaq	b(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	m(%rip), %eax
	movl	b(%rip), %ecx
	cltd
	idivl	%ecx
	movl	%eax, %edx
	movl	b(%rip), %eax
	imull	%edx, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jl	.L4
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jne	.L8
	movl	b(%rip), %edx
	movl	p(%rip), %eax
	cmpl	%eax, %edx
	jg	.L8
.L4:
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	b(%rip), %edx
	movl	p(%rip), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	c(%rip), %eax
	addl	$1, %eax
	jmp	.L7
.L6:
	movl	$1, %eax
.L7:
	movl	%eax, c(%rip)
	movl	j(%rip), %eax
	movl	%eax, t(%rip)
	movl	b(%rip), %eax
	movl	%eax, p(%rip)
	movl	i(%rip), %eax
	movl	%eax, a(%rip)
	movl	a(%rip), %eax
	testl	%eax, %eax
.L8:
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
.L3:
	movl	i(%rip), %edx
	movl	-4(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L9
	movl	c(%rip), %eax
	cmpl	$1, %eax
	jg	.L10
	movl	a(%rip), %eax
	addl	$1, %eax
	jmp	.L11
.L10:
	movl	-4(%rbp), %eax
.L11:
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-4(%rbp), %rax
	leaq	m(%rip), %rdx
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$999, %eax
	movl	%eax, t(%rip)
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
val
	.file	"temp.c"
	.text
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	jmp	.L2
.L12:
	movl	$0, c(%rip)
	movl	c(%rip), %eax
	movl	%eax, i(%rip)
	jmp	.L3
.L9:
	leaq	b(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	m(%rip), %eax
	movl	b(%rip), %ecx
	cltd
	idivl	%ecx
	movl	%eax, %edx
	movl	b(%rip), %eax
	imull	%edx, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jl	.L4
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jne	.L8
	movl	b(%rip), %edx
	movl	p(%rip), %eax
	cmpl	%eax, %edx
	jg	.L8
.L4:
	movl	j(%rip), %edx
	movl	t(%rip), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	b(%rip), %edx
	movl	p(%rip), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	c(%rip), %eax
	addl	$1, %eax
	jmp	.L7
.L6:
	movl	$1, %eax
.L7:
	movl	%eax, c(%rip)
	movl	j(%rip), %eax
	movl	%eax, t(%rip)
	movl	b(%rip), %eax
	movl	%eax, p(%rip)
	movl	i(%rip), %eax
	movl	%eax, a(%rip)
	movl	a(%rip), %eax
	testl	%eax, %eax
.L8:
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
.L3:
	movl	i(%rip), %edx
	movl	-4(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L9
	movl	c(%rip), %eax
	cmpl	$1, %eax
	jg	.L10
	movl	a(%rip), %eax
	addl	$1, %eax
	jmp	.L11
.L10:
	movl	-4(%rbp), %eax
.L11:
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-4(%rbp), %rax
	leaq	m(%rip), %rdx
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$999, %eax
	movl	%eax, t(%rip)
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
