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

```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

struct node {
  int key;
  int priority;
  struct node *right;
  struct node *left;
};

typedef struct node* Nodepointer;
Nodepointer nil=NULL, root=NULL;

Nodepointer delete(Nodepointer*, int);
Nodepointer _delete(Nodepointer*, int);

Nodepointer Node(int key, int priority){
 Nodepointer z;
  z = (Nodepointer)malloc(sizeof(struct node));
  z->key = key;
  z->priority = priority;
  z->left = nil;
  z->right = nil;
  return z;
}

Nodepointer rightRotate(Nodepointer t){
  Nodepointer s = t->left;
  t->left = s->right;
  s->right = t;
  return s;
}

Nodepointer leftRotate(Nodepointer t){
  Nodepointer s = t->right;
  t->right = s->left;
  s->left = t;
  return s;
}

Nodepointer insert(Nodepointer *t, int key, int priority){
  Nodepointer new;
  if( (*t) == nil ) return new = Node(key, priority);
  if( key == (*t)->key ) return *t;

  if( key < (*t)->key ){
    (*t)->left = insert(&(*t)->left, key, priority);
    if( (*t)->priority < (*t)->left->priority ) (*t) = rightRotate((*t));
  }
  else{
    (*t)->right = insert(&(*t)->right, key, priority);
    if( (*t)->priority < (*t)->right->priority ) (*t) = leftRotate((*t));
  }
  return *t;
}


Nodepointer delete(Nodepointer *t, int key){
  if( (*t) == nil ) return nil;
  if( key < (*t)->key ) (*t)->left = delete(&((*t)->left), key);
  else if( key > (*t)->key ) (*t)->right = delete(&((*t)->right), key);
  else {
    return _delete(t, key);
  }
  return *t;
}

Nodepointer _delete(Nodepointer *t, int key){
  if( (*t)->left == nil && (*t)->right == nil ) return nil;
  else if( (*t)->left == nil ) (*t) = leftRotate(*t);
  else if( (*t)->right == nil ) (*t) = rightRotate(*t);
  else {
    if( (*t)->left->priority > (*t)->right->priority ) (*t) = rightRotate(*t);
    else (*t) = leftRotate(*t);
  }
  return delete(t, key);
}


int find(Nodepointer u, int k){
  while( u != nil ){
    if( u->key == k ) return 1;
    else if( k < u->key ) u = u->left;
    else u = u->right;
  }
  return 0;
}

void inorder(Nodepointer u){
  if( u->left != nil ) inorder(u->left);
  printf(" %d", u->key);
  if( u->right != nil ) inorder(u->right);
  return;
}

void preorder(Nodepointer u){
  printf(" %d", u->key);
  if( u->left != nil ) preorder(u->left);
  if( u->right != nil ) preorder(u->right);
  return;
}

void print(Nodepointer u){
  inorder(u);
  printf("\n");
  preorder(u);
  printf("\n");
  return;
}

int main(){
  int m, i, x, y;
  char com[8];
  Nodepointer t=nil;

  scanf("%d", &m);

  for( i = 0 ; i < m ; i++ ){
    scanf("%s",com);

    switch(com[0]){
    case 'f': scanf("%d", &x);
      if( find(root, x)) printf("yes\n");
      else printf("no\n");
      break;

    case 'i':  scanf("%d%d", &x, &y);
      root = insert(&root,x,y);
      break;

    case 'p':  print(root);
      break;

    case 'd': scanf("%d", &x);
      root = delete(&root, x);
      break;
    }
  }
  return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	nil
	.bss
	.align 8
	.type	nil, @object
	.size	nil, 8
nil:
	.zero	8
	.globl	root
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.text
	.globl	Node
	.type	Node, @function
Node:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	$24, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, (%rax)
	movq	-8(%rbp), %rax
	movl	-24(%rbp), %edx
	movl	%edx, 4(%rax)
	movq	nil(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 16(%rax)
	movq	nil(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Node, .-Node
	.globl	rightRotate
	.type	rightRotate, @function
rightRotate:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, 16(%rax)
	movq	-8(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rightRotate, .-rightRotate
	.globl	leftRotate
	.type	leftRotate, @function
leftRotate:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, 16(%rax)
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	leftRotate, .-leftRotate
	.globl	insert
	.type	insert, @function
insert:
.LFB9:
	.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	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	-40(%rbp), %rax
	movq	(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L8
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Node
	movq	%rax, -24(%rbp)
	movq	-24(%rbp), %rax
	jmp	.L9
.L8:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -44(%rbp)
	jne	.L10
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	jmp	.L9
.L10:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -44(%rbp)
	jge	.L11
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	leaq	16(%rax), %rcx
	movq	-40(%rbp), %rax
	movq	(%rax), %rbx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movq	%rcx, %rdi
	call	insert
	movq	%rax, 16(%rbx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L12
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-40(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L12
.L11:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rcx
	movq	-40(%rbp), %rax
	movq	(%rax), %rbx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movq	%rcx, %rdi
	call	insert
	movq	%rax, 8(%rbx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L12
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-40(%rbp), %rdx
	movq	%rax, (%rdx)
.L12:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insert, .-insert
	.globl	delete
	.type	delete, @function
delete:
.LFB10:
	.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
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movq	-24(%rbp), %rax
	movq	(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L14
	movq	nil(%rip), %rax
	jmp	.L15
.L14:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -28(%rbp)
	jge	.L16
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	leaq	16(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	(%rax), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	movq	%rdx, %rdi
	call	delete
	movq	%rax, 16(%rbx)
	jmp	.L17
.L16:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -28(%rbp)
	jle	.L18
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	(%rax), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	movq	%rdx, %rdi
	call	delete
	movq	%rax, 8(%rbx)
	jmp	.L17
.L18:
	movl	-28(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	_delete
	jmp	.L15
.L17:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
.L15:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	delete, .-delete
	.globl	_delete
	.type	_delete, @function
_delete:
.LFB11:
	.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
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L20
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L20
	movq	nil(%rip), %rax
	jmp	.L21
.L20:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L22
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L22:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L24
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L24:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L25
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L25:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
.L23:
	movl	-12(%rbp), %edx
	movq	-8(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	delete
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	_delete, .-_delete
	.globl	find
	.type	find, @function
find:
.LFB12:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	jmp	.L27
.L31:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L28
	movl	$1, %eax
	jmp	.L29
.L28:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jge	.L30
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -8(%rbp)
	jmp	.L27
.L30:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
.L27:
	movq	nil(%rip), %rax
	cmpq	%rax, -8(%rbp)
	jne	.L31
	movl	$0, %eax
.L29:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	find, .-find
	.section	.rodata
.LC0:
	.string	" %d"
	.text
	.globl	inorder
	.type	inorder, @function
inorder:
.LFB13:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L33
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, %rdi
	call	inorder
.L33:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L36
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, %rdi
	call	inorder
	nop
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	inorder, .-inorder
	.globl	preorder
	.type	preorder, @function
preorder:
.LFB14:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L38
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, %rdi
	call	preorder
.L38:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L41
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, %rdi
	call	preorder
	nop
.L41:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	preorder, .-preorder
	.globl	print
	.type	print, @function
print:
.LFB15:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	inorder
	movl	$10, %edi
	call	putchar@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	preorder
	movl	$10, %edi
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print, .-print
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"yes"
.LC4:
	.string	"no"
.LC5:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	nil(%rip), %rax
	movq	%rax, -24(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -28(%rbp)
	jmp	.L45
.L52:
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-16(%rbp), %eax
	movsbl	%al, %eax
	cmpl	$112, %eax
	je	.L46
	cmpl	$112, %eax
	jg	.L47
	cmpl	$105, %eax
	je	.L48
	cmpl	$105, %eax
	jg	.L47
	cmpl	$100, %eax
	je	.L49
	cmpl	$102, %eax
	jne	.L47
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-36(%rbp), %edx
	movq	root(%rip), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	find
	testl	%eax, %eax
	je	.L50
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L47
.L50:
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L47
.L48:
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	root(%rip), %rax
	movq	%rax, %rdi
	call	insert
	movq	%rax, root(%rip)
	jmp	.L47
.L46:
	movq	root(%rip), %rax
	movq	%rax, %rdi
	call	print
	jmp	.L47
.L49:
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	root(%rip), %rax
	movq	%rax, %rdi
	call	delete
	movq	%rax, root(%rip)
	nop
.L47:
	addl	$1, -28(%rbp)
.L45:
	movl	-40(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L52
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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	Node
	.type	Node, @function
Node:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movl	%edi, %ebx
	movl	$24, %edi
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	call	malloc@PLT
	movd	%ebx, %xmm0
	movd	%ebp, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, (%rax)
	movq	nil(%rip), %xmm0
	punpcklqdq	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	Node, .-Node
	.p2align 4
	.globl	rightRotate
	.type	rightRotate, @function
rightRotate:
.LFB52:
	.cfi_startproc
	endbr64
	movq	16(%rdi), %rax
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rdi)
	movq	%rdi, 8(%rax)
	ret
	.cfi_endproc
.LFE52:
	.size	rightRotate, .-rightRotate
	.p2align 4
	.globl	leftRotate
	.type	leftRotate, @function
leftRotate:
.LFB53:
	.cfi_startproc
	endbr64
	movq	8(%rdi), %rax
	movq	16(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movq	%rdi, 16(%rax)
	ret
	.cfi_endproc
.LFE53:
	.size	leftRotate, .-leftRotate
	.p2align 4
	.globl	insert
	.type	insert, @function
insert:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movd	%esi, %xmm1
	movd	%edx, %xmm2
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	punpckldq	%xmm2, %xmm1
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	nil(%rip), %rax
	movq	(%rdi), %r12
	movq	%rax, %xmm0
	punpcklqdq	%xmm0, %xmm0
	cmpq	%rax, %r12
	je	.L36
	cmpl	%esi, (%r12)
	je	.L6
	movq	%rdi, %rbx
	jle	.L9
	movq	16(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L37
	cmpl	0(%rbp), %esi
	je	.L11
	jge	.L12
	movq	16(%rbp), %r13
	cmpq	%r13, %rax
	je	.L38
	cmpl	0(%r13), %esi
	je	.L14
	jge	.L15
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	16(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L14
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r13, 16(%rbp)
	movq	16(%r12), %rbp
	movq	16(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L11
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rbp)
	movq	%rbp, 8(%rax)
	movq	%rax, %rbp
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbp, 16(%r12)
	movq	(%rbx), %r12
	movq	16(%r12), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r12)
	jge	.L6
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r12)
	movq	%r12, 8(%rax)
	movq	%rax, %r12
	movq	%rax, (%rbx)
.L6:
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movq	8(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L39
	cmpl	0(%rbp), %esi
	je	.L24
	jge	.L25
	movq	16(%rbp), %r13
	cmpq	%r13, %rax
	je	.L40
	cmpl	0(%r13), %esi
	je	.L27
	jge	.L28
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	16(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L27
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%r13, 16(%rbp)
	movq	8(%r12), %rbp
	movq	16(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L24
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rbp)
	movq	%rbp, 8(%rax)
	movq	%rax, %rbp
	.p2align 4,,10
	.p2align 3
.L24:
	movq	%rbp, 8(%r12)
	movq	(%rbx), %r12
	movq	8(%r12), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r12)
	jge	.L6
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r12)
	movq	%r12, 16(%rax)
	movq	%rax, %r12
	movq	%rax, (%rbx)
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movq	8(%rbp), %r13
	cmpq	%r13, %rax
	je	.L41
	cmpl	0(%r13), %esi
	je	.L19
	jge	.L20
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	8(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L19
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%r13, 8(%rbp)
	movq	16(%r12), %rbp
	movq	8(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L11
	movq	16(%rax), %rdx
	movq	%rdx, 8(%rbp)
	movq	%rbp, 16(%rax)
	movq	%rax, %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	movq	8(%rbp), %r13
	cmpq	%r13, %rax
	je	.L42
	cmpl	0(%r13), %esi
	je	.L32
	jge	.L33
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	8(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L32
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%r13, 8(%rbp)
	movq	8(%r12), %rbp
	movq	8(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L24
	movq	16(%rax), %rdx
	movq	%rdx, 8(%rbp)
	movq	%rbp, 16(%rax)
	movq	%rax, %rbp
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r12
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L28:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	16(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L27
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L33:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	8(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L32
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	16(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L14
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L20:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	8(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L19
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L39:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %rbp
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L37:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %rbp
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L40:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L42:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L41:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L19
	.cfi_endproc
.LFE54:
	.size	insert, .-insert
	.p2align 4
	.globl	_delete
	.type	_delete, @function
_delete:
.LFB56:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdi), %rdx
	movq	nil(%rip), %rax
	movq	16(%rdx), %rcx
	movq	8(%rdx), %r12
	cmpq	%rax, %rcx
	je	.L67
.L44:
	cmpq	%r12, %rax
	je	.L66
	movl	4(%r12), %eax
	cmpl	%eax, 4(%rcx)
	jg	.L66
.L48:
	movq	16(%r12), %rax
	movq	%rax, 8(%rdx)
	movq	%rdx, 16(%r12)
.L46:
	movq	%r12, (%rbx)
	movq	nil(%rip), %rax
	cmpq	%r12, %rax
	je	.L43
	cmpl	(%r12), %esi
	jl	.L68
	jle	.L64
	movq	8(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L56
	cmpl	0(%rbp), %esi
	jl	.L69
	jle	.L59
	movq	8(%rbp), %r13
	cmpq	%r13, %rax
	je	.L60
	cmpl	0(%r13), %esi
	jl	.L70
	jle	.L63
	leaq	8(%r13), %rdi
	call	delete
	movq	%rax, 8(%r13)
.L62:
	movq	8(%rbp), %r13
.L60:
	movq	%r13, 8(%rbp)
.L58:
	movq	8(%r12), %rbp
.L56:
	movq	%rbp, 8(%r12)
.L54:
	movq	(%rbx), %r12
.L43:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L66:
	.cfi_restore_state
	movq	8(%rcx), %rax
	movq	%rcx, %r12
	movq	%rax, 16(%rdx)
	movq	%rdx, 8(%rcx)
	jmp	.L46
	.p2align 4,,10
	.p2align 3
.L64:
	movq	%r12, %rdx
	movq	16(%rdx), %rcx
	movq	8(%rdx), %r12
	cmpq	%rax, %rcx
	jne	.L44
	.p2align 4,,10
	.p2align 3
.L67:
	cmpq	%r12, %rax
	jne	.L48
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L68:
	movq	16(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L50
	cmpl	0(%rbp), %esi
	jl	.L71
	jle	.L53
	leaq	8(%rbp), %rdi
	call	delete
	movq	%rax, 8(%rbp)
.L52:
	movq	16(%r12), %rbp
.L50:
	movq	%rbp, 16(%r12)
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L71:
	leaq	16(%rbp), %rdi
	call	delete
	movq	%rax, 16(%rbp)
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L59:
	leaq	8(%r12), %rdi
	call	_delete
	movq	%rax, %rbp
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L69:
	leaq	16(%rbp), %rdi
	call	delete
	movq	%rax, 16(%rbp)
	jmp	.L58
	.p2align 4,,10
	.p2align 3
.L53:
	leaq	16(%r12), %rdi
	call	_delete
	movq	%rax, %rbp
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L70:
	leaq	16(%r13), %rdi
	call	delete
	movq	%rax, 16(%r13)
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L63:
	leaq	8(%rbp), %rdi
	call	_delete
	movq	%rax, %r13
	jmp	.L60
	.cfi_endproc
.LFE56:
	.size	_delete, .-_delete
	.p2align 4
	.globl	delete
	.type	delete, @function
delete:
.LFB55:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdi), %rbx
	movq	nil(%rip), %rax
	cmpq	%rax, %rbx
	je	.L72
	movq	%rdi, %rbp
	cmpl	%esi, (%rbx)
	jg	.L90
	jge	.L80
	movq	8(%rbx), %r12
	cmpq	%r12, %rax
	je	.L81
	cmpl	(%r12), %esi
	jl	.L91
	jle	.L84
	movq	8(%r12), %r13
	cmpq	%r13, %rax
	je	.L85
	cmpl	0(%r13), %esi
	jl	.L92
	jle	.L88
	leaq	8(%r13), %rdi
	call	delete
	movq	%rax, 8(%r13)
.L87:
	movq	8(%r12), %r13
.L85:
	movq	%r13, 8(%r12)
	movq	8(%rbx), %r12
.L81:
	movq	%r12, 8(%rbx)
.L79:
	movq	0(%rbp), %rax
.L72:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L90:
	.cfi_restore_state
	movq	16(%rbx), %r12
	cmpq	%r12, %rax
	je	.L75
	cmpl	(%r12), %esi
	jl	.L93
	jle	.L78
	leaq	8(%r12), %rdi
	call	delete
	movq	%rax, 8(%r12)
.L77:
	movq	16(%rbx), %r12
.L75:
	movq	%r12, 16(%rbx)
	jmp	.L79
	.p2align 4,,10
	.p2align 3
.L80:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	jmp	_delete
	.p2align 4,,10
	.p2align 3
.L91:
	.cfi_restore_state
	leaq	16(%r12), %rdi
	call	delete
	movq	%rax, 16(%r12)
	movq	8(%rbx), %r12
	jmp	.L81
	.p2align 4,,10
	.p2align 3
.L93:
	leaq	16(%r12), %rdi
	call	delete
	movq	%rax, 16(%r12)
	jmp	.L77
	.p2align 4,,10
	.p2align 3
.L84:
	leaq	8(%rbx), %rdi
	call	_delete
	movq	%rax, %r12
	jmp	.L81
	.p2align 4,,10
	.p2align 3
.L78:
	leaq	16(%rbx), %rdi
	call	_delete
	movq	%rax, %r12
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L88:
	leaq	8(%r12), %rdi
	call	_delete
	movq	%rax, %r13
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L92:
	leaq	16(%r13), %rdi
	call	delete
	movq	%rax, 16(%r13)
	jmp	.L87
	.cfi_endproc
.LFE55:
	.size	delete, .-delete
	.p2align 4
	.globl	find
	.type	find, @function
find:
.LFB57:
	.cfi_startproc
	endbr64
	movq	nil(%rip), %rdx
	cmpq	%rdx, %rdi
	jne	.L97
	jmp	.L98
	.p2align 4,,10
	.p2align 3
.L101:
	movq	8(%rdi), %rax
	cmovg	16(%rdi), %rax
	movq	%rax, %rdi
	cmpq	%rdx, %rax
	je	.L98
.L97:
	cmpl	%esi, (%rdi)
	jne	.L101
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L98:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE57:
	.size	find, .-find
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %d"
	.text
	.p2align 4
	.globl	inorder
	.type	inorder, @function
inorder:
.LFB58:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	nil(%rip), %rax
	movq	%rdi, 24(%rsp)
.L104:
	movq	24(%rsp), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, 16(%rsp)
	cmpq	%rax, %rcx
	je	.L107
.L103:
	movq	16(%rsp), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, 8(%rsp)
	cmpq	%rax, %rcx
	je	.L109
.L106:
	movq	8(%rsp), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, (%rsp)
	cmpq	%rax, %rcx
	je	.L111
.L108:
	movq	(%rsp), %rcx
	movq	16(%rcx), %r12
	cmpq	%rax, %r12
	je	.L113
.L110:
	movq	16(%r12), %rbx
	cmpq	%rax, %rbx
	je	.L115
.L112:
	movq	16(%rbx), %r15
	cmpq	%rax, %r15
	je	.L117
.L114:
	movq	16(%r15), %r14
	cmpq	%rax, %r14
	je	.L119
.L116:
	movq	16(%r14), %r13
	cmpq	%rax, %r13
	je	.L122
.L118:
	movq	16(%r13), %rdi
	cmpq	%rax, %rdi
	je	.L120
	call	inorder
	movl	0(%r13), %edx
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%r13), %r13
	movq	nil(%rip), %rax
	cmpq	%r13, %rax
	jne	.L118
	.p2align 4,,10
	.p2align 3
.L122:
	movl	(%r14), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r14), %r14
	movq	nil(%rip), %rax
	cmpq	%rax, %r14
	jne	.L116
.L119:
	movl	(%r15), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r15), %r15
	movq	nil(%rip), %rax
	cmpq	%rax, %r15
	jne	.L114
.L117:
	movl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rbx), %rbx
	movq	nil(%rip), %rax
	cmpq	%rax, %rbx
	jne	.L112
.L115:
	movl	(%r12), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r12), %r12
	movq	nil(%rip), %rax
	cmpq	%rax, %r12
	jne	.L110
.L113:
	movq	(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, (%rsp)
	cmpq	%rax, %rcx
	jne	.L108
.L111:
	movq	8(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, 8(%rsp)
	cmpq	%rax, %rcx
	jne	.L106
.L109:
	movq	16(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, 16(%rsp)
	cmpq	%rax, %rcx
	jne	.L103
.L107:
	movq	24(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, 24(%rsp)
	cmpq	%rax, %rcx
	jne	.L104
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L120:
	.cfi_restore_state
	movl	0(%r13), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r13), %r13
	movq	nil(%rip), %rax
	cmpq	%rax, %r13
	jne	.L118
	jmp	.L122
	.cfi_endproc
.LFE58:
	.size	inorder, .-inorder
	.p2align 4
	.globl	preorder
	.type	preorder, @function
preorder:
.LFB59:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 24(%rsp)
.L160:
	movq	24(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %rax
	movq	nil(%rip), %r15
	movq	%rax, 16(%rsp)
	cmpq	%r15, %rax
	je	.L142
.L159:
	movq	16(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %rax
	movq	nil(%rip), %r15
	movq	%rax, 8(%rsp)
	cmpq	%r15, %rax
	je	.L143
.L158:
	movq	8(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %rax
	movq	nil(%rip), %r15
	movq	%rax, (%rsp)
	cmpq	%r15, %rax
	je	.L144
.L157:
	movq	(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %r12
	movq	nil(%rip), %r15
	cmpq	%r15, %r12
	je	.L145
.L156:
	movl	(%r12), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%r12), %rbx
	movq	nil(%rip), %r15
	cmpq	%r15, %rbx
	je	.L146
.L155:
	movl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%rbx), %r14
	movq	nil(%rip), %r15
	cmpq	%r15, %r14
	je	.L147
.L154:
	movl	(%r14), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%r14), %r13
	movq	nil(%rip), %r15
	cmpq	%r15, %r13
	je	.L148
.L153:
	movl	0(%r13), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%r13), %rax
	movq	nil(%rip), %r15
	cmpq	%r15, %rax
	je	.L149
	movq	%rax, %r15
.L152:
	movl	(%r15), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__printf_chk@PLT
	movq	16(%r15), %rdi
	cmpq	nil(%rip), %rdi
	je	.L150
	call	preorder
	movq	8(%r15), %r15
	cmpq	%r15, nil(%rip)
	jne	.L152
	.p2align 4,,10
	.p2align 3
.L149:
	movq	8(%r13), %r13
	cmpq	%r15, %r13
	jne	.L153
.L148:
	movq	8(%r14), %r14
	cmpq	%r15, %r14
	jne	.L154
.L147:
	movq	8(%rbx), %rbx
	cmpq	%r15, %rbx
	jne	.L155
.L146:
	movq	8(%r12), %r12
	cmpq	%r15, %r12
	jne	.L156
.L145:
	movq	(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, (%rsp)
	cmpq	%r15, %rax
	jne	.L157
.L144:
	movq	8(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, 8(%rsp)
	cmpq	%r15, %rax
	jne	.L158
.L143:
	movq	16(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, 16(%rsp)
	cmpq	%r15, %rax
	jne	.L159
.L142:
	movq	24(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, 24(%rsp)
	cmpq	%r15, %rax
	jne	.L160
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L150:
	.cfi_restore_state
	movq	8(%r15), %r15
	cmpq	%r15, %rdi
	jne	.L152
	movq	8(%r13), %r13
	cmpq	%r15, %r13
	jne	.L153
	jmp	.L148
	.cfi_endproc
.LFE59:
	.size	preorder, .-preorder
	.p2align 4
	.globl	print
	.type	print, @function
print:
.LFB60:
	.cfi_startproc
	endbr64
	movq	nil(%rip), %rax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdi, %rbx
.L174:
	movq	16(%rbp), %rdi
	cmpq	%rdi, %rax
	je	.L171
	call	inorder
.L171:
	movl	0(%rbp), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rbp), %rbp
	movq	nil(%rip), %rax
	cmpq	%rax, %rbp
	jne	.L174
	movl	$10, %edi
	call	putchar@PLT
.L178:
	movl	(%rbx), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rsi
	call	__printf_chk@PLT
	movq	16(%rbx), %rdi
	cmpq	nil(%rip), %rdi
	je	.L175
	call	preorder
	movq	8(%rbx), %rbx
	cmpq	%rbx, nil(%rip)
	jne	.L178
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L175:
	.cfi_restore_state
	movq	8(%rbx), %rbx
	cmpq	%rbx, %rdi
	jne	.L178
	popq	%rbx
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE60:
	.size	print, .-print
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
.LC4:
	.string	"yes"
.LC5:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB61:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	32(%rsp), %r14
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jle	.L228
	.p2align 4,,10
	.p2align 3
.L181:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	32(%rsp), %eax
	cmpb	$105, %al
	je	.L182
	jg	.L183
	cmpb	$100, %al
	je	.L184
	cmpb	$102, %al
	jne	.L186
	leaq	24(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	root(%rip), %rax
	movq	nil(%rip), %rcx
	movl	24(%rsp), %esi
	cmpq	%rcx, %rax
	jne	.L191
	jmp	.L188
	.p2align 4,,10
	.p2align 3
.L238:
	movq	8(%rax), %rdx
	cmovl	16(%rax), %rdx
	movq	%rdx, %rax
	cmpq	%rcx, %rdx
	je	.L188
.L191:
	cmpl	(%rax), %esi
	jne	.L238
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L186:
	addl	$1, %ebp
	cmpl	%ebp, 20(%rsp)
	jg	.L181
.L228:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L239
	addq	$56, %rsp
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L183:
	.cfi_restore_state
	cmpb	$112, %al
	jne	.L186
	movq	root(%rip), %rbx
	movq	nil(%rip), %rax
	movq	%rbx, %r15
.L195:
	movq	16(%r15), %rdi
	cmpq	%rdi, %rax
	je	.L192
	call	inorder
	movl	(%r15), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r15), %r15
	movq	nil(%rip), %rax
	cmpq	%r15, %rax
	jne	.L195
.L194:
	movl	$10, %edi
	call	putchar@PLT
.L199:
	movl	(%rbx), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rsi
	call	__printf_chk@PLT
	movq	16(%rbx), %rdi
	cmpq	nil(%rip), %rdi
	je	.L196
	call	preorder
	movq	8(%rbx), %rbx
	cmpq	%rbx, nil(%rip)
	jne	.L199
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L196:
	movq	8(%rbx), %rbx
	cmpq	%rbx, %rdi
	jne	.L199
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L192:
	movl	(%r15), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r15), %r15
	movq	nil(%rip), %rax
	cmpq	%rax, %r15
	jne	.L195
	jmp	.L194
	.p2align 4,,10
	.p2align 3
.L182:
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	leaq	root(%rip), %rdi
	call	insert
	movq	%rax, root(%rip)
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L184:
	leaq	24(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	root(%rip), %rbx
	movq	nil(%rip), %rax
	movq	%rbx, %rcx
	cmpq	%rax, %rbx
	je	.L200
	movl	24(%rsp), %esi
	cmpl	(%rbx), %esi
	jl	.L240
	jle	.L215
	movq	8(%rbx), %rdx
	cmpq	%rdx, %rax
	je	.L216
	cmpl	(%rdx), %esi
	jl	.L241
	jle	.L223
	movq	8(%rdx), %r8
	cmpq	%r8, %rax
	je	.L224
	cmpl	(%r8), %esi
	jl	.L242
	jle	.L227
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L226:
	movq	8(%rdx), %r8
	movq	root(%rip), %rcx
.L224:
	movq	%r8, 8(%rdx)
.L222:
	movq	8(%rbx), %rdx
.L216:
	movq	%rdx, 8(%rbx)
.L214:
	movq	%rcx, %rax
.L200:
	movq	%rax, root(%rip)
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L188:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L186
.L240:
	movq	16(%rbx), %rdx
	cmpq	%rdx, %rax
	je	.L202
	cmpl	(%rdx), %esi
	jl	.L243
	jle	.L209
	movq	8(%rdx), %r8
	cmpq	%r8, %rax
	je	.L210
	cmpl	(%r8), %esi
	jl	.L244
	jle	.L213
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L212:
	movq	8(%rdx), %r8
	movq	root(%rip), %rcx
.L210:
	movq	%r8, 8(%rdx)
.L208:
	movq	16(%rbx), %rdx
.L202:
	movq	%rdx, 16(%rbx)
	jmp	.L214
.L215:
	leaq	root(%rip), %rdi
	call	_delete
	jmp	.L200
.L209:
	leaq	16(%rbx), %rdi
	call	_delete
	movq	root(%rip), %rcx
	movq	%rax, %rdx
	jmp	.L202
.L241:
	movq	16(%rdx), %r8
	cmpq	%r8, %rax
	je	.L218
	cmpl	(%r8), %esi
	jl	.L245
	jle	.L221
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L220:
	movq	16(%rdx), %r8
	movq	root(%rip), %rcx
.L218:
	movq	%r8, 16(%rdx)
	jmp	.L222
.L243:
	movq	16(%rdx), %r8
	cmpq	%r8, %rax
	je	.L204
	cmpl	(%r8), %esi
	jl	.L246
	jle	.L207
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L206:
	movq	16(%rdx), %r8
	movq	root(%rip), %rcx
.L204:
	movq	%r8, 16(%rdx)
	jmp	.L208
.L223:
	leaq	8(%rbx), %rdi
	call	_delete
	movq	root(%rip), %rcx
	movq	%rax, %rdx
	jmp	.L216
.L242:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L226
.L207:
	leaq	16(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L204
.L244:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L212
.L245:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L220
.L227:
	leaq	8(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L224
.L246:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L206
.L221:
	leaq	16(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L218
.L213:
	leaq	8(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L210
.L239:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE61:
	.size	main, .-main
	.globl	root
	.bss
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.globl	nil
	.align 8
	.type	nil, @object
	.size	nil, 8
nil:
	.zero	8
	.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	Node
	.type	Node, @function
Node:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movl	%edi, %ebx
	movl	$24, %edi
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	call	malloc@PLT
	movd	%ebx, %xmm0
	movd	%ebp, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, (%rax)
	movq	nil(%rip), %xmm0
	punpcklqdq	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	Node, .-Node
	.p2align 4
	.globl	rightRotate
	.type	rightRotate, @function
rightRotate:
.LFB52:
	.cfi_startproc
	endbr64
	movq	16(%rdi), %rax
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rdi)
	movq	%rdi, 8(%rax)
	ret
	.cfi_endproc
.LFE52:
	.size	rightRotate, .-rightRotate
	.p2align 4
	.globl	leftRotate
	.type	leftRotate, @function
leftRotate:
.LFB53:
	.cfi_startproc
	endbr64
	movq	8(%rdi), %rax
	movq	16(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movq	%rdi, 16(%rax)
	ret
	.cfi_endproc
.LFE53:
	.size	leftRotate, .-leftRotate
	.p2align 4
	.globl	insert
	.type	insert, @function
insert:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movd	%esi, %xmm1
	movd	%edx, %xmm2
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	punpckldq	%xmm2, %xmm1
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	nil(%rip), %rax
	movq	(%rdi), %r12
	movq	%rax, %xmm0
	punpcklqdq	%xmm0, %xmm0
	cmpq	%rax, %r12
	je	.L36
	cmpl	%esi, (%r12)
	je	.L6
	movq	%rdi, %rbx
	jle	.L9
	movq	16(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L37
	cmpl	0(%rbp), %esi
	je	.L11
	jge	.L12
	movq	16(%rbp), %r13
	cmpq	%r13, %rax
	je	.L38
	cmpl	0(%r13), %esi
	je	.L14
	jge	.L15
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	16(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L14
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r13, 16(%rbp)
	movq	16(%r12), %rbp
	movq	16(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L11
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rbp)
	movq	%rbp, 8(%rax)
	movq	%rax, %rbp
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbp, 16(%r12)
	movq	(%rbx), %r12
	movq	16(%r12), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r12)
	jge	.L6
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r12)
	movq	%r12, 8(%rax)
	movq	%rax, %r12
	movq	%rax, (%rbx)
.L6:
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movq	8(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L39
	cmpl	0(%rbp), %esi
	je	.L24
	jge	.L25
	movq	16(%rbp), %r13
	cmpq	%r13, %rax
	je	.L40
	cmpl	0(%r13), %esi
	je	.L27
	jge	.L28
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	16(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L27
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%r13, 16(%rbp)
	movq	8(%r12), %rbp
	movq	16(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L24
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rbp)
	movq	%rbp, 8(%rax)
	movq	%rax, %rbp
	.p2align 4,,10
	.p2align 3
.L24:
	movq	%rbp, 8(%r12)
	movq	(%rbx), %r12
	movq	8(%r12), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r12)
	jge	.L6
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r12)
	movq	%r12, 16(%rax)
	movq	%rax, %r12
	movq	%rax, (%rbx)
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movq	8(%rbp), %r13
	cmpq	%r13, %rax
	je	.L41
	cmpl	0(%r13), %esi
	je	.L19
	jge	.L20
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	8(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L19
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%r13, 8(%rbp)
	movq	16(%r12), %rbp
	movq	8(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L11
	movq	16(%rax), %rdx
	movq	%rdx, 8(%rbp)
	movq	%rbp, 16(%rax)
	movq	%rax, %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	movq	8(%rbp), %r13
	cmpq	%r13, %rax
	je	.L42
	cmpl	0(%r13), %esi
	je	.L32
	jge	.L33
	leaq	16(%r13), %rdi
	call	insert
	movq	%rax, 16(%r13)
	movq	8(%rbp), %r13
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L32
	movq	8(%rax), %rdx
	movq	%rdx, 16(%r13)
	movq	%r13, 8(%rax)
	movq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%r13, 8(%rbp)
	movq	8(%r12), %rbp
	movq	8(%rbp), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%rbp)
	jge	.L24
	movq	16(%rax), %rdx
	movq	%rdx, 8(%rbp)
	movq	%rbp, 16(%rax)
	movq	%rax, %rbp
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r12
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L28:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	16(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L27
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L33:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	8(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L32
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	16(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L14
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L20:
	leaq	8(%r13), %rdi
	call	insert
	movq	%rax, 8(%r13)
	movq	8(%rbp), %r13
	movq	8(%r13), %rax
	movl	4(%rax), %ecx
	cmpl	%ecx, 4(%r13)
	jge	.L19
	movq	16(%rax), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 16(%rax)
	movq	%rax, %r13
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L39:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %rbp
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L37:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %rbp
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L40:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L42:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L41:
	movl	$24, %edi
	movaps	%xmm0, 16(%rsp)
	movq	%xmm1, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %xmm1
	movdqa	16(%rsp), %xmm0
	movq	%rax, %r13
	movq	%xmm1, (%rax)
	movups	%xmm0, 8(%rax)
	jmp	.L19
	.cfi_endproc
.LFE54:
	.size	insert, .-insert
	.p2align 4
	.globl	_delete
	.type	_delete, @function
_delete:
.LFB56:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdi), %rdx
	movq	nil(%rip), %rax
	movq	16(%rdx), %rcx
	movq	8(%rdx), %r12
	cmpq	%rax, %rcx
	je	.L67
.L44:
	cmpq	%r12, %rax
	je	.L66
	movl	4(%r12), %eax
	cmpl	%eax, 4(%rcx)
	jg	.L66
.L48:
	movq	16(%r12), %rax
	movq	%rax, 8(%rdx)
	movq	%rdx, 16(%r12)
.L46:
	movq	%r12, (%rbx)
	movq	nil(%rip), %rax
	cmpq	%r12, %rax
	je	.L43
	cmpl	(%r12), %esi
	jl	.L68
	jle	.L64
	movq	8(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L56
	cmpl	0(%rbp), %esi
	jl	.L69
	jle	.L59
	movq	8(%rbp), %r13
	cmpq	%r13, %rax
	je	.L60
	cmpl	0(%r13), %esi
	jl	.L70
	jle	.L63
	leaq	8(%r13), %rdi
	call	delete
	movq	%rax, 8(%r13)
.L62:
	movq	8(%rbp), %r13
.L60:
	movq	%r13, 8(%rbp)
.L58:
	movq	8(%r12), %rbp
.L56:
	movq	%rbp, 8(%r12)
.L54:
	movq	(%rbx), %r12
.L43:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L66:
	.cfi_restore_state
	movq	8(%rcx), %rax
	movq	%rcx, %r12
	movq	%rax, 16(%rdx)
	movq	%rdx, 8(%rcx)
	jmp	.L46
	.p2align 4,,10
	.p2align 3
.L64:
	movq	%r12, %rdx
	movq	16(%rdx), %rcx
	movq	8(%rdx), %r12
	cmpq	%rax, %rcx
	jne	.L44
	.p2align 4,,10
	.p2align 3
.L67:
	cmpq	%r12, %rax
	jne	.L48
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L68:
	movq	16(%r12), %rbp
	cmpq	%rbp, %rax
	je	.L50
	cmpl	0(%rbp), %esi
	jl	.L71
	jle	.L53
	leaq	8(%rbp), %rdi
	call	delete
	movq	%rax, 8(%rbp)
.L52:
	movq	16(%r12), %rbp
.L50:
	movq	%rbp, 16(%r12)
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L71:
	leaq	16(%rbp), %rdi
	call	delete
	movq	%rax, 16(%rbp)
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L59:
	leaq	8(%r12), %rdi
	call	_delete
	movq	%rax, %rbp
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L69:
	leaq	16(%rbp), %rdi
	call	delete
	movq	%rax, 16(%rbp)
	jmp	.L58
	.p2align 4,,10
	.p2align 3
.L53:
	leaq	16(%r12), %rdi
	call	_delete
	movq	%rax, %rbp
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L70:
	leaq	16(%r13), %rdi
	call	delete
	movq	%rax, 16(%r13)
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L63:
	leaq	8(%rbp), %rdi
	call	_delete
	movq	%rax, %r13
	jmp	.L60
	.cfi_endproc
.LFE56:
	.size	_delete, .-_delete
	.p2align 4
	.globl	delete
	.type	delete, @function
delete:
.LFB55:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdi), %rbx
	movq	nil(%rip), %rax
	cmpq	%rax, %rbx
	je	.L72
	movq	%rdi, %rbp
	cmpl	%esi, (%rbx)
	jg	.L90
	jge	.L80
	movq	8(%rbx), %r12
	cmpq	%r12, %rax
	je	.L81
	cmpl	(%r12), %esi
	jl	.L91
	jle	.L84
	movq	8(%r12), %r13
	cmpq	%r13, %rax
	je	.L85
	cmpl	0(%r13), %esi
	jl	.L92
	jle	.L88
	leaq	8(%r13), %rdi
	call	delete
	movq	%rax, 8(%r13)
.L87:
	movq	8(%r12), %r13
.L85:
	movq	%r13, 8(%r12)
	movq	8(%rbx), %r12
.L81:
	movq	%r12, 8(%rbx)
.L79:
	movq	0(%rbp), %rax
.L72:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L90:
	.cfi_restore_state
	movq	16(%rbx), %r12
	cmpq	%r12, %rax
	je	.L75
	cmpl	(%r12), %esi
	jl	.L93
	jle	.L78
	leaq	8(%r12), %rdi
	call	delete
	movq	%rax, 8(%r12)
.L77:
	movq	16(%rbx), %r12
.L75:
	movq	%r12, 16(%rbx)
	jmp	.L79
	.p2align 4,,10
	.p2align 3
.L80:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	jmp	_delete
	.p2align 4,,10
	.p2align 3
.L91:
	.cfi_restore_state
	leaq	16(%r12), %rdi
	call	delete
	movq	%rax, 16(%r12)
	movq	8(%rbx), %r12
	jmp	.L81
	.p2align 4,,10
	.p2align 3
.L93:
	leaq	16(%r12), %rdi
	call	delete
	movq	%rax, 16(%r12)
	jmp	.L77
	.p2align 4,,10
	.p2align 3
.L84:
	leaq	8(%rbx), %rdi
	call	_delete
	movq	%rax, %r12
	jmp	.L81
	.p2align 4,,10
	.p2align 3
.L78:
	leaq	16(%rbx), %rdi
	call	_delete
	movq	%rax, %r12
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L88:
	leaq	8(%r12), %rdi
	call	_delete
	movq	%rax, %r13
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L92:
	leaq	16(%r13), %rdi
	call	delete
	movq	%rax, 16(%r13)
	jmp	.L87
	.cfi_endproc
.LFE55:
	.size	delete, .-delete
	.p2align 4
	.globl	find
	.type	find, @function
find:
.LFB57:
	.cfi_startproc
	endbr64
	movq	nil(%rip), %rdx
	cmpq	%rdx, %rdi
	jne	.L97
	jmp	.L98
	.p2align 4,,10
	.p2align 3
.L101:
	movq	8(%rdi), %rax
	cmovg	16(%rdi), %rax
	movq	%rax, %rdi
	cmpq	%rdx, %rax
	je	.L98
.L97:
	cmpl	%esi, (%rdi)
	jne	.L101
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L98:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE57:
	.size	find, .-find
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %d"
	.text
	.p2align 4
	.globl	inorder
	.type	inorder, @function
inorder:
.LFB58:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	nil(%rip), %rax
	movq	%rdi, 24(%rsp)
.L104:
	movq	24(%rsp), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, 16(%rsp)
	cmpq	%rax, %rcx
	je	.L107
.L103:
	movq	16(%rsp), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, 8(%rsp)
	cmpq	%rax, %rcx
	je	.L109
.L106:
	movq	8(%rsp), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, (%rsp)
	cmpq	%rax, %rcx
	je	.L111
.L108:
	movq	(%rsp), %rcx
	movq	16(%rcx), %r12
	cmpq	%rax, %r12
	je	.L113
.L110:
	movq	16(%r12), %rbx
	cmpq	%rax, %rbx
	je	.L115
.L112:
	movq	16(%rbx), %r15
	cmpq	%rax, %r15
	je	.L117
.L114:
	movq	16(%r15), %r14
	cmpq	%rax, %r14
	je	.L119
.L116:
	movq	16(%r14), %r13
	cmpq	%rax, %r13
	je	.L122
.L118:
	movq	16(%r13), %rdi
	cmpq	%rax, %rdi
	je	.L120
	call	inorder
	movl	0(%r13), %edx
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%r13), %r13
	movq	nil(%rip), %rax
	cmpq	%r13, %rax
	jne	.L118
	.p2align 4,,10
	.p2align 3
.L122:
	movl	(%r14), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r14), %r14
	movq	nil(%rip), %rax
	cmpq	%rax, %r14
	jne	.L116
.L119:
	movl	(%r15), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r15), %r15
	movq	nil(%rip), %rax
	cmpq	%rax, %r15
	jne	.L114
.L117:
	movl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rbx), %rbx
	movq	nil(%rip), %rax
	cmpq	%rax, %rbx
	jne	.L112
.L115:
	movl	(%r12), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r12), %r12
	movq	nil(%rip), %rax
	cmpq	%rax, %r12
	jne	.L110
.L113:
	movq	(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, (%rsp)
	cmpq	%rax, %rcx
	jne	.L108
.L111:
	movq	8(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, 8(%rsp)
	cmpq	%rax, %rcx
	jne	.L106
.L109:
	movq	16(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, 16(%rsp)
	cmpq	%rax, %rcx
	jne	.L103
.L107:
	movq	24(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	8(%rbx), %rcx
	movq	nil(%rip), %rax
	movq	%rcx, 24(%rsp)
	cmpq	%rax, %rcx
	jne	.L104
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L120:
	.cfi_restore_state
	movl	0(%r13), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r13), %r13
	movq	nil(%rip), %rax
	cmpq	%rax, %r13
	jne	.L118
	jmp	.L122
	.cfi_endproc
.LFE58:
	.size	inorder, .-inorder
	.p2align 4
	.globl	preorder
	.type	preorder, @function
preorder:
.LFB59:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 24(%rsp)
.L160:
	movq	24(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %rax
	movq	nil(%rip), %r15
	movq	%rax, 16(%rsp)
	cmpq	%r15, %rax
	je	.L142
.L159:
	movq	16(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %rax
	movq	nil(%rip), %r15
	movq	%rax, 8(%rsp)
	cmpq	%r15, %rax
	je	.L143
.L158:
	movq	8(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %rax
	movq	nil(%rip), %r15
	movq	%rax, (%rsp)
	cmpq	%r15, %rax
	je	.L144
.L157:
	movq	(%rsp), %rbx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	(%rbx), %edx
	call	__printf_chk@PLT
	movq	16(%rbx), %r12
	movq	nil(%rip), %r15
	cmpq	%r15, %r12
	je	.L145
.L156:
	movl	(%r12), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%r12), %rbx
	movq	nil(%rip), %r15
	cmpq	%r15, %rbx
	je	.L146
.L155:
	movl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%rbx), %r14
	movq	nil(%rip), %r15
	cmpq	%r15, %r14
	je	.L147
.L154:
	movl	(%r14), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%r14), %r13
	movq	nil(%rip), %r15
	cmpq	%r15, %r13
	je	.L148
.L153:
	movl	0(%r13), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	16(%r13), %rax
	movq	nil(%rip), %r15
	cmpq	%r15, %rax
	je	.L149
	movq	%rax, %r15
.L152:
	movl	(%r15), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__printf_chk@PLT
	movq	16(%r15), %rdi
	cmpq	nil(%rip), %rdi
	je	.L150
	call	preorder
	movq	8(%r15), %r15
	cmpq	%r15, nil(%rip)
	jne	.L152
	.p2align 4,,10
	.p2align 3
.L149:
	movq	8(%r13), %r13
	cmpq	%r15, %r13
	jne	.L153
.L148:
	movq	8(%r14), %r14
	cmpq	%r15, %r14
	jne	.L154
.L147:
	movq	8(%rbx), %rbx
	cmpq	%r15, %rbx
	jne	.L155
.L146:
	movq	8(%r12), %r12
	cmpq	%r15, %r12
	jne	.L156
.L145:
	movq	(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, (%rsp)
	cmpq	%r15, %rax
	jne	.L157
.L144:
	movq	8(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, 8(%rsp)
	cmpq	%r15, %rax
	jne	.L158
.L143:
	movq	16(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, 16(%rsp)
	cmpq	%r15, %rax
	jne	.L159
.L142:
	movq	24(%rsp), %rax
	movq	8(%rax), %rax
	movq	%rax, 24(%rsp)
	cmpq	%r15, %rax
	jne	.L160
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L150:
	.cfi_restore_state
	movq	8(%r15), %r15
	cmpq	%r15, %rdi
	jne	.L152
	movq	8(%r13), %r13
	cmpq	%r15, %r13
	jne	.L153
	jmp	.L148
	.cfi_endproc
.LFE59:
	.size	preorder, .-preorder
	.p2align 4
	.globl	print
	.type	print, @function
print:
.LFB60:
	.cfi_startproc
	endbr64
	movq	nil(%rip), %rax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdi, %rbx
.L174:
	movq	16(%rbp), %rdi
	cmpq	%rdi, %rax
	je	.L171
	call	inorder
.L171:
	movl	0(%rbp), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rbp), %rbp
	movq	nil(%rip), %rax
	cmpq	%rax, %rbp
	jne	.L174
	movl	$10, %edi
	call	putchar@PLT
.L178:
	movl	(%rbx), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rsi
	call	__printf_chk@PLT
	movq	16(%rbx), %rdi
	cmpq	nil(%rip), %rdi
	je	.L175
	call	preorder
	movq	8(%rbx), %rbx
	cmpq	%rbx, nil(%rip)
	jne	.L178
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L175:
	.cfi_restore_state
	movq	8(%rbx), %rbx
	cmpq	%rbx, %rdi
	jne	.L178
	popq	%rbx
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE60:
	.size	print, .-print
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
.LC4:
	.string	"yes"
.LC5:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB61:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	32(%rsp), %r14
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jle	.L228
	.p2align 4,,10
	.p2align 3
.L181:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	32(%rsp), %eax
	cmpb	$105, %al
	je	.L182
	jg	.L183
	cmpb	$100, %al
	je	.L184
	cmpb	$102, %al
	jne	.L186
	leaq	24(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	root(%rip), %rax
	movq	nil(%rip), %rcx
	movl	24(%rsp), %esi
	cmpq	%rcx, %rax
	jne	.L191
	jmp	.L188
	.p2align 4,,10
	.p2align 3
.L238:
	movq	8(%rax), %rdx
	cmovl	16(%rax), %rdx
	movq	%rdx, %rax
	cmpq	%rcx, %rdx
	je	.L188
.L191:
	cmpl	(%rax), %esi
	jne	.L238
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L186:
	addl	$1, %ebp
	cmpl	%ebp, 20(%rsp)
	jg	.L181
.L228:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L239
	addq	$56, %rsp
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L183:
	.cfi_restore_state
	cmpb	$112, %al
	jne	.L186
	movq	root(%rip), %rbx
	movq	nil(%rip), %rax
	movq	%rbx, %r15
.L195:
	movq	16(%r15), %rdi
	cmpq	%rdi, %rax
	je	.L192
	call	inorder
	movl	(%r15), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r15), %r15
	movq	nil(%rip), %rax
	cmpq	%r15, %rax
	jne	.L195
.L194:
	movl	$10, %edi
	call	putchar@PLT
.L199:
	movl	(%rbx), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rsi
	call	__printf_chk@PLT
	movq	16(%rbx), %rdi
	cmpq	nil(%rip), %rdi
	je	.L196
	call	preorder
	movq	8(%rbx), %rbx
	cmpq	%rbx, nil(%rip)
	jne	.L199
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L196:
	movq	8(%rbx), %rbx
	cmpq	%rbx, %rdi
	jne	.L199
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L192:
	movl	(%r15), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%r15), %r15
	movq	nil(%rip), %rax
	cmpq	%rax, %r15
	jne	.L195
	jmp	.L194
	.p2align 4,,10
	.p2align 3
.L182:
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	leaq	root(%rip), %rdi
	call	insert
	movq	%rax, root(%rip)
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L184:
	leaq	24(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	root(%rip), %rbx
	movq	nil(%rip), %rax
	movq	%rbx, %rcx
	cmpq	%rax, %rbx
	je	.L200
	movl	24(%rsp), %esi
	cmpl	(%rbx), %esi
	jl	.L240
	jle	.L215
	movq	8(%rbx), %rdx
	cmpq	%rdx, %rax
	je	.L216
	cmpl	(%rdx), %esi
	jl	.L241
	jle	.L223
	movq	8(%rdx), %r8
	cmpq	%r8, %rax
	je	.L224
	cmpl	(%r8), %esi
	jl	.L242
	jle	.L227
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L226:
	movq	8(%rdx), %r8
	movq	root(%rip), %rcx
.L224:
	movq	%r8, 8(%rdx)
.L222:
	movq	8(%rbx), %rdx
.L216:
	movq	%rdx, 8(%rbx)
.L214:
	movq	%rcx, %rax
.L200:
	movq	%rax, root(%rip)
	jmp	.L186
	.p2align 4,,10
	.p2align 3
.L188:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L186
.L240:
	movq	16(%rbx), %rdx
	cmpq	%rdx, %rax
	je	.L202
	cmpl	(%rdx), %esi
	jl	.L243
	jle	.L209
	movq	8(%rdx), %r8
	cmpq	%r8, %rax
	je	.L210
	cmpl	(%r8), %esi
	jl	.L244
	jle	.L213
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L212:
	movq	8(%rdx), %r8
	movq	root(%rip), %rcx
.L210:
	movq	%r8, 8(%rdx)
.L208:
	movq	16(%rbx), %rdx
.L202:
	movq	%rdx, 16(%rbx)
	jmp	.L214
.L215:
	leaq	root(%rip), %rdi
	call	_delete
	jmp	.L200
.L209:
	leaq	16(%rbx), %rdi
	call	_delete
	movq	root(%rip), %rcx
	movq	%rax, %rdx
	jmp	.L202
.L241:
	movq	16(%rdx), %r8
	cmpq	%r8, %rax
	je	.L218
	cmpl	(%r8), %esi
	jl	.L245
	jle	.L221
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L220:
	movq	16(%rdx), %r8
	movq	root(%rip), %rcx
.L218:
	movq	%r8, 16(%rdx)
	jmp	.L222
.L243:
	movq	16(%rdx), %r8
	cmpq	%r8, %rax
	je	.L204
	cmpl	(%r8), %esi
	jl	.L246
	jle	.L207
	leaq	8(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 8(%r8)
.L206:
	movq	16(%rdx), %r8
	movq	root(%rip), %rcx
.L204:
	movq	%r8, 16(%rdx)
	jmp	.L208
.L223:
	leaq	8(%rbx), %rdi
	call	_delete
	movq	root(%rip), %rcx
	movq	%rax, %rdx
	jmp	.L216
.L242:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L226
.L207:
	leaq	16(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L204
.L244:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L212
.L245:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L220
.L227:
	leaq	8(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L224
.L246:
	leaq	16(%r8), %rdi
	movq	%rdx, 8(%rsp)
	movq	%r8, (%rsp)
	call	delete
	movq	(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rax, 16(%r8)
	jmp	.L206
.L221:
	leaq	16(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L218
.L213:
	leaq	8(%rdx), %rdi
	movq	%rdx, (%rsp)
	call	_delete
	movq	root(%rip), %rcx
	movq	(%rsp), %rdx
	movq	%rax, %r8
	jmp	.L210
.L239:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE61:
	.size	main, .-main
	.globl	root
	.bss
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.globl	nil
	.align 8
	.type	nil, @object
	.size	nil, 8
nil:
	.zero	8
	.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<stdio.h>
#include<stdlib.h>
#include<string.h>

struct node {
  int key;
  int priority;
  struct node *right;
  struct node *left;
};

typedef struct node* Nodepointer;
Nodepointer nil=NULL, root=NULL;

Nodepointer delete(Nodepointer*, int);
Nodepointer _delete(Nodepointer*, int);

Nodepointer Node(int key, int priority){
 Nodepointer z;
  z = (Nodepointer)malloc(sizeof(struct node));
  z->key = key;
  z->priority = priority;
  z->left = nil;
  z->right = nil;
  return z;
}

Nodepointer rightRotate(Nodepointer t){
  Nodepointer s = t->left;
  t->left = s->right;
  s->right = t;
  return s;
}

Nodepointer leftRotate(Nodepointer t){
  Nodepointer s = t->right;
  t->right = s->left;
  s->left = t;
  return s;
}

Nodepointer insert(Nodepointer *t, int key, int priority){
  Nodepointer new;
  if( (*t) == nil ) return new = Node(key, priority);
  if( key == (*t)->key ) return *t;

  if( key < (*t)->key ){
    (*t)->left = insert(&(*t)->left, key, priority);
    if( (*t)->priority < (*t)->left->priority ) (*t) = rightRotate((*t));
  }
  else{
    (*t)->right = insert(&(*t)->right, key, priority);
    if( (*t)->priority < (*t)->right->priority ) (*t) = leftRotate((*t));
  }
  return *t;
}


Nodepointer delete(Nodepointer *t, int key){
  if( (*t) == nil ) return nil;
  if( key < (*t)->key ) (*t)->left = delete(&((*t)->left), key);
  else if( key > (*t)->key ) (*t)->right = delete(&((*t)->right), key);
  else {
    return _delete(t, key);
  }
  return *t;
}

Nodepointer _delete(Nodepointer *t, int key){
  if( (*t)->left == nil && (*t)->right == nil ) return nil;
  else if( (*t)->left == nil ) (*t) = leftRotate(*t);
  else if( (*t)->right == nil ) (*t) = rightRotate(*t);
  else {
    if( (*t)->left->priority > (*t)->right->priority ) (*t) = rightRotate(*t);
    else (*t) = leftRotate(*t);
  }
  return delete(t, key);
}


int find(Nodepointer u, int k){
  while( u != nil ){
    if( u->key == k ) return 1;
    else if( k < u->key ) u = u->left;
    else u = u->right;
  }
  return 0;
}

void inorder(Nodepointer u){
  if( u->left != nil ) inorder(u->left);
  printf(" %d", u->key);
  if( u->right != nil ) inorder(u->right);
  return;
}

void preorder(Nodepointer u){
  printf(" %d", u->key);
  if( u->left != nil ) preorder(u->left);
  if( u->right != nil ) preorder(u->right);
  return;
}

void print(Nodepointer u){
  inorder(u);
  printf("\n");
  preorder(u);
  printf("\n");
  return;
}

int main(){
  int m, i, x, y;
  char com[8];
  Nodepointer t=nil;

  scanf("%d", &m);

  for( i = 0 ; i < m ; i++ ){
    scanf("%s",com);

    switch(com[0]){
    case 'f': scanf("%d", &x);
      if( find(root, x)) printf("yes\n");
      else printf("no\n");
      break;

    case 'i':  scanf("%d%d", &x, &y);
      root = insert(&root,x,y);
      break;

    case 'p':  print(root);
      break;

    case 'd': scanf("%d", &x);
      root = delete(&root, x);
      break;
    }
  }
  return 0;
}


16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 102 47
insert 21 12
insert 7 10
insert 6 90
print
find 21
find 22
delete 35
delete 99
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 86 47
insert 26 12
insert 7 10
insert 6 90
print
find 21
find 22
delete 35
delete 99
print
 16
insert 35 57
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 86 47
insert 26 12
insert 7 10
insert 6 90
print
find 21
find 22
delete 35
delete 148
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 86 47
insert 21 12
insert 7 10
insert 6 139
print
find 21
find 22
delete 35
delete 99
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 102 47
insert 21 12
insert 7 10
insert 6 90
print
find 30
find 22
delete 35
delete 99
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 141 47
insert 21 12
insert 7 10
insert 6 139
print
find 21
find 22
delete 35
delete 99
print
 16
insert 21 99
insert 3 80
insert 1 12
insert 14 25
insert 80 76
insert 42 3
insert 141 47
insert 21 6
insert 7 10
insert 6 139
print
find 21
find 22
delete 35
delete 99
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 86 47
insert 21 12
insert 7 10
insert 6 90
print
find 21
find 22
delete 35
delete 21
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 87 76
insert 42 3
insert 102 47
insert 21 12
insert 7 10
insert 6 90
print
find 21
find 22
delete 35
delete 99
print
 16
insert 35 99
insert 3 80
insert 1 53
insert 14 25
insert 80 76
insert 42 3
insert 58 47
insert 26 12
insert 7 10
insert 6 90
print
find 21
find 22
delete 35
delete 99
print

 1 3 6 7 14 21 35 42 80 102
 35 6 3 1 14 7 21 80 42 102
yes
no
 1 3 6 7 14 21 42 80 102
 6 3 1 80 14 7 21 42 102
  1 3 6 7 14 26 35 42 80 86
 35 6 3 1 14 7 26 80 42 86
no
no
 1 3 6 7 14 26 42 80 86
 6 3 1 80 14 7 26 42 86
  1 3 6 7 14 26 35 42 80 86
 6 3 1 80 35 14 7 26 42 86
no
no
 1 3 6 7 14 26 42 80 86
 6 3 1 80 14 7 26 42 86
  1 3 6 7 14 21 35 42 80 86
 6 3 1 35 14 7 21 80 42 86
yes
no
 1 3 6 7 14 21 42 80 86
 6 3 1 80 14 7 21 42 86
  1 3 6 7 14 21 35 42 80 102
 35 6 3 1 14 7 21 80 42 102
no
no
 1 3 6 7 14 21 42 80 102
 6 3 1 80 14 7 21 42 102
  1 3 6 7 14 21 35 42 80 141
 6 3 1 35 14 7 21 80 42 141
yes
no
 1 3 6 7 14 21 42 80 141
 6 3 1 80 14 7 21 42 141
  1 3 6 7 14 21 42 80 141
 6 3 1 21 14 7 80 42 141
yes
no
 1 3 6 7 14 21 42 80 141
 6 3 1 21 14 7 80 42 141
  1 3 6 7 14 21 35 42 80 86
 35 6 3 1 14 7 21 80 42 86
yes
no
 1 3 6 7 14 42 80 86
 6 3 1 80 14 7 42 86
  1 3 6 7 14 21 35 42 87 102
 35 6 3 1 14 7 21 87 42 102
yes
no
 1 3 6 7 14 21 42 87 102
 6 3 1 87 14 7 21 42 102
  1 3 6 7 14 26 35 42 58 80
 35 6 3 1 14 7 26 80 58 42
no
no
 1 3 6 7 14 26 42 58 80
 6 3 1 80 58 14 7 26 42

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

```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

