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

```c
// AOJ DSL_1 A Set - Disjoint Set: Union Find Tree
// 2017.10.31 bal4u@uu

#include <stdio.h>

#define MAX 10002
/* UNION-FIND library */
int p[MAX], rank[MAX];
void make_set(int x) { p[x] = x, rank[x] = 0; }
void link(int x, int y) {
	if (rank[x] > rank[y]) p[y] = x;
	else { p[x] = y; if (rank[x] == rank[y]) rank[y] = rank[y] + 1;	}
}
int find_set(int x) { if (x != p[x]) p[x] = find_set(p[x]);	return p[x]; }
void union_set(int x, int y) { link(find_set(x), find_set(y)); }

char buf[32], *bp;
int getint()
{
	int n = 0;
	while (*bp >= '0') n = (n<<3) + (n<<1) + (*bp++ & 0xf);
	return n;
}

int main()
{
	int n, q, i;
	int cmd, x, y;

//	scanf("%d%d", &n, &q);
	fgets(bp=buf, sizeof(buf), stdin);
	n = getint(), bp++, q = getint();
	for (i = 1; i <= n; i++) make_set(i);
	while (q--) {
//		scanf("%d%d%d", &cmd, &x, &y);
		fgets(bp=buf, sizeof(buf), stdin);
		cmd = *bp++, bp++, x = getint(), bp++, y = getint();
		if (cmd == '0') union_set(x, y);
		else putchar('0'+(find_set(x)==find_set(y))), putchar('\n');
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 40008
p:
	.zero	40008
	.globl	rank
	.align 32
	.type	rank, @object
	.size	rank, 40008
rank:
	.zero	40008
	.text
	.globl	make_set
	.type	make_set, @function
make_set:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	$0, (%rdx,%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	make_set, .-make_set
	.globl	link
	.type	link, @function
link:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	rank(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jle	.L3
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L5
.L3:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	rank(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L5:
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	link, .-link
	.globl	find_set
	.type	find_set, @function
find_set:
.LFB2:
	.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)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	je	.L7
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %edi
	call	find_set
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	p(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	find_set, .-find_set
	.globl	union_set
	.type	union_set, @function
union_set:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%eax, %ebx
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%ebx, %esi
	movl	%eax, %edi
	call	link
	nop
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	union_set, .-union_set
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 32
buf:
	.zero	32
	.globl	bp
	.align 8
	.type	bp, @object
	.size	bp, 8
bp:
	.zero	8
	.text
	.globl	getint
	.type	getint, @function
getint:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-4(%rbp), %eax
	addl	%eax, %eax
	leal	(%rdx,%rax), %ecx
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	andl	$15, %eax
	addl	%ecx, %eax
	movl	%eax, -4(%rbp)
.L11:
	movq	bp(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$47, %al
	jg	.L12
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	getint, .-getint
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 3, -24
	movq	stdin(%rip), %rdx
	leaq	buf(%rip), %rax
	movq	%rax, bp(%rip)
	movq	bp(%rip), %rax
	movl	$32, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	$0, %eax
	call	getint
	movl	%eax, -32(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -40(%rbp)
	movl	$1, -36(%rbp)
	jmp	.L15
.L16:
	movl	-36(%rbp), %eax
	movl	%eax, %edi
	call	make_set
	addl	$1, -36(%rbp)
.L15:
	movl	-36(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L16
	jmp	.L17
.L21:
	movq	stdin(%rip), %rdx
	leaq	buf(%rip), %rax
	movq	%rax, bp(%rip)
	movq	bp(%rip), %rax
	movl	$32, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, -28(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -24(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -20(%rbp)
	cmpl	$48, -28(%rbp)
	jne	.L18
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	union_set
	jmp	.L17
.L18:
	movl	-24(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%eax, %ebx
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	cmpl	%eax, %ebx
	jne	.L19
	movl	$49, %eax
	jmp	.L20
.L19:
	movl	$48, %eax
.L20:
	movl	%eax, %edi
	call	putchar@PLT
	movl	$10, %edi
	call	putchar@PLT
.L17:
	movl	-40(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -40(%rbp)
	testl	%eax, %eax
	jne	.L21
	movl	$0, %eax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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
	.p2align 4
	.globl	make_set
	.type	make_set, @function
make_set:
.LFB23:
	.cfi_startproc
	endbr64
	movslq	%edi, %rax
	leaq	p(%rip), %rdx
	movl	%edi, (%rdx,%rax,4)
	leaq	rank(%rip), %rdx
	movl	$0, (%rdx,%rax,4)
	ret
	.cfi_endproc
.LFE23:
	.size	make_set, .-make_set
	.p2align 4
	.globl	link
	.type	link, @function
link:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	rank(%rip), %rax
	movslq	%edi, %r8
	movslq	%esi, %rdx
	movl	(%rax,%r8,4), %ecx
	cmpl	(%rax,%rdx,4), %ecx
	jle	.L4
	leaq	p(%rip), %rax
	movl	%edi, (%rax,%rdx,4)
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	p(%rip), %rdi
	movl	%esi, (%rdi,%r8,4)
	je	.L6
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %ecx
	movl	%ecx, (%rax,%rdx,4)
	ret
	.cfi_endproc
.LFE24:
	.size	link, .-link
	.p2align 4
	.globl	find_set
	.type	find_set, @function
find_set:
.LFB25:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movslq	%edi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	p(%rip), %rbx
	movq	%rbp, %rax
	movl	(%rbx,%rbp,4), %edx
	cmpl	%ebp, %edx
	jne	.L14
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	movslq	%edx, %r12
	movl	(%rbx,%r12,4), %eax
	cmpl	%eax, %edx
	je	.L9
	movslq	%eax, %r13
	movl	(%rbx,%r13,4), %edx
	cmpl	%edx, %eax
	jne	.L15
.L10:
	movl	%edx, (%rbx,%r12,4)
	movl	%edx, %eax
.L9:
	movl	%eax, (%rbx,%rbp,4)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movslq	%edx, %r14
	movl	(%rbx,%r14,4), %edi
	cmpl	%edi, %edx
	je	.L11
	call	find_set
	movl	%eax, (%rbx,%r14,4)
	movl	%eax, %edi
.L11:
	movl	%edi, (%rbx,%r13,4)
	movl	%edi, %edx
	jmp	.L10
	.cfi_endproc
.LFE25:
	.size	find_set, .-find_set
	.p2align 4
	.globl	union_set
	.type	union_set, @function
union_set:
.LFB26:
	.cfi_startproc
	endbr64
	leaq	p(%rip), %rcx
	movslq	%esi, %r9
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movl	%edi, %r8d
	movl	(%rcx,%r9,4), %r10d
	cmpl	%r10d, %esi
	jne	.L27
.L17:
	movslq	%r8d, %rsi
	movl	(%rcx,%rsi,4), %eax
	cmpl	%eax, %r8d
	jne	.L28
.L20:
	leaq	rank(%rip), %rdx
	movslq	%eax, %r8
	movslq	%r10d, %rsi
	movl	(%rdx,%r8,4), %edi
	cmpl	(%rdx,%rsi,4), %edi
	jle	.L24
	movl	%eax, (%rcx,%rsi,4)
.L16:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	movl	%r10d, (%rcx,%r8,4)
	jne	.L16
	addl	$1, %edi
	movl	%edi, (%rdx,%rsi,4)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	movslq	%eax, %r9
	movl	(%rcx,%r9,4), %edx
	cmpl	%edx, %eax
	je	.L21
	movslq	%edx, %r11
	movl	(%rcx,%r11,4), %r8d
	cmpl	%r8d, %edx
	jne	.L29
.L22:
	movl	%r8d, (%rcx,%r9,4)
	movl	%r8d, %edx
.L21:
	movl	%edx, (%rcx,%rsi,4)
	movl	%edx, %eax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L27:
	movslq	%r10d, %rsi
	movl	(%rcx,%rsi,4), %edx
	cmpl	%edx, %r10d
	je	.L18
	movslq	%edx, %r10
	movl	(%rcx,%r10,4), %edi
	cmpl	%edi, %edx
	jne	.L30
.L19:
	movl	%edi, (%rcx,%rsi,4)
	movl	%edi, %edx
.L18:
	movl	%edx, (%rcx,%r9,4)
	movl	%edx, %r10d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L30:
	call	find_set
	movl	%eax, (%rcx,%r10,4)
	movl	%eax, %edi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L29:
	movslq	%r8d, %rbx
	movl	(%rcx,%rbx,4), %edi
	cmpl	%edi, %r8d
	je	.L23
	call	find_set
	movl	%eax, (%rcx,%rbx,4)
	movl	%eax, %edi
.L23:
	movl	%edi, (%rcx,%r11,4)
	movl	%edi, %r8d
	jmp	.L22
	.cfi_endproc
.LFE26:
	.size	union_set, .-union_set
	.p2align 4
	.globl	getint
	.type	getint, @function
getint:
.LFB27:
	.cfi_startproc
	endbr64
	movq	bp(%rip), %rax
	cmpb	$47, (%rax)
	jle	.L34
	addq	$1, %rax
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L33:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %edx
	addq	$1, %rax
	leal	(%r8,%r8,4), %ecx
	andl	$15, %edx
	cmpb	$47, -1(%rax)
	leal	(%rdx,%rcx,2), %r8d
	jg	.L33
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	xorl	%r8d, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE27:
	.size	getint, .-getint
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB28:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	stdin(%rip), %rdx
	movl	$32, %esi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	buf(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	movq	%rbp, bp(%rip)
	call	fgets@PLT
	movq	bp(%rip), %rax
	cmpb	$47, (%rax)
	jle	.L37
	addq	$1, %rax
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L38:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %edx
	movq	%rax, %rdi
	leal	(%rsi,%rsi,4), %ecx
	addq	$1, %rax
	andl	$15, %edx
	cmpb	$47, -1(%rax)
	leal	(%rdx,%rcx,2), %esi
	jg	.L38
	leaq	1(%rdi), %rdx
	movq	%rdx, bp(%rip)
	cmpb	$47, 1(%rdi)
	jle	.L42
.L40:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L43:
	addq	$1, %rdx
	leal	(%rbx,%rbx,4), %ecx
	movq	%rdx, bp(%rip)
	movzbl	-1(%rdx), %eax
	andl	$15, %eax
	cmpb	$47, (%rdx)
	leal	(%rax,%rcx,2), %ebx
	jg	.L43
	testl	%esi, %esi
	jle	.L46
.L45:
	testl	%esi, %esi
	movl	$1, %ecx
	cmovg	%esi, %ecx
	cmpl	$3, %esi
	jle	.L70
	movl	%ecx, %edx
	leaq	4+p(%rip), %rax
	movdqa	.LC0(%rip), %xmm0
	movdqa	.LC1(%rip), %xmm2
	shrl	$2, %edx
	leaq	16(%rax), %rdi
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L48:
	movdqa	%xmm0, %xmm1
	addq	$16, %rax
	paddd	%xmm2, %xmm0
	movups	%xmm1, -16(%rax)
	cmpq	%rdx, %rax
	jne	.L48
	movl	%ecx, %edx
	andl	$-4, %edx
	leal	1(%rdx), %eax
	cmpl	%ecx, %edx
	je	.L49
.L47:
	movslq	%eax, %rdx
	leaq	p(%rip), %rcx
	movl	%eax, (%rcx,%rdx,4)
	leal	1(%rax), %edx
	cmpl	%esi, %edx
	jg	.L49
	movslq	%edx, %rdi
	addl	$2, %eax
	movl	%edx, (%rcx,%rdi,4)
	cmpl	%eax, %esi
	jl	.L49
	movslq	%eax, %rdx
	movl	%eax, (%rcx,%rdx,4)
.L49:
	movslq	%esi, %rdx
	movl	$4, %eax
	leaq	4+rank(%rip), %rdi
	salq	$2, %rdx
	testl	%esi, %esi
	cmovle	%rax, %rdx
	xorl	%esi, %esi
	call	memset@PLT
.L46:
	testl	%ebx, %ebx
	je	.L75
	leaq	p(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L67:
	movq	stdin(%rip), %rdx
	movq	%rbp, %rdi
	movl	$32, %esi
	movq	%rbp, bp(%rip)
	call	fgets@PLT
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	leaq	2(%rax), %rdx
	movzbl	(%rax), %edi
	movq	%rdx, bp(%rip)
	cmpb	$47, 2(%rax)
	jle	.L71
	addq	$3, %rax
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L51:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %ecx
	movq	%rax, %rdx
	addq	$1, %rax
	leal	(%r8,%r8,4), %esi
	andl	$15, %ecx
	cmpb	$47, -1(%rax)
	leal	(%rcx,%rsi,2), %r8d
	jg	.L51
.L50:
	leaq	1(%rdx), %rax
	movq	%rax, bp(%rip)
	cmpb	$47, 1(%rdx)
	jle	.L72
	leaq	2(%rdx), %rax
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L53:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %edx
	addq	$1, %rax
	leal	(%rsi,%rsi,4), %ecx
	andl	$15, %edx
	cmpb	$47, -1(%rax)
	leal	(%rdx,%rcx,2), %esi
	jg	.L53
.L52:
	cmpb	$48, %dil
	je	.L87
	movslq	%r8d, %rcx
	movl	(%r12,%rcx,4), %eax
	cmpl	%r8d, %eax
	je	.L56
	movslq	%eax, %r9
	movl	(%r12,%r9,4), %r8d
	cmpl	%r8d, %eax
	je	.L57
	movslq	%r8d, %r10
	movl	(%r12,%r10,4), %eax
	cmpl	%eax, %r8d
	je	.L58
	movslq	%eax, %r8
	movl	(%r12,%r8,4), %edx
	cmpl	%edx, %eax
	jne	.L88
.L59:
	movl	(%r12,%r8,4), %eax
	movl	%eax, (%r12,%r10,4)
.L58:
	movl	(%r12,%r10,4), %r8d
	movl	%r8d, (%r12,%r9,4)
.L57:
	movl	%r8d, (%r12,%rcx,4)
.L56:
	movslq	%esi, %rcx
	movl	(%r12,%rcx,4), %eax
	cmpl	%esi, %eax
	je	.L61
	movslq	%eax, %r9
	movl	(%r12,%r9,4), %esi
	cmpl	%esi, %eax
	je	.L62
	movslq	%esi, %r10
	movl	(%r12,%r10,4), %eax
	cmpl	%eax, %esi
	je	.L63
	movslq	%eax, %rsi
	movl	(%r12,%rsi,4), %edx
	cmpl	%edx, %eax
	jne	.L89
.L64:
	movl	(%r12,%rsi,4), %eax
	movl	%eax, (%r12,%r10,4)
.L63:
	movl	(%r12,%r10,4), %esi
	movl	%esi, (%r12,%r9,4)
.L62:
	movl	%esi, (%r12,%rcx,4)
.L61:
	xorl	%edi, %edi
	cmpl	%esi, %r8d
	movq	stdout(%rip), %rsi
	sete	%dil
	addl	$48, %edi
	call	putc@PLT
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L55:
	subl	$1, %ebx
	jne	.L67
.L75:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L87:
	.cfi_restore_state
	movl	%r8d, %edi
	call	union_set
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L71:
	xorl	%r8d, %r8d
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L72:
	xorl	%esi, %esi
	jmp	.L52
.L89:
	movslq	%edx, %r11
	movl	(%r12,%r11,4), %edi
	cmpl	%edi, %edx
	jne	.L90
.L65:
	movl	(%r12,%r11,4), %eax
	movl	%eax, (%r12,%rsi,4)
	jmp	.L64
.L88:
	movslq	%edx, %r11
	movl	(%r12,%r11,4), %edi
	cmpl	%edi, %edx
	jne	.L91
.L60:
	movl	(%r12,%r11,4), %eax
	movl	%eax, (%r12,%r8,4)
	jmp	.L59
.L91:
	call	find_set
	movl	%eax, (%r12,%r11,4)
	jmp	.L60
.L90:
	call	find_set
	movl	%eax, (%r12,%r11,4)
	jmp	.L65
.L42:
	xorl	%ebx, %ebx
	testl	%esi, %esi
	jg	.L45
	jmp	.L75
.L37:
	leaq	1(%rax), %rdx
	xorl	%esi, %esi
	movq	%rdx, bp(%rip)
	cmpb	$47, 1(%rax)
	jg	.L40
	jmp	.L75
.L70:
	movl	$1, %eax
	jmp	.L47
	.cfi_endproc
.LFE28:
	.size	main, .-main
	.globl	bp
	.bss
	.align 8
	.type	bp, @object
	.size	bp, 8
bp:
	.zero	8
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 32
buf:
	.zero	32
	.globl	rank
	.align 32
	.type	rank, @object
	.size	rank, 40008
rank:
	.zero	40008
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 40008
p:
	.zero	40008
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC1:
	.long	4
	.long	4
	.long	4
	.long	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
	.p2align 4
	.globl	make_set
	.type	make_set, @function
make_set:
.LFB23:
	.cfi_startproc
	endbr64
	movslq	%edi, %rax
	leaq	p(%rip), %rdx
	movl	%edi, (%rdx,%rax,4)
	leaq	rank(%rip), %rdx
	movl	$0, (%rdx,%rax,4)
	ret
	.cfi_endproc
.LFE23:
	.size	make_set, .-make_set
	.p2align 4
	.globl	link
	.type	link, @function
link:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	rank(%rip), %rax
	movslq	%edi, %r8
	movslq	%esi, %rdx
	movl	(%rax,%r8,4), %ecx
	cmpl	(%rax,%rdx,4), %ecx
	jle	.L4
	leaq	p(%rip), %rax
	movl	%edi, (%rax,%rdx,4)
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	p(%rip), %rdi
	movl	%esi, (%rdi,%r8,4)
	je	.L6
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %ecx
	movl	%ecx, (%rax,%rdx,4)
	ret
	.cfi_endproc
.LFE24:
	.size	link, .-link
	.p2align 4
	.globl	find_set
	.type	find_set, @function
find_set:
.LFB25:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movslq	%edi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	p(%rip), %rbx
	movq	%rbp, %rax
	movl	(%rbx,%rbp,4), %edx
	cmpl	%ebp, %edx
	jne	.L14
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	movslq	%edx, %r12
	movl	(%rbx,%r12,4), %eax
	cmpl	%eax, %edx
	je	.L9
	movslq	%eax, %r13
	movl	(%rbx,%r13,4), %edx
	cmpl	%edx, %eax
	jne	.L15
.L10:
	movl	%edx, (%rbx,%r12,4)
	movl	%edx, %eax
.L9:
	movl	%eax, (%rbx,%rbp,4)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movslq	%edx, %r14
	movl	(%rbx,%r14,4), %edi
	cmpl	%edi, %edx
	je	.L11
	call	find_set
	movl	%eax, (%rbx,%r14,4)
	movl	%eax, %edi
.L11:
	movl	%edi, (%rbx,%r13,4)
	movl	%edi, %edx
	jmp	.L10
	.cfi_endproc
.LFE25:
	.size	find_set, .-find_set
	.p2align 4
	.globl	union_set
	.type	union_set, @function
union_set:
.LFB26:
	.cfi_startproc
	endbr64
	leaq	p(%rip), %rcx
	movslq	%esi, %r9
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movl	%edi, %r8d
	movl	(%rcx,%r9,4), %r10d
	cmpl	%r10d, %esi
	jne	.L27
.L17:
	movslq	%r8d, %rsi
	movl	(%rcx,%rsi,4), %eax
	cmpl	%eax, %r8d
	jne	.L28
.L20:
	leaq	rank(%rip), %rdx
	movslq	%eax, %r8
	movslq	%r10d, %rsi
	movl	(%rdx,%r8,4), %edi
	cmpl	(%rdx,%rsi,4), %edi
	jle	.L24
	movl	%eax, (%rcx,%rsi,4)
.L16:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	movl	%r10d, (%rcx,%r8,4)
	jne	.L16
	addl	$1, %edi
	movl	%edi, (%rdx,%rsi,4)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	movslq	%eax, %r9
	movl	(%rcx,%r9,4), %edx
	cmpl	%edx, %eax
	je	.L21
	movslq	%edx, %r11
	movl	(%rcx,%r11,4), %r8d
	cmpl	%r8d, %edx
	jne	.L29
.L22:
	movl	%r8d, (%rcx,%r9,4)
	movl	%r8d, %edx
.L21:
	movl	%edx, (%rcx,%rsi,4)
	movl	%edx, %eax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L27:
	movslq	%r10d, %rsi
	movl	(%rcx,%rsi,4), %edx
	cmpl	%edx, %r10d
	je	.L18
	movslq	%edx, %r10
	movl	(%rcx,%r10,4), %edi
	cmpl	%edi, %edx
	jne	.L30
.L19:
	movl	%edi, (%rcx,%rsi,4)
	movl	%edi, %edx
.L18:
	movl	%edx, (%rcx,%r9,4)
	movl	%edx, %r10d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L30:
	call	find_set
	movl	%eax, (%rcx,%r10,4)
	movl	%eax, %edi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L29:
	movslq	%r8d, %rbx
	movl	(%rcx,%rbx,4), %edi
	cmpl	%edi, %r8d
	je	.L23
	call	find_set
	movl	%eax, (%rcx,%rbx,4)
	movl	%eax, %edi
.L23:
	movl	%edi, (%rcx,%r11,4)
	movl	%edi, %r8d
	jmp	.L22
	.cfi_endproc
.LFE26:
	.size	union_set, .-union_set
	.p2align 4
	.globl	getint
	.type	getint, @function
getint:
.LFB27:
	.cfi_startproc
	endbr64
	movq	bp(%rip), %rax
	cmpb	$47, (%rax)
	jle	.L34
	addq	$1, %rax
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L33:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %edx
	addq	$1, %rax
	leal	(%r8,%r8,4), %ecx
	andl	$15, %edx
	cmpb	$47, -1(%rax)
	leal	(%rdx,%rcx,2), %r8d
	jg	.L33
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	xorl	%r8d, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE27:
	.size	getint, .-getint
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB28:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	stdin(%rip), %rdx
	movl	$32, %esi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	buf(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	movq	%rbp, bp(%rip)
	call	fgets@PLT
	movq	bp(%rip), %rax
	cmpb	$47, (%rax)
	jle	.L37
	addq	$1, %rax
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L38:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %edx
	movq	%rax, %rdi
	leal	(%rsi,%rsi,4), %ecx
	addq	$1, %rax
	andl	$15, %edx
	cmpb	$47, -1(%rax)
	leal	(%rdx,%rcx,2), %esi
	jg	.L38
	leaq	1(%rdi), %rdx
	movq	%rdx, bp(%rip)
	cmpb	$47, 1(%rdi)
	jle	.L42
.L40:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L43:
	addq	$1, %rdx
	leal	(%rbx,%rbx,4), %ecx
	movq	%rdx, bp(%rip)
	movzbl	-1(%rdx), %eax
	andl	$15, %eax
	cmpb	$47, (%rdx)
	leal	(%rax,%rcx,2), %ebx
	jg	.L43
	testl	%esi, %esi
	jle	.L46
.L45:
	testl	%esi, %esi
	movl	$1, %ecx
	cmovg	%esi, %ecx
	cmpl	$3, %esi
	jle	.L70
	movl	%ecx, %edx
	leaq	4+p(%rip), %rax
	movdqa	.LC0(%rip), %xmm0
	movdqa	.LC1(%rip), %xmm2
	shrl	$2, %edx
	leaq	16(%rax), %rdi
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L48:
	movdqa	%xmm0, %xmm1
	addq	$16, %rax
	paddd	%xmm2, %xmm0
	movups	%xmm1, -16(%rax)
	cmpq	%rdx, %rax
	jne	.L48
	movl	%ecx, %edx
	andl	$-4, %edx
	leal	1(%rdx), %eax
	cmpl	%ecx, %edx
	je	.L49
.L47:
	movslq	%eax, %rdx
	leaq	p(%rip), %rcx
	movl	%eax, (%rcx,%rdx,4)
	leal	1(%rax), %edx
	cmpl	%esi, %edx
	jg	.L49
	movslq	%edx, %rdi
	addl	$2, %eax
	movl	%edx, (%rcx,%rdi,4)
	cmpl	%eax, %esi
	jl	.L49
	movslq	%eax, %rdx
	movl	%eax, (%rcx,%rdx,4)
.L49:
	movslq	%esi, %rdx
	movl	$4, %eax
	leaq	4+rank(%rip), %rdi
	salq	$2, %rdx
	testl	%esi, %esi
	cmovle	%rax, %rdx
	xorl	%esi, %esi
	call	memset@PLT
.L46:
	testl	%ebx, %ebx
	je	.L75
	leaq	p(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L67:
	movq	stdin(%rip), %rdx
	movq	%rbp, %rdi
	movl	$32, %esi
	movq	%rbp, bp(%rip)
	call	fgets@PLT
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	leaq	2(%rax), %rdx
	movzbl	(%rax), %edi
	movq	%rdx, bp(%rip)
	cmpb	$47, 2(%rax)
	jle	.L71
	addq	$3, %rax
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L51:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %ecx
	movq	%rax, %rdx
	addq	$1, %rax
	leal	(%r8,%r8,4), %esi
	andl	$15, %ecx
	cmpb	$47, -1(%rax)
	leal	(%rcx,%rsi,2), %r8d
	jg	.L51
.L50:
	leaq	1(%rdx), %rax
	movq	%rax, bp(%rip)
	cmpb	$47, 1(%rdx)
	jle	.L72
	leaq	2(%rdx), %rax
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L53:
	movq	%rax, bp(%rip)
	movzbl	-1(%rax), %edx
	addq	$1, %rax
	leal	(%rsi,%rsi,4), %ecx
	andl	$15, %edx
	cmpb	$47, -1(%rax)
	leal	(%rdx,%rcx,2), %esi
	jg	.L53
.L52:
	cmpb	$48, %dil
	je	.L87
	movslq	%r8d, %rcx
	movl	(%r12,%rcx,4), %eax
	cmpl	%r8d, %eax
	je	.L56
	movslq	%eax, %r9
	movl	(%r12,%r9,4), %r8d
	cmpl	%r8d, %eax
	je	.L57
	movslq	%r8d, %r10
	movl	(%r12,%r10,4), %eax
	cmpl	%eax, %r8d
	je	.L58
	movslq	%eax, %r8
	movl	(%r12,%r8,4), %edx
	cmpl	%edx, %eax
	jne	.L88
.L59:
	movl	(%r12,%r8,4), %eax
	movl	%eax, (%r12,%r10,4)
.L58:
	movl	(%r12,%r10,4), %r8d
	movl	%r8d, (%r12,%r9,4)
.L57:
	movl	%r8d, (%r12,%rcx,4)
.L56:
	movslq	%esi, %rcx
	movl	(%r12,%rcx,4), %eax
	cmpl	%esi, %eax
	je	.L61
	movslq	%eax, %r9
	movl	(%r12,%r9,4), %esi
	cmpl	%esi, %eax
	je	.L62
	movslq	%esi, %r10
	movl	(%r12,%r10,4), %eax
	cmpl	%eax, %esi
	je	.L63
	movslq	%eax, %rsi
	movl	(%r12,%rsi,4), %edx
	cmpl	%edx, %eax
	jne	.L89
.L64:
	movl	(%r12,%rsi,4), %eax
	movl	%eax, (%r12,%r10,4)
.L63:
	movl	(%r12,%r10,4), %esi
	movl	%esi, (%r12,%r9,4)
.L62:
	movl	%esi, (%r12,%rcx,4)
.L61:
	xorl	%edi, %edi
	cmpl	%esi, %r8d
	movq	stdout(%rip), %rsi
	sete	%dil
	addl	$48, %edi
	call	putc@PLT
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L55:
	subl	$1, %ebx
	jne	.L67
.L75:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L87:
	.cfi_restore_state
	movl	%r8d, %edi
	call	union_set
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L71:
	xorl	%r8d, %r8d
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L72:
	xorl	%esi, %esi
	jmp	.L52
.L89:
	movslq	%edx, %r11
	movl	(%r12,%r11,4), %edi
	cmpl	%edi, %edx
	jne	.L90
.L65:
	movl	(%r12,%r11,4), %eax
	movl	%eax, (%r12,%rsi,4)
	jmp	.L64
.L88:
	movslq	%edx, %r11
	movl	(%r12,%r11,4), %edi
	cmpl	%edi, %edx
	jne	.L91
.L60:
	movl	(%r12,%r11,4), %eax
	movl	%eax, (%r12,%r8,4)
	jmp	.L59
.L91:
	call	find_set
	movl	%eax, (%r12,%r11,4)
	jmp	.L60
.L90:
	call	find_set
	movl	%eax, (%r12,%r11,4)
	jmp	.L65
.L42:
	xorl	%ebx, %ebx
	testl	%esi, %esi
	jg	.L45
	jmp	.L75
.L37:
	leaq	1(%rax), %rdx
	xorl	%esi, %esi
	movq	%rdx, bp(%rip)
	cmpb	$47, 1(%rax)
	jg	.L40
	jmp	.L75
.L70:
	movl	$1, %eax
	jmp	.L47
	.cfi_endproc
.LFE28:
	.size	main, .-main
	.globl	bp
	.bss
	.align 8
	.type	bp, @object
	.size	bp, 8
bp:
	.zero	8
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 32
buf:
	.zero	32
	.globl	rank
	.align 32
	.type	rank, @object
	.size	rank, 40008
rank:
	.zero	40008
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 40008
p:
	.zero	40008
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC1:
	.long	4
	.long	4
	.long	4
	.long	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:

// AOJ DSL_1 A Set - Disjoint Set: Union Find Tree
// 2017.10.31 bal4u@uu

#include <stdio.h>

#define MAX 10002
/* UNION-FIND library */
int p[MAX], rank[MAX];
void make_set(int x) { p[x] = x, rank[x] = 0; }
void link(int x, int y) {
	if (rank[x] > rank[y]) p[y] = x;
	else { p[x] = y; if (rank[x] == rank[y]) rank[y] = rank[y] + 1;	}
}
int find_set(int x) { if (x != p[x]) p[x] = find_set(p[x]);	return p[x]; }
void union_set(int x, int y) { link(find_set(x), find_set(y)); }

char buf[32], *bp;
int getint()
{
	int n = 0;
	while (*bp >= '0') n = (n<<3) + (n<<1) + (*bp++ & 0xf);
	return n;
}

int main()
{
	int n, q, i;
	int cmd, x, y;

//	scanf("%d%d", &n, &q);
	fgets(bp=buf, sizeof(buf), stdin);
	n = getint(), bp++, q = getint();
	for (i = 1; i <= n; i++) make_set(i);
	while (q--) {
//		scanf("%d%d%d", &cmd, &x, &y);
		fgets(bp=buf, sizeof(buf), stdin);
		cmd = *bp++, bp++, x = getint(), bp++, y = getint();
		if (cmd == '0') union_set(x, y);
		else putchar('0'+(find_set(x)==find_set(y))), putchar('\n');
	}
	return 0;
}
5 12
0 2 4
0 2 3
1 1 2
1 3 4
1 1 4
1 3 2
0 1 3
1 2 4
1 3 0
0 0 4
1 0 2
1 3 0
 5 12
0 1 4
0 2 3
1 1 2
1 3 4
1 1 4
1 2 2
0 1 3
1 2 4
1 3 0
0 0 4
1 0 2
1 3 0
 5 12
0 1 4
0 2 3
1 1 2
1 3 4
1 2 4
1 2 2
0 1 3
1 2 4
1 3 0
0 0 4
1 0 2
1 3 0
 5 12
0 1 4
0 2 3
1 1 2
1 3 4
1 2 4
1 2 2
1 1 3
1 2 4
1 3 0
0 0 4
1 0 2
1 3 0
 5 12
0 1 4
0 2 3
1 1 2
1 3 4
1 2 4
1 2 2
0 1 3
1 2 4
1 3 1
0 0 4
1 0 2
1 3 0
 5 12
0 2 4
0 2 3
1 1 3
1 3 4
1 2 4
1 2 2
1 1 3
1 2 4
1 3 0
0 0 4
1 0 2
1 3 0
 5 12
0 1 4
0 2 3
1 1 2
1 3 4
1 1 4
1 3 2
0 1 3
1 2 4
1 3 0
1 0 4
1 0 2
1 3 0
 5 12
0 1 4
0 2 3
1 1 1
1 3 4
1 2 4
1 2 2
0 1 3
1 2 4
1 3 0
0 0 4
1 0 2
1 3 0
 5 12
0 1 2
0 2 3
1 1 2
1 3 4
1 2 4
1 2 2
0 1 3
1 2 4
1 3 1
0 0 4
1 0 2
1 3 0
 5 12
0 2 4
0 2 3
1 1 3
1 3 4
1 2 4
1 2 2
1 1 3
1 2 4
1 3 0
0 1 4
1 0 2
1 3 0

0
1
0
1
1
0
1
1
 0
0
1
1
1
0
1
1
 0
0
0
1
1
0
1
1
 0
0
0
1
0
0
0
0
0
 0
0
0
1
1
1
1
1
 0
1
1
1
0
1
0
1
1
 0
0
1
1
1
0
0
0
0
 1
0
0
1
1
0
1
1
 1
0
0
1
0
1
0
0
 0
1
1
1
0
1
0
0
0

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

```c
// AOJ DSL_1 A Set - Disjoint Set: Union Find Tree
// 2017.10.31 bal4u@uu

#include <stdio.h>

#define MAX 10002
/* UNION-FIND library */
int p[MAX], rank[MAX];
void make_set(int x) { p[x] = x, rank[x] = 0; }
void link(int x, int y) {
	if (rank[x] > rank[y]) p[y] = x;
	else { p[x] = y; if (rank[x] == rank[y]) rank[y] = rank[y] + 1;	}
}
int find_set(int x) { if (x != p[x]) p[x] = find_set(p[x]);	return p[x]; }
void union_set(int x, int y) { link(find_set(x), find_set(y)); }

char buf[32], *bp;
int getint()
{
	int n = 0;
	while (*bp >= '0') n = (n<<3) + (n<<1) + (*bp++ & 0xf);
	return n;
}

int main()
{
	int n, q, i;
	int cmd, x, y;

//	scanf("%d%d", &n, &q);
	fgets(bp=buf, sizeof(buf), stdin);
	n = getint(), bp++, q = getint();
	for (i = 1; i <= n; i++) make_set(i);
	while (q--) {
//		scanf("%d%d%d", &cmd, &x, &y);
		fgets(bp=buf, sizeof(buf), stdin);
		cmd = *bp++, bp++, x = getint(), bp++, y = getint();
		if (cmd == '0') union_set(x, y);
		else putchar('0'+(find_set(x)==find_set(y))), putchar('\n');
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 40008
p:
	.zero	40008
	.globl	rank
	.align 32
	.type	rank, @object
	.size	rank, 40008
rank:
	.zero	40008
	.text
	.globl	make_set
	.type	make_set, @function
make_set:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	$0, (%rdx,%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	make_set, .-make_set
	.globl	link
	.type	link, @function
link:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	rank(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jle	.L3
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L5
.L3:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	rank(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L5:
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	link, .-link
	.globl	find_set
	.type	find_set, @function
find_set:
.LFB2:
	.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)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	je	.L7
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %edi
	call	find_set
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	p(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	find_set, .-find_set
	.globl	union_set
	.type	union_set, @function
union_set:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%eax, %ebx
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%ebx, %esi
	movl	%eax, %edi
	call	link
	nop
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	union_set, .-union_set
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 32
buf:
	.zero	32
	.globl	bp
	.align 8
	.type	bp, @object
	.size	bp, 8
bp:
	.zero	8
	.text
	.globl	getint
	.type	getint, @function
getint:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-4(%rbp), %eax
	addl	%eax, %eax
	leal	(%rdx,%rax), %ecx
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	andl	$15, %eax
	addl	%ecx, %eax
	movl	%eax, -4(%rbp)
.L11:
	movq	bp(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$47, %al
	jg	.L12
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	getint, .-getint
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 3, -24
	movq	stdin(%rip), %rdx
	leaq	buf(%rip), %rax
	movq	%rax, bp(%rip)
	movq	bp(%rip), %rax
	movl	$32, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	$0, %eax
	call	getint
	movl	%eax, -32(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -40(%rbp)
	movl	$1, -36(%rbp)
	jmp	.L15
.L16:
	movl	-36(%rbp), %eax
	movl	%eax, %edi
	call	make_set
	addl	$1, -36(%rbp)
.L15:
	movl	-36(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L16
	jmp	.L17
.L21:
	movq	stdin(%rip), %rdx
	leaq	buf(%rip), %rax
	movq	%rax, bp(%rip)
	movq	bp(%rip), %rax
	movl	$32, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, -28(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -24(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -20(%rbp)
	cmpl	$48, -28(%rbp)
	jne	.L18
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	union_set
	jmp	.L17
.L18:
	movl	-24(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%eax, %ebx
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	cmpl	%eax, %ebx
	jne	.L19
	movl	$49, %eax
	jmp	.L20
.L19:
	movl	$48, %eax
.L20:
	movl	%eax, %edi
	call	putchar@PLT
	movl	$10, %edi
	call	putchar@PLT
.L17:
	movl	-40(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -40(%rbp)
	testl	%eax, %eax
	jne	.L21
	movl	$0, %eax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 40008
p:
	.zero	40008
	.globl	rank
	.align 32
	.type	rank, @object
	.size	rank, 40008
rank:
	.zero	40008
	.text
	.globl	make_set
	.type	make_set, @function
make_set:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	$0, (%rdx,%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	make_set, .-make_set
	.globl	link
	.type	link, @function
link:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	rank(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jle	.L3
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L5
.L3:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	p(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	rank(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	rank(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L5:
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	link, .-link
	.globl	find_set
	.type	find_set, @function
find_set:
.LFB2:
	.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)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	je	.L7
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %edi
	call	find_set
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	p(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	p(%rip), %rax
	movl	(%rdx,%rax), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	find_set, .-find_set
	.globl	union_set
	.type	union_set, @function
union_set:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%eax, %ebx
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%ebx, %esi
	movl	%eax, %edi
	call	link
	nop
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	union_set, .-union_set
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 32
buf:
	.zero	32
	.globl	bp
	.align 8
	.type	bp, @object
	.size	bp, 8
bp:
	.zero	8
	.text
	.globl	getint
	.type	getint, @function
getint:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-4(%rbp), %eax
	addl	%eax, %eax
	leal	(%rdx,%rax), %ecx
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	andl	$15, %eax
	addl	%ecx, %eax
	movl	%eax, -4(%rbp)
.L11:
	movq	bp(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	$47, %al
	jg	.L12
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	getint, .-getint
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 3, -24
	movq	stdin(%rip), %rdx
	leaq	buf(%rip), %rax
	movq	%rax, bp(%rip)
	movq	bp(%rip), %rax
	movl	$32, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	$0, %eax
	call	getint
	movl	%eax, -32(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -40(%rbp)
	movl	$1, -36(%rbp)
	jmp	.L15
.L16:
	movl	-36(%rbp), %eax
	movl	%eax, %edi
	call	make_set
	addl	$1, -36(%rbp)
.L15:
	movl	-36(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L16
	jmp	.L17
.L21:
	movq	stdin(%rip), %rdx
	leaq	buf(%rip), %rax
	movq	%rax, bp(%rip)
	movq	bp(%rip), %rax
	movl	$32, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movq	bp(%rip), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, bp(%rip)
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, -28(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -24(%rbp)
	movq	bp(%rip), %rax
	addq	$1, %rax
	movq	%rax, bp(%rip)
	movl	$0, %eax
	call	getint
	movl	%eax, -20(%rbp)
	cmpl	$48, -28(%rbp)
	jne	.L18
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	union_set
	jmp	.L17
.L18:
	movl	-24(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	movl	%eax, %ebx
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	find_set
	cmpl	%eax, %ebx
	jne	.L19
	movl	$49, %eax
	jmp	.L20
.L19:
	movl	$48, %eax
.L20:
	movl	%eax, %edi
	call	putchar@PLT
	movl	$10, %edi
	call	putchar@PLT
.L17:
	movl	-40(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -40(%rbp)
	testl	%eax, %eax
	jne	.L21
	movl	$0, %eax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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:
