user: 请从给定的汇编指令推导出C源代码:

```asm
<stopcheck>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rcx,0x20(%rsp)
  movsd  %xmm0,0x10(%rsp)
  movsd  %xmm1,0x8(%rsp)
  movsd  %xmm2,0x18(%rsp)
  movsd  %xmm3,0x28(%rsp)
  cmp    $0x1,%r9d
  je     L200
  cmp    $0x5,%r9d
  je     L118
  mov    $0xf,%r15d
  cmp    $0xf,%r9d
  je     L180
  mov    %edi,%ebp
  lea    0x0(,%rdi,8),%edi
  mov    %rsi,%rbx
  mov    %r8,%r13
  call   <malloc@plt>
  movq   D63(%rip),%xmm2
  movsd  0x10(%rsp),%xmm0
  movsd  0x8(%rsp),%xmm1
  mov    %rax,%r14
  andpd  %xmm2,%xmm0
  andpd  %xmm2,%xmm1
  maxsd  %xmm1,%xmm0
  test   %ebp,%ebp
  jle    L202
  lea    0x8(%r12),%rax
  mov    0x20(%rsp),%rdx
  cmp    %rax,%r14
  lea    0x8(%r13),%rax
  setne  %r15b
  cmp    %rax,%r14
  setne  %al
  and    %eax,%r15d
  cmp    $0x1,%ebp
  setne  %al
  and    %eax,%r15d
  lea    0x8(%rdx),%rax
  cmp    %r14,%rax
  je     L181
  test   %r15b,%r15b
  je     L181
  mov    %ebp,%ecx
  movapd %xmm0,%xmm7
  mov    %r12,%r8
  mov    %r13,%rdi
  shr    %ecx
  mov    %rdx,%rsi
  movapd D91(%rip),%xmm4
  mov    %r14,%rax
  shl    $0x4,%rcx
  unpcklpd %xmm7,%xmm7
  sub    %r14,%r8
  sub    %r14,%rdi
  movapd D50(%rip),%xmm6
  add    %r14,%rcx
  sub    %r14,%rsi
  nopw   0x0(%rax,%rax,1)
L172:
  movupd (%rdi,%rax,1),%xmm1
  movapd %xmm6,%xmm5
  movupd (%r8,%rax,1),%xmm3
  andpd  %xmm4,%xmm1
  andpd  %xmm4,%xmm3
  divpd  %xmm1,%xmm5
  movupd (%rsi,%rax,1),%xmm1
  add    $0x10,%rax
  andpd  %xmm4,%xmm1
  maxpd  %xmm5,%xmm3
  mulpd  %xmm3,%xmm1
  divpd  %xmm7,%xmm1
  movups %xmm1,-0x10(%rax)
  cmp    %rcx,%rax
  jne    L172
  mov    %ebp,%eax
  and    $0xfffffffe,%eax
  test   $0x1,%bpl
  je     L164
  movsd  0x0(%r13,%rax,8),%xmm4
  movsd  D50(%rip),%xmm1
  movsd  (%r12,%rax,8),%xmm3
  andpd  %xmm2,%xmm4
  divsd  %xmm4,%xmm1
  andpd  %xmm2,%xmm3
  maxsd  %xmm1,%xmm3
  movsd  (%rdx,%rax,8),%xmm1
  andpd  %xmm2,%xmm1
  mulsd  %xmm3,%xmm1
  divsd  %xmm0,%xmm1
  movsd  %xmm1,(%r14,%rax,8)
L164:
  mov    %ebp,%esi
  mov    %r14,%rdi
  call   <array_max_abs@plt>
  movsd  0x18(%rsp),%xmm6
  comisd %xmm0,%xmm6
  jae    L79
  lea    0x8(%rbx),%rax
  movq   D63(%rip),%xmm2
  cmp    %r14,%rax
  je     L204
  test   %r15b,%r15b
  je     L204
  mov    %ebp,%edx
  mov    %r12,%rdi
  mov    %r13,%rsi
  mov    %rbx,%rcx
  shr    %edx
  movapd D91(%rip),%xmm4
  mov    %r14,%rax
  sub    %r14,%rdi
  shl    $0x4,%rdx
  movapd D50(%rip),%xmm6
  sub    %r14,%rsi
  sub    %r14,%rcx
  add    %r14,%rdx
  nopl   0x0(%rax)
L53:
  movupd (%rsi,%rax,1),%xmm0
  movapd %xmm6,%xmm3
  movupd (%rdi,%rax,1),%xmm1
  movupd (%rcx,%rax,1),%xmm7
  andpd  %xmm4,%xmm0
  andpd  %xmm4,%xmm1
  divpd  %xmm0,%xmm3
  movupd (%rdi,%rax,1),%xmm0
  add    $0x10,%rax
  subpd  %xmm7,%xmm0
  andpd  %xmm4,%xmm0
  maxpd  %xmm3,%xmm1
  divpd  %xmm1,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rax,%rdx
  jne    L53
  mov    %ebp,%eax
  and    $0xfffffffe,%eax
  test   $0x1,%bpl
  je     L208
  movsd  0x0(%r13,%rax,8),%xmm4
  movsd  D50(%rip),%xmm3
  movsd  (%r12,%rax,8),%xmm0
  andpd  %xmm2,%xmm4
  divsd  %xmm4,%xmm3
  movapd %xmm0,%xmm1
  subsd  (%rbx,%rax,8),%xmm0
  andpd  %xmm2,%xmm1
  andpd  %xmm2,%xmm0
  maxsd  %xmm3,%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%r14,%rax,8)
L208:
  mov    %r14,%rdi
  mov    %ebp,%esi
  xor    %r15d,%r15d
  call   <array_max_abs@plt>
  movsd  0x28(%rsp),%xmm6
  mov    %r14,%rdi
  comisd %xmm0,%xmm6
  setae  %r15b
  add    %r15d,%r15d
  call   <free@plt>
L180:
  add    $0x38,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L181:
  mov    %ebp,%eax
  mov    %r12,%rsi
  mov    %r13,%rcx
  movsd  D50(%rip),%xmm1
  lea    (%r14,%rax,8),%rdi
  sub    %r14,%rsi
  mov    %r14,%rax
  sub    %r14,%rcx
  sub    %r14,%rdx
L63:
  movsd  (%rcx,%rax,1),%xmm3
  movapd %xmm1,%xmm4
  movsd  (%rsi,%rax,1),%xmm5
  andpd  %xmm2,%xmm3
  andpd  %xmm2,%xmm5
  divsd  %xmm3,%xmm4
  maxsd  %xmm4,%xmm5
  movsd  (%rdx,%rax,1),%xmm4
  add    $0x8,%rax
  andpd  %xmm2,%xmm4
  movapd %xmm4,%xmm3
  mulsd  %xmm5,%xmm3
  divsd  %xmm0,%xmm3
  movsd  %xmm3,-0x8(%rax)
  cmp    %rax,%rdi
  jne    L63
  jmp    L164
  cs nopw 0x0(%rax,%rax,1)
L202:
  mov    %ebp,%esi
  mov    %rax,%rdi
  call   <array_max_abs@plt>
  movsd  0x18(%rsp),%xmm6
  comisd %xmm0,%xmm6
  jb     L208
  nopw   0x0(%rax,%rax,1)
L79:
  mov    %r14,%rdi
  mov    $0x1,%r15d
  call   <free@plt>
  jmp    L180
L204:
  mov    %ebp,%eax
  movsd  D50(%rip),%xmm1
  sub    %r14,%r12
  sub    %r14,%r13
  lea    (%r14,%rax,8),%rdx
  sub    %r14,%rbx
  mov    %r14,%rax
L35:
  movsd  0x0(%r13,%rax,1),%xmm4
  movapd %xmm1,%xmm5
  movsd  (%r12,%rax,1),%xmm0
  andpd  %xmm2,%xmm4
  movapd %xmm0,%xmm3
  subsd  (%rbx,%rax,1),%xmm0
  add    $0x8,%rax
  divsd  %xmm4,%xmm5
  andpd  %xmm2,%xmm3
  andpd  %xmm2,%xmm0
  maxsd  %xmm5,%xmm3
  divsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%rdx
  jne    L35
  jmp    L208
  nopw   0x0(%rax,%rax,1)
L200:
  mov    $0x3,%r15d
  jmp    L180
  nopl   0x0(%rax,%rax,1)
L118:
  mov    $0x5,%r15d
  jmp    L180
```

