user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<delnod_>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %rdx,0x18(%rsp)
  movslq (%rdi),%rdx
  mov    $0x1,%edi
  mov    %rcx,0x28(%rsp)
  mov    0xe0(%rsp),%rbx
  mov    %edx,D451(%rip)
  mov    (%rsi),%ecx
  mov    %rsi,0x30(%rsp)
  cmp    %ecx,%edx
  mov    %ecx,D92(%rip)
  setg   %al
  test   %edx,%edx
  mov    %r8,0x20(%rsp)
  setle  %sil
  or     %esi,%eax
  cmp    $0x3,%ecx
  setle  %cl
  or     %cl,%al
  mov    %al,0x38(%rsp)
  je     L63
L264:
  mov    0x108(%rsp),%rax
  mov    %edi,(%rax)
  add    $0xa8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L63:
  mov    0xf8(%rsp),%rax
  mov    (%rax),%r8d
  test   %r8d,%r8d
  js     L264
  lea    -0x4(%rbx),%r15
  mov    %rbx,%rsi
  lea    -0x4(%r9),%rbp
  mov    %r9,%r13
  mov    0xe8(%rsp),%rax
  lea    D1144(%rip),%rdi
  sub    $0x4,%rax
  mov    %rax,0x8(%rsp)
  movslq (%rax,%rdx,4),%rax
  mov    %eax,D343(%rip)
  mov    (%r15,%rax,4),%eax
  mov    %eax,D343(%rip)
  call   <nbcnt_@plt>
  movslq D343(%rip),%rdx
  mov    %eax,D1490(%rip)
  mov    0x0(%rbp,%rdx,4),%edx
  mov    %edx,%esi
  shr    $0x1f,%esi
  mov    %esi,D1769(%rip)
  test   %edx,%edx
  jns    L525
  add    $0x1,%eax
  mov    %eax,D270(%rip)
L525:
  cmp    $0x2,%eax
  jle    L152
  mov    0xf8(%rsp),%rdi
  lea    -0x3(%rax),%edx
  mov    (%rdi),%ecx
  mov    %edx,(%rdi)
  mov    $0x2,%edi
  cmp    %edx,%ecx
  jl     L264
  mov    0x20(%rsp),%rdi
  mov    0x18(%rsp),%rcx
  movl   $0x0,D270(%rip)
  lea    -0x8(%rdi),%r12
  mov    0x28(%rsp),%rdi
  lea    -0x8(%rcx),%r14
  sub    $0x8,%rdi
  mov    %rdi,0x48(%rsp)
  cmp    $0x3,%eax
  je     L573
  mov    0x100(%rsp),%rax
  movslq D343(%rip),%rdx
  mov    %r15,0x10(%rsp)
  sub    $0xc,%rax
  mov    %rax,0x40(%rsp)
  movslq D451(%rip),%rax
  movsd  (%r14,%rax,8),%xmm0
  movsd  %xmm0,D1355(%rip)
  movsd  (%rdi,%rax,8),%xmm0
  movsd  %xmm0,D704(%rip)
  movsd  (%r12,%rax,8),%xmm0
  movslq 0x0(%rbp,%rdx,4),%rax
  movsd  %xmm0,D884(%rip)
  movsd  (%r14,%rax,8),%xmm0
  mov    %rax,%rcx
  mov    %eax,D19(%rip)
  movslq (%r15,%rdx,4),%rdx
  movsd  %xmm0,D1635(%rip)
  movsd  (%rdi,%rax,8),%xmm0
  mov    %eax,D697(%rip)
  movsd  %xmm0,D1375(%rip)
  movsd  (%r12,%rax,8),%xmm0
  movslq 0x0(%rbp,%rdx,4),%rax
  movsd  %xmm0,D905(%rip)
  movsd  (%r14,%rax,8),%xmm0
  mov    %eax,D859(%rip)
  movsd  %xmm0,D716(%rip)
  movsd  (%rdi,%rax,8),%xmm0
  movsd  %xmm0,D1403(%rip)
  movsd  (%r12,%rax,8),%xmm0
  mov    (%r15,%rdx,4),%eax
  mov    %rdi,%r15
  mov    %eax,D17(%rip)
  movsd  %xmm0,D759(%rip)
  jmp    L20
  nopl   0x0(%rax)