struct node {
  int key;
  int priority;
  struct node *right;
  struct node *left;
};

typedef struct node* Nodepointer;
Nodepointer nil=NULL, root=NULL;

Nodepointer delete(Nodepointer*, int);
Nodepointer _delete(Nodepointer*, int);

Nodepointer Node(int key, int priority){
 Nodepointer z;
  z = (Nodepointer)malloc(sizeof(struct node));
  z->key = key;
  z->priority = priority;
  z->left = nil;
  z->right = nil;
  return z;
}

Nodepointer rightRotate(Nodepointer t){
  Nodepointer s = t->left;
  t->left = s->right;
  s->right = t;
  return s;
}

Nodepointer leftRotate(Nodepointer t){
  Nodepointer s = t->right;
  t->right = s->left;
  s->left = t;
  return s;
}

Nodepointer insert(Nodepointer *t, int key, int priority){
  Nodepointer new;
  if( (*t) == nil ) return new = Node(key, priority);
  if( key == (*t)->key ) return *t;

  if( key < (*t)->key ){
    (*t)->left = insert(&(*t)->left, key, priority);
    if( (*t)->priority < (*t)->left->priority ) (*t) = rightRotate((*t));
  }
  else{
    (*t)->right = insert(&(*t)->right, key, priority);
    if( (*t)->priority < (*t)->right->priority ) (*t) = leftRotate((*t));
  }
  return *t;
}


