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

```c
#include <math.h>
#include <stdio.h>
#include <string.h>
int count = 0, idct[102] = {0}, k, n, ppl, temp;
int main(void) {
    scanf("%d %d", &n, &k);
    for (int i = 0; i < k; i++) {
        scanf("%d", &ppl);
        for (int j = 0; j < ppl; j++) {
            scanf("%d", &temp);
            idct[temp] = 1;
        }
    }
    for (int i = 1; i <= n; i++) {
        if (idct[i] == 0) {
            count++;
        }
    }
    printf("%d", count);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	idct
	.align 32
	.type	idct, @object
	.size	idct, 408
idct:
	.zero	408
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ppl
	.align 4
	.type	ppl, @object
	.size	ppl, 4
ppl:
	.zero	4
	.globl	temp
	.align 4
	.type	temp, @object
	.size	temp, 4
temp:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%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
	leaq	k(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L2
.L5:
	leaq	ppl(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L3
.L4:
	leaq	temp(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	temp(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	idct(%rip), %rax
	movl	$1, (%rdx,%rax)
	addl	$1, -8(%rbp)
.L3:
	movl	ppl(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L4
	addl	$1, -12(%rbp)
.L2:
	movl	k(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	$1, -4(%rbp)
	jmp	.L6
.L8:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	idct(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L7
	movl	count(%rip), %eax
	addl	$1, %eax
	movl	%eax, count(%rip)
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L8
	movl	count(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.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 %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	k(%rip), %rdx
	leaq	n(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %rdi
	leaq	.LC1(%rip), %r15
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	ppl(%rip), %r14
	xorl	%r13d, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	temp(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	idct(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movl	k(%rip), %r9d
	testl	%r9d, %r9d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	ppl(%rip), %r8d
	testl	%r8d, %r8d
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r15, %rdi
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	temp(%rip), %rax
	cmpl	%ebx, ppl(%rip)
	movl	$1, 0(%rbp,%rax,4)
	jg	.L5
.L7:
	addl	$1, %r13d
	cmpl	%r13d, k(%rip)
	jg	.L2
.L6:
	movl	count(%rip), %r8d
	movl	n(%rip), %ecx
	movl	%r8d, %edx
	testl	%ecx, %ecx
	jle	.L4
	leaq	4+idct(%rip), %rax
	leal	-1(%rcx), %esi
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rsi,4), %rcx
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rax), %edi
	testl	%edi, %edi
	jne	.L8
	addl	$1, %edx
	movl	$1, %esi
.L8:
	addq	$4, %rax
	cmpq	%rcx, %rax
	jne	.L9
	testb	%sil, %sil
	je	.L4
	movl	%edx, count(%rip)
	movl	%edx, %r8d
.L4:
	movq	%r15, %rsi
	movl	%r8d, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$8, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	temp
	.bss
	.align 4
	.type	temp, @object
	.size	temp, 4
temp:
	.zero	4
	.globl	ppl
	.align 4
	.type	ppl, @object
	.size	ppl, 4
ppl:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	idct
	.align 32
	.type	idct, @object
	.size	idct, 408
idct:
	.zero	408
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.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 %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	k(%rip), %rdx
	leaq	n(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %rdi
	leaq	.LC1(%rip), %r15
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	ppl(%rip), %r14
	xorl	%r13d, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	temp(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	idct(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movl	k(%rip), %r9d
	testl	%r9d, %r9d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	ppl(%rip), %r8d
	testl	%r8d, %r8d
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r15, %rdi
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	temp(%rip), %rax
	cmpl	%ebx, ppl(%rip)
	movl	$1, 0(%rbp,%rax,4)
	jg	.L5
.L7:
	addl	$1, %r13d
	cmpl	%r13d, k(%rip)
	jg	.L2
.L6:
	movl	count(%rip), %r8d
	movl	n(%rip), %ecx
	movl	%r8d, %edx
	testl	%ecx, %ecx
	jle	.L4
	leaq	4+idct(%rip), %rax
	leal	-1(%rcx), %esi
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rsi,4), %rcx
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rax), %edi
	testl	%edi, %edi
	jne	.L8
	addl	$1, %edx
	movl	$1, %esi
.L8:
	addq	$4, %rax
	cmpq	%rcx, %rax
	jne	.L9
	testb	%sil, %sil
	je	.L4
	movl	%edx, count(%rip)
	movl	%edx, %r8d
.L4:
	movq	%r15, %rsi
	movl	%r8d, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$8, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	temp
	.bss
	.align 4
	.type	temp, @object
	.size	temp, 4
temp:
	.zero	4
	.globl	ppl
	.align 4
	.type	ppl, @object
	.size	ppl, 4
ppl:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	idct
	.align 32
	.type	idct, @object
	.size	idct, 408
idct:
	.zero	408
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.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:

#include <math.h>
#include <stdio.h>
#include <string.h>
int count = 0, idct[102] = {0}, k, n, ppl, temp;
int main(void) {
    scanf("%d %d", &n, &k);
    for (int i = 0; i < k; i++) {
        scanf("%d", &ppl);
        for (int j = 0; j < ppl; j++) {
            scanf("%d", &temp);
            idct[temp] = 1;
        }
    }
    for (int i = 1; i <= n; i++) {
        if (idct[i] == 0) {
            count++;
        }
    }
    printf("%d", count);
}
3 1
2
1 3
1
3
 5 1
2
1 3
1
3
 3 3
0
3
1
3
1
3
 0 -1
2
1 2
5
-1
 6 -2
1
0 0
0
-1
 12 -2
1
0 0
0
-1
 4 -8
-2
1 0
0
0
 7 -14
-2
1 0
0
0
 21 -2
0
0 0
0
-2
 5 -2
1
0 1
0
-1

1 3 1 0 6 12 4 7 21 5
Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <math.h>
#include <stdio.h>
#include <string.h>
int count = 0, idct[102] = {0}, k, n, ppl, temp;
int main(void) {
    scanf("%d %d", &n, &k);
    for (int i = 0; i < k; i++) {
        scanf("%d", &ppl);
        for (int j = 0; j < ppl; j++) {
            scanf("%d", &temp);
            idct[temp] = 1;
        }
    }
    for (int i = 1; i <= n; i++) {
        if (idct[i] == 0) {
            count++;
        }
    }
    printf("%d", count);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	idct
	.align 32
	.type	idct, @object
	.size	idct, 408
idct:
	.zero	408
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ppl
	.align 4
	.type	ppl, @object
	.size	ppl, 4
ppl:
	.zero	4
	.globl	temp
	.align 4
	.type	temp, @object
	.size	temp, 4
temp:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%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
	leaq	k(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L2
.L5:
	leaq	ppl(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L3
.L4:
	leaq	temp(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	temp(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	idct(%rip), %rax
	movl	$1, (%rdx,%rax)
	addl	$1, -8(%rbp)
.L3:
	movl	ppl(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L4
	addl	$1, -12(%rbp)
.L2:
	movl	k(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	$1, -4(%rbp)
	jmp	.L6
.L8:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	idct(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L7
	movl	count(%rip), %eax
	addl	$1, %eax
	movl	%eax, count(%rip)
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L8
	movl	count(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.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.
train
	.file	"temp.c"
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	idct
	.align 32
	.type	idct, @object
	.size	idct, 408
idct:
	.zero	408
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ppl
	.align 4
	.type	ppl, @object
	.size	ppl, 4
ppl:
	.zero	4
	.globl	temp
	.align 4
	.type	temp, @object
	.size	temp, 4
temp:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%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
	leaq	k(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L2
.L5:
	leaq	ppl(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L3
.L4:
	leaq	temp(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	temp(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	idct(%rip), %rax
	movl	$1, (%rdx,%rax)
	addl	$1, -8(%rbp)
.L3:
	movl	ppl(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L4
	addl	$1, -12(%rbp)
.L2:
	movl	k(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	$1, -4(%rbp)
	jmp	.L6
.L8:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	idct(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L7
	movl	count(%rip), %eax
	addl	$1, %eax
	movl	%eax, count(%rip)
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L8
	movl	count(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.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:
