user: What is the c source code of the assembly code below?

```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    D75(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D182(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D106(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D89(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D119(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  cmpl   $0x3,-0x74(%rbp)
  je     L149
  lea    D134(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D124(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L149:
  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     L86
  cmpl   $0x2,-0x50(%rbp)
  je     L86
  cmpl   $0x4,-0x50(%rbp)
  je     L86
  cmpl   $0x8,-0x50(%rbp)
  je     L86
  cmpl   $0x10,-0x50(%rbp)
  je     L86
  lea    D175(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L86:
  mov    -0x80(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x4c(%rbp)
  mov    -0x50(%rbp),%eax
  mov    %eax,%esi
  lea    D102(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4c(%rbp),%eax
  mov    %eax,%esi
  lea    D139(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0x4c(%rbp)
  jg     L153
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L153:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x48(%rbp)
  mov    $0xffff,%edi
  call   <srand@plt>
  movl   $0x0,-0x5c(%rbp)
  jmp    L26
L162:
  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)
L26:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L162
  cmpl   $0x1,-0x4c(%rbp)
  jne    L164
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D198(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L164:
  lea    -0x68(%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>
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <omp_init_lock@plt>
  movl   $0xffffd8f1,-0x58(%rbp)
  movl   $0x0,-0x5c(%rbp)
  jmp    L136
L40:
  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    L138
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <omp_set_lock@plt>
  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    L118
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x58(%rbp)
L118:
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <omp_unset_lock@plt>
L138:
  addl   $0x1,-0x5c(%rbp)
L136:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L40
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <omp_destroy_lock@plt>
  lea    -0x64(%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  D171(%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    L58
L59:
  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    L121
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x54(%rbp)
L121:
  addl   $0x1,-0x5c(%rbp)
L58:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L59
  mov    -0x54(%rbp),%eax
  cmp    -0x58(%rbp),%eax
  jne    L17
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L145
L17:
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L145:
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x58(%rbp),%eax
  mov    %eax,%esi
  lea    D158(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x30(%rbp),%rax
  movq   %rax,%xmm0
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D119(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L192
  call   <__stack_chk_fail@plt>
L192:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: read_data
arguments: data_label: D75
data_type: string
name: read_data
arguments: data_label: D182
data_type: string
name: read_data
arguments: data_label: D106
data_type: string
name: read_data
arguments: data_label: D89
data_type: string
name: read_data
arguments: data_label: D13
data_type: string
name: read_data
arguments: data_label: D119
data_type: string
name: read_data
arguments: data_label: D134
data_type: string
name: read_data
arguments: data_label: D124
data_type: string
name: read_data
arguments: data_label: D175
data_type: string
name: read_data
arguments: data_label: D102
data_type: string
name: read_data
arguments: data_label: D139
data_type: string
name: read_data
arguments: data_label: D98
data_type: string
name: read_data
arguments: data_label: D198
data_type: string
name: read_data
arguments: data_label: D171
data_type: f64
name: read_data
arguments: data_label: D20
data_type: string
name: read_data
arguments: data_label: D65
data_type: string
name: read_data
arguments: data_label: D158
data_type: string
name: read_data
arguments: data_label: D45
data_type: string

tool: D75: 
		---------------------------------------------------------------------------

tool: D182: 
		 Email : RarchK

tool: D106: 
		 Objective : Finding Maximum element of an Array 

tool: D89: 
		 This example demonstrates the use of OpenMP Lock routines such as : omp_init_lock()

tool: D13: 
		 omp_set_lock(),omp_unset_lock(), omp_destroy_lock(). 

tool: D119: 
		..........................................................................

tool: D134: 		 Very Few Arguments
 

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

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


tool: D102: 
		 Threads : %d

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

tool: D98: 
		 The array elements cannot be stored

tool: D198: 
		 The Largest Element In The Array Is %d

tool: D171: 1000000

tool: D20: 

		 The Max Value Is Same For Serial And Using Parallel OpenMP Directive

tool: D65: 

		 The Max Value Is Not Same In Serial And Using Parallel OpenMP Directive

tool: D158: 
		 The Largest Number Of The Array Is %d


tool: D45: 
		 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;
  omp_lock_t MAXLOCK;
  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 ");
  printf("\n\t\t This example demonstrates the use of OpenMP Lock routines such as : omp_init_lock()");
  printf("\n\t\t omp_set_lock(),omp_unset_lock(), omp_destroy_lock(). ");
  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]);
  printf("\n\t\t Threads : %d", Noofthreads);
  printf("\n\t\t Number of elements in Array : %d \n ", Noofelements);
  if (Noofelements <= 0) {
    printf("\n\t\t The array elements cannot be stored\n");
    exit(1);
  }
  array = (int *)malloc(sizeof(int) * Noofelements);
  srand(65535);
  for (i = 0; i < Noofelements; i++)
    array[i] = rand();
  if (Noofelements == 1) {
    printf("\n\t\t The Largest Element In The Array Is %d", array[0]);
    exit(1);
  }
  gettimeofday(&TimeValue_Start, &TimeZone_Start);
  omp_set_num_threads(Noofthreads);
  omp_init_lock(&MAXLOCK);
  cur_max = -9999;
#pragma omp parallel for
  for (i = 0; i < Noofelements; i = i + 1) {
    if (array[i] > cur_max) {
      omp_set_lock(&MAXLOCK);
      if (array[i] > cur_max)
        cur_max = array[i];
      omp_unset_lock(&MAXLOCK);
    }
  }
  omp_destroy_lock(&MAXLOCK);
  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\n\t\t The Max Value Is Same For Serial And Using Parallel OpenMP Directive\n");
  else {
    printf("\n\n\t\t The Max Value Is Not Same In Serial And Using Parallel OpenMP Directive\n");
    exit(-1);
  }
  free(array);
  printf("\n\t\t The Largest Number Of The Array Is %d\n", cur_max);
  printf("\n\t\t Time in Seconds (T)        : %lf Seconds \n", time_overhead);
  printf("\n\t\t..........................................................................\n");
}
```