L322:
  cltq
  mov    0x8(%rsp),%rdi
  movsd  (%r14,%rax,8),%xmm0
  movsd  %xmm0,D1102(%rip)
  movsd  (%r15,%rax,8),%xmm0
  movsd  %xmm0,D1386(%rip)
  movsd  (%r12,%rax,8),%xmm0
  movslq D859(%rip),%rax
  movslq (%rdi,%rax,4),%rax
  movsd  %xmm0,D1528(%rip)
  mov    %eax,D838(%rip)
  test   %esi,%esi
  je     L331
L603:
  mov    0x0(%rbp,%rax,4),%esi
  test   %esi,%esi
  js     L95
  sub    $0x8,%rsp
  lea    D759(%rip),%rax
  lea    D905(%rip),%r9
  push   %rax
  lea    D1403(%rip),%rax
  lea    D1375(%rip),%r8
  push   %rax
  lea    D716(%rip),%rax
  lea    D1635(%rip),%rcx
  push   %rax
  lea    D1528(%rip),%rdx
  lea    D1386(%rip),%rsi
  lea    D1102(%rip),%rdi
  call   <left_@plt>
  add    $0x20,%rsp
  test   %eax,%eax
  je     L240
L95:
  lea    D818(%rip),%rax
  mov    %rbx,%r9
  mov    %r13,%r8
  push   %rax
  lea    D527(%rip),%r10
  lea    D859(%rip),%rcx
  push   0xf0(%rsp)
  lea    D451(%rip),%rdx
  mov    %r10,%rdi
  lea    D19(%rip),%rsi
  call   <swap_@plt>
  mov    D818(%rip),%ecx
  pop    %rax
  lea    D527(%rip),%r10
  pop    %rdx
  test   %ecx,%ecx
  je     L240
  mov    D270(%rip),%eax
  mov    D527(%rip),%edx
  xor    %ecx,%ecx
  mov    0x40(%rsp),%rdi
  add    $0x1,%eax
  mov    %eax,D1013(%rip)
  add    %eax,%eax
  cmp    D451(%rip),%edx
  setg   %cl
  cltq
  sub    %ecx,%edx
  xor    %ecx,%ecx
  mov    %edx,0x4(%rdi,%rax,4)
  mov    D1013(%rip),%eax
  mov    D19(%rip),%edx
  add    %eax,%eax
  cmp    D451(%rip),%edx
  setg   %cl
  cltq
  sub    %ecx,%edx
  mov    %edx,0x8(%rdi,%rax,4)
  mov    0x8(%rsp),%rdi
  movslq D451(%rip),%rax
  movslq (%rdi,%rax,4),%rax
  mov    D270(%rip),%edi
  lea    -0x1(%rdi),%edx
  mov    0x10(%rsp),%rdi
  mov    %eax,D1013(%rip)
  mov    %edx,D1013(%rip)
  lea    (%rdi,%rax,4),%rcx
  cmp    $0x3,%edx
  je     L214
  movslq (%rcx),%rax
  mov    %r13,%rdx
  mov    %rbx,%rcx
  mov    %r10,%rsi
  lea    D1013(%rip),%rdi
  mov    %eax,D1013(%rip)
  mov    0x0(%rbp,%rax,4),%eax
  mov    %eax,D1013(%rip)
  call   <lstptr_@plt>
  mov    D19(%rip),%edx
  mov    D1013(%rip),%ecx
  mov    %eax,D1013(%rip)
  cmp    %ecx,%edx
  je     L672
  mov    %edx,D1013(%rip)
  mov    0x10(%rsp),%rsi
  movslq D818(%rip),%rdx
  movsd  D1635(%rip),%xmm0
  movslq (%rsi,%rdx,4),%rdx
  movsd  %xmm0,D1013(%rip)
  movsd  D1375(%rip),%xmm0
  mov    %edx,D1013(%rip)
  movslq (%rsi,%rdx,4),%rdx
  movsd  %xmm0,D1013(%rip)
  movsd  D905(%rip),%xmm0
  mov    %edx,D1013(%rip)
  mov    0x0(%rbp,%rdx,4),%esi
  movsd  %xmm0,D1013(%rip)
  mov    %esi,%edx
  neg    %edx
  cmovs  %esi,%edx
  mov    %edx,D1013(%rip)
  movslq %edx,%rdx
  movsd  (%r14,%rdx,8),%xmm0
  movsd  %xmm0,D1013(%rip)
  movsd  (%r15,%rdx,8),%xmm0
  movsd  %xmm0,D1013(%rip)
  movsd  (%r12,%rdx,8),%xmm0
  movsd  %xmm0,D1013(%rip)
L231:
  mov    D1769(%rip),%esi
