user: 请将以下的汇编代码转换成C语言代码：

```asm
<c_sgbco>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  sub    $0xd8,%rsp
  mov    0x110(%rsp),%rax
  mov    %rdi,0x8(%rsp)
  lea    0x1(%rcx),%edi
  mov    %ecx,0x60(%rsp)
  mov    %edi,%r15d
  mov    0x118(%rsp),%r12
  mov    %r8d,0x18(%rsp)
  add    %r8d,%r15d
  mov    %r9,0x30(%rsp)
  mov    %rax,0x78(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xc8(%rsp)
  mov    %ecx,%eax
  movslq %edx,%rcx
  mov    %edi,0x20(%rsp)
  mov    %rcx,0x80(%rsp)
  shl    $0x3,%rcx
  mov    %rcx,0x70(%rsp)
  test   %edx,%edx
  jle    L109
  mov    %edx,%ecx
  xor    %ebx,%ebx
  mov    %r12,0x40(%rsp)
  mov    %esi,%ebp
  movq   $0x0,0x10(%rsp)
  sub    %eax,%ecx
  mov    %ebx,%r13d
  mov    %edi,%ebx
  mov    %ecx,0x38(%rsp)
  mov    $0x1,%ecx
  mov    %ecx,%r12d
  jmp    L366
  nopl   0x0(%rax)
L202:
  mov    %r8d,%r12d
  mov    %r14d,%r15d
L366:
  lea    -0x1(%r15),%r14d
  mov    0x8(%rsp),%rcx
  mov    %ebx,%edi
  mov    %edx,0x28(%rsp)
  lea    0x0(%r13,%r14,1),%eax
  cltq
  lea    (%rcx,%rax,8),%rsi
  xor    %eax,%eax
  call   <c_sasum@plt>
  pxor   %xmm0,%xmm0
  cmp    0x20(%rsp),%r15d
  movsd  0x10(%rsp),%xmm7
  cvtsi2sd %eax,%xmm0
  cmovle %r15d,%r14d
  xor    %eax,%eax
  mov    0x28(%rsp),%edx
  cmp    %r12d,0x18(%rsp)
  lea    0x1(%r12),%r8d
  setge  %al
  add    %eax,%ebx
  xor    %eax,%eax
  cmp    0x38(%rsp),%r12d
  maxsd  %xmm0,%xmm7
  setge  %al
  sub    %eax,%ebx
  movsd  %xmm7,0x10(%rsp)
  cmp    %r8d,%edx
  jl     L33
  add    %ebp,%r13d
  cmp    0x20(%rsp),%r15d
  jle    1120 <c_sgbco.cold>
  jmp    L202
  cs nopw 0x0(%rax,%rax,1)
L33:
  movslq %ebp,%rbx
  mov    0x40(%rsp),%r12
  mov    %edx,%ebp
  mov    %rbx,%r13
  sub    $0x8,%rsp
  mov    %ebp,%edx
  mov    %r13d,%esi
  lea    0xcc(%rsp),%rax
  push   %rax
  mov    0x70(%rsp),%r15d
  xor    %eax,%eax
  mov    0x28(%rsp),%r14d
  mov    0x40(%rsp),%r9
  mov    0x18(%rsp),%rdi
  mov    %r15d,%ecx
  mov    %r14d,%r8d
  call   <c_sgbfa@plt>
  mov    0x80(%rsp),%rdx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  movslq %r14d,%r9
  mov    0x18(%rsp),%rsi
  movslq %r15d,%rax
  mov    %rax,0xb0(%rsp)
  mov    %r15d,%ecx
  lea    0x1(%r9,%rax,1),%rax
  mov    %r13d,%r8d
  add    %r9d,%ecx
  lea    0x8(%r12),%r10
  mov    %r9,0xa8(%rsp)
  lea    (%rsi,%rax,8),%r9
  lea    0x1(%rcx),%edx
  mov    %r10,%r14
  mov    %ecx,0x9c(%rsp)
  xor    %r15d,%r15d
  lea    0x0(,%rbx,8),%rax
  sub    $0x1,%rbx
  mov    %r10,0xc0(%rsp)
  mov    $0x1,%r11d
  mov    %rax,0x30(%rsp)
  movslq %ecx,%rax
  movq   D214(%rip),%xmm4
  mov    %rax,0xa0(%rsp)
  lea    (%rsi,%rax,8),%r10
  lea    0x0(,%rbx,8),%rax
  shl    $0x4,%rbx
  mov    %rbx,0xb8(%rsp)
  movapd D128(%rip),%xmm7
  mov    $0x1,%ebx
  mov    %edx,0x98(%rsp)
  mov    %rax,0x78(%rsp)
  pop    %rax
  mov    D166(%rip),%rax
  pop    %rcx
  mov    %r12,%rcx
  mov    %r10,%r12
  mov    %r13d,0x28(%rsp)
  mov    %ebp,%r13d
  mov    %r11d,%ebp
  movq   %rax,%xmm6
  movslq %edx,%rax
  sub    $0x2,%rax
  mov    %rax,0xb8(%rsp)
  jmp    L278
  nopw   0x0(%rax,%rax,1)
L400:
  divsd  %xmm3,%xmm5
  movapd %xmm1,%xmm8
  divsd  %xmm3,%xmm8
L618:
  mov    0x30(%rsp),%rdi
  mov    0x18(%rsp),%eax
  add    $0x1,%ebp
  add    -0x4(%rdi,%rbx,4),%eax
  cmp    %r15d,%eax
  cmovl  %r15d,%eax
  cmp    %r13d,%eax
  cmovg  %r13d,%eax
  mov    %eax,%r15d
  cmp    %eax,%ebp
  jle    L251
L217:
  movsd  %xmm5,-0x8(%r14)
  add    $0x1,%rbx
  add    $0x8,%r14
  add    $0x8,%r9
  add    %r8d,0x28(%rsp)
  add    0x20(%rsp),%r12
  cmp    %ebp,%r13d
  jl     L275
L278:
  movsd  -0x8(%r14),%xmm0
  pxor   %xmm5,%xmm5
  ucomisd %xmm5,%xmm0
  jp     L41
  je     L15
L41:
  pxor   %xmm5,%xmm5
  andpd  %xmm4,%xmm6
  comisd %xmm0,%xmm5
  jae    L15
  xorpd  D55(%rip),%xmm6
L15:
  movapd %xmm6,%xmm5
  movsd  (%r12),%xmm3
  subsd  %xmm0,%xmm5
  movapd %xmm3,%xmm1
  andpd  %xmm4,%xmm1
  movapd %xmm5,%xmm2
  andpd  %xmm4,%xmm2
  comisd %xmm1,%xmm2
  ja     L521
L268:
  movapd %xmm6,%xmm1
  xorpd  D55(%rip),%xmm1
  subsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  ucomisd %xmm0,%xmm3
  jp     L400
  jne    L400
  mov    D166(%rip),%rax
  movq   %rax,%xmm8
  movq   %rax,%xmm5
  jmp    L618
  nopw   0x0(%rax,%rax,1)
L521:
  divsd  %xmm2,%xmm1
  mov    %rcx,%rsi
  mov    %r13d,%edi
  mov    $0x1,%eax
  mov    %r8d,0x64(%rsp)
  mov    %r10,0x58(%rsp)
  mov    %r9,0x50(%rsp)
  mov    %rcx,0x40(%rsp)
  movsd  %xmm6,0x48(%rsp)
  movapd %xmm1,%xmm0
  movsd  %xmm1,0x38(%rsp)
  call   <c_sscal@plt>
  movsd  0x38(%rsp),%xmm1
  movsd  0x48(%rsp),%xmm6
  movsd  -0x8(%r14),%xmm0
  movq   D214(%rip),%xmm4
  mulsd  %xmm1,%xmm6
  movsd  (%r12),%xmm3
  mov    0x64(%rsp),%r8d
  mov    0x58(%rsp),%r10
  mov    0x50(%rsp),%r9
  movapd D128(%rip),%xmm7
  mov    0x40(%rsp),%rcx
  movapd %xmm6,%xmm5
  subsd  %xmm0,%xmm5
  movapd %xmm5,%xmm2
  andpd  %xmm4,%xmm2
  jmp    L268
  nopl   (%rax)
L251:
  andpd  %xmm4,%xmm1
  cmp    $0x1,%r8d
  jne    L138
  mov    %eax,%esi
  lea    -0x8(%r9),%rdi
  mov    %ebx,%edx
  sub    %ebx,%esi
  mov    %esi,%eax
  add    %rbx,%rax
  lea    (%rcx,%rax,8),%rax
  cmp    %rdi,%rax
  setbe  %r11b
  cmp    %r9,%r14
  setae  %al
  or     %r11b,%al
  je     L43
  cmp    $0x1,%esi
  je     L43
  mov    %esi,%r11d
  mov    %r14,%rax
  shr    %r11d
  add    %ebx,%r11d
  nopl   0x0(%rax)
L285:
  movsd  -0x8(%r10,%rbx,8),%xmm0
  movapd %xmm8,%xmm3
  movupd (%rax),%xmm12
  add    $0x1,%edx
  add    $0x10,%rax
  mulsd  %xmm0,%xmm3
  mulsd  %xmm5,%xmm0
  unpcklpd %xmm3,%xmm3
  unpcklpd %xmm0,%xmm0
  addpd  %xmm12,%xmm3
  addpd  %xmm12,%xmm0
  andpd  %xmm7,%xmm3
  movups %xmm0,-0x10(%rax)
  andpd  %xmm7,%xmm0
  addsd  %xmm3,%xmm1
  unpckhpd %xmm3,%xmm3
  addsd  %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
  cmp    %edx,%r11d
  jne    L285
  mov    0x88(%rsp),%edx
  mov    %esi,%r11d
  and    $0xfffffffe,%r11d
  lea    0x0(%rbp,%r11,1),%eax
  sub    %r11d,%edx
  cmp    %r11d,%esi
  je     L607
  movslq %eax,%rsi
  lea    -0x3(%rax,%rdx,1),%eax
  mov    0x8(%rsp),%rdx
  movapd %xmm8,%xmm3
  cltq
  lea    -0x8(%rcx,%rsi,8),%rsi
  movsd  (%rdx,%rax,8),%xmm0
  movsd  (%rsi),%xmm9
  mulsd  %xmm0,%xmm3
  mulsd  %xmm5,%xmm0
  addsd  %xmm9,%xmm3
  addsd  %xmm9,%xmm0
  andpd  %xmm4,%xmm3
  movsd  %xmm0,(%rsi)
  andpd  %xmm4,%xmm0
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
L607:
  comisd %xmm2,%xmm1
  jbe    L217
  mov    %r15d,%r11d
  movapd %xmm8,%xmm0
  mov    %ebx,%edx
  sub    %ebx,%r11d
  subsd  %xmm5,%xmm0
  mov    %r11d,%eax
  add    %rbx,%rax
  lea    (%rcx,%rax,8),%rax
  cmp    %rdi,%rax
  setbe  %sil
  cmp    %r9,%r14
  setae  %al
  or     %sil,%al
  je     L26
  cmp    $0x1,%r11d
  mov    %r11d,%esi
  mov    %r14,%rax
  setne  %dil
  shr    %esi
  add    %ebx,%esi
  test   %dil,%dil
  je     L26
  nopl   0x0(%rax)
L459:
  movsd  -0x8(%r10,%rbx,8),%xmm1
  movupd (%rax),%xmm5
  add    $0x1,%edx
  add    $0x10,%rax
  mulsd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm1
  addpd  %xmm5,%xmm1
  movups %xmm1,-0x10(%rax)
  cmp    %edx,%esi
  jne    L459
  mov    0x88(%rsp),%edx
  mov    %r11d,%esi
  and    $0xfffffffe,%esi
  lea    0x0(%rbp,%rsi,1),%eax
  sub    %esi,%edx
  cmp    %r11d,%esi
  je     L337
  movslq %eax,%rsi
  mov    0x8(%rsp),%rdi
  lea    -0x3(%rdx,%rax,1),%eax
  cltq
  lea    -0x8(%rcx,%rsi,8),%rsi
  mulsd  (%rdi,%rax,8),%xmm0
  addsd  (%rsi),%xmm0
  movsd  %xmm0,(%rsi)
L337:
  movapd %xmm8,%xmm5
  jmp    L217
  nopl   0x0(%rax,%rax,1)
L275:
  mov    %r13d,%ebp
  mov    %rcx,%rsi
  xor    %eax,%eax
  mov    %rcx,%r12
  mov    %ebp,%edi
  mov    %r8d,%r13d
  xor    %r14d,%r14d
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  mov    0x30(%rsp),%rax
  mov    0x80(%rsp),%rcx
  mov    %r13d,0x18(%rsp)
  movq   D214(%rip),%xmm4
  lea    -0x4(%rax,%rcx,4),%r8
  mov    0x70(%rsp),%rax
  mov    0x8c(%rsp),%ecx
  lea    -0x8(%r12,%rax,1),%rbx
  lea    -0x1(%rbp),%eax
  mov    %eax,0x38(%rsp)
  imul   %r13d,%eax
  mov    %rbx,%r15
  mov    %r12,%r13
  mov    %rbx,0x40(%rsp)
  mov    %r8,%rbx
  lea    0x1(%rcx,%rax,1),%r9d
  lea    0x1(%rbp),%eax
  mov    %eax,0x28(%rsp)
  mov    %ebp,%eax
  mov    %r9d,%r12d
  mov    %r14,%rbp
  mov    %eax,%r14d
  jmp    L297
  nopl   (%rax)
L343:
  movsd  (%r15),%xmm0
  movapd %xmm0,%xmm1
  andpd  %xmm4,%xmm1
  comisd D166(%rip),%xmm1
  jbe    L245
  movsd  D166(%rip),%xmm0
  mov    %r13,%rsi
  mov    %r14d,%edi
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  movsd  (%r15),%xmm0
  movq   D214(%rip),%xmm4
L245:
  movslq (%rbx),%rax
  add    $0x1,%rbp
  sub    $0x4,%rbx
  sub    $0x8,%r15
  sub    0x18(%rsp),%r12d
  lea    -0x8(%r13,%rax,8),%rax
  movsd  (%rax),%xmm1
  movsd  %xmm0,(%rax)
  lea    0x1(%rbp),%eax
  movsd  %xmm1,0x8(%r15)
  cmp    %eax,%r14d
  jl     L193
L297:
  mov    %r14d,%eax
  sub    %ebp,%eax
  cmp    %eax,%r14d
  jle    L343
  mov    0x28(%rsp),%eax
  mov    0x8(%rsp),%rcx
  sub    %ebp,%eax
  cltq
  lea    -0x8(%r13,%rax,8),%rdx
  movslq %r12d,%rax
  lea    (%rcx,%rax,8),%rsi
  mov    0x60(%rsp),%ecx
  mov    %ebp,%eax
  cmp    %ebp,%ecx
  cmovle %ecx,%eax
  mov    %eax,%edi
  xor    %eax,%eax
  call   <c_sdot@plt>
  pxor   %xmm0,%xmm0
  movq   D214(%rip),%xmm4
  cvtsi2sd %eax,%xmm0
  addsd  (%r15),%xmm0
  movsd  %xmm0,(%r15)
  jmp    L343
  nopl   (%rax)
L193:
  mov    %r13,%r12
  mov    %r14d,%edi
  xor    %eax,%eax
  mov    0x40(%rsp),%rbx
  mov    %r12,%rsi
  mov    0x18(%rsp),%r13d
  mov    %r14d,%ebp
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %r14d,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  mov    $0x1,%r14d
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  mov    D166(%rip),%rax
  mov    0x88(%rsp),%r15d
  mov    %rbx,0x40(%rsp)
  movq   D214(%rip),%xmm4
  mov    %r12,%rbx
  mov    %rax,0x18(%rsp)
  mov    %r15d,%r12d
  mov    0x30(%rsp),%r15
  nopl   0x0(%rax,%rax,1)
L9:
  movslq -0x4(%r15,%r14,4),%rax
  movsd  -0x8(%rbx,%r14,8),%xmm1
  lea    -0x8(%rbx,%rax,8),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm1,(%rax)
  movsd  %xmm0,-0x8(%rbx,%r14,8)
  cmp    %r14d,%ebp
  jle    L479
  mov    0x8(%rsp),%rcx
  movslq %r12d,%rax
  mov    %ebp,%edi
  lea    (%rbx,%r14,8),%rdx
  sub    %r14d,%edi
  lea    (%rcx,%rax,8),%rsi
  mov    0x60(%rsp),%eax
  cmp    %eax,%edi
  cmovg  %eax,%edi
  mov    $0x1,%eax
  call   <c_saxpy@plt>
  movsd  -0x8(%rbx,%r14,8),%xmm0
  movq   D214(%rip),%xmm4
L479:
  andpd  %xmm4,%xmm0
  comisd D166(%rip),%xmm0
  jbe    L288
  movsd  D166(%rip),%xmm1
  mov    %rbx,%rsi
  mov    %ebp,%edi
  mov    $0x1,%eax
  divsd  %xmm0,%xmm1
  movapd %xmm1,%xmm0
  movsd  %xmm1,0x28(%rsp)
  call   <c_sscal@plt>
  movsd  0x28(%rsp),%xmm1
  mulsd  0x18(%rsp),%xmm1
  movq   D214(%rip),%xmm4
  movsd  %xmm1,0x18(%rsp)
L288:
  add    $0x1,%r14
  add    %r13d,%r12d
  cmp    %r14d,%ebp
  jge    L9
  mov    %rbx,%r12
  mov    %ebp,%edi
  xor    %eax,%eax
  mov    0x40(%rsp),%rbx
  mov    %r12,%rsi
  xor    %r14d,%r14d
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x28(%rsp)
  call   <c_sscal@plt>
  mov    0x38(%rsp),%ecx
  movsd  0x28(%rsp),%xmm0
  mov    %r13d,0x28(%rsp)
  mulsd  0x18(%rsp),%xmm0
  mov    0x8(%rsp),%rsi
  mov    %r12,0x18(%rsp)
  mov    %r14d,%r12d
  imul   %r13d,%ecx
  movq   D214(%rip),%xmm4
  movslq %ecx,%rax
  add    0x90(%rsp),%rax
  mov    %ecx,%r13d
  lea    (%rsi,%rax,8),%r15
  movsd  %xmm0,0x30(%rsp)
  mov    %r15,%r14
  mov    %rbx,%r15
  mov    0x88(%rsp),%ebx
  jmp    L462
  nopl   0x0(%rax)
L340:
  movsd  (%r15),%xmm0
  divsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  xorpd  D55(%rip),%xmm1
L105:
  cmp    %ebx,%edx
  mov    %ebx,%edi
  mov    0x18(%rsp),%rax
  mov    0x8(%rsp),%rcx
  cmovle %edx,%edi
  movsd  %xmm0,(%r15)
  movapd %xmm1,%xmm0
  sub    $0x8,%r15
  sub    $0x1,%edi
  sub    %edi,%edx
  movslq %edx,%rdx
  lea    -0x8(%rax,%rdx,8),%rdx
  mov    %ebx,%eax
  sub    %edi,%eax
  lea    -0x1(%r13,%rax,1),%eax
  cltq
  lea    (%rcx,%rax,8),%rsi
  mov    $0x1,%eax
  call   <c_saxpy@plt>
  lea    0x2(%r12),%r8d
  sub    0x20(%rsp),%r14
  sub    0x28(%rsp),%r13d
  cmp    %ebp,%r8d
  movq   D214(%rip),%xmm4
  lea    0x1(%r12),%eax
  jg     L143
  mov    %eax,%r12d
L462:
  movsd  (%r14),%xmm1
  movsd  (%r15),%xmm0
  mov    %ebp,%edx
  sub    %r12d,%edx
  movapd %xmm1,%xmm2
  andpd  %xmm4,%xmm0
  andpd  %xmm4,%xmm2
  comisd %xmm2,%xmm0
  ja     L514
L200:
  pxor   %xmm6,%xmm6
  ucomisd %xmm6,%xmm1
  jp     L340
  jne    L340
  mov    D116(%rip),%rax
  movq   %rax,%xmm1
  mov    D166(%rip),%rax
  movq   %rax,%xmm0
  jmp    L105
  nopl   0x0(%rax,%rax,1)
L514:
  divsd  %xmm0,%xmm2
  mov    0x18(%rsp),%rsi
  mov    %ebp,%edi
  mov    $0x1,%eax
  mov    %edx,0x60(%rsp)
  movapd %xmm2,%xmm0
  movsd  %xmm2,0x38(%rsp)
  call   <c_sscal@plt>
  movsd  0x38(%rsp),%xmm2
  mulsd  0x30(%rsp),%xmm2
  movsd  (%r14),%xmm1
  mov    0x60(%rsp),%edx
  movsd  %xmm2,0x30(%rsp)
  jmp    L200
L143:
  mov    0x18(%rsp),%r12
  mov    %ebp,%edi
  xor    %eax,%eax
  mov    %r12,%rsi
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <c_sscal@plt>
  movsd  0x10(%rsp),%xmm7
  pxor   %xmm6,%xmm6
  movsd  0x8(%rsp),%xmm0
  ucomisd %xmm6,%xmm7
  jp     L606
  pxor   %xmm1,%xmm1
  je     L468
L606:
  mulsd  0x30(%rsp),%xmm0
  movapd %xmm0,%xmm1
  divsd  0x10(%rsp),%xmm1
L468:
  mov    0x78(%rsp),%rax
  movsd  %xmm1,(%rax)
  mov    0xc8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L214
  add    $0xd8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L138:
  mov    %eax,%r11d
  movslq 0x28(%rsp),%rdi
  sub    %ebx,%r11d
  lea    -0x1(%r11),%eax
  mov    %r11d,%esi
  mov    %rdi,0x48(%rsp)
  mov    %eax,0x38(%rsp)
  mov    0x98(%rsp),%rax
  lea    -0x1(%rsi),%rdx
  add    0xa0(%rsp),%rax
  imul   0x68(%rsp),%rdx
  mov    %rax,0x50(%rsp)
  add    %rdi,%rax
  lea    -0x1(%rbx),%rdi
  add    %rdi,%rsi
  mov    %rdi,0x58(%rsp)
  lea    -0x8(,%rax,8),%rax
  lea    (%rcx,%rsi,8),%rdi
  mov    %rdi,0x40(%rsp)
  xor    %edi,%edi
  cmpq   $0x0,0x68(%rsp)
  mov    %rdi,%rsi
  cmovs  %rdx,%rsi
  add    %rax,%rsi
  add    0x8(%rsp),%rsi
  cmp    %rsi,0x40(%rsp)
  setb   %sil
  cmpq   $0x0,0x68(%rsp)
  cmovs  %rdi,%rdx
  mov    0x8(%rsp),%rdi
  add    %rax,%rdx
  add    %rdi,%rdx
  cmp    %rdx,%r14
  seta   %dl
  or     %sil,%dl
  je     L222
  cmpl   $0x1,0x38(%rsp)
  jbe    L222
  mov    %r11d,%edx
  mov    %rcx,0x38(%rsp)
  movapd %xmm8,%xmm10
  add    %rdi,%rax
  shr    %edx
  movapd %xmm5,%xmm9
  mov    0x68(%rsp),%rdi
  mov    0xa8(%rsp),%rcx
  sub    $0x1,%edx
  unpcklpd %xmm10,%xmm10
  unpcklpd %xmm9,%xmm9
  shl    $0x4,%rdx
  lea    0x10(%r14,%rdx,1),%rsi
  mov    %r14,%rdx
  cs nopw 0x0(%rax,%rax,1)
L78:
  movsd  (%rax),%xmm0
  movupd (%rdx),%xmm13
  add    $0x10,%rdx
  movhpd (%rax,%rdi,1),%xmm0
  add    %rcx,%rax
  movapd %xmm0,%xmm3
  mulpd  %xmm9,%xmm0
  mulpd  %xmm10,%xmm3
  addpd  %xmm13,%xmm0
  addpd  %xmm13,%xmm3
  andpd  D128(%rip),%xmm3
  movups %xmm0,-0x10(%rdx)
  andpd  D128(%rip),%xmm0
  addsd  %xmm3,%xmm1
  unpckhpd %xmm3,%xmm3
  addsd  %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
  cmp    %rsi,%rdx
  jne    L78
  mov    0x88(%rsp),%esi
  mov    %r11d,%edx
  mov    0x38(%rsp),%rcx
  and    $0xfffffffe,%edx
  lea    0x0(%rbp,%rdx,1),%eax
  sub    %edx,%esi
  cmp    %edx,%r11d
  je     L178
  movslq %eax,%rdx
  sub    $0x1,%eax
  movapd %xmm8,%xmm3
  imul   %r8d,%eax
  lea    -0x8(%rcx,%rdx,8),%rdx
  movsd  (%rdx),%xmm9
  lea    -0x2(%rsi,%rax,1),%eax
  mov    0x8(%rsp),%rsi
  cltq
  movsd  (%rsi,%rax,8),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  %xmm5,%xmm0
  addsd  %xmm9,%xmm3
  addsd  %xmm9,%xmm0
  andpd  %xmm4,%xmm3
  movsd  %xmm0,(%rdx)
  andpd  %xmm4,%xmm0
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
L178:
  comisd %xmm2,%xmm1
  jbe    L217
  mov    %r15d,%edi
  mov    0x50(%rsp),%r11
  add    0x48(%rsp),%r11
  movapd %xmm8,%xmm1
  sub    %ebx,%edi
  lea    -0x8(,%r11,8),%rsi
  xor    %r11d,%r11d
  lea    -0x1(%rdi),%eax
  subsd  %xmm5,%xmm1
  mov    %eax,0x40(%rsp)
  mov    %edi,%eax
  lea    -0x1(%rax),%rdx
  imul   0x68(%rsp),%rdx
  cmpq   $0x0,0x68(%rsp)
  mov    %rdx,0x38(%rsp)
  mov    0x38(%rsp),%rdx
  cmovns %r11,%rdx
  add    0x58(%rsp),%rax
  lea    (%rcx,%rax,8),%rax
  add    %rsi,%rdx
  add    0x8(%rsp),%rdx
  cmp    %rax,%rdx
  mov    0x38(%rsp),%rdx
  seta   %al
  cmpq   $0x0,0x68(%rsp)
  cmovs  %r11,%rdx
  add    %rsi,%rdx
  add    0x8(%rsp),%rdx
  cmp    %rdx,%r14
  seta   %dl
  or     %al,%dl
  je     L378
  cmpl   $0x2,0x40(%rsp)
  jbe    L378
  mov    0x8(%rsp),%rax
  mov    %rcx,0x38(%rsp)
  movapd %xmm1,%xmm2
  mov    0x68(%rsp),%r11
  mov    0xa8(%rsp),%rcx
  unpcklpd %xmm2,%xmm2
  lea    (%rax,%rsi,1),%rdx
  mov    %edi,%eax
  shr    %eax
  sub    $0x1,%eax
  shl    $0x4,%rax
  lea    0x10(%r14,%rax,1),%rsi
  mov    %r14,%rax
  nopl   0x0(%rax,%rax,1)
L604:
  movsd  (%rdx),%xmm0
  movupd (%rax),%xmm5
  add    $0x10,%rax
  movhpd (%rdx,%r11,1),%xmm0
  add    %rcx,%rdx
  mulpd  %xmm2,%xmm0
  addpd  %xmm5,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rax,%rsi
  jne    L604
  mov    0x88(%rsp),%esi
  mov    %edi,%edx
  mov    0x38(%rsp),%rcx
  and    $0xfffffffe,%edx
  lea    0x0(%rbp,%rdx,1),%eax
  sub    %edx,%esi
  cmp    %edx,%edi
  je     L337
  movslq %eax,%rdx
  sub    $0x1,%eax
  imul   %r8d,%eax
  lea    -0x8(%rcx,%rdx,8),%rdx
  movsd  (%rdx),%xmm0
  lea    -0x2(%rsi,%rax,1),%eax
  mov    0x8(%rsp),%rsi
  cltq
  mulsd  (%rsi,%rax,8),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdx)
  jmp    L337
  nopl   (%rax)
L43:
  movslq %ebp,%rax
  nopl   0x0(%rax,%rax,1)
L81:
  movsd  -0x8(%r10,%rbx,8),%xmm0
  movapd %xmm8,%xmm3
  movsd  -0x8(%rcx,%rax,8),%xmm9
  mulsd  %xmm0,%xmm3
  mulsd  %xmm5,%xmm0
  addsd  %xmm9,%xmm3
  addsd  %xmm9,%xmm0
  andpd  %xmm4,%xmm3
  movsd  %xmm0,-0x8(%rcx,%rax,8)
  andpd  %xmm4,%xmm0
  add    $0x1,%rax
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
  cmp    %eax,%r15d
  jge    L81
  jmp    L607
L109:
  sub    $0x8,%rsp
  lea    0xcc(%rsp),%rax
  push   %rax
  mov    0x40(%rsp),%r9
  xor    %eax,%eax
  mov    0x28(%rsp),%r8d
  mov    0x70(%rsp),%ecx
  mov    0x18(%rsp),%rdi
  call   <c_sgbfa@plt>
  mov    0x80(%rsp),%rdx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  mov    %r12,%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  mov    %r12,%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  mov    %r12,%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  mov    %r12,%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <c_sasum@plt>
  pxor   %xmm1,%xmm1
  mov    %r12,%rsi
  mov    %ebp,%edi
  cvtsi2sd %eax,%xmm1
  movsd  D166(%rip),%xmm0
  mov    $0x1,%eax
  divsd  %xmm1,%xmm0
  call   <c_sscal@plt>
  pop    %rsi
  pxor   %xmm1,%xmm1
  pop    %rdi
  jmp    L468
L26:
  movslq %ebp,%rax
  nopl   0x0(%rax)
L379:
  movsd  -0x8(%r10,%rbx,8),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  -0x8(%rcx,%rax,8),%xmm1
  movsd  %xmm1,-0x8(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jge    L379
  jmp    L337
L222:
  mov    0x8(%rsp),%rsi
  mov    0xb8(%rsp),%rdx
  movslq %ebp,%rax
  add    0x48(%rsp),%rdx
  mov    0xb0(%rsp),%rdi
  lea    -0x8(%rcx,%rax,8),%rax
  lea    (%rsi,%rdx,8),%rdx
  mov    0x38(%rsp),%esi
  add    %rbx,%rsi
  lea    (%rdi,%rsi,8),%rsi
  mov    0x68(%rsp),%rdi
  nopl   0x0(%rax,%rax,1)
L600:
  movsd  (%rdx),%xmm0
  movapd %xmm8,%xmm3
  add    $0x8,%rax
  add    %rdi,%rdx
  movsd  -0x8(%rax),%xmm9
  mulsd  %xmm0,%xmm3
  mulsd  %xmm5,%xmm0
  addsd  %xmm9,%xmm3
  addsd  %xmm9,%xmm0
  andpd  %xmm4,%xmm3
  movsd  %xmm0,-0x8(%rax)
  andpd  %xmm4,%xmm0
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
  cmp    %rsi,%rax
  jne    L600
  jmp    L178
L378:
  mov    0x8(%rsp),%rsi
  mov    0x48(%rsp),%rdx
  movslq %ebp,%rax
  add    0xb8(%rsp),%rdx
  mov    0xb0(%rsp),%rdi
  lea    -0x8(%rcx,%rax,8),%rax
  lea    (%rsi,%rdx,8),%rdx
  mov    0x40(%rsp),%esi
  add    %rbx,%rsi
  lea    (%rdi,%rsi,8),%rsi
  mov    0x68(%rsp),%rdi
L429:
  movsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    %rdi,%rdx
  mulsd  %xmm1,%xmm0
  addsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%rsi
  jne    L429
  jmp    L337
L214:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D214
data_type: qword
name: read_data
arguments: tag: D128
data_type: qword[2]
name: read_data
arguments: tag: D166
data_type: f64[2]
name: read_data
arguments: tag: D55
data_type: f32[4]
name: read_data
arguments: tag: D116
data_type: f32[2]

tool: D214: 9223372036854775807

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

tool: {"D166": [1.0,-1.0]}

tool: {"D55": [0.0,-0.0,0.0,0.0]}

tool: {"D116": [0.0,-1.875]}

assistant: ```c
void c_sgbco(double *abd, int lda, int n, int ml, int mu, int *ipvt, double *rcond, double *z) {
  int info;
  register int is, j, ju, k, kb, kp1, l, la, lm, lz, m, mm;
  double anorm, ek, s, sm, t, wk, wkm, ynorm;
  anorm = 0.;
  l = ml + 1;
  is = l + mu;
  for (j = 1; j <= n; j++) {
    anorm = ({
      const double _x = (double)(anorm);
      const double _y = (double)(c_sasum(l, &abd[is - 1 + (j - 1) * lda]));
      _x > _y ? _x : _y;
    });
    if (is > ml + 1) {
      is--;
    }
    if (j <= mu) {
      l++;
    }
    if (j >= n - ml) {
      l--;
    }
  }
  c_sgbfa(abd, lda, n, ml, mu, ipvt, &info);
  ek = 1.;
  memset(z, 0, n * sizeof(double));
  m = ml + mu + 1;
  ju = 0;
  for (k = 1; k <= n; k++) {
    if (z[k - 1] != 0.) {
      ek = ((-z[k - 1]) >= 0. ? fabs(ek) : -fabs(ek));
    }
    if (fabs(ek - z[k - 1]) > fabs(abd[m - 1 + (k - 1) * lda])) {
      s = fabs(abd[m - 1 + (k - 1) * lda]) / fabs(ek - z[k - 1]);
      c_sscal(n, s, z);
      ek *= s;
    }
    wk = ek - z[k - 1];
    wkm = -ek - z[k - 1];
    s = fabs(wk);
    sm = fabs(wkm);
    if (abd[m - 1 + (k - 1) * lda] != 0.) {
      wk /= abd[m - 1 + (k - 1) * lda];
      wkm /= abd[m - 1 + (k - 1) * lda];
    } else {
      wk = 1.;
      wkm = 1.;
    }
    kp1 = k + 1;
    ju = ({
      const int _i = (int)(({
        const int _i = (int)(ju);
        const int _j = (int)(mu + ipvt[k - 1]);
        _i > _j ? _i : _j;
      }));
      const int _j = (int)(n);
      _i < _j ? _i : _j;
    });
    mm = m;
    if (kp1 <= ju) {
      for (j = kp1; j <= ju; j++) {
        mm--;
        sm += fabs(z[j - 1] + wkm * abd[mm - 1 + (j - 1) * lda]);
        z[j - 1] += wk * abd[mm - 1 + (j - 1) * lda];
        s += fabs(z[j - 1]);
      }
      if (s < sm) {
        t = wkm - wk;
        wk = wkm;
        mm = m;
        for (j = kp1; j <= ju; j++) {
          mm--;
          z[j - 1] += t * abd[mm - 1 + (j - 1) * lda];
        }
      }
    }
    z[k - 1] = wk;
  }
  s = 1. / c_sasum(n, z);
  c_sscal(n, s, z);
  for (kb = 1; kb <= n; kb++) {
    k = n + 1 - kb;
    lm = ({
      const int _i = (int)(ml);
      const int _j = (int)(n - k);
      _i < _j ? _i : _j;
    });
    if (k < n) {
      z[k - 1] += c_sdot(lm, &abd[m + 1 - 1 + (k - 1) * lda], &z[k + 1 - 1]);
    }
    if (fabs(z[k - 1]) > 1.) {
      s = 1. / fabs(z[k - 1]);
      c_sscal(n, s, z);
    }
    l = ipvt[k - 1];
    t = z[l - 1];
    z[l - 1] = z[k - 1];
    z[k - 1] = t;
  }
  s = 1. / c_sasum(n, z);
  c_sscal(n, s, z);
  ynorm = 1.;
  for (k = 1; k <= n; k++) {
    l = ipvt[k - 1];
    t = z[l - 1];
    z[l - 1] = z[k - 1];
    z[k - 1] = t;
    lm = ({
      const int _i = (int)(ml);
      const int _j = (int)(n - k);
      _i < _j ? _i : _j;
    });
    if (k < n) {
      c_saxpy(lm, t, &abd[m + 1 - 1 + (k - 1) * lda], &z[k + 1 - 1]);
    }
    if (fabs(z[k - 1]) > 1.) {
      s = 1. / fabs(z[k - 1]);
      c_sscal(n, s, z);
      ynorm *= s;
    }
  }
  s = 1. / c_sasum(n, z);
  c_sscal(n, s, z);
  ynorm *= s;
  for (kb = 1; kb <= n; kb++) {
    k = n + 1 - kb;
    if (fabs(z[k - 1]) > fabs(abd[m - 1 + (k - 1) * lda])) {
      s = fabs(abd[m - 1 + (k - 1) * lda]) / fabs(z[k - 1]);
      c_sscal(n, s, z);
      ynorm *= s;
    }
    if (abd[m - 1 + (k - 1) * lda] != 0.) {
      z[k - 1] /= abd[m - 1 + (k - 1) * lda];
    } else {
      z[k - 1] = 1.;
    }
    lm = ({
           const int _i = (int)(k);
           const int _j = (int)(m);
           _i < _j ? _i : _j;
         }) -
         1;
    la = m - lm;
    lz = k - lm;
    t = -z[k - 1];
    c_saxpy(lm, t, &abd[la - 1 + (k - 1) * lda], &z[lz - 1]);
  }
  s = 1. / c_sasum(n, z);
  c_sscal(n, s, z);
  ynorm *= s;
  if (anorm != 0.) {
    *rcond = ynorm / anorm;
  } else {
    *rcond = 0.;
  }
  return;
}
```