user: Translate the below assembly code into C programming language:

```asm
<qrnzcnt>:
  endbr64
  push   %r15
  xor    %eax,%eax
  mov    %edi,%r15d
  push   %r14
  mov    %rcx,%r14
  push   %r13
  lea    0x1(%r15),%r13d
  push   %r12
  movslq %esi,%r12
  push   %rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0xd8,%rsp
  mov    %rdx,0x38(%rsp)
  mov    %r9,0x40(%rsp)
  mov    %edi,0x9c(%rsp)
  call   <intMalloc@plt>
  mov    %r15d,%edi
  movslq %eax,%rbp
  xor    %eax,%eax
  call   <intMalloc@plt>
  mov    %r13d,%edi
  movslq %eax,%rcx
  xor    %eax,%eax
  mov    %rcx,0x28(%rsp)
  call   <intMalloc@plt>
  mov    %r13d,%edi
  cltq
  mov    %rax,0xb0(%rsp)
  xor    %eax,%eax
  call   <intMalloc@plt>
  mov    %r13d,%edi
  cltq
  mov    %rax,0x30(%rsp)
  xor    %eax,%eax
  call   <intMalloc@plt>
  mov    %r13d,%edi
  cltq
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  call   <intMalloc@plt>
  mov    %r15d,%edi
  cltq
  mov    %rax,0x50(%rsp)
  xor    %eax,%eax
  call   <intMalloc@plt>
  movslq %eax,%rdi
  xor    %eax,%eax
  mov    %rdi,0x8(%rsp)
  lea    0x1(%r12,%r15,2),%edi
  call   <intMalloc@plt>
  movslq %eax,%rdi
  movslq %r15d,%rax
  lea    0x4(,%rax,4),%rsi
  mov    %rdi,0x10(%rsp)
  xor    %eax,%eax
  lea    (%rdi,%r12,4),%rdi
  mov    %rdi,0x60(%rsp)
  add    %rsi,%rdi
  mov    %r15d,%r12d
  mov    %rdi,0x68(%rsp)
  mov    %r15d,%edi
  mov    %rsi,0x88(%rsp)
  call   <intMalloc@plt>
  movslq %eax,%rdi
  xor    %eax,%eax
  mov    %rdi,0x70(%rsp)
  mov    %r15d,%edi
  call   <intMalloc@plt>
  mov    %r13d,%edi
  movslq %eax,%rsi
  xor    %eax,%eax
  mov    %rsi,0x18(%rsp)
  call   <intCalloc@plt>
  mov    %r12d,%edi
  movslq %eax,%r15
  xor    %eax,%eax
  call   <intMalloc@plt>
  mov    %r12d,%edi
  movslq %eax,%rsi
  xor    %eax,%eax
  mov    %rsi,0x78(%rsp)
  call   <intMalloc@plt>
  mov    %r12d,%edi
  movslq %eax,%r13
  xor    %eax,%eax
  call   <intMalloc@plt>
  movslq %eax,%rsi
  mov    %rsi,0xc0(%rsp)
  lea    -0x1(%r12),%esi
  mov    %esi,0x90(%rsp)
  mov    %esi,0xa0(%rsp)
  test   %r12d,%r12d
  jle    L212
  mov    %r12d,%esi
  mov    0x50(%rsp),%rax
  mov    0x70(%rsp),%rdx
  lea    0x0(,%rsi,4),%r12
  mov    %rsi,0x48(%rsp)
  mov    0x28(%rsp),%rcx
  mov    0x138(%rsp),%r10
  lea    0x0(%r13,%r12,1),%r11
  lea    (%rax,%r12,1),%rdi
  mov    %r11,(%rsp)
  mov    0x130(%rsp),%r11
  lea    (%rdx,%r12,1),%r9
  lea    (%rcx,%r12,1),%r8
  lea    0x0(%rbp,%r12,1),%rsi
  add    %r12,%r10
  add    %r12,%r11
  cmp    %rbp,%rdi
  setbe  %dl
  cmp    %rsi,%rax
  setae  %al
  or     %eax,%edx
  cmp    %rsi,%rcx
  setae  %al
  cmp    %r8,%rbp
  setae  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %r11,0x138(%rsp)
  setae  %dl
  cmp    %r10,0x130(%rsp)
  setae  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %rsi,0x70(%rsp)
  setae  %al
  cmp    %rbp,%r9
  setbe  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rbp,(%rsp)
  setbe  %dl
  cmp    %rsi,%r13
  setae  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %rbp,%r10
  setbe  %al
  cmp    %rsi,0x138(%rsp)
  setae  %cl
  or     %ecx,%eax
  and    %eax,%edx
  cmp    %rbp,%r11
  mov    %edx,%ecx
  setbe  %dl
  cmp    %rsi,0x130(%rsp)
  mov    0x28(%rsp),%rsi
  setae  %al
  or     %edx,%eax
  and    %ecx,%eax
  cmp    %rsi,%rdi
  setbe  %dl
  cmp    %r8,0x50(%rsp)
  setae  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %rsi,%r9
  setbe  %al
  cmp    %r8,0x70(%rsp)
  setae  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rsi,(%rsp)
  setbe  %dl
  cmp    %r8,%r13
  setae  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %rsi,%r10
  setbe  %al
  cmp    %r8,0x138(%rsp)
  setae  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rsi,%r11
  mov    0x50(%rsp),%rsi
  setbe  %dl
  cmp    %r8,0x130(%rsp)
  setae  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %rdi,0x70(%rsp)
  setae  %al
  cmp    %rsi,%r9
  setbe  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rdi,%r13
  setae  %dl
  cmp    %rsi,(%rsp)
  setbe  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %rdi,0x138(%rsp)
  setae  %al
  cmp    %rsi,%r10
  setbe  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rdi,0x130(%rsp)
  mov    0x70(%rsp),%rdi
  setae  %dl
  cmp    %rsi,%r11
  mov    (%rsp),%rsi
  setbe  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %r9,%r13
  setae  %al
  cmp    %rdi,%rsi
  setbe  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rdi,%r10
  setbe  %dl
  cmp    %r9,0x138(%rsp)
  setae  %cl
  or     %ecx,%edx
  and    %eax,%edx
  cmp    %r9,0x130(%rsp)
  setae  %al
  cmp    %rdi,%r11
  setbe  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmp    %rsi,0x138(%rsp)
  setae  %dl
  cmp    %r13,%r10
  setbe  %cl
  or     %ecx,%edx
  test   %dl,%al
  je     L142
  cmp    %r13,%r11
  setbe  %al
  cmp    %rsi,0x130(%rsp)
  setae  %dl
  or     %al,%dl
  je     L142
  mov    0x28(%rsp),%rdi
  mov    %r12,%rdx
  mov    $0xff,%esi
  call   <memset@plt>
  mov    0x70(%rsp),%rdi
  mov    %r12,%rdx
  mov    $0xff,%esi
  call   <memset@plt>
  mov    %r12,%rdx
  mov    $0xff,%esi
  mov    %rbp,%rdi
  call   <memset@plt>
  mov    0x130(%rsp),%rdi
  mov    %r12,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    %r12,%rdx
  xor    %esi,%esi
  mov    %r13,%rdi
  call   <memset@plt>
  mov    0x138(%rsp),%rdi
  mov    %r12,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    0x50(%rsp),%rdi
  mov    %r12,%rdx
  xor    %esi,%esi
  call   <memset@plt>
L425:
  mov    0x50(%rsp),%rax
  mov    0x88(%rsp),%rdi
  xor    %r11d,%r11d
  xor    %r8d,%r8d
  mov    %r15,0xa8(%rsp)
  movl   $0x0,-0x4(%rax,%rdi,1)
  mov    0x70(%rsp),%rdi
  sub    %rdi,%rax
  mov    %rdi,%r12
  mov    %rax,0x80(%rsp)
  nopw   0x0(%rax,%rax,1)
L401:
  mov    0x118(%rsp),%rax
  mov    0x50(%rsp),%rsi
  mov    %r11d,%r15d
  mov    %r11d,%ecx
  lea    0x0(,%r11,4),%rdi
  movslq (%rax,%r11,4),%rax
  mov    %rdi,0x20(%rsp)
  addl   $0x1,(%rsi,%rax,4)
  movslq %r8d,%rax
  lea    0x0(,%rax,4),%r9
  test   %r11,%r11
  je     L170
  mov    0x80(%rsp),%rsi
  cmpl   $0x1,(%rsi,%r12,1)
  jle    L170
  mov    0x138(%rsp),%rsi
  mov    %r11d,%edx
  mov    %rdi,%r9
  sub    %r8d,%edx
  mov    %r11d,%r8d
  mov    %edx,(%rsi,%rax,4)
L170:
  mov    0x40(%rsp),%rax
  mov    0x38(%rsp),%rdi
  movslq (%rax,%r11,4),%rax
  lea    0x4(%rdi,%rax,4),%r10
  movslq (%rdi,%rax,4),%rdx
  cmp    (%r10),%edx
  jge    L95
  mov    %r11,0x58(%rsp)
  mov    %ecx,(%rsp)
  jmp    L315
  nopl   0x0(%rax,%rax,1)
L436:
  add    $0x1,%rdx
  cmp    %edx,(%r10)
  jle    L440
L315:
  movslq (%r14,%rdx,4),%rax
  movslq %r8d,%rdi
  lea    0x0(,%rdi,4),%r9
  movslq (%rbx,%rax,4),%rsi
  lea    0x0(,%rsi,4),%rax
  addl   $0x1,0x0(%r13,%rax,1)
  add    %rbp,%rax
  cmpl   $0xffffffff,(%rax)
  jne    L436
  mov    %r15d,(%rax)
  mov    0x18(%rsp),%r11
  mov    (%r12),%eax
  mov    %eax,(%r11,%rsi,4)
  mov    (%rsp),%eax
  mov    %esi,(%r12)
  test   %eax,%eax
  je     L436
  cmp    %eax,%r8d
  je     L436
  mov    0x138(%rsp),%rsi
  mov    %r15d,%eax
  mov    0x20(%rsp),%r9
  add    $0x1,%rdx
  sub    %r8d,%eax
  mov    %r15d,%r8d
  mov    %eax,(%rsi,%rdi,4)
  cmp    %edx,(%r10)
  jg     L315
  nopl   0x0(%rax)
L440:
  mov    0x58(%rsp),%r11
L95:
  add    $0x1,%r11
  add    $0x4,%r12
  cmp    %r11,0x48(%rsp)
  jne    L401
  mov    0x9c(%rsp),%eax
  mov    0xa8(%rsp),%r15
  xor    %ecx,%ecx
  mov    0x138(%rsp),%rdi
  mov    0x60(%rsp),%r12
  sub    %r8d,%eax
  mov    %r15,0x20(%rsp)
  mov    0x68(%rsp),%r11
  mov    %eax,(%rdi,%r9,1)
  mov    0x28(%rsp),%r9
  movl   $0x0,(%r12)
  nopl   0x0(%rax)
L43:
  mov    0x40(%rsp),%rax
  mov    0x38(%rsp),%rdi
  mov    %ecx,%r8d
  mov    (%r12,%rcx,4),%edx
  movslq (%rax,%rcx,4),%rax
  mov    %edx,(%r11,%rcx,4)
  lea    0x4(%rdi,%rax,4),%r10
  movslq (%rdi,%rax,4),%rdx
  xor    %edi,%edi
  mov    (%r10),%esi
  cmp    %esi,%edx
  jge    L400
  mov    %r12,(%rsp)
  jmp    L164
  nopl   0x0(%rax)
L11:
  shl    $0x2,%rax
  lea    (%r9,%rax,1),%r15
  cmp    %ecx,(%r15)
  jge    L184
  add    %r11,%rax
  mov    0x10(%rsp),%r12
  movslq (%rax),%rsi
  mov    %r8d,(%r12,%rsi,4)
  addl   $0x1,(%rax)
  mov    %r8d,(%r15)
  mov    (%r10),%esi
L184:
  add    $0x1,%rdx
  cmp    %edx,%esi
  jle    L27
L164:
  movslq (%r14,%rdx,4),%rax
  movslq (%rbx,%rax,4),%r15
  movslq 0x0(%rbp,%r15,4),%rax
  cmp    %ecx,%eax
  jne    L11
  add    $0x1,%rdx
  add    0x0(%r13,%r15,4),%edi
  cmp    %edx,%esi
  jg     L164
L27:
  mov    (%rsp),%r12
L400:
  add    (%r12,%rcx,4),%edi
  mov    %edi,0x4(%r12,%rcx,4)
  add    $0x1,%rcx
  cmp    %rcx,0x48(%rsp)
  jne    L43
  mov    0xb0(%rsp),%rax
  mov    0x88(%rsp),%rbx
  mov    0x20(%rsp),%r15
  movl   $0x0,-0x4(%rax,%rbx,1)
  mov    %rbx,%rax
L74:
  mov    0xb0(%rsp),%r14
  mov    0x28(%rsp),%r10
  mov    %rbp,%r11
  lea    -0x8(%rax,%r13,1),%rax
  mov    0xc0(%rsp),%rbx
  mov    0x30(%rsp),%rdi
  sub    %r13,%r11
  mov    0x118(%rsp),%r8
  mov    0x8(%rsp),%rcx
  mov    %r14,%r9
  sub    %r13,%r10
  mov    0xa0(%rsp),%edx
  sub    %r13,%rbx
  sub    %r13,%r9
  sub    %r13,%rdi
  mov    0xb8(%rsp),%rsi
  sub    %r13,%r8
  sub    %r13,%rcx
  sub    %r13,%rsi
  nopl   0x0(%rax,%rax,1)
L39:
  movl   $0x1,(%rax)
  movl   $0x0,(%rbx,%rax,1)
  mov    %edx,(%r11,%rax,1)
  movl   $0xffffffff,(%r10,%rax,1)
  movslq (%r8,%rax,1),%r12
  mov    (%r14,%r12,4),%r12d
  add    $0x1,%r12d
  mov    %r12d,(%r9,%rax,1)
  movl   $0x1,(%rdi,%rax,1)
  mov    %edx,(%rsi,%rax,1)
  sub    $0x1,%edx
  movl   $0xffffffff,(%rcx,%rax,1)
  sub    $0x4,%rax
  cmp    $0xffffffff,%edx
  jne    L39
  mov    0xb8(%rsp),%r10
  mov    0x88(%rsp),%rax
  mov    0x9c(%rsp),%ecx
  movl   $0xffffffff,-0x4(%r10,%rax,1)
  test   %ecx,%ecx
  jle    L197
  mov    0x90(%rsp),%eax
  mov    0x118(%rsp),%rdi
  mov    0x120(%rsp),%rsi
  mov    0x30(%rsp),%r9
  shl    $0x2,%rax
  sub    %r10,%rdi
  mov    %rax,0xc8(%rsp)
  lea    0x4(%rax,%r10,1),%r8
  sub    %r10,%rsi
  mov    %r10,%rax
  nopl   0x0(%rax)
L254:
  movslq (%rdi,%rax,1),%rdx
  movl   $0x0,(%r9,%rdx,4)
  lea    (%r10,%rdx,4),%rdx
  movl   $0x0,(%rsi,%rax,1)
  mov    (%rax),%ecx
  cmp    %ecx,(%rdx)
  jle    L417
  mov    %ecx,(%rdx)
L417:
  add    $0x4,%rax
  cmp    %r8,%rax
  jne    L254
  mov    0x9c(%rsp),%eax
  mov    0x30(%rsp),%rbx
  xor    %edi,%edi
  movl   $0x0,0x48(%rsp)
  mov    0xb0(%rsp),%r10
  mov    %r13,0x40(%rsp)
  mov    %rax,0x58(%rsp)
  mov    0x70(%rsp),%rax
  mov    %rbx,0x20(%rsp)
  mov    0x118(%rsp),%r11
  mov    %r10,%r8
  sub    %r10,%rax
  mov    %rax,0x80(%rsp)
  mov    %r15,%rax
  sub    %r10,%rax
  mov    %rax,0x90(%rsp)
  mov    0xb8(%rsp),%rax
  sub    %r10,%rax
  mov    %rax,0x88(%rsp)
  mov    0x50(%rsp),%rax
  sub    %r10,%rax
  mov    %rax,0xa8(%rsp)
  mov    0x10(%rsp),%rax
  add    $0x4,%rax
  mov    %rax,0xa0(%rsp)
  nopw   0x0(%rax,%rax,1)
L358:
  lea    0x0(,%rdi,4),%rax
  mov    0x90(%rsp),%rbx
  mov    %edi,%r12d
  mov    %rax,0x38(%rsp)
  mov    0x80(%rsp),%rax
  lea    (%rbx,%r8,1),%rcx
  movslq (%rax,%r8,1),%rax
  cmp    $0xffffffff,%eax
  je     L228
  mov    0x18(%rsp),%r13
  mov    0x78(%rsp),%rbx
  nopw   0x0(%rax,%rax,1)
L247:
  mov    (%r8),%edx
  sub    (%r10,%rax,4),%edx
  add    $0x1,%edx
  mov    %edx,(%rbx,%rax,4)
  addl   $0x1,(%rcx)
  movslq (%r11,%rax,4),%rdx
  subl   $0x1,(%r15,%rdx,4)
  movslq 0x0(%r13,%rax,4),%rax
  cmp    $0xffffffff,%eax
  jne    L247
L228:
  mov    0x88(%rsp),%rax
  mov    (%rax,%r8,1),%eax
  mov    %eax,(%rsp)
  mov    0x60(%rsp),%rax
  mov    (%rax,%rdi,4),%ecx
  mov    0x68(%rsp),%rax
  mov    (%rax,%rdi,4),%eax
  cmp    %eax,%ecx
  jge    L53
  mov    0x10(%rsp),%rbx
  movslq %ecx,%rsi
  sub    $0x1,%eax
  sub    %ecx,%eax
  xor    %ecx,%ecx
  lea    (%rbx,%rsi,4),%rdx
  mov    0xa0(%rsp),%rbx
  add    %rsi,%rax
  lea    (%rbx,%rax,4),%rbx
  nopl   0x0(%rax)
L454:
  movslq (%rdx),%rax
  cmp    %edi,%eax
  jle    L73
  mov    0x8(%rsp),%r9
  lea    0x0(,%rax,4),%rsi
  mov    (%rsp),%r14d
  add    %rsi,%r9
  cmp    %r14d,(%r9)
  jge    L134
  mov    0x20(%rsp),%rcx
  addl   $0x1,(%rcx)
  mov    0x28(%rsp),%rcx
  lea    (%rcx,%rsi,1),%r13
  add    0x40(%rsp),%rsi
  movslq 0x0(%r13),%rcx
  cmp    $0xffffffff,%ecx
  jne    L351
  mov    (%r8),%ecx
  add    (%rsi),%ecx
  sub    (%r10,%rax,4),%ecx
  mov    %ecx,(%rsi)
L96:
  mov    %r12d,0x0(%r13)
  mov    $0x1,%ecx
L134:
  mov    %r12d,(%r9)
L73:
  add    $0x4,%rdx
  cmp    %rbx,%rdx
  jne    L454
  movslq (%r11,%rdi,4),%rdx
  mov    0x30(%rsp),%rbx
  mov    %rdx,%rax
  subl   $0x1,(%rbx,%rdx,4)
  cmp    $0x1,%ecx
  je     L274
L157:
  mov    0xa8(%rsp),%rbx
  cmpl   $0x1,(%rbx,%r8,1)
  jle    L284
L274:
  test   %rdi,%rdi
  je     L132
  movslq 0x48(%rsp),%rdx
  mov    0x130(%rsp),%rbx
  mov    %r12d,%ecx
  mov    %r12d,0x48(%rsp)
  sub    %edx,%ecx
  mov    %ecx,(%rbx,%rdx,4)
L392:
  mov    0x38(%rsp),%rbx
  addq   $0x4,0x20(%rsp)
  add    $0x1,%rdi
  add    $0x4,%r8
  mov    %eax,0x0(%rbp,%rbx,1)
  cmp    0x58(%rsp),%rdi
  jne    L358
  mov    0xc0(%rsp),%r14
  mov    0x30(%rsp),%r9
  mov    %r15,%r8
  mov    %rbp,(%rsp)
  mov    0x120(%rsp),%rcx
  mov    0x128(%rsp),%rax
  mov    0xc8(%rsp),%rbx
  mov    0x40(%rsp),%r13
  mov    %r14,%rdx
  sub    %r14,%r9
  mov    0x118(%rsp),%r11
  movl   $0x0,(%rax)
  sub    %r14,%r8
  mov    %rcx,%r12
  mov    0x128(%rsp),%rdi
  mov    0x9c(%rsp),%ebp
  lea    0x4(%rcx,%rbx,1),%r10
  sub    %r14,%r11
  jmp    L252
  nopl   0x0(%rax)
L410:
  shl    $0x2,%rax
  add    $0x4,%rcx
  add    $0x4,%rdx
  add    %esi,(%r14,%rax,1)
  mov    (%rbx),%esi
  add    -0x4(%rcx),%esi
  mov    %esi,-0x4(%rcx)
  add    %esi,(%r12,%rax,1)
  cmp    %r10,%rcx
  je     L201
L252:
  mov    (%rdx),%esi
  add    (%r9,%rdx,1),%esi
  lea    (%r8,%rdx,1),%rbx
  mov    %esi,(%rdx)
  add    %esi,(%rdi)
  movslq (%r11,%rdx,1),%rax
  cmp    %eax,%ebp
  jne    L410
  mov    (%rbx),%eax
  add    %eax,(%rcx)
  add    $0x4,%rcx
  add    $0x4,%rdx
  cmp    %r10,%rcx
  jne    L252
L201:
  mov    0x38(%rsp),%rax
  mov    0x48(%rsp),%ebx
  add    %rax,0x130(%rsp)
  mov    (%rsp),%rbp
  sub    %ebx,0x9c(%rsp)
L257:
  mov    0x130(%rsp),%rax
  mov    0x9c(%rsp),%ebx
  mov    %rbp,%rdi
  mov    %ebx,(%rax)
  call   <free@plt>
  mov    0x28(%rsp),%rdi
  call   <free@plt>
  mov    0xb0(%rsp),%rdi
  call   <free@plt>
  mov    0x30(%rsp),%rdi
  call   <free@plt>
  mov    0xb8(%rsp),%rdi
  call   <free@plt>
  mov    0x50(%rsp),%rdi
  call   <free@plt>
  mov    0x8(%rsp),%rdi
  call   <free@plt>
  mov    0x10(%rsp),%rdi
  call   <free@plt>
  mov    0x70(%rsp),%rdi
  call   <free@plt>
  mov    0x18(%rsp),%rdi
  call   <free@plt>
  mov    %r15,%rdi
  call   <free@plt>
  mov    0x78(%rsp),%rdi
  call   <free@plt>
  mov    %r13,%rdi
  call   <free@plt>
  mov    0xc0(%rsp),%rdi
  call   <free@plt>
  add    $0xd8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L351:
  movslq 0x0(%rbp,%rcx,4),%rax
  mov    %rax,%r14
  movslq 0x0(%rbp,%rax,4),%rax
  cmp    %eax,%r14d
  je     L97
  nopw   0x0(%rax,%rax,1)
L121:
  mov    %eax,0x0(%rbp,%rcx,4)
  movslq %eax,%rcx
  mov    0x0(%rbp,%rcx,4),%r14d
  movslq %eax,%rcx
  movslq %r14d,%rax
  movslq 0x0(%rbp,%rax,4),%rax
  cmp    %eax,%r14d
  jne    L121
L97:
  mov    (%r8),%ecx
  add    (%rsi),%ecx
  sub    (%r10,%rax,4),%ecx
  mov    %ecx,(%rsi)
  mov    0x30(%rsp),%rsi
  subl   $0x1,(%rsi,%rax,4)
  jmp    L96
  nopl   (%rax)
L284:
  cmp    0x9c(%rsp),%eax
  jne    L120
  cmp    %edi,(%rsp)
  jne    L120
  mov    0x130(%rsp),%rbx
  mov    %r12d,0x48(%rsp)
  movl   $0x1,(%rbx,%rdi,4)
  jmp    L392
  nopw   0x0(%rax,%rax,1)
L132:
  mov    %r12d,0x48(%rsp)
  jmp    L392
  nopw   0x0(%rax,%rax,1)
L120:
  movslq 0x48(%rsp),%rdx
  lea    0x0(,%rdx,4),%rbx
  mov    %rbx,0x38(%rsp)
  jmp    L392
  nopw   0x0(%rax,%rax,1)
L53:
  movslq (%r11,%rdi,4),%rdx
  mov    0x30(%rsp),%rbx
  mov    %rdx,%rax
  subl   $0x1,(%rbx,%rdx,4)
  jmp    L157
L212:
  mov    0x50(%rsp),%rbx
  mov    0x88(%rsp),%rax
  mov    0x9c(%rsp),%edi
  mov    0x90(%rsp),%edx
  movl   $0x0,-0x4(%rbx,%rax,1)
  mov    0x138(%rsp),%rbx
  mov    %edi,(%rbx)
  mov    0x60(%rsp),%rbx
  movl   $0x0,(%rbx)
  mov    0xb0(%rsp),%rbx
  movl   $0x0,-0x4(%rbx,%rax,1)
  test   %edx,%edx
  jns    L74
  mov    0xb8(%rsp),%rbx
  movl   $0xffffffff,-0x4(%rbx,%rax,1)
L197:
  mov    0x128(%rsp),%rax
  movl   $0x0,(%rax)
  jmp    L257
L142:
  mov    0x28(%rsp),%r11
  mov    0x70(%rsp),%rsi
  mov    %rbp,%rdi
  mov    %r13,%r10
  mov    0x130(%rsp),%r9
  mov    0x138(%rsp),%rcx
  mov    0x50(%rsp),%rdx
  mov    %r11,%rax
  sub    %r11,%rsi
  sub    %r11,%rdi
  sub    %r11,%r9
  sub    %r11,%r10
  sub    %r11,%rcx
  sub    %r11,%rdx
  nopw   0x0(%rax,%rax,1)
L484:
  movl   $0xffffffff,(%rax)
  movl   $0xffffffff,(%rsi,%rax,1)
  movl   $0xffffffff,(%rdi,%rax,1)
  movl   $0x0,(%r9,%rax,1)
  movl   $0x0,(%r10,%rax,1)
  movl   $0x0,(%rcx,%rax,1)
  movl   $0x0,(%rdx,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%r8
  jne    L484
  jmp    L425
```