L20:
  cltq
  mov    0x0(%rbp,%rax,4),%edx
  mov    %edx,%eax
  neg    %eax
  cmovs  %edx,%eax
  mov    %eax,D1013(%rip)
  cmp    %ecx,%eax
  jne    L322
  test   %esi,%esi
  je     L322
  mov    0x10(%rsp),%r15
  movslq D1013(%rip),%rdx
  nopl   0x0(%rax,%rax,1)
L567:
  mov    0xf0(%rsp),%rax
  mov    %r15,0x8(%rsp)
  lea    D1013(%rip),%r12
  lea    D451(%rip),%r14
  mov    %rbp,0x10(%rsp)
  mov    0x30(%rsp),%r15
  mov    %rbx,%rbp
  mov    (%rax),%eax
  mov    0xe8(%rsp),%rbx
  mov    %eax,D1013(%rip)
  jmp    L294
  nopw   0x0(%rax,%rax,1)
L469:
  mov    D1013(%rip),%eax
  mov    D1013(%rip),%esi
  cmp    %esi,%eax
  jne    L448
  mov    %ecx,D377(%rip)
  mov    %ecx,%eax
L448:
  movslq D1013(%rip),%rdx
  cmp    %edx,%esi
  jne    L655
  mov    %ecx,D377(%rip)
  movslq %ecx,%rdx
L655:
  cmp    %edx,%eax
  je     L79
L294:
  mov    0x8(%rsp),%rax
  mov    0x10(%rsp),%rdi
  mov    %r13,%rcx
  mov    %r14,%rsi
  mov    %rbx,%r9
  mov    %rbp,%r8
  movslq (%rax,%rdx,4),%rax
  mov    (%rdi,%rax,4),%edx
  mov    %eax,D377(%rip)
  mov    %r12,%rdi
  mov    %edx,%eax
  neg    %eax
  cmovs  %edx,%eax
  mov    %r15,%rdx
  mov    %eax,D377(%rip)
  lea    D377(%rip),%rax
  push   %rax
  lea    D1013(%rip),%rax
  push   %rax
  call   <delnb_@plt>
  mov    D377(%rip),%ecx
  pop    %rsi
  pop    %rdi
  test   %ecx,%ecx
  jns    L469
L152:
  mov    $0x3,%edi
  jmp    L264
  nopl   0x0(%rax)
L331:
  sub    $0x8,%rsp
  lea    D884(%rip),%rax
  lea    D1386(%rip),%r8
  push   %rax
  lea    D704(%rip),%rax
  lea    D1528(%rip),%r9
  push   %rax
  lea    D1355(%rip),%rax
  lea    D1102(%rip),%rcx
  push   %rax
  lea    D1013(%rip),%rdx
  lea    D1013(%rip),%rsi
  lea    D1013(%rip),%rdi
  call   <left_@plt>
  add    $0x20,%rsp
  mov    %eax,%r8d
  movslq D838(%rip),%rax
  test   %r8d,%r8d
  jne    L603
L240:
  movsd  D1013(%rip),%xmm0
  mov    D377(%rip),%eax
  mov    D1013(%rip),%ecx
  movsd  %xmm0,D1533(%rip)
  movsd  D1013(%rip),%xmm0
  mov    %eax,D1533(%rip)
  movsd  %xmm0,D1533(%rip)
  movsd  D1013(%rip),%xmm0
  movsd  %xmm0,D1533(%rip)
L69:
  cmp    %ecx,%eax
  je     L200
  mov    D1013(%rip),%eax
  movsd  D1102(%rip),%xmm0
  mov    0x10(%rsp),%rdi
  mov    %eax,D1533(%rip)
  movslq D377(%rip),%rax
  movsd  %xmm0,D1533(%rip)
  movsd  D1386(%rip),%xmm0
  mov    (%rdi,%rax,4),%eax
  movsd  %xmm0,D1533(%rip)
  movsd  D1528(%rip),%xmm0
  mov    %eax,D1533(%rip)
  movsd  %xmm0,D1533(%rip)
  jmp    L231
  nopw   0x0(%rax,%rax,1)
L672:
  mov    D1533(%rip),%eax
  jmp    L69
  nopl   0x0(%rax,%rax,1)
