user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %edi,-0x74(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D189(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D102(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  cmpl   $0x3,-0x74(%rbp)
  je     L27
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L27:
  mov    -0x80(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x50(%rbp)
  cmpl   $0x1,-0x50(%rbp)
  je     L132
  cmpl   $0x2,-0x50(%rbp)
  je     L132
  cmpl   $0x4,-0x50(%rbp)
  je     L132
  cmpl   $0x8,-0x50(%rbp)
  je     L132
  cmpl   $0x10,-0x50(%rbp)
  je     L132
  lea    D153(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L132:
  mov    -0x80(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x4c(%rbp)
  cmpl   $0x0,-0x4c(%rbp)
  jg     L158
  lea    D149(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L158:
  mov    -0x50(%rbp),%eax
  mov    %eax,%esi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4c(%rbp),%eax
  mov    %eax,%esi
  lea    D144(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x48(%rbp)
  mov    $0x10000,%edi
  call   <srand@plt>
  movl   $0x0,-0x5c(%rbp)
  jmp    L1
L78:
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %eax,(%rbx)
  addl   $0x1,-0x5c(%rbp)
L1:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L78
  cmpl   $0x1,-0x4c(%rbp)
  jne    L146
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L146:
  movl   $0x0,-0x58(%rbp)
  lea    -0x64(%rbp),%rdx
  lea    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  mov    -0x50(%rbp),%eax
  mov    %eax,%edi
  call   <omp_set_num_threads@plt>
  movl   $0x0,-0x5c(%rbp)
  jmp    L178
L116:
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x58(%rbp)
  jge    L31
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x58(%rbp)
  jge    L31
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x58(%rbp)
L31:
  addl   $0x1,-0x5c(%rbp)
L178:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L116
  lea    -0x60(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  mov    -0x28(%rbp),%eax
  imul   $0xf4240,%eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  mov    %rax,-0x40(%rbp)
  mov    -0x20(%rbp),%eax
  imul   $0xf4240,%eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  mov    %rax,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  sub    -0x40(%rbp),%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  D96(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x54(%rbp)
  movl   $0x1,-0x5c(%rbp)
  jmp    L35
L186:
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x54(%rbp)
  jge    L180
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x54(%rbp)
L180:
  addl   $0x1,-0x5c(%rbp)
L35:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L186
  mov    -0x54(%rbp),%eax
  cmp    -0x58(%rbp),%eax
  jne    L164
  lea    D123(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L161
L164:
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L161:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x58(%rbp),%eax
  mov    %eax,%esi
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x30(%rbp),%rax
  movq   %rax,%xmm0
  lea    D106(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L19
  call   <__stack_chk_fail@plt>
L19:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D57
datatype: string
name: disassemble_data
arguments: data_label: D189
datatype: string
name: disassemble_data
arguments: data_label: D102
datatype: string
name: disassemble_data
arguments: data_label: D6
datatype: string
name: disassemble_data
arguments: data_label: D49
datatype: string
name: disassemble_data
arguments: data_label: D45
datatype: string
name: disassemble_data
arguments: data_label: D21
datatype: string
name: disassemble_data
arguments: data_label: D153
datatype: string
name: disassemble_data
arguments: data_label: D149
datatype: string
name: disassemble_data
arguments: data_label: D20
datatype: string
name: disassemble_data
arguments: data_label: D144
datatype: string
name: disassemble_data
arguments: data_label: D63
datatype: string
name: disassemble_data
arguments: data_label: D96
datatype: f64
name: disassemble_data
arguments: data_label: D123
datatype: string
name: disassemble_data
arguments: data_label: D30
datatype: string
name: disassemble_data
arguments: data_label: D73
datatype: string
name: disassemble_data
arguments: data_label: D106
datatype: string

tool: D57: 
		---------------------------------------------------------------------------

tool: D189: 
		 Email : RarchK

tool: D102: 
		 Objective : Finding Maximum element of an Array using  

tool: D6: 
		 OpenMP Parallel for directive and Critical Section  

tool: D49: 
		..........................................................................

tool: D45: 		 Very Few Arguments
 

tool: D21: 		 Syntax : exec <Threads> <No. of elements> 

tool: D153: 
 Number of threads should be 1,2,4,8 or 16 for the execution of program. 


tool: D149: 
		 The array elements cannot be stored

tool: D20: 
		 Threads                     : %d 

tool: D144: 
		 Number of elements in Array : %d 
 

tool: D63: 
		 The Largest Number In The Array is %d

tool: D96: 1000000

tool: D123: 
		 The Max Value Is Same From Serial And Parallel OpenMP Directive

tool: D30: 
		 The Max Value Is Not Same In Serial And Parallel OpenMP Directive

tool: D73: 
		 The Largest Number In The Given Array Is %d


tool: D106: 
		 Time in Seconds (T)        : %lf Seconds 


assistant: ```c
main(int argc, char **argv) {
  int *array, i, Noofelements, cur_max, current_value, Noofthreads;
  struct timeval TimeValue_Start;
  struct timezone TimeZone_Start;
  struct timeval TimeValue_Final;
  struct timezone TimeZone_Final;
  long time_start, time_end;
  double time_overhead;
  printf("\n\t\t---------------------------------------------------------------------------");
  printf("\n\t\t Email : RarchK");
  printf("\n\t\t---------------------------------------------------------------------------");
  printf("\n\t\t Objective : Finding Maximum element of an Array using  ");
  printf("\n\t\t OpenMP Parallel for directive and Critical Section  ");
  printf("\n\t\t..........................................................................\n");
  if (argc != 3) {
    printf("\t\t Very Few Arguments\n ");
    printf("\t\t Syntax : exec <Threads> <No. of elements> \n");
    exit(-1);
  }
  Noofthreads = atoi(argv[1]);
  if ((Noofthreads != 1) && (Noofthreads != 2) && (Noofthreads != 4) && (Noofthreads != 8) && (Noofthreads != 16)) {
    printf("\n Number of threads should be 1,2,4,8 or 16 for the execution of program. \n\n");
    exit(-1);
  }
  Noofelements = atoi(argv[2]);
  if (Noofelements <= 0) {
    printf("\n\t\t The array elements cannot be stored\n");
    exit(1);
  }
  printf("\n\t\t Threads                     : %d ", Noofthreads);
  printf("\n\t\t Number of elements in Array : %d \n ", Noofelements);
  array = (int *)malloc(sizeof(int) * Noofelements);
  srand(65536);
  for (i = 0; i < Noofelements; i++)
    array[i] = rand();
  if (Noofelements == 1) {
    printf("\n\t\t The Largest Number In The Array is %d", array[0]);
    exit(1);
  }
  cur_max = 0;
  gettimeofday(&TimeValue_Start, &TimeZone_Start);
  omp_set_num_threads(Noofthreads);
#pragma omp parallel for
  for (i = 0; i < Noofelements; i = i + 1) {
    if (array[i] > cur_max)
#pragma omp critical
      if (array[i] > cur_max)
        cur_max = array[i];
  }
  gettimeofday(&TimeValue_Final, &TimeZone_Final);
  time_start = TimeValue_Start.tv_sec * 1000000 + TimeValue_Start.tv_usec;
  time_end = TimeValue_Final.tv_sec * 1000000 + TimeValue_Final.tv_usec;
  time_overhead = (time_end - time_start) / 1000000.0;
  current_value = array[0];
  for (i = 1; i < Noofelements; i++)
    if (array[i] > current_value)
      current_value = array[i];
  if (current_value == cur_max)
    printf("\n\t\t The Max Value Is Same From Serial And Parallel OpenMP Directive\n");
  else {
    printf("\n\t\t The Max Value Is Not Same In Serial And Parallel OpenMP Directive\n");
    exit(-1);
  }
  printf("\n");
  free(array);
  printf("\n\t\t The Largest Number In The Given Array Is %d\n", cur_max);
  printf("\n\t\t Time in Seconds (T)        : %lf Seconds \n", time_overhead);
  printf("\n\t\t..........................................................................\n");
}
```