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

```asm
<kernel_dgetr_2_lib4>:
  endbr64
  xor    %eax,%eax
  cmp    $0x1,%edi
  push   %rbx
  sete   %al
  xor    %r10d,%r10d
  lea    (%rsi,%rax,1),%r11d
  cmp    %edx,%r11d
  jl     L62
  mov    %edx,%r10d
  test   %edx,%edx
  jle    L109
  lea    -0x1(%rdx),%esi
  movslq %edx,%rdx
  mov    %rdx,%rax
  lea    0x20(%r8,%rdx,8),%rdx
  shl    $0x5,%rax
  lea    -0x10(%rcx,%rax,1),%rax
  cmp    %rax,%r8
  setae  %al
  cmp    %rdx,%rcx
  setae  %dl
  or     %dl,%al
  je     L102
  cmp    $0x3,%esi
  jbe    L102
  mov    %esi,%ebx
  mov    %rcx,%rax
  mov    %r8,%rdx
  shr    %ebx
  sub    $0x1,%ebx
  shl    $0x6,%rbx
  lea    0x40(%rcx,%rbx,1),%rbx
  nopw   0x0(%rax,%rax,1)
L19:
  movupd (%rax),%xmm0
  movupd 0x20(%rax),%xmm1
  add    $0x40,%rax
  add    $0x10,%rdx
  movupd -0x30(%rax),%xmm4
  movupd -0x10(%rax),%xmm3
  movapd %xmm0,%xmm2
  movapd %xmm1,%xmm5
  unpcklpd %xmm4,%xmm2
  unpcklpd %xmm3,%xmm5
  unpckhpd %xmm4,%xmm0
  unpckhpd %xmm3,%xmm1
  unpcklpd %xmm5,%xmm2
  unpcklpd %xmm1,%xmm0
  movups %xmm2,-0x10(%rdx)
  movups %xmm0,0x10(%rdx)
  cmp    %rbx,%rax
  jne    L19
  and    $0xfffffffe,%esi
  mov    %r10d,%ebx
  mov    %esi,%edx
  add    $0x1,%esi
  mov    %rdx,%rax
  lea    (%r8,%rdx,8),%rdx
  shl    $0x5,%rax
  add    %rcx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,0x20(%rdx)
  cmp    %esi,%r10d
  jle    L89
  movsd  0x20(%rax),%xmm0
  movsd  %xmm0,0x8(%rdx)
  movsd  0x28(%rax),%xmm0
  movsd  %xmm0,0x28(%rdx)
L89:
  lea    -0x4(,%r9,4),%edx
  mov    %rbx,%rax
  movslq %edx,%rdx
  shl    $0x5,%rax
  add    %rbx,%rdx
  add    %rcx,%rax
  lea    (%r8,%rdx,8),%r8
L159:
  lea    -0x3(%r11),%edx
  cmp    %edx,%r10d
  jge    L162
  lea    0x0(,%r9,4),%esi
  lea    -0x4(%r11),%r9d
  mov    %r8,%rdx
  sub    %r10d,%r9d
  movslq %esi,%rsi
  shr    $0x2,%r9d
  shl    $0x3,%rsi
  lea    0x1(%r9),%ebx
  mov    %rbx,%rcx
  shl    $0x7,%rcx
  add    %rax,%rcx
  nopl   0x0(%rax,%rax,1)
L87:
  movsd  (%rax),%xmm0
  sub    $0xffffffffffffff80,%rax
  movsd  %xmm0,(%rdx)
  movsd  -0x78(%rax),%xmm0
  movsd  %xmm0,0x20(%rdx)
  movsd  -0x60(%rax),%xmm0
  movsd  %xmm0,0x8(%rdx)
  movsd  -0x58(%rax),%xmm0
  movsd  %xmm0,0x28(%rdx)
  movsd  -0x40(%rax),%xmm0
  movsd  %xmm0,0x10(%rdx)
  movsd  -0x38(%rax),%xmm0
  movsd  %xmm0,0x30(%rdx)
  movsd  -0x20(%rax),%xmm0
  movsd  %xmm0,0x18(%rdx)
  movsd  -0x18(%rax),%xmm0
  movsd  %xmm0,0x38(%rdx)
  add    %rsi,%rdx
  cmp    %rcx,%rax
  jne    L87
  imul   %rbx,%rsi
  lea    0x4(%r10,%r9,4),%r10d
  add    %rsi,%r8
L62:
  cmp    %r10d,%r11d
  jle    L174
  mov    %r11d,%eax
  sub    %r10d,%eax
  mov    %rax,%rdx
  lea    -0x1(%rax),%esi
  lea    0x20(%r8,%rax,8),%rax
  shl    $0x5,%rdx
  lea    -0x10(%rcx,%rdx,1),%rdx
  cmp    %rdx,%r8
  setae  %dl
  cmp    %rax,%rcx
  setae  %al
  or     %al,%dl
  je     L26
  cmp    $0x3,%esi
  jbe    L26
  mov    %esi,%r9d
  mov    %rcx,%rax
  mov    %r8,%rdx
  shr    %r9d
  sub    $0x1,%r9d
  shl    $0x6,%r9
  lea    0x40(%rcx,%r9,1),%r9
  nop
L149:
  movupd (%rax),%xmm0
  movupd 0x20(%rax),%xmm1
  add    $0x40,%rax
  add    $0x10,%rdx
  movupd -0x30(%rax),%xmm4
  movupd -0x10(%rax),%xmm3
  movapd %xmm0,%xmm2
  movapd %xmm1,%xmm5
  unpcklpd %xmm4,%xmm2
  unpcklpd %xmm3,%xmm5
  unpckhpd %xmm4,%xmm0
  unpckhpd %xmm3,%xmm1
  unpcklpd %xmm5,%xmm2
  unpcklpd %xmm1,%xmm0
  movups %xmm2,-0x10(%rdx)
  movups %xmm0,0x10(%rdx)
  cmp    %rax,%r9
  jne    L149
  mov    %esi,%r9d
  and    $0xfffffffe,%r9d
  mov    %r9d,%edx
  lea    0x1(%r9,%r10,1),%r9d
  mov    %rdx,%rax
  lea    (%r8,%rdx,8),%rdx
  shl    $0x5,%rax
  add    %rcx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,0x20(%rdx)
  cmp    %r9d,%r11d
  jle    L27
  movsd  0x20(%rax),%xmm0
  movsd  %xmm0,0x8(%rdx)
  movsd  0x28(%rax),%xmm0
  movsd  %xmm0,0x28(%rdx)
L27:
  mov    %esi,%esi
  add    $0x1,%rsi
  lea    (%r8,%rsi,8),%r8
  shl    $0x5,%rsi
  add    %rsi,%rcx
L174:
  cmp    $0x1,%edi
  je     L60
  pop    %rbx
  ret
  nopl   0x0(%rax,%rax,1)
L60:
  movsd  0x8(%rcx),%xmm0
  pop    %rbx
  movsd  %xmm0,0x20(%r8)
  ret
  nopl   (%rax)
L109:
  mov    %rcx,%rax
  xor    %r10d,%r10d
  jmp    L159
  nopl   0x0(%rax,%rax,1)
L26:
  sub    $0x1,%r11d
  mov    %r8,%rax
  mov    %rcx,%rdx
  sub    %r10d,%r11d
  lea    0x8(%r8,%r11,8),%r9
  nopw   0x0(%rax,%rax,1)
L84:
  movsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    $0x20,%rdx
  movsd  %xmm0,-0x8(%rax)
  movsd  -0x18(%rdx),%xmm0
  movsd  %xmm0,0x18(%rax)
  cmp    %r9,%rax
  jne    L84
  jmp    L27
L102:
  mov    %r10d,%ebx
  mov    %r8,%rdx
  mov    %rcx,%rax
  mov    %rbx,%rsi
  shl    $0x5,%rsi
  add    %rcx,%rsi
  nopl   (%rax)
L46:
  movsd  (%rax),%xmm0
  add    $0x20,%rax
  add    $0x8,%rdx
  movsd  %xmm0,-0x8(%rdx)
  movsd  -0x18(%rax),%xmm0
  movsd  %xmm0,0x18(%rdx)
  cmp    %rax,%rsi
  jne    L46
  jmp    L89
L162:
  mov    %rax,%rcx
  jmp    L62
```

