user: 这段汇编代码用C语言表示是什么样的?

```asm
<pack_B>:
  endbr64
  push   %r15
  lea    0x3(%rsi),%eax
  mov    %r8d,%r15d
  push   %r14
  mov    %edi,%r14d
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  mov    %r9,%rbx
  sub    $0x38,%rsp
  test   %esi,%esi
  cmovns %esi,%eax
  mov    %esi,0x28(%rsp)
  mov    %ecx,0x2c(%rsp)
  sar    $0x2,%eax
  mov    %eax,0x10(%rsp)
  mov    %esi,%eax
  sar    $0x1f,%eax
  shr    $0x1e,%eax
  lea    (%rsi,%rax,1),%r12d
  and    $0x3,%r12d
  sub    %eax,%r12d
  mov    %r12d,0x14(%rsp)
  cmp    $0x3,%esi
  jle    L26
  lea    0x0(,%rdi,4),%eax
  xor    %r12d,%r12d
  mov    %r9,%rbp
  mov    %rdx,%rbx
  cltq
  mov    %rdx,0x18(%rsp)
  mov    %ecx,%r13d
  shl    $0x3,%rax
  mov    %r9,0x20(%rsp)
  mov    %rax,(%rsp)
  lea    0x0(,%r8,4),%eax
  cltq
  shl    $0x3,%rax
  mov    %rax,0x8(%rsp)
L98:
  mov    %rbp,%r8
  mov    %rbx,%rsi
  mov    %r15d,%ecx
  mov    %r13d,%edx
  mov    %r14d,%edi
  add    $0x1,%r12d
  call   <pack_kxNR@plt>
  add    (%rsp),%rbp
  add    0x8(%rsp),%rbx
  cmp    %r12d,0x10(%rsp)
  jg     L98
  mov    0x10(%rsp),%eax
  mov    $0x1,%edx
  mov    0x18(%rsp),%rbp
  mov    0x20(%rsp),%rbx
  sub    $0x1,%eax
  add    $0x1,%rax
  cmpl   $0x3,0x28(%rsp)
  cmovle %rdx,%rax
  mov    0x8(%rsp),%rdx
  imul   %rax,%rdx
  imul   (%rsp),%rax
  add    %rdx,%rbp
  add    %rax,%rbx
L26:
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jle    L144
  test   %r14d,%r14d
  jle    L144
  movslq 0x2c(%rsp),%r13
  shl    $0x3,%r13
  cmp    $0x1,%r15d
  jne    L48
  movslq 0x14(%rsp),%rdx
  movslq %r14d,%rdi
  movsd  D15(%rip),%xmm0
  shl    $0x5,%rdi
  lea    (%rbx,%rdi,1),%rax
  lea    0x1(%rdx),%ecx
  mov    %rdx,%rdi
  lea    0x2(%rdx),%esi
L137:
  movsd  0x0(%rbp),%xmm1
  movsd  %xmm1,(%rbx)
  cmp    $0x1,%edi
  je     L126
  movsd  0x8(%rbp),%xmm1
  movsd  %xmm1,0x8(%rbx)
  cmp    $0x3,%edi
  jne    L126
  movsd  0x10(%rbp),%xmm1
  movsd  %xmm1,0x10(%rbx)
L126:
  movsd  %xmm0,(%rbx,%rdx,8)
  cmp    $0x4,%ecx
  je     L18
  movsd  %xmm0,0x8(%rbx,%rdx,8)
  cmp    $0x2,%edi
  je     L18
  movsd  %xmm0,(%rbx,%rsi,8)
L18:
  add    $0x20,%rbx
  add    %r13,%rbp
  cmp    %rax,%rbx
  jne    L137
L144:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L48:
  movslq 0x14(%rsp),%rdx
  movslq %r14d,%rcx
  lea    (%r15,%r15,1),%eax
  movslq %r15d,%rdi
  shl    $0x5,%rcx
  movsd  D15(%rip),%xmm0
  cltq
  add    %rbx,%rcx
  lea    0x1(%rdx),%esi
  lea    0x2(%rdx),%r8d
  mov    %rdx,%r9
  cs nopw 0x0(%rax,%rax,1)
L35:
  movsd  0x0(%rbp),%xmm1
  movsd  %xmm1,(%rbx)
  cmp    $0x1,%r9d
  je     L132
  movsd  0x0(%rbp,%rdi,8),%xmm1
  movsd  %xmm1,0x8(%rbx)
  cmp    $0x3,%r9d
  jne    L132
  movsd  0x0(%rbp,%rax,8),%xmm1
  movsd  %xmm1,0x10(%rbx)
L132:
  movsd  %xmm0,(%rbx,%rdx,8)
  cmp    $0x4,%esi
  je     L143
  movsd  %xmm0,0x8(%rbx,%rdx,8)
  cmp    $0x2,%r9d
  je     L143
  movsd  %xmm0,(%rbx,%r8,8)
L143:
  add    $0x20,%rbx
  add    %r13,%rbp
  cmp    %rcx,%rbx
  jne    L35
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: tag: D15
type_infered: byte[8]

tool: {"D15": [0x00,0x00,0x00,0x00,0x00,0x40,0x8f,0x40]}

assistant: ```c
void pack_B(int kc, int nc, const double *B, int incRowB, int incColB, double *buffer) {
  int np = nc / 4;
  int _nr = nc % 4;
  int i, j;
  for (j = 0; j < np; ++j) {
    pack_kxNR(kc, B, incRowB, incColB, buffer);
    buffer += kc * 4;
    B += 4 * incColB;
  }
  if (_nr > 0) {
    for (i = 0; i < kc; ++i) {
      for (j = 0; j < _nr; ++j) {
        buffer[j] = B[j * incColB];
      }
      for (j = _nr; j < 4; ++j) {
        buffer[j] = 1000;
      }
      buffer += 4;
      B += incRowB;
    }
  }
}
```