L79:
  mov    D92(%rip),%r9d
  mov    D451(%rip),%edx
  mov    %rbp,%rbx
  mov    0x8(%rsp),%r15
  mov    0x10(%rsp),%rbp
  lea    -0x1(%r9),%r12d
  mov    %r12d,D1533(%rip)
  cmp    %edx,%r12d
  jl     L46
  mov    %r9d,%ecx
  movslq %edx,%rax
  mov    0x20(%rsp),%r8
  mov    0xe8(%rsp),%r11
  sub    %edx,%ecx
  lea    0x0(,%rax,4),%rdi
  lea    -0x1(%rcx),%esi
  mov    %rdi,0x88(%rsp)
  lea    0x2(%rsi,%rax,1),%rdx
  mov    %rsi,0x90(%rsp)
  lea    -0x8(,%rdx,8),%rcx
  mov    0xe8(%rsp),%rdx
  mov    %rcx,%r10
  lea    -0x4(%rdx,%rdi,1),%rdi
  mov    %r10,0x58(%rsp)
  mov    %rdi,0x70(%rsp)
  lea    0x1(%rax),%rdi
  lea    (%rdi,%rsi,1),%rdx
  mov    %rdi,0x98(%rsp)
  lea    -0x4(%r11,%rdx,4),%r11
  shl    $0x3,%rdx
  mov    %r11,0x68(%rsp)
  lea    0x0(,%rax,8),%r11
  lea    -0x8(%r11),%rdi
  lea    (%r8,%rdi,1),%r14
  mov    %r14,0x10(%rsp)
  mov    0x28(%rsp),%r14
  mov    %r14,%rsi
  add    %rcx,%rsi
  mov    0x18(%rsp),%rcx
  mov    %rsi,0x50(%rsp)
  lea    (%r14,%rdi,1),%rsi
  mov    %rsi,0x8(%rsp)
  mov    %rcx,%rsi
  add    %rcx,%rdi
  lea    -0x8(%rdx),%rcx
  add    %r10,%rsi
  mov    %r8,%r10
  mov    %rsi,0x38(%rsp)
  mov    %r8,%rsi
  mov    %r14,%r8
  add    %rcx,%r8
  add    %rcx,%rsi
  add    0x18(%rsp),%rcx
  mov    %r8,0x48(%rsp)
  mov    %r10,%r8
  lea    (%r10,%r11,1),%r10
  mov    %r10,0x40(%rsp)
  lea    (%r8,%rdx,1),%r10
  mov    %rcx,%r8
  mov    %r14,%rcx
  add    %rcx,%rdx
  lea    (%r14,%r11,1),%r14
  mov    %r8,0x60(%rsp)
  cmp    %rdx,%rdi
  mov    %r14,0x80(%rsp)
  setae  %dl
  cmp    %r14,%r8
  mov    0x8(%rsp),%r8
  setbe  %cl
  or     %ecx,%edx
  cmp    %r8,0x38(%rsp)
  setbe  %cl
  cmp    %rdi,0x48(%rsp)
  setbe  0x8(%rsp)
  movzbl 0x8(%rsp),%r14d
  mov    %r8,0x8(%rsp)
  or     %r14d,%ecx
  and    %edx,%ecx
  cmp    %r8,%rsi
  mov    0x50(%rsp),%r8
  setbe  %dl
  cmp    0x10(%rsp),%r8
  setbe  0x7f(%rsp)
  movzbl 0x7f(%rsp),%r14d
  or     %r14d,%edx
  mov    %r10,%r14
  and    %ecx,%edx
  cmp    0x8(%rsp),%r10
  mov    0x40(%rsp),%r10
  setbe  %cl
  cmp    0x48(%rsp),%r10
  setae  %r8b
  or     %r8d,%ecx
  mov    0x10(%rsp),%r8
  and    %edx,%ecx
  cmp    %rdi,%rsi
  setbe  %dl
  cmp    %r8,0x38(%rsp)
  setbe  %sil
  or     %esi,%edx
  and    %ecx,%edx
  cmp    %r10,0x60(%rsp)
  mov    0x68(%rsp),%r10
  setbe  %cl
  cmp    %rdi,%r14
  mov    0x70(%rsp),%r14
  setbe  %sil
  or     %esi,%ecx
  mov    0x10(%rsp),%rsi
  and    %edx,%ecx
  mov    0x58(%rsp),%rdx
  add    0x20(%rsp),%rdx
  cmp    %rdx,%r14
  setae  %dl
  cmp    %r10,%rsi
  setae  %sil
  or     %esi,%edx
  and    %ecx,%edx
  cmp    %r10,0x8(%rsp)
  setae  %cl
  cmp    %r14,0x50(%rsp)
  setbe  %sil
  or     %esi,%ecx
  test   %cl,%dl
  je     L583
  cmp    %r10,%rdi
  setae  %cl
  cmp    %r14,0x38(%rsp)
  setbe  %dl
  or     %cl,%dl
  je     L583
  mov    0x90(%rsp),%rax
  mov    0x18(%rsp),%rcx
  mov    %r9d,0x50(%rsp)
  add    $0x1,%rax
  lea    (%rcx,%r11,1),%rsi
  lea    0x0(,%rax,8),%rdx
  mov    %rax,0x48(%rsp)
  mov    %rdx,0x38(%rsp)
  call   <memmove@plt>
  mov    0x38(%rsp),%rdx
  mov    0x8(%rsp),%rdi
  mov    0x80(%rsp),%rsi
  call   <memmove@plt>
  mov    0x38(%rsp),%rdx
  mov    0x40(%rsp),%rsi
  mov    0x10(%rsp),%rdi
  call   <memmove@plt>
  mov    0x48(%rsp),%rcx
  mov    0x88(%rsp),%rsi
  mov    %r14,%rdi
  add    0xe8(%rsp),%rsi
  lea    0x0(,%rcx,4),%rdx
  call   <memmove@plt>
  mov    0x50(%rsp),%r9d