assistant: ```c
void kernel_dgetr_2_lib4(int tri, int kmax, int kna, double *A, double *C, int sdc) {
  if (tri == 1) {
    kmax += 1;
  }
  const int bs = 4;
  int k;
  k = 0;
  if (kmax < kna)
    goto cleanup_loop;
  if (kna > 0) {
    for (; k < kna; k++) {
      C[0 + bs * 0] = A[0 + bs * 0];
      C[0 + bs * 1] = A[1 + bs * 0];
      C += 1;
      A += bs;
    }
    C += bs * (sdc - 1);
  }
  for (; k < kmax - 3; k += 4) {
    C[0 + bs * 0] = A[0 + bs * 0];
    C[0 + bs * 1] = A[1 + bs * 0];
    C[1 + bs * 0] = A[0 + bs * 1];
    C[1 + bs * 1] = A[1 + bs * 1];
    C[2 + bs * 0] = A[0 + bs * 2];
    C[2 + bs * 1] = A[1 + bs * 2];
    C[3 + bs * 0] = A[0 + bs * 3];
    C[3 + bs * 1] = A[1 + bs * 3];
    C += bs * sdc;
    A += bs * bs;
  }
cleanup_loop:
  for (; k < kmax; k++) {
    C[0 + bs * 0] = A[0 + bs * 0];
    C[0 + bs * 1] = A[1 + bs * 0];
    C += 1;
    A += bs;
  }
  if (tri == 1) {
    C[0 + bs * 1] = A[1 + bs * 0];
  }
}
```