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

```asm
<bn_mul_words>:
  endbr64
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    %edx,%edi
  not    %edi
  shr    $0x1f,%edi
  sub    $0x8,%rsp
  call   <assert@plt>
  xor    %eax,%eax
  test   %r12d,%r12d
  jle    L3
  mov    %r13,%rcx
  mov    %r13d,%esi
  xor    %r10d,%r10d
  movabs $0x100000000,%rdi
  shr    $0x20,%rcx
  jmp    L38
  nopl   (%rax)
L7:
  mov    0x8(%rbp),%r9
  mov    %rsi,%r8
  mov    %rcx,%r10
  mov    %r9d,%edx
  shr    $0x20,%r9
  imul   %rdx,%r8
  imul   %r9,%r10
  imul   %rcx,%rdx
  imul   %rsi,%r9
  add    %r9,%rdx
  jb     L76
L40:
  mov    %rdx,%r9
  shl    $0x20,%rdx
  shr    $0x20,%r9
  add    %rdx,%r8
  adc    %r10,%r9
  add    %rax,%r8
  mov    %r8,0x8(%rbx)
  adc    $0x0,%r9
  cmp    $0x2,%r12d
  je     L17
  mov    0x10(%rbp),%r10
  mov    %rsi,%r8
  mov    %rcx,%rax
  mov    %r10d,%edx
  shr    $0x20,%r10
  imul   %rdx,%r8
  imul   %r10,%rax
  imul   %rcx,%rdx
  imul   %rsi,%r10
  add    %r10,%rdx
  jb     L114
L1:
  mov    %rdx,%r10
  shl    $0x20,%rdx
  shr    $0x20,%r10
  add    %rdx,%r8
  adc    %r10,%rax
  add    %r9,%r8
  mov    %r8,0x10(%rbx)
  adc    $0x0,%rax
  cmp    $0x3,%r12d
  je     L3
  mov    0x18(%rbp),%r9
  mov    %rsi,%r8
  mov    %rcx,%r10
  mov    %r9d,%edx
  shr    $0x20,%r9
  imul   %rdx,%r8
  imul   %r9,%r10
  imul   %rcx,%rdx
  imul   %rsi,%r9
  add    %r9,%rdx
  jb     L11
L36:
  mov    %rdx,%r9
  shl    $0x20,%rdx
  shr    $0x20,%r9
  add    %rdx,%r8
  adc    %r9,%r10
  add    %rax,%r8
  mov    %r8,0x18(%rbx)
  adc    $0x0,%r10
  sub    $0x4,%r12d
  je     L19
  add    $0x20,%rbp
  add    $0x20,%rbx
L38:
  mov    0x0(%rbp),%r9
  mov    %rsi,%r8
  mov    %rcx,%rax
  mov    %r9d,%edx
  shr    $0x20,%r9
  imul   %rdx,%r8
  imul   %r9,%rax
  imul   %rcx,%rdx
  imul   %rsi,%r9
  add    %r9,%rdx
  jb     L53
L106:
  mov    %rdx,%r9
  shl    $0x20,%rdx
  shr    $0x20,%r9
  add    %rdx,%r8
  adc    %r9,%rax
  add    %r10,%r8
  mov    %r8,(%rbx)
  adc    $0x0,%rax
  cmp    $0x1,%r12d
  jne    L7
L3:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L17:
  add    $0x8,%rsp
  mov    %r9,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L19:
  add    $0x8,%rsp
  mov    %r10,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L114:
  add    %rdi,%rax
  jmp    L1
L53:
  add    %rdi,%rax
  jmp    L106
L11:
  add    %rdi,%r10
  jmp    L36
L76:
  add    %rdi,%r10
  jmp    L40
```