tool_calls: name: parse_data
arguments: tag: D63
datatype: qword
name: parse_data
arguments: tag: D91
datatype: qword[2]
name: parse_data
arguments: tag: D50
datatype: f64[2]

tool: D63: 9223372036854775807

tool: {"D91": [0x7fffffffffffffff,0x7fffffffffffffff]}

tool: {"D50": [1.0,1.0]}

assistant: ```c
int stopcheck(double fx, int N, double *xc, double *xf, double *jac, double *dx, double fsval, double gtol, double stol, int retval) {
  int rcode, i;
  double num, den;
  double stop0;
  double *scheck;
  rcode = 0;
  if (retval == 1) {
    rcode = 3;
    return rcode;
  }
  if (retval == 5) {
    rcode = 5;
    return rcode;
  }
  if (retval == 15) {
    rcode = 15;
    return rcode;
  }
  scheck = (double *)malloc(sizeof(double) * N);
  if (fabs(fx) > fabs(fsval)) {
    den = fabs(fx);
  } else {
    den = fabs(fsval);
  }
  for (i = 0; i < N; ++i) {
    if (fabs(xf[i]) > 1.0 / fabs(dx[i])) {
      num = fabs(xf[i]);
    } else {
      num = 1.0 / fabs(dx[i]);
    }
    scheck[i] = fabs(jac[i]) * num / den;
  }
  stop0 = array_max_abs(scheck, N);
  if (stop0 <= gtol) {
    rcode = 1;
  } else {
    for (i = 0; i < N; ++i) {
      if (fabs(xf[i]) > 1.0 / fabs(dx[i])) {
        den = fabs(xf[i]);
      } else {
        den = 1.0 / fabs(dx[i]);
      }
      num = fabs(xf[i] - xc[i]);
      scheck[i] = num / den;
    }
    stop0 = array_max_abs(scheck, N);
    if (stop0 <= stol) {
      rcode = 2;
    }
  }
  free(scheck);
  return rcode;
}
```