user: 下面的汇编指令对应的C源代码是什么：

```asm
<pixel_satd_wxh>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x108,%rsp
  mov    %rdi,0x40(%rsp)
  mov    %esi,0x38(%rsp)
  mov    %rdx,0x48(%rsp)
  mov    %ecx,0x3c(%rsp)
  mov    %r8d,0x54(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xf8(%rsp)
  xor    %eax,%eax
  test   %r9d,%r9d
  jle    L34
  lea    0x0(,%rsi,4),%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,0x58(%rsp)
  lea    0x0(,%rcx,4),%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,0x60(%rsp)
  sub    $0x1,%r9d
  and    $0xfffffffc,%r9d
  lea    0x4(%r9),%eax
  mov    %eax,0x68(%rsp)
  lea    -0x1(%r8),%eax
  shr    $0x2,%eax
  movl   $0x0,0x1c(%rsp)
  movl   $0x0,0x50(%rsp)
  add    $0x1,%eax
  mov    %eax,0x6c(%rsp)
  jmp    L15
L25:
  addq   $0x10,0x10(%rsp)
  mov    0x10(%rsp),%rax
  addq   $0x10,0x20(%rsp)
  cmp    0x28(%rsp),%rax
  je     L33
L24:
  mov    0x3c(%rsp),%r9d
  mov    0x20(%rsp),%r8
  mov    0x38(%rsp),%ecx
  mov    0x10(%rsp),%rdx
  mov    $0x4,%esi
  mov    0x30(%rsp),%rbx
  mov    %rbx,%rdi
  call   <pixel_sub_wxh@plt>
  mov    %rbx,%rcx
  lea    0x70(%rsp),%rbp
  lea    0xf0(%rsp),%r8
  mov    %rbp,%rsi
L6:
  mov    (%rcx),%eax
  mov    %eax,%edi
  add    0x4(%rcx),%edi
  mov    0x8(%rcx),%edx
  mov    %edx,%r9d
  add    0xc(%rcx),%r9d
  sub    0x4(%rcx),%eax
  sub    0xc(%rcx),%edx
  lea    (%rdi,%r9,1),%r10d
  mov    %r10d,(%rsi)
  sub    %r9d,%edi
  mov    %edi,0x4(%rsi)
  mov    %eax,%edi
  sub    %edx,%edi
  mov    %edi,0x8(%rsi)
  add    %edx,%eax
  mov    %eax,0xc(%rsi)
  add    $0x10,%rcx
  add    $0x10,%rsi
  cmp    %r8,%rcx
  jne    L6
  lea    0x10(%rbp),%r14
L54:
  mov    0x0(%rbp),%ebx
  mov    %ebx,%r13d
  add    0x10(%rbp),%r13d
  mov    0x20(%rbp),%r12d
  mov    %r12d,%r15d
  add    0x30(%rbp),%r15d
  sub    0x10(%rbp),%ebx
  sub    0x30(%rbp),%r12d
  lea    0x0(%r13,%r15,1),%edi
  call   <abs@plt>
  mov    %rax,0x8(%rsp)
  mov    %r13d,%edi
  sub    %r15d,%edi
  call   <abs@plt>
  mov    0x8(%rsp),%r13
  add    %rax,%r13
  mov    %ebx,%edi
  sub    %r12d,%edi
  call   <abs@plt>
  add    %rax,%r13
  lea    (%rbx,%r12,1),%edi
  call   <abs@plt>
  add    %rax,%r13
  add    %r13d,0x1c(%rsp)
  add    $0x4,%rbp
  cmp    %rbp,%r14
  jne    L54
  jmp    L25
L33:
  mov    0x58(%rsp),%rdx
  add    %rdx,0x40(%rsp)
  mov    0x60(%rsp),%rdx
  add    %rdx,0x48(%rsp)
  addl   $0x4,0x50(%rsp)
  mov    0x50(%rsp),%eax
  cmp    0x68(%rsp),%eax
  je     L30
L15:
  cmpl   $0x0,0x54(%rsp)
  jle    L33
  mov    0x40(%rsp),%rdx
  mov    %rdx,0x10(%rsp)
  mov    0x48(%rsp),%rax
  mov    %rax,0x20(%rsp)
  mov    0x6c(%rsp),%eax
  shl    $0x4,%rax
  add    %rdx,%rax
  mov    %rax,0x28(%rsp)
  lea    0xb0(%rsp),%rax
  mov    %rax,0x30(%rsp)
  jmp    L24
L34:
  movl   $0x0,0x1c(%rsp)
L30:
  mov    0x1c(%rsp),%edx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  mov    0xf8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L46
  add    $0x108,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L46:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int pixel_satd_wxh(uint8_t *pix1, int i_pix1, uint8_t *pix2, int i_pix2, int i_width, int i_height) {
  int16_t tmp[4][4];
  int16_t diff[4][4];
  int x, y;
  int i_satd = 0;
  for (y = 0; y < i_height; y += 4) {
    for (x = 0; x < i_width; x += 4) {
      int d;
      pixel_sub_wxh((int16_t *)diff, 4, &pix1[x], i_pix1, &pix2[x], i_pix2);
      for (d = 0; d < 4; d++) {
        int s01, s23;
        int d01, d23;
        s01 = diff[d][0] + diff[d][1];
        s23 = diff[d][2] + diff[d][3];
        d01 = diff[d][0] - diff[d][1];
        d23 = diff[d][2] - diff[d][3];
        tmp[d][0] = s01 + s23;
        tmp[d][1] = s01 - s23;
        tmp[d][2] = d01 - d23;
        tmp[d][3] = d01 + d23;
      }
      for (d = 0; d < 4; d++) {
        int s01, s23;
        int d01, d23;
        s01 = tmp[0][d] + tmp[1][d];
        s23 = tmp[2][d] + tmp[3][d];
        d01 = tmp[0][d] - tmp[1][d];
        d23 = tmp[2][d] - tmp[3][d];
        i_satd += abs(s01 + s23) + abs(s01 - s23) + abs(d01 - d23) + abs(d01 + d23);
      }
    }
    pix1 += 4 * i_pix1;
    pix2 += 4 * i_pix2;
  }
  return i_satd / 2;
}
```