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

```c
f,p[5];main(i){for(;({for(f=i=0;i<5;f|=1<<p[i++])scanf("%d\n",p+i);*p;});)for(i=-1;i++<4;puts((f-4)%5-p[i]?f%5-p[i]%3?"3":"1":"2"));}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	f
	.bss
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	p
	.align 16
	.type	p, @object
	.size	p, 20
p:
	.zero	20
	.section	.rodata
.LC0:
	.string	"3"
.LC1:
	.string	"1"
.LC2:
	.string	"2"
.LC3:
	.string	"%d\n"
	.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
.L11:
	movl	$-1, -4(%rbp)
	jmp	.L3
.L8:
	movl	f(%rip), %eax
	leal	-4(%rax), %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	%eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$2, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	p(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	cmpl	%edx, %eax
	je	.L4
	movl	f(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	%edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, %ecx
	sall	$2, %ecx
	addl	%edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rax
	movl	(%rcx,%rax), %ecx
	movslq	%ecx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %esi
	addl	%esi, %esi
	addl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	cmpl	%eax, %edx
	je	.L5
	leaq	.LC0(%rip), %rax
	jmp	.L7
.L5:
	leaq	.LC1(%rip), %rax
	jmp	.L7
.L4:
	leaq	.LC2(%rip), %rax
.L7:
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cmpl	$3, %eax
	jle	.L8
.L2:
	movl	$0, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, f(%rip)
	jmp	.L9
.L10:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	f(%rip), %eax
	orl	%edx, %eax
	movl	%eax, f(%rip)
.L9:
	cmpl	$4, -4(%rbp)
	jle	.L10
	movl	p(%rip), %eax
	testl	%eax, %eax
	jne	.L11
	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	"1"
.LC1:
	.string	"2"
.LC2:
	.string	"3"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC1(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	20+p(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L2:
	movl	$0, f(%rip)
	leaq	p(%rip), %rbx
	movl	$1, %r12d
	movq	%rbx, %r15
.L5:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$4, %r15
	call	scanf@PLT
	movl	-4(%r15), %ecx
	movl	%r12d, %eax
	sall	%cl, %eax
	orl	f(%rip), %eax
	movl	%eax, f(%rip)
	cmpq	%rbp, %r15
	jne	.L5
	leaq	p(%rip), %rsi
	movl	(%rsi), %edx
	testl	%edx, %edx
	jne	.L4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	movl	f(%rip), %eax
.L4:
	leal	-4(%rax), %ecx
	movl	(%rbx), %esi
	movslq	%ecx, %rdx
	movl	%ecx, %edi
	imulq	$1717986919, %rdx, %rdx
	sarl	$31, %edi
	sarq	$33, %rdx
	subl	%edi, %edx
	movq	%r14, %rdi
	leal	(%rdx,%rdx,4), %edx
	subl	%edx, %ecx
	cmpl	%esi, %ecx
	je	.L3
	movslq	%eax, %rdx
	movl	%eax, %ecx
	leaq	.LC0(%rip), %rdi
	imulq	$1717986919, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$33, %rdx
	subl	%ecx, %edx
	movl	%esi, %ecx
	leal	(%rdx,%rdx,4), %edx
	sarl	$31, %ecx
	subl	%edx, %eax
	movslq	%esi, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	subl	%ecx, %edx
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %esi
	cmpl	%esi, %eax
	leaq	.LC2(%rip), %rax
	cmovne	%rax, %rdi
.L3:
	call	puts@PLT
	addq	$4, %rbx
	cmpq	%rbp, %rbx
	jne	.L14
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	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
.LFE0:
	.size	main, .-main
	.globl	p
	.bss
	.align 16
	.type	p, @object
	.size	p, 20
p:
	.zero	20
	.globl	f
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.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	"1"
.LC1:
	.string	"2"
.LC2:
	.string	"3"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC1(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	20+p(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L2:
	movl	$0, f(%rip)
	leaq	p(%rip), %rbx
	movl	$1, %r12d
	movq	%rbx, %r15
.L5:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$4, %r15
	call	scanf@PLT
	movl	-4(%r15), %ecx
	movl	%r12d, %eax
	sall	%cl, %eax
	orl	f(%rip), %eax
	movl	%eax, f(%rip)
	cmpq	%rbp, %r15
	jne	.L5
	leaq	p(%rip), %rsi
	movl	(%rsi), %edx
	testl	%edx, %edx
	jne	.L4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	movl	f(%rip), %eax
.L4:
	leal	-4(%rax), %ecx
	movl	(%rbx), %esi
	movslq	%ecx, %rdx
	movl	%ecx, %edi
	imulq	$1717986919, %rdx, %rdx
	sarl	$31, %edi
	sarq	$33, %rdx
	subl	%edi, %edx
	movq	%r14, %rdi
	leal	(%rdx,%rdx,4), %edx
	subl	%edx, %ecx
	cmpl	%esi, %ecx
	je	.L3
	movslq	%eax, %rdx
	movl	%eax, %ecx
	leaq	.LC0(%rip), %rdi
	imulq	$1717986919, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$33, %rdx
	subl	%ecx, %edx
	movl	%esi, %ecx
	leal	(%rdx,%rdx,4), %edx
	sarl	$31, %ecx
	subl	%edx, %eax
	movslq	%esi, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	subl	%ecx, %edx
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %esi
	cmpl	%esi, %eax
	leaq	.LC2(%rip), %rax
	cmovne	%rax, %rdi
.L3:
	call	puts@PLT
	addq	$4, %rbx
	cmpq	%rbp, %rbx
	jne	.L14
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	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
.LFE0:
	.size	main, .-main
	.globl	p
	.bss
	.align 16
	.type	p, @object
	.size	p, 20
p:
	.zero	20
	.globl	f
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.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:

f,p[5];main(i){for(;({for(f=i=0;i<5;f|=1<<p[i++])scanf("%d\n",p+i);*p;});)for(i=-1;i++<4;puts((f-4)%5-p[i]?f%5-p[i]%3?"3":"1":"2"));}
1
3
3
2
1
1
2
2
2
1
0
 1
1
1
2
1
1
2
2
2
1
0
 1
2
3
2
1
1
1
2
2
1
0
 1
2
2
2
1
1
1
2
2
1
0
 1
2
3
2
1
1
2
2
2
2
0
 1
3
1
2
1
1
2
1
2
1
0
 1
2
3
2
1
1
2
3
2
2
0
 1
2
2
2
1
1
2
3
2
2
0
 1
1
2
2
1
1
2
3
2
2
0
 1
3
3
1
1
1
2
3
2
2
0

3
3
3
3
3
1
2
2
2
1
 1
1
1
2
1
1
2
2
2
1
 3
3
3
3
3
1
1
2
2
1
 1
2
2
2
1
1
1
2
2
1
 3
3
3
3
3
1
2
2
2
2
 3
3
3
3
3
1
2
1
2
1
 3
3
3
3
3
3
3
3
3
3
 1
2
2
2
1
3
3
3
3
3
 1
1
2
2
1
3
3
3
3
3
 2
1
1
2
2
3
3
3
3
3

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

```c
f,p[5];main(i){for(;({for(f=i=0;i<5;f|=1<<p[i++])scanf("%d\n",p+i);*p;});)for(i=-1;i++<4;puts((f-4)%5-p[i]?f%5-p[i]%3?"3":"1":"2"));}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	f
	.bss
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	p
	.align 16
	.type	p, @object
	.size	p, 20
