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

```asm
<sensitivity_out>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x160,%rsp
  mov    %rdi,-0x138(%rbp)
  mov    %rsi,-0x140(%rbp)
  mov    %rdx,-0x148(%rbp)
  mov    %rcx,-0x150(%rbp)
  mov    %r8,-0x158(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x120(%rbp)
  movq   $0x0,-0x118(%rbp)
  movq   $0x0,-0x110(%rbp)
  movq   $0x0,-0x108(%rbp)
  movq   $0x0,-0x100(%rbp)
  movq   $0x0,-0xf8(%rbp)
  movq   $0x0,-0xf0(%rbp)
  movq   $0x0,-0xe8(%rbp)
  movq   $0x0,-0xe0(%rbp)
  movq   $0x0,-0xd8(%rbp)
  movq   $0x0,-0xd0(%rbp)
  movq   $0x0,-0xc8(%rbp)
  movq   $0x0,-0xc0(%rbp)
  movq   $0x0,-0xb8(%rbp)
  movq   $0x0,-0xb0(%rbp)
  movq   $0x0,-0xa8(%rbp)
  movl   $0x0,-0xa0(%rbp)
  movq   $0x0,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movq   $0x0,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movq   $0x0,-0x70(%rbp)
  movq   $0x0,-0x68(%rbp)
  movq   $0x0,-0x60(%rbp)
  movq   $0x0,-0x58(%rbp)
  movq   $0x0,-0x50(%rbp)
  movq   $0x0,-0x48(%rbp)
  movq   $0x0,-0x40(%rbp)
  movq   $0x0,-0x38(%rbp)
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0x130(%rbp)
  movl   $0x0,-0x12c(%rbp)
  mov    -0x138(%rbp),%rdx
  lea    -0x120(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x120(%rbp),%rax
  lea    D120(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  lea    -0x120(%rbp),%rax
  lea    D45(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x128(%rbp)
  cmpq   $0x0,-0x128(%rbp)
  jne    L52
  lea    D139(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L52:
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x24,%edx
  mov    $0x1,%esi
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0xb,%edx
  mov    $0x1,%esi
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x24,%edx
  mov    $0x1,%esi
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  movl   $0x0,-0x130(%rbp)
  jmp    L35
L66:
  movl   $0x0,-0x12c(%rbp)
  jmp    L49
L44:
  mov    -0x130(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0x3(%rax),%ecx
  mov    -0x148(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    $0x2,%eax
  imul   -0x12c(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x140(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x128(%rbp),%rax
  movq   %rdx,%xmm0
  lea    D121(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <fprintf@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x3,%edx
  mov    $0x1,%esi
  lea    D144(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  addl   $0x1,-0x12c(%rbp)
L49:
  mov    -0x150(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x12c(%rbp)
  jl     L44
  mov    -0x128(%rbp),%rax
  mov    %rax,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  addl   $0x1,-0x130(%rbp)
L35:
  mov    -0x148(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x130(%rbp)
  jl     L66
  mov    -0x128(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  mov    -0x138(%rbp),%rdx
  lea    -0x90(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x90(%rbp),%rax
  lea    D131(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  lea    -0x90(%rbp),%rax
  lea    D45(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x128(%rbp)
  cmpq   $0x0,-0x128(%rbp)
  jne    L81
  lea    D139(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L81:
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x24,%edx
  mov    $0x1,%esi
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0xb,%edx
  mov    $0x1,%esi
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x24,%edx
  mov    $0x1,%esi
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  movl   $0x0,-0x12c(%rbp)
  jmp    L54
L16:
  mov    -0x12c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x158(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x128(%rbp),%rax
  movq   %rdx,%xmm0
  lea    D121(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <fprintf@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x3,%edx
  mov    $0x1,%esi
  lea    D144(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  addl   $0x1,-0x12c(%rbp)
L54:
  mov    -0x150(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x12c(%rbp)
  jl     L16
  mov    -0x128(%rbp),%rax
  mov    %rax,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    -0x128(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L9
  call   <__stack_chk_fail@plt>
L9:
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D120
data_type: string
name: read_data
arguments: label: D45
data_type: string
name: read_data
arguments: label: D139
data_type: string
name: read_data
arguments: label: D60
data_type: string
name: read_data
arguments: label: D81
data_type: string
name: read_data
arguments: label: D121
data_type: string
name: read_data
arguments: label: D144
data_type: string
name: read_data
arguments: label: D131
data_type: string

tool: D120: .sen

tool: D45: w

tool: D139: *ERROR in sensitivity: cannot open sensitivity vector file for writing...

tool: D60: ---------------------------------- 


tool: D81: Objective 


tool: D121: %12.5E

tool: D144: ;  

tool: D131: .nom

assistant: ```c
void sensitivity_out(char *jobnamec, double *dgdxglob, int *neq, int *nobject, double *g0) {
  char sensitivities[132] = "", nominal[132] = "";
  int i = 0, iobject = 0;
  FILE *f1;
  strcpy(sensitivities, jobnamec);
  strcat(sensitivities, ".sen");
  if ((f1 = fopen(sensitivities, "w")) == NULL) {
    printf("*ERROR in sensitivity: cannot open sensitivity vector file for writing...");
    exit(0);
  }
  fprintf(f1, "---------------------------------- \n");
  fprintf(f1, "Objective \n");
  fprintf(f1, "---------------------------------- \n");
  for (i = 0; i < neq[1]; i++) {
    for (iobject = 0; iobject < *nobject; iobject++) {
      fprintf(f1, "%12.5E", (double)dgdxglob[3 + 5 * i + (5 * neq[1] + 2) * iobject]);
      fprintf(f1, ";  ");
    }
    fprintf(f1, "\n");
  }
  fclose(f1);
  strcpy(nominal, jobnamec);
  strcat(nominal, ".nom");
  if ((f1 = fopen(nominal, "w")) == NULL) {
    printf("*ERROR in sensitivity: cannot open sensitivity vector file for writing...");
    exit(0);
  }
  fprintf(f1, "---------------------------------- \n");
  fprintf(f1, "Objective \n");
  fprintf(f1, "---------------------------------- \n");
  for (iobject = 0; iobject < *nobject; iobject++) {
    fprintf(f1, "%12.5E", (double)g0[iobject]);
    fprintf(f1, ";  ");
  }
  fprintf(f1, "\n");
  fclose(f1);
  return;
}
```