user: Demonstrate the C code that generates the assembly output below:

```asm
<modelhess>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x88(%rbp)
  mov    %esi,-0x8c(%rbp)
  mov    %rdx,-0x98(%rbp)
  mov    %rcx,-0xa0(%rbp)
  movsd  D39(%rip),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x8c(%rbp),%eax
  cltq
  mov    %eax,%edx
  mov    -0x8c(%rbp),%eax
  cltq
  imul   %edx,%eax
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x20(%rbp)
  movl   $0x0,-0x78(%rbp)
  jmp    L371
L218:
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L398
L157:
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm2,%xmm1
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x74(%rbp)
L398:
  mov    -0x74(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L157
  addl   $0x1,-0x78(%rbp)
L371:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L218
  movl   $0x0,-0x78(%rbp)
  jmp    L141
L301:
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rax,%rdx
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x78(%rbp)
L141:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L301
  mov    -0x8c(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <array_max@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x8c(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <array_min@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x18(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x60(%rbp)
  movsd  -0x68(%rbp),%xmm0
  comisd -0x60(%rbp),%xmm0
  jbe    L57
  movsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x60(%rbp)
L57:
  movl   $0x0,-0x78(%rbp)
  jmp    L393
L302:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x78(%rbp)
L393:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L302
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x60(%rbp),%xmm0
  comisd -0x18(%rbp),%xmm0
  jb     L31
  movsd  -0x60(%rbp),%xmm0
  subsd  -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  -0x28(%rbp),%xmm0
  subsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  -0x68(%rbp),%xmm0
  addsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
L31:
  movl   $0x0,-0x70(%rbp)
  movl   $0x0,-0x78(%rbp)
  jmp    L242
L210:
  movl   $0x0,-0x74(%rbp)
  jmp    L163
L114:
  mov    -0x74(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jle    L425
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rax,%rdx
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x70(%rbp)
L425:
  addl   $0x1,-0x74(%rbp)
L163:
  mov    -0x74(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L114
  addl   $0x1,-0x78(%rbp)
L242:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L210
  mov    -0x70(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <array_max_abs@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  movsd  -0x28(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D41(%rip),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  comisd -0x68(%rbp),%xmm0
  jbe    L161
  movsd  -0x10(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0x68(%rbp),%xmm1
  movsd  -0x28(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x58(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  -0x28(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D41(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x10(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x68(%rbp)
L161:
  pxor   %xmm0,%xmm0
  ucomisd -0x68(%rbp),%xmm0
  jp     L201
  pxor   %xmm0,%xmm0
  ucomisd -0x68(%rbp),%xmm0
  jne    L201
  movsd  D41(%rip),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  D41(%rip),%xmm0
  movsd  %xmm0,-0x68(%rbp)
L201:
  movsd  -0x58(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L212
  movl   $0x0,-0x78(%rbp)
  jmp    L336
L64:
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  addsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x78(%rbp)
L336:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L64
L212:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x8c(%rbp),%xmm2
  movsd  -0x10(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x68(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L296
  mov    -0x68(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x50(%rbp)
  jmp    L273
L296:
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x8c(%rbp),%xmm1
  movsd  -0x10(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x50(%rbp)
L273:
  mov    -0x50(%rbp),%rsi
  mov    -0xa0(%rbp),%rdx
  mov    -0x8c(%rbp),%ecx
  mov    -0x88(%rbp),%rax
  movq   %rsi,%xmm0
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <cholmod@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  movsd  -0x8(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L429
  mov    -0x88(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movl   $0x0,-0x78(%rbp)
  jmp    L274
L349:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L408
L269:
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x74(%rbp)
L408:
  mov    -0x74(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jl     L269
  mov    -0x78(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x74(%rbp)
  jmp    L102
L299:
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x74(%rbp)
L102:
  mov    -0x74(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L299
  mov    -0x6c(%rbp),%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  -0x38(%rbp),%xmm0
  comisd -0x48(%rbp),%xmm0
  jbe    L293
  mov    -0x6c(%rbp),%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
L293:
  mov    -0x6c(%rbp),%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0x38(%rbp),%xmm1
  movsd  -0x40(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L401
  mov    -0x6c(%rbp),%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  subsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
L401:
  addl   $0x1,-0x78(%rbp)
L274:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L349
  movsd  -0x48(%rbp),%xmm0
  subsd  -0x40(%rbp),%xmm0
  mulsd  -0x28(%rbp),%xmm0
  subsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  pxor   %xmm0,%xmm0
  comisd -0x30(%rbp),%xmm0
  jbe    L19
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
L19:
  movsd  -0x8(%rbp),%xmm0
  comisd -0x30(%rbp),%xmm0
  jbe    L106
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  jmp    L253
L106:
  movsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,-0x58(%rbp)
L253:
  movl   $0x0,-0x78(%rbp)
  jmp    L415
L240:
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  addsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x78(%rbp)
L415:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L240
L429:
  mov    -0xa0(%rbp),%rdx
  mov    -0x8c(%rbp),%ecx
  mov    -0x88(%rbp),%rax
  mov    D6(%rip),%rsi
  movq   %rsi,%xmm0
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <cholmod@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x78(%rbp)
  jmp    L359
L309:
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L238
L87:
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x74(%rbp)
L238:
  mov    -0x74(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L87
  addl   $0x1,-0x78(%rbp)
L359:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L309
  movl   $0x0,-0x78(%rbp)
  jmp    L158
L11:
  mov    -0x78(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L73
L446:
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x6c(%rbp),%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x74(%rbp)
L73:
  mov    -0x74(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jl     L446
  addl   $0x1,-0x78(%rbp)
L158:
  mov    -0x78(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L11
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  movsd  -0x8(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D39
datatype: byte[8]
name: unpack_data
arguments: label: D41
datatype: f32[2]
name: unpack_data
arguments: label: D6
datatype: f32[2]

tool: {"D39": [0x40,0xeb,0xd6,0x89,0x33,0xfa,0x60,0x3e]}

tool: {"D41": [0.0,1.875]}

tool: {"D6": [0.0,0.0]}

assistant: ```c
double modelhess(double *A, int N, double *dx, double *L) {
  double *U22;
  double sqrteps, maxdiag, mindiag, maxposdiag, u;
  double maxoffdiag, maxinp, maxadd;
  double maxev, minev, offrow, sdd;
  int step, i, j, k;
  sqrteps = sqrt((double)1e-15);
  U22 = (double *)malloc(sizeof(double) * N * N);
  for (i = 0; i < N; ++i) {
    step = i * N;
    for (j = 0; j < N; ++j) {
      A[step + j] /= (dx[i] * dx[j]);
    }
  }
  for (i = 0; i < N; ++i) {
    U22[i] = A[i + i * N];
  }
  maxdiag = array_max(U22, N);
  mindiag = array_min(U22, N);
  maxposdiag = 0.0;
  if (maxdiag > maxposdiag) {
    maxposdiag = maxdiag;
  }
  for (i = 0; i < N; ++i) {
    U22[i] = 0.0;
  }
  u = 0.0;
  if (mindiag <= sqrteps * maxposdiag) {
    u = 2 * (maxposdiag - mindiag) * sqrteps - mindiag;
    maxdiag += u;
  }
  k = 0;
  for (i = 0; i < N; ++i) {
    for (j = 0; j < N; ++j) {
      if (j > i) {
        U22[k] = A[i * N + j];
        k++;
      }
    }
  }
  maxoffdiag = array_max_abs(U22, k);
  if (maxoffdiag * (1 + 2 * sqrteps) > maxdiag) {
    u += (maxoffdiag - maxdiag) + 2 * sqrteps * maxoffdiag;
    maxdiag = maxoffdiag * (1 + 2 * sqrteps);
  }
  if (maxdiag == 0) {
    u = 1;
    maxdiag = 1;
  }
  if (u > 0) {
    for (i = 0; i < N; ++i) {
      A[i * N + i] += u;
    }
  }
  if (maxdiag > maxoffdiag / N) {
    maxinp = sqrt(maxdiag);
  } else {
    maxinp = sqrt(maxoffdiag / N);
  }
  maxadd = cholmod(A, N, L, maxinp);
  if (maxadd > 0) {
    maxev = minev = A[0];
    for (i = 0; i < N; ++i) {
      offrow = 0.0;
      step = i * N;
      for (j = 0; j < i; ++j) {
        offrow += fabs(A[step + j]);
      }
      for (j = i + 1; j < N; ++j) {
        offrow += fabs(A[step + j]);
      }
      if (maxev < A[step + i] + offrow) {
        maxev = A[step + i] + offrow;
      }
      if (minev > A[step + i] - offrow) {
        minev = A[step + i] - offrow;
      }
    }
    sdd = (maxev - minev) * sqrteps - minev;
    if (sdd < 0) {
      sdd = 0;
    }
    if (maxadd > sdd) {
      u = sdd;
    } else {
      u = maxadd;
    }
    for (i = 0; i < N; ++i) {
      A[i * N + i] += u;
    }
  }
  maxadd = cholmod(A, N, L, 0.0);
  for (i = 0; i < N; ++i) {
    step = i * N;
    for (j = 0; j < N; ++j) {
      A[step + j] *= (dx[i] * dx[j]);
    }
  }
  for (i = 0; i < N; ++i) {
    step = i * N;
    for (j = 0; j < i; ++j) {
      L[step + j] *= dx[i];
    }
  }
  free(U22);
  return maxadd;
}
```