assistant: ```c
int qrnzcnt(int neqns, int adjlen, int *xadj, int *adjncy, int *zfdperm, int *perm, int *invp, int *etpar, int *colcnt_h, int *nlnz, int *part_super_ata, int *part_super_h) {
  int temp, last1, last2, i, j, k, lflag, pleaf, hinbr, jstop, jstrt, ifdesc, oldnbr, parent, lownbr, lca;
  int xsup;
  int *set, *prvlf, *level, *weight, *fdesc, *nchild, *prvnbr;
  int *fnz;
  int *marker;
  int *fnz_hadj;
  int *hadj_begin;
  int *hadj_end;
  int *first;
  int *firstset;
  int *weight_h;
  int *rowcnt;
  int *colcnt;
  int *rowcnt_h;
  int nsuper;
  int nhnz;
  set = intMalloc(neqns);
  prvlf = intMalloc(neqns);
  level = intMalloc(neqns + 1);
  weight = intMalloc(neqns + 1);
  fdesc = intMalloc(neqns + 1);
  nchild = intMalloc(neqns + 1);
  prvnbr = intMalloc(neqns);
  fnz_hadj = intMalloc(adjlen + 2 * neqns + 1);
  hadj_begin = fnz_hadj + adjlen;
  hadj_end = hadj_begin + neqns + 1;
  fnz = set;
  marker = prvlf;
  first = intMalloc(neqns);
  firstset = intMalloc(neqns);
  weight_h = intCalloc(neqns + 1);
  rowcnt_h = intMalloc(neqns);
  rowcnt = intMalloc(neqns);
  colcnt = intMalloc(neqns);
  for (k = 0; k < neqns; ++k) {
    fnz[k] = first[k] = marker[k] = (-1);
    rowcnt[k] = part_super_ata[k] = 0;
    part_super_h[k] = 0;
    nchild[k] = 0;
  }
  nchild[(neqns)] = 0;
  xsup = 0;
  for (k = 0; k < neqns; ++k) {
    parent = etpar[k];
    ++nchild[parent];
    if (k != 0 && nchild[k] >= 2) {
      part_super_h[xsup] = k - xsup;
      xsup = k;
    }
    oldnbr = perm[k];
    for (j = xadj[oldnbr]; j < xadj[oldnbr + 1]; ++j) {
      i = zfdperm[adjncy[j]];
      ++rowcnt[i];
      if (fnz[i] == (-1)) {
        fnz[i] = k;
        firstset[i] = first[k];
        first[k] = i;
        if (k != 0 && xsup != k) {
          part_super_h[xsup] = k - xsup;
          xsup = k;
        }
      }
    }
  }
  part_super_h[xsup] = neqns - xsup;
  hadj_begin[0] = 0;
  for (k = 0; k < neqns; ++k) {
    temp = 0;
    oldnbr = perm[k];
    hadj_end[k] = hadj_begin[k];
    for (j = xadj[oldnbr]; j < xadj[oldnbr + 1]; ++j) {
      hinbr = zfdperm[adjncy[j]];
      jstrt = fnz[hinbr];
      if (jstrt != k && marker[jstrt] < k) {
        fnz_hadj[hadj_end[jstrt]] = k;
        ++hadj_end[jstrt];
        marker[jstrt] = k;
      }
      if (jstrt == k)
        temp += rowcnt[hinbr];
    }
    hadj_begin[k + 1] = hadj_begin[k] + temp;
  }
  level[(neqns)] = 0;
  for (k = neqns - 1; k >= 0; --k) {
    rowcnt[k] = 1;
    colcnt[k] = 0;
    set[k] = k;
    prvlf[k] = (-1);
    level[k] = level[etpar[k]] + 1;
    weight[k] = 1;
    fdesc[k] = k;
    prvnbr[k] = (-1);
  }
  fdesc[(neqns)] = (-1);
  for (k = 0; k < neqns; ++k) {
    parent = etpar[k];
    weight[parent] = 0;
    colcnt_h[k] = 0;
    ifdesc = fdesc[k];
    if (ifdesc < fdesc[parent]) {
      fdesc[parent] = ifdesc;
    }
  }
  xsup = 0;
  nsuper = 0;
  for (lownbr = 0; lownbr < neqns; ++lownbr) {
    for (i = first[lownbr]; i != (-1); i = firstset[i]) {
      rowcnt_h[i] = 1 + (level[lownbr] - level[i]);
      ++weight_h[lownbr];
      parent = etpar[i];
      --weight_h[parent];
    }
    lflag = 0;
    ifdesc = fdesc[lownbr];
    jstrt = hadj_begin[lownbr];
    jstop = hadj_end[lownbr];
    for (j = jstrt; j < jstop; ++j) {
      hinbr = fnz_hadj[j];
      if (hinbr > lownbr) {
        if (ifdesc > prvnbr[hinbr]) {
          ++weight[lownbr];
          pleaf = prvlf[hinbr];
          if (pleaf == (-1)) {
            rowcnt[hinbr] = rowcnt[hinbr] + level[lownbr] - level[hinbr];
          } else {
            last1 = pleaf;
            last2 = set[last1];
            lca = set[last2];
            while (lca != last2) {
              set[last1] = lca;
              last1 = lca;
              last2 = set[last1];
              lca = set[last2];
            }
            rowcnt[hinbr] = rowcnt[hinbr] + level[lownbr] - level[lca];
            --weight[lca];
          }
          prvlf[hinbr] = lownbr;
          lflag = 1;
        }
        prvnbr[hinbr] = lownbr;
      }
    }
    parent = etpar[lownbr];
    --weight[parent];
    if (lflag == 1 || nchild[lownbr] >= 2) {
      if (lownbr != 0)
        part_super_ata[xsup] = lownbr - xsup;
      ++nsuper;
      xsup = lownbr;
    } else {
      if (parent == (neqns) && ifdesc == lownbr) {
        part_super_ata[lownbr] = 1;
        ++nsuper;
        xsup = lownbr;
      }
    }
    set[xsup] = parent;
  }
  *nlnz = nhnz = 0;
  for (k = 0; k < neqns; ++k) {
    temp = colcnt[k] + weight[k];
    colcnt[k] = temp;
    *nlnz += temp;
    parent = etpar[k];
    if (parent != (neqns)) {
      colcnt[parent] += temp;
    }
    temp = colcnt_h[k] + weight_h[k];
    colcnt_h[k] = temp;
    nhnz += temp;
    if (parent != (neqns)) {
      colcnt_h[parent] += temp;
    }
  }
  part_super_ata[xsup] = neqns - xsup;
  free(set);
  free(prvlf);
  free(level);
  free(weight);
  free(fdesc);
  free(nchild);
  free(prvnbr);
  free(fnz_hadj);
  free(first);
  free(firstset);
  free(weight_h);
  free(rowcnt_h);
  free(rowcnt);
  free(colcnt);
  return 0;
}
```