assistant: ```c
unsigned long long bn_mul_words(unsigned long long *rp, unsigned long long *ap, int num, unsigned long long w) {
  unsigned long long carry = 0;
  unsigned long long bl, bh;
  assert(num >= 0);
  if (num <= 0)
    return ((unsigned long long)0);
  bl = ((w) & (0xffffffffL));
  bh = (((w) >> 32) & (0xffffffffL));
  for (;;) {
    {
      unsigned long long l, h;
      h = (ap[0]);
      l = ((h) & (0xffffffffL));
      h = (((h) >> 32) & (0xffffffffL));
      {
        unsigned long long m, m1, lt, ht;
        lt = l;
        ht = h;
        m = ((bh)) * (lt);
        lt = ((bl)) * (lt);
        m1 = ((bl)) * (ht);
        ht = ((bh)) * (ht);
        m = (m + m1) & (0xffffffffffffffffLL);
        if (m < m1)
          ht += ((unsigned long long)((1L) & (0xffffffffL)) << 32);
        ht += (((m) >> 32) & (0xffffffffL));
        m1 = ((unsigned long long)((m) & (0xffffffffL)) << 32);
        lt = (lt + m1) & (0xffffffffffffffffLL);
        if (lt < m1)
          ht++;
        (l) = lt;
        (h) = ht;
      };
      l += (carry);
      if ((l & (0xffffffffffffffffLL)) < (carry))
        h++;
      (carry) = h & (0xffffffffffffffffLL);
      (rp[0]) = l & (0xffffffffffffffffLL);
    };
    if (--num == 0)
      break;
    {
      unsigned long long l, h;
      h = (ap[1]);
      l = ((h) & (0xffffffffL));
      h = (((h) >> 32) & (0xffffffffL));
      {
        unsigned long long m, m1, lt, ht;
        lt = l;
        ht = h;
        m = ((bh)) * (lt);
        lt = ((bl)) * (lt);
        m1 = ((bl)) * (ht);
        ht = ((bh)) * (ht);
        m = (m + m1) & (0xffffffffffffffffLL);
        if (m < m1)
          ht += ((unsigned long long)((1L) & (0xffffffffL)) << 32);
        ht += (((m) >> 32) & (0xffffffffL));
        m1 = ((unsigned long long)((m) & (0xffffffffL)) << 32);
        lt = (lt + m1) & (0xffffffffffffffffLL);
        if (lt < m1)
          ht++;
        (l) = lt;
        (h) = ht;
      };
      l += (carry);
      if ((l & (0xffffffffffffffffLL)) < (carry))
        h++;
      (carry) = h & (0xffffffffffffffffLL);
      (rp[1]) = l & (0xffffffffffffffffLL);
    };
    if (--num == 0)
      break;
    {
      unsigned long long l, h;
      h = (ap[2]);
      l = ((h) & (0xffffffffL));
      h = (((h) >> 32) & (0xffffffffL));
      {
        unsigned long long m, m1, lt, ht;
        lt = l;
        ht = h;
        m = ((bh)) * (lt);
        lt = ((bl)) * (lt);
        m1 = ((bl)) * (ht);
        ht = ((bh)) * (ht);
        m = (m + m1) & (0xffffffffffffffffLL);
        if (m < m1)
          ht += ((unsigned long long)((1L) & (0xffffffffL)) << 32);
        ht += (((m) >> 32) & (0xffffffffL));
        m1 = ((unsigned long long)((m) & (0xffffffffL)) << 32);
        lt = (lt + m1) & (0xffffffffffffffffLL);
        if (lt < m1)
          ht++;
        (l) = lt;
        (h) = ht;
      };
      l += (carry);
      if ((l & (0xffffffffffffffffLL)) < (carry))
        h++;
      (carry) = h & (0xffffffffffffffffLL);
      (rp[2]) = l & (0xffffffffffffffffLL);
    };
    if (--num == 0)
      break;
    {
      unsigned long long l, h;
      h = (ap[3]);
      l = ((h) & (0xffffffffL));
      h = (((h) >> 32) & (0xffffffffL));
      {
        unsigned long long m, m1, lt, ht;
        lt = l;
        ht = h;
        m = ((bh)) * (lt);
        lt = ((bl)) * (lt);
        m1 = ((bl)) * (ht);
        ht = ((bh)) * (ht);
        m = (m + m1) & (0xffffffffffffffffLL);
        if (m < m1)
          ht += ((unsigned long long)((1L) & (0xffffffffL)) << 32);
        ht += (((m) >> 32) & (0xffffffffL));
        m1 = ((unsigned long long)((m) & (0xffffffffL)) << 32);
        lt = (lt + m1) & (0xffffffffffffffffLL);
        if (lt < m1)
          ht++;
        (l) = lt;
        (h) = ht;
      };
      l += (carry);
      if ((l & (0xffffffffffffffffLL)) < (carry))
        h++;
      (carry) = h & (0xffffffffffffffffLL);
      (rp[3]) = l & (0xffffffffffffffffLL);
    };
    if (--num == 0)
      break;
    ap += 4;
    rp += 4;
  }
  return (carry);
}
```