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

```asm
<shift_right>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %edx,0x6c(%rsp)
  test   %edx,%edx
  jle    L134
  mov    %ecx,%r13d
  mov    %esi,%edx
  movapd %xmm0,%xmm7
  mov    %rdi,%rax
  sub    %ecx,%edx
  movslq %r13d,%r10
  movslq %esi,%rcx
  mov    %rcx,%rsi
  lea    0x10(,%r10,4),%rdi
  lea    -0x1(%rdx),%r14d
  sub    $0x2,%edx
  sub    %r10,%rsi
  cmp    $0xc,%rdi
  jbe    L138
  cmp    $0x2,%edx
  jbe    L138
  shl    $0x2,%rcx
  not    %rdx
  neg    %r10
  xor    %r15d,%r15d
  lea    -0x4(%rcx),%rbp
  movapd %xmm1,%xmm6
  movapd %xmm0,%xmm5
  mov    %r13d,0x80(%rsp)
  lea    0x0(%rbp,%rdx,4),%r8
  unpcklpd %xmm6,%xmm6
  unpcklpd %xmm5,%xmm5
  add    %rax,%rbp
  lea    0x0(,%rsi,4),%rdx
  add    %rax,%r8
  lea    -0x10(%rax,%rdx,1),%rbx
  lea    0x0(,%r10,4),%rax
  sub    %rcx,%rdx
  mov    %rax,0x70(%rsp)
  mov    %r14d,%eax
  shr    $0x2,%eax
  mov    %rdx,0x88(%rsp)
  lea    -0x1(%rax),%r12d
  mov    %r14d,%eax
  and    $0xfffffffc,%eax
  not    %r12
  lea    0x1(%rax),%esi
  mov    %eax,%r11d
  mov    %eax,0x84(%rsp)
  add    $0x2,%eax
  mov    %eax,0x9c(%rsp)
  lea    -0x1(%r13),%eax
  neg    %r11
  mov    %r14d,%r13d
  shl    $0x4,%r12
  add    $0x1,%rax
  mov    %r15d,%r14d
  shl    $0x2,%r11
  mov    %esi,0x98(%rsp)
  lea    0x0(,%rax,4),%rsi
  neg    %rax
  mov    %r8,%r15
  shl    $0x2,%rax
  mov    %rsi,0x78(%rsp)
  mov    %rax,0x90(%rsp)
  nop
L30:
  mov    0x70(%rsp),%rax
  mov    %rbp,%rdi
  lea    0x0(%rbp,%rax,1),%rdx
  test   %r13d,%r13d
  jle    L147
  lea    -0x4(%rbx),%rdi
  lea    -0xc(%rbp),%rsi
  xor    %eax,%eax
L8:
  movups (%rbx,%rax,1),%xmm2
  movups (%rdi,%rax,1),%xmm8
  shufps $0x1b,%xmm2,%xmm2
  shufps $0x1b,%xmm8,%xmm8
  movhlps %xmm2,%xmm3
  cvtps2pd %xmm2,%xmm0
  cvtps2pd %xmm8,%xmm9
  mulpd  %xmm6,%xmm0
  movhlps %xmm8,%xmm4
  cvtps2pd %xmm3,%xmm2
  mulpd  %xmm5,%xmm9
  cvtps2pd %xmm4,%xmm8
  mulpd  %xmm6,%xmm2
  mulpd  %xmm5,%xmm8
  addpd  %xmm9,%xmm0
  addpd  %xmm8,%xmm2
  cvtpd2ps %xmm0,%xmm0
  cvtpd2ps %xmm2,%xmm2
  movlhps %xmm2,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,(%rsi,%rax,1)
  sub    $0x10,%rax
  cmp    %r12,%rax
  jne    L8
  add    %r11,%rdx
  lea    0x0(%rbp,%r11,1),%rax
  cmp    0x84(%rsp),%r13d
  je     L118
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd (%rdx),%xmm0
  cvtss2sd -0x4(%rdx),%xmm2
  mulsd  %xmm1,%xmm0
  mulsd  %xmm7,%xmm2
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  cmp    0x98(%rsp),%r13d
  jle    L118
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x4(%rdx),%xmm0
  cvtss2sd -0x8(%rdx),%xmm2
  mulsd  %xmm1,%xmm0
  mulsd  %xmm7,%xmm2
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x4(%rax)
  cmp    0x9c(%rsp),%r13d
  jle    L118
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x8(%rdx),%xmm0
  cvtss2sd -0xc(%rdx),%xmm2
  mulsd  %xmm1,%xmm0
  mulsd  %xmm7,%xmm2
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x8(%rax)
L118:
  mov    0x88(%rsp),%rax
  mov    %r15,%rdi
  lea    (%r15,%rax,1),%rdx
L147:
  pxor   %xmm0,%xmm0
  mov    0x80(%rsp),%esi
  cvtss2sd (%rdx),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rdi)
  test   %esi,%esi
  jle    L82
  mov    0x78(%rsp),%rdx
  add    0x90(%rsp),%rdi
  xor    %esi,%esi
  mov    %r11,0x60(%rsp)
  mov    %rcx,0x58(%rsp)
  movaps %xmm5,0x40(%rsp)
  movaps %xmm6,0x30(%rsp)
  movaps %xmm4,0x20(%rsp)
  movaps %xmm3,0x10(%rsp)
  movsd  %xmm1,0x50(%rsp)
  movsd  %xmm7,0x8(%rsp)
  call   <memset@plt>
  movsd  0x8(%rsp),%xmm7
  movsd  0x50(%rsp),%xmm1
  movaps 0x10(%rsp),%xmm3
  movaps 0x20(%rsp),%xmm4
  movapd 0x30(%rsp),%xmm6
  movapd 0x40(%rsp),%xmm5
  mov    0x58(%rsp),%rcx
  mov    0x60(%rsp),%r11
L82:
  add    $0x1,%r14d
  add    %rcx,%r15
  add    %rcx,%rbp
  add    %rcx,%rbx
  cmp    %r14d,0x6c(%rsp)
  jne    L30
L134:
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L138:
  not    %rdx
  lea    0x0(,%rcx,4),%r15
  lea    -0x1(%r13),%ebp
  mov    %r14d,0x10(%rsp)
  lea    -0x4(,%rsi,4),%rsi
  lea    0x0(,%rdx,4),%rcx
  mov    %r13d,0x20(%rsp)
  mov    %r15,%r13
  lea    (%rax,%rsi,1),%rbx
  add    %rcx,%rsi
  lea    0x0(,%r10,4),%r12
  lea    (%rax,%rsi,1),%r8
  lea    0x1(%rbp),%rax
  xor    %ebp,%ebp
  mov    %r12,%r14
  lea    0x0(,%rax,4),%rsi
  neg    %rax
  mov    %ebp,%r15d
  mov    %rcx,%r12
  mov    %rsi,0x30(%rsp)
  mov    %r8,%rbp
  mov    %rax,0x40(%rsp)
  nopl   0x0(%rax)
L106:
  mov    0x10(%rsp),%ecx
  lea    (%rbx,%r14,1),%rdx
  mov    %rbx,%rax
  test   %ecx,%ecx
  jle    L148
  xor    %eax,%eax
  nopl   0x0(%rax)
L139:
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x4(%rbx,%rax,1),%xmm0
  cvtss2sd (%rbx,%rax,1),%xmm2
  mulsd  %xmm7,%xmm0
  mulsd  %xmm1,%xmm2
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rdx,%rax,1)
  sub    $0x4,%rax
  cmp    %rax,%r12
  jne    L139
  lea    0x0(%rbp,%r14,1),%rdx
  mov    %rbp,%rax
L148:
  pxor   %xmm0,%xmm0
  cvtss2sd (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    0x20(%rsp),%eax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rdx)
  test   %eax,%eax
  jle    L25
  mov    0x40(%rsp),%rax
  xor    %esi,%esi
  movsd  %xmm1,0x50(%rsp)
  movsd  %xmm7,0x8(%rsp)
  lea    (%rdx,%rax,4),%rdi
  mov    0x30(%rsp),%rdx
  call   <memset@plt>
  movsd  0x50(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm7
L25:
  add    $0x1,%r15d
  add    %r13,%rbx
  add    %r13,%rbp
  cmp    %r15d,0x6c(%rsp)
  jne    L106
  jmp    L134
```

assistant: ```c
void shift_right(float *dat, int w, int h, int dn, double a, double b) {
  int x, y;
  float *sp, *dp;
  for (y = 0; y < h; y++) {
    dp = dat + y * w + w - 1;
    sp = dat + y * w - dn + w - 1;
    for (x = 0; x < w - dn - 1; x++) {
      *dp = *sp * b + *(sp - 1) * a;
      dp--;
      sp--;
    }
    *dp-- = *sp-- * b;
    for (x = 0; x < dn; x++)
      *dp-- = 0.0;
  }
}
```