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

```asm
<gaussj>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x370,%rsp
  mov    %rdi,-0x358(%rbp)
  mov    %esi,-0x35c(%rbp)
  mov    %rdx,-0x368(%rbp)
  mov    %ecx,-0x360(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x344(%rbp)
  movl   $0x0,-0x340(%rbp)
  cmpl   $0x40,-0x35c(%rbp)
  jle    L406
  mov    $0x1,%eax
  jmp    L105
L406:
  movl   $0x0,-0x338(%rbp)
  jmp    L387
L276:
  mov    -0x338(%rbp),%eax
  cltq
  movl   $0x0,-0x310(%rbp,%rax,4)
  addl   $0x1,-0x338(%rbp)
L387:
  mov    -0x338(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L276
  movl   $0x0,-0x33c(%rbp)
  jmp    L316
L303:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x328(%rbp)
  movl   $0x0,-0x338(%rbp)
  jmp    L291
L161:
  mov    -0x338(%rbp),%eax
  cltq
  mov    -0x310(%rbp,%rax,4),%eax
  cmp    $0x1,%eax
  je     L42
  movl   $0x0,-0x334(%rbp)
  jmp    L318
L375:
  mov    -0x334(%rbp),%eax
  cltq
  mov    -0x310(%rbp,%rax,4),%eax
  test   %eax,%eax
  jne    L79
  mov    -0x334(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x338(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D36(%rip),%xmm1
  andpd  %xmm1,%xmm0
  comisd -0x328(%rbp),%xmm0
  jb     L171
  mov    -0x334(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x338(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D36(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x328(%rbp)
  mov    -0x338(%rbp),%eax
  mov    %eax,-0x340(%rbp)
  mov    -0x334(%rbp),%eax
  mov    %eax,-0x344(%rbp)
  jmp    L171
L79:
  mov    -0x334(%rbp),%eax
  cltq
  mov    -0x310(%rbp,%rax,4),%eax
  cmp    $0x1,%eax
  jle    L171
  mov    $0x1,%eax
  jmp    L105
L171:
  addl   $0x1,-0x334(%rbp)
L318:
  mov    -0x334(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L375
L42:
  addl   $0x1,-0x338(%rbp)
L291:
  mov    -0x338(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L161
  mov    -0x344(%rbp),%eax
  cltq
  mov    -0x310(%rbp,%rax,4),%eax
  lea    0x1(%rax),%edx
  mov    -0x344(%rbp),%eax
  cltq
  mov    %edx,-0x310(%rbp,%rax,4)
  mov    -0x340(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  je     L409
  movl   $0x0,-0x330(%rbp)
  jmp    L340
L319:
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x340(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x320(%rbp)
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rax,%rdx
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x340(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x358(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x320(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x330(%rbp)
L340:
  mov    -0x330(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L319
  movl   $0x0,-0x330(%rbp)
  jmp    L277
L356:
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x340(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x320(%rbp)
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rax,%rdx
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x340(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x368(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x320(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x330(%rbp)
L277:
  mov    -0x330(%rbp),%eax
  cmp    -0x360(%rbp),%eax
  jl     L356
L409:
  mov    -0x33c(%rbp),%eax
  cltq
  mov    -0x340(%rbp),%edx
  mov    %edx,-0x110(%rbp,%rax,4)
  mov    -0x33c(%rbp),%eax
  cltq
  mov    -0x344(%rbp),%edx
  mov    %edx,-0x210(%rbp,%rax,4)
  mov    -0x344(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L364
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jne    L364
  mov    $0x1,%eax
  jmp    L105
L364:
  mov    -0x344(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  D38(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x318(%rbp)
  mov    -0x344(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  D38(%rip),%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x330(%rbp)
  jmp    L141
L178:
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x318(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x330(%rbp)
L141:
  mov    -0x330(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L178
  movl   $0x0,-0x330(%rbp)
  jmp    L77
L2:
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x318(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x330(%rbp)
L77:
  mov    -0x330(%rbp),%eax
  cmp    -0x360(%rbp),%eax
  jl     L2
  movl   $0x0,-0x32c(%rbp)
  jmp    L146
L56:
  mov    -0x32c(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  je     L404
  mov    -0x344(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x32c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x320(%rbp)
  mov    -0x344(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x32c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x330(%rbp)
  jmp    L365
L231:
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x32c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mulsd  -0x320(%rbp),%xmm1
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x32c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x330(%rbp)
L365:
  mov    -0x330(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L231
  movl   $0x0,-0x330(%rbp)
  jmp    L373
L39:
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x32c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x344(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mulsd  -0x320(%rbp),%xmm1
  mov    -0x330(%rbp),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x32c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x368(%rbp),%rax
  add    %rdx,%rax
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x330(%rbp)
L373:
  mov    -0x330(%rbp),%eax
  cmp    -0x360(%rbp),%eax
  jl     L39
L404:
  addl   $0x1,-0x32c(%rbp)
L146:
  mov    -0x32c(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L56
  addl   $0x1,-0x33c(%rbp)
L316:
  mov    -0x33c(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L303
  mov    -0x35c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x330(%rbp)
  jmp    L114
L361:
  mov    -0x330(%rbp),%eax
  cltq
  mov    -0x110(%rbp,%rax,4),%edx
  mov    -0x330(%rbp),%eax
  cltq
  mov    -0x210(%rbp,%rax,4),%eax
  cmp    %eax,%edx
  je     L349
  movl   $0x0,-0x334(%rbp)
  jmp    L128
L342:
  mov    -0x330(%rbp),%eax
  cltq
  mov    -0x110(%rbp,%rax,4),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x334(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x320(%rbp)
  mov    -0x330(%rbp),%eax
  cltq
  mov    -0x210(%rbp,%rax,4),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x334(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rax,%rdx
  mov    -0x330(%rbp),%eax
  cltq
  mov    -0x110(%rbp,%rax,4),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x334(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x358(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x330(%rbp),%eax
  cltq
  mov    -0x210(%rbp,%rax,4),%eax
  imul   -0x35c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x334(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x358(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x320(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x334(%rbp)
L128:
  mov    -0x334(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jl     L342
L349:
  subl   $0x1,-0x330(%rbp)
L114:
  cmpl   $0x0,-0x330(%rbp)
  jns    L361
  mov    $0x0,%eax
L105:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L102
  call   <__stack_chk_fail@plt>
L102:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D36
type: qword
name: parse_data
arguments: data_label: D38
type: f64

tool: D36: 9223372036854775807

tool: D38: 1

assistant: ```c
int gaussj(double *a, int n, double *b, int m) {
  int icol = 0, ipiv[64], irow = 0, i, j, k, l, indxc[64], indxr[64], ll;
  double pivinv, big, dum;
  if (n > 64)
    return (1);
  for (j = 0; j < n; ++j)
    ipiv[j] = 0;
  for (i = 0; i < n; ++i) {
    big = 0.0;
    for (j = 0; j < n; ++j)
      if (ipiv[j] != 1)
        for (k = 0; k < n; ++k) {
          if (ipiv[k] == 0) {
            if (fabs(a[j + k * n]) >= big) {
              big = fabs(a[j + k * n]);
              irow = j;
              icol = k;
            }
          } else if (ipiv[k] > 1)
            return (1);
        }
    ++ipiv[icol];
    if (irow != icol) {
      for (l = 0; l < n; ++l) {
        dum = a[irow + l * n];
        a[irow + l * n] = a[icol + l * n];
        a[icol + l * n] = dum;
      }
      for (l = 0; l < m; ++l) {
        dum = b[irow + l * n];
        b[irow + l * n] = b[icol + l * n];
        b[icol + l * n] = dum;
      }
    }
    indxr[i] = irow;
    indxc[i] = icol;
    if (a[icol + icol * n] == 0.0)
      return (1);
    pivinv = 1.0 / a[icol + icol * n];
    a[icol + icol * n] = 1.0;
    for (l = 0; l < n; ++l)
      a[icol + l * n] *= pivinv;
    for (l = 0; l < m; ++l)
      b[icol + l * n] *= pivinv;
    for (ll = 0; ll < n; ++ll)
      if (ll != icol) {
        dum = a[ll + icol * n];
        a[ll + icol * n] = 0.0;
        for (l = 0; l < n; ++l)
          a[ll + l * n] -= a[icol + l * n] * dum;
        for (l = 0; l < m; ++l)
          b[ll + l * n] -= b[icol + l * n] * dum;
      }
  }
  for (l = n - 1; l >= 0; --l)
    if (indxr[l] != indxc[l])
      for (k = 0; k < n; ++k) {
        dum = a[k + indxr[l] * n];
        a[k + indxr[l] * n] = a[k + indxc[l] * n];
        a[k + indxc[l] * n] = dum;
      }
  return (0);
}
```