Nodepointer delete(Nodepointer *t, int key){
  if( (*t) == nil ) return nil;
  if( key < (*t)->key ) (*t)->left = delete(&((*t)->left), key);
  else if( key > (*t)->key ) (*t)->right = delete(&((*t)->right), key);
  else {
    return _delete(t, key);
  }
  return *t;
}

Nodepointer _delete(Nodepointer *t, int key){
  if( (*t)->left == nil && (*t)->right == nil ) return nil;
  else if( (*t)->left == nil ) (*t) = leftRotate(*t);
  else if( (*t)->right == nil ) (*t) = rightRotate(*t);
  else {
    if( (*t)->left->priority > (*t)->right->priority ) (*t) = rightRotate(*t);
    else (*t) = leftRotate(*t);
  }
  return delete(t, key);
}


int find(Nodepointer u, int k){
  while( u != nil ){
    if( u->key == k ) return 1;
    else if( k < u->key ) u = u->left;
    else u = u->right;
  }
  return 0;
}

void inorder(Nodepointer u){
  if( u->left != nil ) inorder(u->left);
  printf(" %d", u->key);
  if( u->right != nil ) inorder(u->right);
  return;
}

void preorder(Nodepointer u){
  printf(" %d", u->key);
  if( u->left != nil ) preorder(u->left);
  if( u->right != nil ) preorder(u->right);
  return;
}