L386:
  movl   $0x1,D1533(%rip)
  mov    D1013(%rip),%edi
  cmp    $0x1,%edi
  jle    L191
  lea    -0x1(%rdi),%eax
  mov    %r13,%rcx
  lea    0x0(%r13,%rax,4),%rsi
  nopw   0x0(%rax,%rax,1)
L350:
  mov    (%rcx),%eax
  mov    D451(%rip),%edx
  cmp    %edx,%eax
  jle    L121
  sub    $0x1,%eax
  mov    %eax,(%rcx)
  mov    D451(%rip),%edx
L121:
  neg    %edx
  cmp    %eax,%edx
  jle    L163
  add    $0x1,%eax
  mov    %eax,(%rcx)
L163:
  add    $0x4,%rcx
  cmp    %rsi,%rcx
  jne    L350
  mov    %edi,D461(%rip)
L191:
  mov    D377(%rip),%eax
L46:
  mov    D1769(%rip),%edx
  mov    D1013(%rip),%r10d
  test   %edx,%edx
  je     L22
  sub    $0x1,%r10d
  mov    %r10d,D461(%rip)
L22:
  mov    %eax,D461(%rip)
  movl   $0x1,D1106(%rip)
  test   %r10d,%r10d
  jle    L139
  mov    0xe8(%rsp),%rdi
  movslq %r12d,%rdx
  lea    -0x2(%r9),%ecx
  shl    $0x2,%rcx
  lea    -0x4(%rdi,%rdx,4),%r11
  movslq %r9d,%rdx
  lea    -0xc(,%rdx,4),%rdx
  sub    %rcx,%rdx
  add    %rdi,%rdx
  xor    %edi,%edi
  nopw   0x0(%rax,%rax,1)
L85:
  mov    D1013(%rip),%esi
  movslq %eax,%r9
  lea    (%r15,%r9,4),%r8
  lea    -0x1(%rsi),%ecx
  mov    %ecx,D1483(%rip)
  movslq %ecx,%rcx
  mov    (%r8),%esi
  mov    0x0(%rbp,%rcx,4),%ecx
  mov    %ecx,0x0(%rbp,%r9,4)
  movslq D1483(%rip),%rcx
  mov    (%r15,%rcx,4),%ecx
  mov    %ecx,(%r8)
  movslq %esi,%rcx
  mov    D1483(%rip),%r8d
  lea    (%r15,%rcx,4),%rcx
  cmp    %r8d,(%rcx)
  jne    L126
  mov    %eax,(%rcx)
  mov    D1483(%rip),%r8d
L126:
  cmp    %r8d,%esi
  cmove  %eax,%esi
  test   %r12d,%r12d
  jle    L276
  mov    %r11,%rcx
  jmp    L463
  nop
L340:
  sub    $0x4,%rcx
  cmp    %rdx,%rcx
  je     L276
L463:
  cmp    %r8d,(%rcx)
  jne    L340
  mov    %eax,(%rcx)
  mov    D1483(%rip),%r8d
L276:
  lea    -0x1(%r8),%ecx
  test   %ecx,%ecx
  jle    L242
  lea    -0x2(%r8),%ecx
  movslq %ecx,%rcx
  jmp    L614
  nopl   0x0(%rax,%rax,1)
L593:
  mov    D1483(%rip),%r8d
  sub    $0x1,%rcx
L614:
  cmp    %r8d,(%rbx,%rcx,4)
  jne    L229
  mov    %eax,(%rbx,%rcx,4)
L229:
  test   %ecx,%ecx
  jg     L593
  xor    %ecx,%ecx
L242:
  add    $0x1,%edi
  cmp    %r10d,%edi
  je     L144
  mov    %esi,%eax
  jmp    L85
  nopl   0x0(%rax)
L144:
  add    $0x1,%edi
  mov    %ecx,D1483(%rip)
  mov    %edi,D1483(%rip)
  mov    %eax,D1483(%rip)
  mov    %esi,D1483(%rip)
L139:
  mov    0x30(%rsp),%rax
  mov    0xf0(%rsp),%rdi
  mov    %r12d,(%rax)
  mov    D1483(%rip),%eax
  mov    %eax,(%rdi)
  mov    D1013(%rip),%eax
  test   %eax,%eax
  jg     L77
  xor    %edi,%edi
  jmp    L264
L77:
  shl    $0x2,%eax
  mov    %rbx,%r9
  lea    D1013(%rip),%rcx
  mov    %r13,%r8
  mov    %eax,D1483(%rip)
  lea    D220(%rip),%rax
  push   %rax
  lea    D1483(%rip),%rax
  push   0x108(%rsp)
  push   %rax
  push   0x100(%rsp)
  mov    0x38(%rsp),%rdi
  mov    0x40(%rsp),%rdx
  mov    0x48(%rsp),%rsi
  call   <optim_@plt>
  add    $0x20,%rsp
  cmpl   $0x1,D220(%rip)
  mov    $0x5,%edi
  ja     L264
  mov    $0x6,%edi
  je     L264
  xor    %edi,%edi
  jmp    L264
  nopl   0x0(%rax)
L200:
  mov    D1769(%rip),%r11d
  mov    0x10(%rsp),%r15
  test   %r11d,%r11d
  jne    L91
  mov    D461(%rip),%esi
  cmp    $0x3,%esi
  jle    L257
  movl   $0x1,D1769(%rip)
L560:
  movl   $0x1,D1483(%rip)
  mov    D1533(%rip),%ecx
  test   %ecx,%ecx
  jle    L658
  mov    0x50(%rsp),%r8d
  movzbl 0x38(%rsp),%r9d
  mov    $0x2,%eax
  mov    0xe8(%rsp),%rdi
  jmp    L514
  nopl   0x0(%rax,%rax,1)
L487:
  mov    %eax,%r8d
  add    $0x1,%rax
  mov    $0x1,%r9d
  lea    -0x1(%rax),%edx
  cmp    %edx,%ecx
  jl     L609
L514:
  movslq -0x8(%rdi,%rax,4),%rdx
  mov    0x0(%rbp,%rdx,4),%r10d
  test   %r10d,%r10d
  jns    L487
  test   %r9b,%r9b
  je     L447
  mov    %r8d,D1529(%rip)
L447:
  movl   $0x0,D1769(%rip)
L515:
  mov    $0x4,%edi
  cmp    $0x3,%esi
  jg     L264
L91:
  movslq D377(%rip),%rdx
  jmp    L567
L214:
  mov    D1769(%rip),%esi
  mov    %rdi,%r15
  mov    %rax,%rdx
L118:
  test   %esi,%esi
  jne    L567
L619:
  movslq (%r15,%rdx,4),%rax
  mov    0x48(%rsp),%r8
  sub    $0x8,%rsp
  movslq 0x0(%rbp,%rax,4),%rcx
  mov    %eax,D1529(%rip)
  mov    %ecx,D1529(%rip)
  movslq (%r15,%rax,4),%rax
  shl    $0x3,%rcx
  lea    (%r8,%rcx,1),%rsi
  lea    (%r12,%rcx,1),%r10
  mov    %eax,D1529(%rip)
  movslq 0x0(%rbp,%rax,4),%rax
  lea    (%r14,%rcx,1),%rdi
  mov    %eax,D1529(%rip)
  shl    $0x3,%rax
  movslq 0x0(%rbp,%rdx,4),%rdx
  lea    (%r12,%rax,1),%rcx
  push   %rcx
  lea    (%r8,%rax,1),%rcx
  add    %r14,%rax
  push   %rcx
  mov    %edx,D1529(%rip)
  shl    $0x3,%rdx
  push   %rax
  lea    (%r14,%rdx,1),%r11
  lea    (%r12,%rdx,1),%r9
  add    %rdx,%r8
  mov    %r11,%rcx
  mov    %r10,%rdx
  call   <left_@plt>
  mov    D461(%rip),%esi
  add    $0x20,%rsp
  mov    %eax,D1529(%rip)
  test   %eax,%eax
  je     L515
  jmp    L560
  nopw   0x0(%rax,%rax,1)
L573:
  movslq D377(%rip),%rdx
  jmp    L118
L609:
  mov    %r8d,D1529(%rip)
L658:
  movslq D377(%rip),%rax
  add    $0x1,%esi
  mov    %esi,D1529(%rip)
  negl   0x0(%rbp,%rax,4)
  movslq D377(%rip),%rdx
  jmp    L567
L583:
  mov    0x18(%rsp),%rdx
  mov    0x28(%rsp),%rcx
  mov    0x20(%rsp),%rsi
  mov    0xe8(%rsp),%rdi
  mov    0x98(%rsp),%r10
  jmp    L319
L3:
  add    $0x1,%r10
L319:
  movsd  (%rdx,%rax,8),%xmm0
  mov    (%rdi,%rax,4),%r8d
  movsd  %xmm0,-0x8(%rdx,%rax,8)
  movsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,-0x8(%rcx,%rax,8)
  movsd  (%rsi,%rax,8),%xmm0
  movsd  %xmm0,-0x8(%rsi,%rax,8)
  mov    %r8d,-0x4(%rdi,%rax,4)
  mov    %r10,%rax
  cmp    %r10d,%r12d
  jge    L3
  jmp    L386
L257:
  movslq D377(%rip),%rdx
  jmp    L619
```

assistant: ```c
int delnod_(int *k, int *n, double *x, double *y, double *z__, int *list, int *lptr, int *lend, int *lnew, int *lwk, int *iwk, int *ier) {
  int i__1;
  static int i__, j, n1, n2;
  static double x1, x2, y11, y2, z1, z2;
  static int nl, lp, nn, nr;
  static double xl, yl, zl, xr, yr, zr;
  static int nnb, lp21, lpf, lph, lpl, lpn, iwl, nit, lnw, lpl2;
  static int bdry;
  static int ierr, lwkl;
  static int nfrst;
  iwk -= 3;
  --lend;
  --lptr;
  --list;
  --z__;
  --y;
  --x;
  n1 = *k;
  nn = *n;
  if (n1 < 1 || n1 > nn || nn < 4 || *lwk < 0) {
    goto L21;
  }
  lpl = lend[n1];
  lpf = lptr[lpl];
  nnb = nbcnt_(&lpl, &lptr[1]);
  bdry = list[lpl] < 0;
  if (bdry) {
    ++nnb;
  }
  if (nnb < 3) {
    goto L23;
  }
  lwkl = *lwk;
  *lwk = nnb - 3;
  if (lwkl < *lwk) {
    goto L22;
  }
  iwl = 0;
  if (nnb == 3) {
    goto L3;
  }
  x1 = x[n1];
  y11 = y[n1];
  z1 = z__[n1];
  nfrst = list[lpf];
  nr = nfrst;
  xr = x[nr];
  yr = y[nr];
  zr = z__[nr];
  lp = lptr[lpf];
  n2 = list[lp];
  x2 = x[n2];
  y2 = y[n2];
  z2 = z__[n2];
  lp = lptr[lp];
L1:
  nl = (i__1 = list[lp], ((i__1) >= 0 ? (i__1) : -(i__1)));
  if (nl == nfrst && bdry) {
    goto L3;
  }
  xl = x[nl];
  yl = y[nl];
  zl = z__[nl];
  lpl2 = lend[n2];
  if (!((bdry || left_(&xr, &yr, &zr, &xl, &yl, &zl, &x1, &y11, &z1)) && (list[lpl2] < 0 || left_(&xl, &yl, &zl, &xr, &yr, &zr, &x2, &y2, &z2)))) {
    nr = n2;
    xr = x2;
    yr = y2;
    zr = z2;
    goto L2;
  }
  swap_(&nl, &nr, &n1, &n2, &list[1], &lptr[1], &lend[1], &lp21);
  if (lp21 == 0) {
    nr = n2;
    xr = x2;
    yr = y2;
    zr = z2;
    goto L2;
  }
  ++iwl;
  if (nl <= n1) {
    iwk[(iwl << 1) + 1] = nl;
  } else {
    iwk[(iwl << 1) + 1] = nl - 1;
  }
  if (nr <= n1) {
    iwk[(iwl << 1) + 2] = nr;
  } else {
    iwk[(iwl << 1) + 2] = nr - 1;
  }
  lpl = lend[n1];
  --nnb;
  if (nnb == 3) {
    goto L3;
  }
  lpf = lptr[lpl];
  nfrst = list[lpf];
  lp = lstptr_(&lpl, &nl, &list[1], &lptr[1]);
  if (nr == nfrst) {
    goto L2;
  }
  n2 = nr;
  x2 = xr;
  y2 = yr;
  z2 = zr;
  lp21 = lptr[lp21];
  lp21 = lptr[lp21];
  nr = (i__1 = list[lp21], ((i__1) >= 0 ? (i__1) : -(i__1)));
  xr = x[nr];
  yr = y[nr];
  zr = z__[nr];
  goto L1;
L2:
  if (n2 == nfrst) {
    goto L3;
  }
  n2 = nl;
  x2 = xl;
  y2 = yl;
  z2 = zl;
  lp = lptr[lp];
  goto L1;
L3:
  if (!bdry) {
    if (nnb > 3) {
      bdry = (1);
    } else {
      lpf = lptr[lpl];
      nr = list[lpf];
      lp = lptr[lpf];
      n2 = list[lp];
      nl = list[lpl];
      bdry = left_(&x[nr], &y[nr], &z__[nr], &x[nl], &y[nl], &z__[nl], &x[n2], &y[n2], &z__[n2]);
    }
    if (bdry) {
      i__1 = nn;
      for (i__ = 1; i__ <= i__1; ++i__) {
        if (list[lend[i__]] < 0) {
          bdry = (0);
          goto L5;
        }
      }
      list[lpl] = -list[lpl];
      ++nnb;
    }
  }
L5:
  if (!bdry && nnb > 3) {
    goto L24;
  }
  lp = lpl;
  lnw = *lnew;
L6:
  lp = lptr[lp];
  n2 = (i__1 = list[lp], ((i__1) >= 0 ? (i__1) : -(i__1)));
  delnb_(&n2, &n1, n, &list[1], &lptr[1], &lend[1], &lnw, &lph);
  if (lph < 0) {
    goto L23;
  }
  if (lpl == lnw) {
    lpl = lph;
  }
  if (lp == lnw) {
    lp = lph;
  }
  if (lp != lpl) {
    goto L6;
  }
  --nn;
  if (n1 > nn) {
    goto L9;
  }
  i__1 = nn;
  for (i__ = n1; i__ <= i__1; ++i__) {
    x[i__] = x[i__ + 1];
    y[i__] = y[i__ + 1];
    z__[i__] = z__[i__ + 1];
    lend[i__] = lend[i__ + 1];
  }
  i__1 = lnw - 1;
  for (i__ = 1; i__ <= i__1; ++i__) {
    if (list[i__] > n1) {
      --list[i__];
    }
    if (list[i__] < -n1) {
      ++list[i__];
    }
  }
L9:
  if (bdry) {
    --nnb;
  }
  lpn = lpl;
  i__1 = nnb;
  for (j = 1; j <= i__1; ++j) {
    --lnw;
    lp = lpn;
    lpn = lptr[lp];
    list[lp] = list[lnw];
    lptr[lp] = lptr[lnw];
    if (lptr[lpn] == lnw) {
      lptr[lpn] = lp;
    }
    if (lpn == lnw) {
      lpn = lp;
    }
    for (i__ = nn; i__ >= 1; --i__) {
      if (lend[i__] == lnw) {
        lend[i__] = lp;
        goto L11;
      }
    }
  L11:
    for (i__ = lnw - 1; i__ >= 1; --i__) {
      if (lptr[i__] == lnw) {
        lptr[i__] = lp;
      }
    }
  }
  *n = nn;
  *lnew = lnw;
  if (iwl > 0) {
    nit = iwl << 2;
    optim_(&x[1], &y[1], &z__[1], &iwl, &list[1], &lptr[1], &lend[1], &nit, &iwk[3], &ierr);
    if (ierr != 0 && ierr != 1) {
      goto L25;
    }
    if (ierr == 1) {
      goto L26;
    }
  }
  *ier = 0;
  return 0;
L21:
  *ier = 1;
  return 0;
L22:
  *ier = 2;
  return 0;
L23:
  *ier = 3;
  return 0;
L24:
  *ier = 4;
  return 0;
L25:
  *ier = 5;
  return 0;
L26:
  *ier = 6;
  return 0;
}
```