// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/isell.c
// Function: main
int main(int argc, char *argv[])
{
 FILE *myfile;
 int res;
 time_t t;
 ipstack = stack();
 mysrand(time(&t));
 output = stdout;
 printf(m1000);
 initialize_image();
 initialize_orders();
 commandtree = generate_command_tree();
 read_program_parameters();

#ifdef MPI
 MPI_Init(&argc, &argv);
 MPI_Comm_size(MPI_COMM_WORLD, &availableproccount);
 printf("Processor: %d\n", availableproccount);
 MPI_Comm_rank(MPI_COMM_WORLD, &rank);
#endif

 add_default_variables(&vars, &varcount);
 myfile = fopen("start.txt", "r");
 if (myfile)
  {
   fclose(myfile);
   res = compile_file("start.txt");
   if (res)
     load_file("start.txt");
  }
 if (argc > 1)
  {
   res = compile_file(argv[1]);
   if (res)
     load_file(argv[1]);
  }
 getorder();
 while ((res = get_order_index(order)) != 0)
  {
   process_order(res);
   getorder();
  }
 if (output != stdout)
   fclose(output);
 free_program_parameters();
 deallocate_command_tree(commandtree);
 deallocate_remaining_memory();
 free_stack(ipstack);
 printf(m1001);

#ifdef HEAP_DEBUG
 heap_debug_print_heap();
#endif

#ifdef MPI
 MPI_Finalize();
#endif
 return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, %al
callq 0x27280
movq %rax, %rcx
leaq 0x39af59(%rip), %rax    # 0x3e2060
movq %rcx, (%rax)
leaq -0x28(%rbp), %rdi
callq 0x42e0
movl %eax, %edi
callq 0x54580
movq 0xbced7(%rip), %rax     # 0x103ff8
movq (%rax), %rcx
leaq 0x39af4d(%rip), %rax    # 0x3e2078
movq %rcx, (%rax)
leaq 0x9e615(%rip), %rdi     # 0xe574a
movb $0x0, %al
callq 0x4030
movb $0x0, %al
callq 0x41dd0
movb $0x0, %al
callq 0x13760
movb $0x0, %al
callq 0x13d20
movq %rax, %rcx
leaq 0x39af25(%rip), %rax    # 0x3e2080
movq %rcx, (%rax)
movb $0x0, %al
callq 0x79750
leaq 0xbe6cc(%rip), %rdi     # 0x105838
leaq 0xbe361(%rip), %rsi     # 0x1054d4
callq 0x49c10
leaq 0x9e5fb(%rip), %rdi     # 0xe577a
leaq 0xa1020(%rip), %rsi     # 0xe81a6
callq 0x40c0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x471c2
movq -0x18(%rbp), %rdi
callq 0x4250
leaq 0x9e5d4(%rip), %rdi     # 0xe577a
callq 0x49ec0
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
je 0x471c0
leaq 0x9e5bf(%rip), %rdi     # 0xe577a
callq 0x8ca60
jmp 0x471c2
cmpl $0x1, -0x8(%rbp)
jle 0x471ed
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x49ec0
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
je 0x471eb
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x8ca60
jmp 0x471ed
movb $0x0, %al
callq 0x858d0
leaq 0xbe2fd(%rip), %rax     # 0x1054f8
movq (%rax), %rdi
callq 0x131e0
movl %eax, -0x1c(%rbp)
cmpl $0x0, %eax
je 0x4721c
movl -0x1c(%rbp), %edi
callq 0x8d0d0
movb $0x0, %al
callq 0x858d0
jmp 0x471f4
leaq 0x39ae55(%rip), %rax    # 0x3e2078
movq (%rax), %rax
movq 0xbcdcb(%rip), %rcx     # 0x103ff8
cmpq (%rcx), %rax
je 0x47241
leaq 0x39ae3f(%rip), %rax    # 0x3e2078
movq (%rax), %rdi
callq 0x4250
movb $0x0, %al
callq 0x79dd0
leaq 0x39ae31(%rip), %rax    # 0x3e2080
movq (%rax), %rdi
callq 0x13f40
movb $0x0, %al
callq 0x99f50
leaq 0x39adfb(%rip), %rax    # 0x3e2060
movq (%rax), %rdi
callq 0x27370
leaq 0x9e510(%rip), %rdi     # 0xe5784
movb $0x0, %al
callq 0x4030
movl $0x1, %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)