void print(Nodepointer u){
  inorder(u);
  printf("\n");
  preorder(u);
  printf("\n");
  return;
}

int main(){
  int m, i, x, y;
  char com[8];
  Nodepointer t=nil;

  scanf("%d", &m);

  for( i = 0 ; i < m ; i++ ){
    scanf("%s",com);

    switch(com[0]){
    case 'f': scanf("%d", &x);
      if( find(root, x)) printf("yes\n");
      else printf("no\n");
      break;

    case 'i':  scanf("%d%d", &x, &y);
      root = insert(&root,x,y);
      break;

    case 'p':  print(root);
      break;

    case 'd': scanf("%d", &x);
      root = delete(&root, x);
      break;
    }
  }
  return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	nil
	.bss
	.align 8
	.type	nil, @object
	.size	nil, 8
nil:
	.zero	8
	.globl	root
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.text
	.globl	Node
	.type	Node, @function
Node:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	$24, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, (%rax)
	movq	-8(%rbp), %rax
	movl	-24(%rbp), %edx
	movl	%edx, 4(%rax)
	movq	nil(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 16(%rax)
	movq	nil(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Node, .-Node
	.globl	rightRotate
	.type	rightRotate, @function
rightRotate:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, 16(%rax)
	movq	-8(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rightRotate, .-rightRotate
	.globl	leftRotate
	.type	leftRotate, @function
leftRotate:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, 16(%rax)
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	leftRotate, .-leftRotate
	.globl	insert
	.type	insert, @function
insert:
.LFB9:
	.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	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	-40(%rbp), %rax
	movq	(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L8
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Node
	movq	%rax, -24(%rbp)
	movq	-24(%rbp), %rax
	jmp	.L9
.L8:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -44(%rbp)
	jne	.L10
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	jmp	.L9
.L10:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -44(%rbp)
	jge	.L11
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	leaq	16(%rax), %rcx
	movq	-40(%rbp), %rax
	movq	(%rax), %rbx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movq	%rcx, %rdi
	call	insert
	movq	%rax, 16(%rbx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L12
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-40(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L12
.L11:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rcx
	movq	-40(%rbp), %rax
	movq	(%rax), %rbx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movq	%rcx, %rdi
	call	insert
	movq	%rax, 8(%rbx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L12
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-40(%rbp), %rdx
	movq	%rax, (%rdx)
.L12:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insert, .-insert
	.globl	delete
	.type	delete, @function
delete:
.LFB10:
	.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
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movq	-24(%rbp), %rax
	movq	(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L14
	movq	nil(%rip), %rax
	jmp	.L15
.L14:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -28(%rbp)
	jge	.L16
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	leaq	16(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	(%rax), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	movq	%rdx, %rdi
	call	delete
	movq	%rax, 16(%rbx)
	jmp	.L17
.L16:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -28(%rbp)
	jle	.L18
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	(%rax), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	movq	%rdx, %rdi
	call	delete
	movq	%rax, 8(%rbx)
	jmp	.L17
.L18:
	movl	-28(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	_delete
	jmp	.L15
.L17:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
.L15:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	delete, .-delete
	.globl	_delete
	.type	_delete, @function
_delete:
.LFB11:
	.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
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L20
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L20
	movq	nil(%rip), %rax
	jmp	.L21
.L20:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L22
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L22:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L24
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L24:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L25
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L25:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
.L23:
	movl	-12(%rbp), %edx
	movq	-8(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	delete
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	_delete, .-_delete
	.globl	find
	.type	find, @function
find:
.LFB12:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	jmp	.L27
.L31:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L28
	movl	$1, %eax
	jmp	.L29
.L28:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jge	.L30
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -8(%rbp)
	jmp	.L27
.L30:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
.L27:
	movq	nil(%rip), %rax
	cmpq	%rax, -8(%rbp)
	jne	.L31
	movl	$0, %eax
.L29:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	find, .-find
	.section	.rodata
.LC0:
	.string	" %d"
	.text
	.globl	inorder
	.type	inorder, @function
inorder:
.LFB13:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L33
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, %rdi
	call	inorder
.L33:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L36
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, %rdi
	call	inorder
	nop
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	inorder, .-inorder
	.globl	preorder
	.type	preorder, @function
preorder:
.LFB14:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L38
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, %rdi
	call	preorder
.L38:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L41
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, %rdi
	call	preorder
	nop
.L41:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	preorder, .-preorder
	.globl	print
	.type	print, @function
print:
.LFB15:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	inorder
	movl	$10, %edi
	call	putchar@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	preorder
	movl	$10, %edi
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print, .-print
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"yes"
.LC4:
	.string	"no"
.LC5:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	nil(%rip), %rax
	movq	%rax, -24(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -28(%rbp)
	jmp	.L45
.L52:
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-16(%rbp), %eax
	movsbl	%al, %eax
	cmpl	$112, %eax
	je	.L46
	cmpl	$112, %eax
	jg	.L47
	cmpl	$105, %eax
	je	.L48
	cmpl	$105, %eax
	jg	.L47
	cmpl	$100, %eax
	je	.L49
	cmpl	$102, %eax
	jne	.L47
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-36(%rbp), %edx
	movq	root(%rip), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	find
	testl	%eax, %eax
	je	.L50
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L47
.L50:
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L47
.L48:
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	root(%rip), %rax
	movq	%rax, %rdi
	call	insert
	movq	%rax, root(%rip)
	jmp	.L47
.L46:
	movq	root(%rip), %rax
	movq	%rax, %rdi
	call	print
	jmp	.L47
.L49:
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	root(%rip), %rax
	movq	%rax, %rdi
	call	delete
	movq	%rax, root(%rip)
	nop
.L47:
	addl	$1, -28(%rbp)
.L45:
	movl	-40(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L52
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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	nil
	.bss
	.align 8
	.type	nil, @object
	.size	nil, 8
nil:
	.zero	8
	.globl	root
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.text
	.globl	Node
	.type	Node, @function
Node:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	$24, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, (%rax)
	movq	-8(%rbp), %rax
	movl	-24(%rbp), %edx
	movl	%edx, 4(%rax)
	movq	nil(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 16(%rax)
	movq	nil(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Node, .-Node
	.globl	rightRotate
	.type	rightRotate, @function
rightRotate:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, 16(%rax)
	movq	-8(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rightRotate, .-rightRotate
	.globl	leftRotate
	.type	leftRotate, @function
leftRotate:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	-8(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, 16(%rax)
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	leftRotate, .-leftRotate
	.globl	insert
	.type	insert, @function
insert:
.LFB9:
	.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	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	-40(%rbp), %rax
	movq	(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L8
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Node
	movq	%rax, -24(%rbp)
	movq	-24(%rbp), %rax
	jmp	.L9
.L8:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -44(%rbp)
	jne	.L10
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	jmp	.L9
.L10:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -44(%rbp)
	jge	.L11
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	leaq	16(%rax), %rcx
	movq	-40(%rbp), %rax
	movq	(%rax), %rbx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movq	%rcx, %rdi
	call	insert
	movq	%rax, 16(%rbx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L12
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-40(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L12
.L11:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rcx
	movq	-40(%rbp), %rax
	movq	(%rax), %rbx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movq	%rcx, %rdi
	call	insert
	movq	%rax, 8(%rbx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L12
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-40(%rbp), %rdx
	movq	%rax, (%rdx)
.L12:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insert, .-insert
	.globl	delete
	.type	delete, @function
delete:
.LFB10:
	.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
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movq	-24(%rbp), %rax
	movq	(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L14
	movq	nil(%rip), %rax
	jmp	.L15
.L14:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -28(%rbp)
	jge	.L16
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	leaq	16(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	(%rax), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	movq	%rdx, %rdi
	call	delete
	movq	%rax, 16(%rbx)
	jmp	.L17
.L16:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, -28(%rbp)
	jle	.L18
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rdx
	movq	-24(%rbp), %rax
	movq	(%rax), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	movq	%rdx, %rdi
	call	delete
	movq	%rax, 8(%rbx)
	jmp	.L17
.L18:
	movl	-28(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	_delete
	jmp	.L15
.L17:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
.L15:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	delete, .-delete
	.globl	_delete
	.type	_delete, @function
_delete:
.LFB11:
	.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
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L20
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L20
	movq	nil(%rip), %rax
	jmp	.L21
.L20:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L22
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L22:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	jne	.L24
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L24:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L25
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	rightRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
	jmp	.L23
.L25:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	leftRotate
	movq	-8(%rbp), %rdx
	movq	%rax, (%rdx)
.L23:
	movl	-12(%rbp), %edx
	movq	-8(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	delete
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	_delete, .-_delete
	.globl	find
	.type	find, @function
find:
.LFB12:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	jmp	.L27
.L31:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L28
	movl	$1, %eax
	jmp	.L29
.L28:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jge	.L30
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -8(%rbp)
	jmp	.L27
.L30:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
.L27:
	movq	nil(%rip), %rax
	cmpq	%rax, -8(%rbp)
	jne	.L31
	movl	$0, %eax
.L29:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	find, .-find
	.section	.rodata
.LC0:
	.string	" %d"
	.text
	.globl	inorder
	.type	inorder, @function
inorder:
.LFB13:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L33
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, %rdi
	call	inorder
.L33:
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L36
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, %rdi
	call	inorder
	nop
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	inorder, .-inorder
	.globl	preorder
	.type	preorder, @function
preorder:
.LFB14:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L38
	movq	-8(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, %rdi
	call	preorder
.L38:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdx
	movq	nil(%rip), %rax
	cmpq	%rax, %rdx
	je	.L41
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, %rdi
	call	preorder
	nop
.L41:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	preorder, .-preorder
	.globl	print
	.type	print, @function
print:
.LFB15:
	.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
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	inorder
	movl	$10, %edi
	call	putchar@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	preorder
	movl	$10, %edi
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print, .-print
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"yes"
.LC4:
	.string	"no"
.LC5:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	nil(%rip), %rax
	movq	%rax, -24(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -28(%rbp)
	jmp	.L45
.L52:
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-16(%rbp), %eax
	movsbl	%al, %eax
	cmpl	$112, %eax
	je	.L46
	cmpl	$112, %eax
	jg	.L47
	cmpl	$105, %eax
	je	.L48
	cmpl	$105, %eax
	jg	.L47
	cmpl	$100, %eax
	je	.L49
	cmpl	$102, %eax
	jne	.L47
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-36(%rbp), %edx
	movq	root(%rip), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	find
	testl	%eax, %eax
	je	.L50
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L47
.L50:
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L47
.L48:
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	root(%rip), %rax
	movq	%rax, %rdi
	call	insert
	movq	%rax, root(%rip)
	jmp	.L47
.L46:
	movq	root(%rip), %rax
	movq	%rax, %rdi
	call	print
	jmp	.L47
.L49:
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	root(%rip), %rax
	movq	%rax, %rdi
	call	delete
	movq	%rax, root(%rip)
	nop
.L47:
	addl	$1, -28(%rbp)
.L45:
	movl	-40(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L52
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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:
