#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
struct node {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ deleteMatches(struct node **, int);
int /*<<< orphan*/ displayrec(struct node *, int);
struct node *insert(struct node *, int);
int /*<<< orphan*/ printf(char *);
int rand();
struct node *reverse2(struct node *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  struct node *head = NULL;
  srand(time(NULL));
  printf("\n\n");
  head = insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  insert(head, (rand() % 100));
  displayrec(head, 1);
  printf("\n");
  displayrec(head, 2);
  printf("\n");
  head = reverse2(head);
  displayrec(head, 1);
  printf("\n");
  displayrec(head, 2);
  printf("\n");
  deleteMatches(&head, 83);
  displayrec(head, 1);
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1070 <srand@plt>
lea    0xe4f(%rip),%rdi
call   1060 <printf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x98(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x90(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x88(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x80(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x78(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x70(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x68(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x60(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x58(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x50(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x48(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x40(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x38(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x30(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x28(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x20(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    $0x0,%al
call   10a0 <rand@plt>
mov    -0x18(%rbp),%rdi
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
call   1090 <insert@plt>
mov    -0x10(%rbp),%rdi
mov    $0x1,%esi
call   1040 <displayrec@plt>
lea    0xbde(%rip),%rdi
call   1060 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    $0x2,%esi
call   1040 <displayrec@plt>
lea    0xbc4(%rip),%rdi
call   1060 <printf@plt>
mov    -0x10(%rbp),%rdi
call   1030 <reverse2@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    $0x1,%esi
call   1040 <displayrec@plt>
lea    0xb9d(%rip),%rdi
call   1060 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    $0x2,%esi
call   1040 <displayrec@plt>
lea    0xb83(%rip),%rdi
call   1060 <printf@plt>
lea    -0x10(%rbp),%rdi
mov    $0x53,%esi
call   1050 <deleteMatches@plt>
mov    -0x10(%rbp),%rdi
mov    $0x1,%esi
call   1040 <displayrec@plt>
lea    0xb5b(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
xor    %edi,%edi
call   1090 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
lea    0xe56(%rip),%rdi
call   1060 <puts@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
xor    %edi,%edi
call   10a0 <insert@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
xor    %eax,%eax
call   10b0 <rand@plt>
movslq %eax,%rsi
imul   $0x51eb851f,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x64,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   10a0 <insert@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1050 <displayrec@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
call   1050 <displayrec@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
call   1040 <reverse2@plt>
mov    %rax,%rbx
mov    %rax,0x8(%rsp)
mov    %rax,%rdi
mov    $0x1,%esi
call   1050 <displayrec@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
call   1050 <displayrec@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x8(%rsp),%rdi
mov    $0x53,%esi
call   1070 <deleteMatches@plt>
mov    0x8(%rsp),%rdi
mov    $0x1,%esi
call   1050 <displayrec@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
%struct.node = type { i32 }
@.str = [3 x i8] c"\0A\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca %struct.node*
store i32 0, i32* %1
store %struct.node* null, %struct.node** %2
%3 = call i32 @time(i32* null)
%4 = call i32 @srand(i32 %3)
%5 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%6 = load %struct.node*, %struct.node** %2
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 100
%9 = call %struct.node* @insert(%struct.node* %6, i32 %8)
store %struct.node* %9, %struct.node** %2
%10 = load %struct.node*, %struct.node** %2
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 100
%13 = call %struct.node* @insert(%struct.node* %10, i32 %12)
%14 = load %struct.node*, %struct.node** %2
%15 = call i32 (...) @rand()
%16 = srem i32 %15, 100
%17 = call %struct.node* @insert(%struct.node* %14, i32 %16)
%18 = load %struct.node*, %struct.node** %2
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 100
%21 = call %struct.node* @insert(%struct.node* %18, i32 %20)
%22 = load %struct.node*, %struct.node** %2
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 100
%25 = call %struct.node* @insert(%struct.node* %22, i32 %24)
%26 = load %struct.node*, %struct.node** %2
%27 = call i32 (...) @rand()
%28 = srem i32 %27, 100
%29 = call %struct.node* @insert(%struct.node* %26, i32 %28)
%30 = load %struct.node*, %struct.node** %2
%31 = call i32 (...) @rand()
%32 = srem i32 %31, 100
%33 = call %struct.node* @insert(%struct.node* %30, i32 %32)
%34 = load %struct.node*, %struct.node** %2
%35 = call i32 (...) @rand()
%36 = srem i32 %35, 100
%37 = call %struct.node* @insert(%struct.node* %34, i32 %36)
%38 = load %struct.node*, %struct.node** %2
%39 = call i32 (...) @rand()
%40 = srem i32 %39, 100
%41 = call %struct.node* @insert(%struct.node* %38, i32 %40)
%42 = load %struct.node*, %struct.node** %2
%43 = call i32 (...) @rand()
%44 = srem i32 %43, 100
%45 = call %struct.node* @insert(%struct.node* %42, i32 %44)
%46 = load %struct.node*, %struct.node** %2
%47 = call i32 (...) @rand()
%48 = srem i32 %47, 100
%49 = call %struct.node* @insert(%struct.node* %46, i32 %48)
%50 = load %struct.node*, %struct.node** %2
%51 = call i32 (...) @rand()
%52 = srem i32 %51, 100
%53 = call %struct.node* @insert(%struct.node* %50, i32 %52)
%54 = load %struct.node*, %struct.node** %2
%55 = call i32 (...) @rand()
%56 = srem i32 %55, 100
%57 = call %struct.node* @insert(%struct.node* %54, i32 %56)
%58 = load %struct.node*, %struct.node** %2
%59 = call i32 (...) @rand()
%60 = srem i32 %59, 100
%61 = call %struct.node* @insert(%struct.node* %58, i32 %60)
%62 = load %struct.node*, %struct.node** %2
%63 = call i32 (...) @rand()
%64 = srem i32 %63, 100
%65 = call %struct.node* @insert(%struct.node* %62, i32 %64)
%66 = load %struct.node*, %struct.node** %2
%67 = call i32 (...) @rand()
%68 = srem i32 %67, 100
%69 = call %struct.node* @insert(%struct.node* %66, i32 %68)
%70 = load %struct.node*, %struct.node** %2
%71 = call i32 (...) @rand()
%72 = srem i32 %71, 100
%73 = call %struct.node* @insert(%struct.node* %70, i32 %72)
%74 = load %struct.node*, %struct.node** %2
%75 = call i32 @displayrec(%struct.node* %74, i32 1)
%76 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%77 = load %struct.node*, %struct.node** %2
%78 = call i32 @displayrec(%struct.node* %77, i32 2)
%79 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%80 = load %struct.node*, %struct.node** %2
%81 = call %struct.node* @reverse2(%struct.node* %80)
store %struct.node* %81, %struct.node** %2
%82 = load %struct.node*, %struct.node** %2
%83 = call i32 @displayrec(%struct.node* %82, i32 1)
%84 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%85 = load %struct.node*, %struct.node** %2
%86 = call i32 @displayrec(%struct.node* %85, i32 2)
%87 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%88 = call i32 @deleteMatches(%struct.node** %2, i32 83)
%89 = load %struct.node*, %struct.node** %2
%90 = call i32 @displayrec(%struct.node* %89, i32 1)
%91 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
%struct.node = type { i32 }
@str = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca %struct.node*
%2 = bitcast %struct.node** %1 to i8*
%3 = tail call i32 @time(i32* null)
%4 = tail call i32 @srand(i32 %3)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
%6 = tail call i32 (...) @rand()
%7 = srem i32 %6, 100
%8 = tail call %struct.node* @insert(%struct.node* null, i32 %7)
%9 = tail call i32 (...) @rand()
%10 = srem i32 %9, 100
%11 = tail call %struct.node* @insert(%struct.node* %8, i32 %10)
%12 = tail call i32 (...) @rand()
%13 = srem i32 %12, 100
%14 = tail call %struct.node* @insert(%struct.node* %8, i32 %13)
%15 = tail call i32 (...) @rand()
%16 = srem i32 %15, 100
%17 = tail call %struct.node* @insert(%struct.node* %8, i32 %16)
%18 = tail call i32 (...) @rand()
%19 = srem i32 %18, 100
%20 = tail call %struct.node* @insert(%struct.node* %8, i32 %19)
%21 = tail call i32 (...) @rand()
%22 = srem i32 %21, 100
%23 = tail call %struct.node* @insert(%struct.node* %8, i32 %22)
%24 = tail call i32 (...) @rand()
%25 = srem i32 %24, 100
%26 = tail call %struct.node* @insert(%struct.node* %8, i32 %25)
%27 = tail call i32 (...) @rand()
%28 = srem i32 %27, 100
%29 = tail call %struct.node* @insert(%struct.node* %8, i32 %28)
%30 = tail call i32 (...) @rand()
%31 = srem i32 %30, 100
%32 = tail call %struct.node* @insert(%struct.node* %8, i32 %31)
%33 = tail call i32 (...) @rand()
%34 = srem i32 %33, 100
%35 = tail call %struct.node* @insert(%struct.node* %8, i32 %34)
%36 = tail call i32 (...) @rand()
%37 = srem i32 %36, 100
%38 = tail call %struct.node* @insert(%struct.node* %8, i32 %37)
%39 = tail call i32 (...) @rand()
%40 = srem i32 %39, 100
%41 = tail call %struct.node* @insert(%struct.node* %8, i32 %40)
%42 = tail call i32 (...) @rand()
%43 = srem i32 %42, 100
%44 = tail call %struct.node* @insert(%struct.node* %8, i32 %43)
%45 = tail call i32 (...) @rand()
%46 = srem i32 %45, 100
%47 = tail call %struct.node* @insert(%struct.node* %8, i32 %46)
%48 = tail call i32 (...) @rand()
%49 = srem i32 %48, 100
%50 = tail call %struct.node* @insert(%struct.node* %8, i32 %49)
%51 = tail call i32 (...) @rand()
%52 = srem i32 %51, 100
%53 = tail call %struct.node* @insert(%struct.node* %8, i32 %52)
%54 = tail call i32 (...) @rand()
%55 = srem i32 %54, 100
%56 = tail call %struct.node* @insert(%struct.node* %8, i32 %55)
%57 = tail call i32 @displayrec(%struct.node* %8, i32 1)
%58 = tail call i32 @putchar(i32 10)
%59 = tail call i32 @displayrec(%struct.node* %8, i32 2)
%60 = tail call i32 @putchar(i32 10)
%61 = tail call %struct.node* @reverse2(%struct.node* %8)
store %struct.node* %61, %struct.node** %1
%62 = tail call i32 @displayrec(%struct.node* %61, i32 1)
%63 = tail call i32 @putchar(i32 10)
%64 = tail call i32 @displayrec(%struct.node* %61, i32 2)
%65 = tail call i32 @putchar(i32 10)
%66 = call i32 @deleteMatches(%struct.node** %1, i32 83)
%67 = load %struct.node*, %struct.node** %1
%68 = call i32 @displayrec(%struct.node* %67, i32 1)
%69 = call i32 @putchar(i32 10)
ret i32 0
}