p:
	.zero	20
	.section	.rodata
.LC0:
	.string	"3"
.LC1:
	.string	"1"
.LC2:
	.string	"2"
.LC3:
	.string	"%d\n"
	.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
.L11:
	movl	$-1, -4(%rbp)
	jmp	.L3
.L8:
	movl	f(%rip), %eax
	leal	-4(%rax), %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	%eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$2, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	p(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	cmpl	%edx, %eax
	je	.L4
	movl	f(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	%edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, %ecx
	sall	$2, %ecx
	addl	%edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rax
	movl	(%rcx,%rax), %ecx
	movslq	%ecx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %esi
	addl	%esi, %esi
	addl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	cmpl	%eax, %edx
	je	.L5
	leaq	.LC0(%rip), %rax
	jmp	.L7
.L5:
	leaq	.LC1(%rip), %rax
	jmp	.L7
.L4:
	leaq	.LC2(%rip), %rax
.L7:
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cmpl	$3, %eax
	jle	.L8
.L2:
	movl	$0, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, f(%rip)
	jmp	.L9
.L10:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	f(%rip), %eax
	orl	%edx, %eax
	movl	%eax, f(%rip)
.L9:
	cmpl	$4, -4(%rbp)
	jle	.L10
	movl	p(%rip), %eax
	testl	%eax, %eax
	jne	.L11
	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	f
	.bss
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	p
	.align 16
	.type	p, @object
	.size	p, 20
p:
	.zero	20
	.section	.rodata
.LC0:
	.string	"3"
.LC1:
	.string	"1"
.LC2:
	.string	"2"
.LC3:
	.string	"%d\n"
	.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
.L11:
	movl	$-1, -4(%rbp)
	jmp	.L3
.L8:
	movl	f(%rip), %eax
	leal	-4(%rax), %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	%eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$2, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	p(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	cmpl	%edx, %eax
	je	.L4
	movl	f(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	%edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, %ecx
	sall	$2, %ecx
	addl	%edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rax
	movl	(%rcx,%rax), %ecx
	movslq	%ecx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %esi
	addl	%esi, %esi
	addl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	cmpl	%eax, %edx
	je	.L5
	leaq	.LC0(%rip), %rax
	jmp	.L7
.L5:
	leaq	.LC1(%rip), %rax
	jmp	.L7
.L4:
	leaq	.LC2(%rip), %rax
.L7:
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cmpl	$3, %eax
	jle	.L8
.L2:
	movl	$0, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, f(%rip)
	jmp	.L9
.L10:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	f(%rip), %eax
	orl	%edx, %eax
	movl	%eax, f(%rip)
.L9:
	cmpl	$4, -4(%rbp)
	jle	.L10
	movl	p(%rip), %eax
	testl	%eax, %eax
	jne	.L11
	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:
