ylfeng/ReF-Decompile-dataset huggingface dataset:
user: 下面的汇编指令对应的C源代码是什么:

```asm
<washdc_conv_yuv422_rgba8888>:
  endbr64
  push   %r15
  shr    %edx
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %ecx,0xc(%rsp)
  test   %ecx,%ecx
  je     L25
  test   %edx,%edx
  je     L25
  mov    %rdx,%rax
  mov    %rsi,%rbp
  xor    %r12d,%r12d
  shl    $0x5,%rax
  lea    (%rdi,%rax,1),%r13
  mov    %rax,0x10(%rsp)
  lea    0x0(,%rdx,4),%rax
  mov    %rax,0x18(%rsp)
  mov    %r13,%rbx
  xchg   %ax,%ax
L3:
  mov    %rbp,%r14
  mov    %rdi,%r15
  cs nopw 0x0(%rax,%rax,1)
L14:
  mov    (%r14),%eax
  mov    %r15,%rdi
  add    $0x20,%r15
  add    $0x4,%r14
  mov    %eax,%edx
  mov    %eax,%r10d
  movzbl %al,%ecx
  movzbl %ah,%esi
  sar    $0x10,%edx
  shr    $0x18,%r10d
  add    $0xffffff80,%ecx
  movzbl %dl,%edx
  lea    -0x80(%rdx),%r8d
  mov    %r10d,%edx
  call   <washdc_yuv_to_rgba_2pixels@plt>
  cmp    %rbx,%r15
  jne    L14
  mov    0x10(%rsp),%rax
  mov    %r13,%rdi
  add    0x18(%rsp),%rbp
  add    $0x1,%r12d
  add    %rax,%rbx
  cmp    %r12d,0xc(%rsp)
  je     L25
  add    %rax,%r13
  jmp    L3
  nopw   0x0(%rax,%rax,1)
L25:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void washdc_conv_yuv422_rgba8888(void *rgba_out, void const *yuv_in, unsigned width, unsigned height) {
  uint8_t *rgbap = (uint8_t *)rgba_out;
  uint32_t const *tex_in = (uint32_t const *)yuv_in;
  unsigned half_width = width / 2;
  unsigned col, row;
  for (row = 0; row < height; row++) {
    for (col = 0; col < half_width; col++) {
      uint32_t in = *tex_in++;
      unsigned lum[2] = {(in >> 8) & 0xff, (in >> 24) & 0xff};
      int chrom_b = in & 0xff;
      int chrom_r = (in >> 16) & 0xff;
      washdc_yuv_to_rgba_2pixels(rgbap, lum[0], lum[1], chrom_b - 128, chrom_r - 128);
      rgbap += 8;
    }
  }
}
```
user: What is the c source code of the assembly code below:

```asm
<getgraph>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x38(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    -0x34(%rbp),%ebx
  movslq %ebx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x20(%rbp)
  movslq %ebx,%rax
  mov    %rax,%r8
  mov    $0x0,%r9d
  jmp    L27
L15:
  lea    -0x24(%rbp),%rcx
  lea    -0x28(%rbp),%rdx
  lea    -0x2c(%rbp),%rax
  mov    %rax,%rsi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x2c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x28(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x28(%rbp)
  mov    -0x28(%rbp),%eax
  movslq %eax,%rdx
  movslq %ebx,%rax
  imul   %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    -0x2c(%rbp),%edx
  mov    -0x24(%rbp),%esi
  movslq %edx,%rcx
  mov    %esi,(%rax,%rcx,4)
  mov    -0x2c(%rbp),%ecx
  movslq %ecx,%rsi
  movslq %ebx,%rcx
  imul   %rsi,%rcx
  lea    0x0(,%rcx,4),%rsi
  mov    -0x40(%rbp),%rcx
  add    %rsi,%rcx
  mov    -0x28(%rbp),%esi
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%edx
  movslq %esi,%rax
  mov    %edx,(%rcx,%rax,4)
L27:
  mov    -0x38(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x38(%rbp)
  test   %eax,%eax
  jne    L15
  nop
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L6
  call   <__stack_chk_fail@plt>
L6:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D0
type_infered: string

tool: D0: %d %d %d

assistant: ```c
void getgraph(int N, int G[N][N], int E) {
  int v1, v2, e;
  while (E--) {
    scanf("%d %d %d", &v1, &v2, &e);
    v1--, v2--;
    G[v1][v2] = G[v2][v1] = e;
  }
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<getgraph>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  je     L3
  mov    %rsi,%r12
  mov    %edx,%ebx
  movslq %edi,%rbp
  lea    D7(%rip),%r13
L2:
  lea    0x14(%rsp),%rcx
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,0xc(%rsp)
  mov    0x10(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0x10(%rsp)
  mov    0x14(%rsp),%ecx
  cltq
  mov    %rax,%rdi
  imul   %rbp,%rdi
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rsi
  lea    (%rsi,%rdi,4),%rsi
  mov    %ecx,(%r12,%rsi,1)
  imul   %rbp,%rdx
  shl    $0x2,%rax
  lea    (%rax,%rdx,4),%rax
  mov    %ecx,(%r12,%rax,1)
  sub    $0x1,%ebx
  jne    L2
L3:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L24
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L24:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D7
type_infered: string

tool: D7: %d %d %d

assistant: ```c
void getgraph(int N, int G[N][N], int E) {
  int v1, v2, e;
  while (E--) {
    scanf("%d %d %d", &v1, &v2, &e);
    v1--, v2--;
    G[v1][v2] = G[v2][v1] = e;
  }
}
```
user: 请从给定的汇编指令推导出C源代码：

```asm
<getgraph>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  je     L14
  mov    %rsi,%r12
  mov    %edx,%ebx
  lea    0x14(%rsp),%r15
  movslq %edi,%rbp
  lea    0x10(%rsp),%r14
  lea    0xc(%rsp),%r13
  nopl   (%rax)
L23:
  mov    %r15,%rcx
  mov    %r14,%rdx
  lea    D7(%rip),%rdi
  mov    %r13,%rsi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  mov    0x14(%rsp),%ecx
  lea    -0x1(%rax),%edx
  mov    0x10(%rsp),%eax
  mov    %edx,0xc(%rsp)
  movslq %edx,%rdx
  sub    $0x1,%eax
  lea    0x0(,%rdx,4),%rsi
  mov    %eax,0x10(%rsp)
  cltq
  imul   %rbp,%rdx
  mov    %rax,%rdi
  shl    $0x2,%rax
  imul   %rbp,%rdi
  lea    (%rax,%rdx,4),%rax
  lea    (%rsi,%rdi,4),%rsi
  mov    %ecx,(%r12,%rsi,1)
  mov    %ecx,(%r12,%rax,1)
  sub    $0x1,%ebx
  jne    L23
L14:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D7
type_guessed: string

tool: D7: %d %d %d

assistant: ```c
void getgraph(int N, int G[N][N], int E) {
  int v1, v2, e;
  while (E--) {
    scanf("%d %d %d", &v1, &v2, &e);
    v1--, v2--;
    G[v1][v2] = G[v2][v1] = e;
  }
}
```
user: 请将以下的汇编代码转换成C语言代码：

```asm
<getgraph>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  je     L23
  mov    %rsi,%r12
  mov    %edx,%ebx
  lea    0x14(%rsp),%r15
  movslq %edi,%rbp
  lea    0x10(%rsp),%r14
  lea    0xc(%rsp),%r13
  nopl   (%rax)
L20:
  mov    %r15,%rcx
  mov    %r14,%rdx
  lea    D9(%rip),%rdi
  mov    %r13,%rsi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  mov    0x14(%rsp),%ecx
  lea    -0x1(%rax),%edx
  mov    0x10(%rsp),%eax
  mov    %edx,0xc(%rsp)
  movslq %edx,%rdx
  sub    $0x1,%eax
  lea    0x0(,%rdx,4),%rsi
  mov    %eax,0x10(%rsp)
  cltq
  imul   %rbp,%rdx
  mov    %rax,%rdi
  shl    $0x2,%rax
  imul   %rbp,%rdi
  lea    (%rax,%rdx,4),%rax
  lea    (%rsi,%rdi,4),%rsi
  mov    %ecx,(%r12,%rsi,1)
  mov    %ecx,(%r12,%rax,1)
  sub    $0x1,%ebx
  jne    L20
L23:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D9
type: string

tool: D9: %d %d %d

assistant: ```c
void getgraph(int N, int G[N][N], int E) {
  int v1, v2, e;
  while (E--) {
    scanf("%d %d %d", &v1, &v2, &e);
    v1--, v2--;
    G[v1][v2] = G[v2][v1] = e;
  }
}
```
user: Converte this assembly snippet into its equivalent C code:

```asm
<fir_mem16_8>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%r12
  mov    %rsi,%r13
  mov    %rdx,%r14
  mov    %ecx,%ebp
  mov    %r9,%rbx
  mov    %r9,0x18(%rsp)
  mov    %r9,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,%r15d
  mov    %r13,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0x4(%rsp)
  lea    0x10(%rbx),%rax
  mov    %rax,0x10(%rsp)
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %rax,%rbx
  shl    $0x20,%rbx
  or     %r15,%rbx
  lea    0x10(%r13),%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,(%rsp)
  test   %ebp,%ebp
  jle    L11
  mov    %r12,%r13
  lea    -0x1(%rbp),%eax
  lea    0x4(%r12,%rax,4),%rax
  mov    %rax,0x8(%rsp)
L19:
  mov    %r13,%rdi
  call   <_mm_load_ps1@plt>
  mov    %eax,%ebp
  mov    %ebx,%esi
  mov    %eax,%edi
  call   <_mm_add_ss@plt>
  mov    %eax,%r12d
  mov    %eax,%esi
  mov    %r14,%rdi
  call   <_mm_store_ss@plt>
  mov    $0x0,%edx
  mov    %r12d,%esi
  mov    %r12d,%edi
  call   <_mm_shuffle_ps@plt>
  mov    %rbx,%rax
  shr    $0x20,%rax
  mov    %rax,%r12
  mov    %eax,%esi
  mov    %ebx,%edi
  call   <_mm_move_ss@plt>
  mov    %eax,%edi
  mov    $0x39,%edx
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    %eax,%r15d
  mov    0x4(%rsp),%esi
  mov    %ebp,%edi
  call   <_mm_mul_ps@plt>
  mov    %eax,%esi
  mov    %r15d,%edi
  call   <_mm_add_ps@plt>
  mov    %eax,%eax
  movabs $0xffffffff00000000,%rcx
  and    %rcx,%rbx
  or     %rax,%rbx
  mov    %r12d,%esi
  mov    %r12d,%edi
  call   <_mm_sub_ss@plt>
  mov    %eax,%edi
  mov    $0x39,%edx
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    %eax,%r12d
  mov    (%rsp),%esi
  mov    %ebp,%edi
  call   <_mm_mul_ps@plt>
  mov    %eax,%esi
  mov    %r12d,%edi
  call   <_mm_add_ps@plt>
  shl    $0x20,%rax
  mov    %ebx,%ebx
  or     %rax,%rbx
  add    $0x4,%r13
  add    $0x4,%r14
  cmp    0x8(%rsp),%r13
  jne    L19
L11:
  mov    %ebx,%esi
  mov    0x18(%rsp),%rdi
  call   <_mm_storeu_ps@plt>
  shr    $0x20,%rbx
  mov    %rbx,%rsi
  mov    0x10(%rsp),%rdi
  call   <_mm_storeu_ps@plt>
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void fir_mem16_8(const float *x, const float *_num, float *y, int N, int ord, float *_mem) {
  __m128 num[2], mem[2];
  int i;
  for (i = 0; i < 2; i++) {
    mem[i] = _mm_loadu_ps(_mem + 4 * i);
    num[i] = _mm_loadu_ps(_num + 4 * i);
  }
  for (i = 0; i < N; i++) {
    __m128 xx;
    __m128 yy;
    xx = _mm_load_ps1(x + i);
    yy = _mm_add_ss(xx, mem[0]);
    _mm_store_ss(y + i, yy);
    yy = _mm_shuffle_ps(yy, yy, 0);
    mem[0] = _mm_move_ss(mem[0], mem[1]);
    mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39);
    mem[0] = _mm_add_ps(mem[0], _mm_mul_ps(xx, num[0]));
    mem[1] = _mm_sub_ss(mem[1], mem[1]);
    mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39);
    mem[1] = _mm_add_ps(mem[1], _mm_mul_ps(xx, num[1]));
  }
  _mm_storeu_ps(_mem, mem[0]);
  _mm_storeu_ps(_mem + 4, mem[1]);
}
```
user: Translate the below assembly code into C programming language:

```asm
<fir_mem16_8>:
  endbr64
  push   %r15
  push   %r14
  mov    %r9,%r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdi,%r12
  mov    %r9,%rdi
  push   %rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x28,%rsp
  mov    %ecx,0x8(%rsp)
  mov    %r9,0x18(%rsp)
  call   <_mm_loadu_ps@plt>
  mov    %r13,%rdi
  mov    %eax,%ebp
  call   <_mm_loadu_ps@plt>
  mov    %eax,(%rsp)
  lea    0x10(%r14),%rax
  mov    %rax,%rdi
  mov    %rax,0x10(%rsp)
  call   <_mm_loadu_ps@plt>
  lea    0x10(%r13),%rdi
  mov    %eax,%r15d
  call   <_mm_loadu_ps@plt>
  mov    0x8(%rsp),%ecx
  mov    %eax,0x4(%rsp)
  test   %ecx,%ecx
  jle    L19
  lea    -0x1(%rcx),%eax
  mov    %r12,%r14
  lea    0x4(%r12,%rax,4),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L0:
  mov    %r14,%rdi
  add    $0x4,%r14
  call   <_mm_load_ps1@plt>
  mov    %ebp,%esi
  mov    %eax,%edi
  mov    %eax,%r12d
  call   <_mm_add_ss@plt>
  mov    %rbx,%rdi
  add    $0x4,%rbx
  mov    %eax,%r13d
  mov    %eax,%esi
  call   <_mm_store_ss@plt>
  xor    %edx,%edx
  mov    %r13d,%esi
  mov    %r13d,%edi
  call   <_mm_shuffle_ps@plt>
  mov    %r15d,%esi
  mov    %ebp,%edi
  call   <_mm_move_ss@plt>
  mov    $0x39,%edx
  mov    %eax,%edi
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    (%rsp),%esi
  mov    %r12d,%edi
  mov    %eax,%ebp
  call   <_mm_mul_ps@plt>
  mov    %ebp,%edi
  mov    %eax,%esi
  call   <_mm_add_ps@plt>
  mov    %r15d,%esi
  mov    %r15d,%edi
  mov    %eax,%ebp
  call   <_mm_sub_ss@plt>
  mov    $0x39,%edx
  mov    %eax,%edi
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    0x4(%rsp),%esi
  mov    %r12d,%edi
  mov    %eax,%r15d
  call   <_mm_mul_ps@plt>
  mov    %r15d,%edi
  mov    %eax,%esi
  call   <_mm_add_ps@plt>
  mov    %eax,%r15d
  cmp    0x8(%rsp),%r14
  jne    L0
L19:
  mov    0x18(%rsp),%rdi
  mov    %ebp,%esi
  call   <_mm_storeu_ps@plt>
  mov    0x10(%rsp),%rdi
  add    $0x28,%rsp
  mov    %r15d,%esi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1170 <_mm_storeu_ps@plt>
```

assistant: ```c
void fir_mem16_8(const float *x, const float *_num, float *y, int N, int ord, float *_mem) {
  __m128 num[2], mem[2];
  int i;
  for (i = 0; i < 2; i++) {
    mem[i] = _mm_loadu_ps(_mem + 4 * i);
    num[i] = _mm_loadu_ps(_num + 4 * i);
  }
  for (i = 0; i < N; i++) {
    __m128 xx;
    __m128 yy;
    xx = _mm_load_ps1(x + i);
    yy = _mm_add_ss(xx, mem[0]);
    _mm_store_ss(y + i, yy);
    yy = _mm_shuffle_ps(yy, yy, 0);
    mem[0] = _mm_move_ss(mem[0], mem[1]);
    mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39);
    mem[0] = _mm_add_ps(mem[0], _mm_mul_ps(xx, num[0]));
    mem[1] = _mm_sub_ss(mem[1], mem[1]);
    mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39);
    mem[1] = _mm_add_ps(mem[1], _mm_mul_ps(xx, num[1]));
  }
  _mm_storeu_ps(_mem, mem[0]);
  _mm_storeu_ps(_mem + 4, mem[1]);
}
```
user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<fir_mem16_8>:
  endbr64
  push   %r15
  push   %r14
  mov    %r9,%r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdi,%r12
  mov    %r9,%rdi
  push   %rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x28,%rsp
  mov    %ecx,0x8(%rsp)
  mov    %r9,0x18(%rsp)
  call   <_mm_loadu_ps@plt>
  mov    %r13,%rdi
  mov    %eax,%ebp
  call   <_mm_loadu_ps@plt>
  mov    %eax,(%rsp)
  lea    0x10(%r14),%rax
  mov    %rax,%rdi
  mov    %rax,0x10(%rsp)
  call   <_mm_loadu_ps@plt>
  lea    0x10(%r13),%rdi
  mov    %eax,%r15d
  call   <_mm_loadu_ps@plt>
  mov    0x8(%rsp),%ecx
  mov    %eax,0x4(%rsp)
  test   %ecx,%ecx
  jle    L13
  lea    -0x1(%rcx),%eax
  mov    %r12,%r14
  lea    0x4(%r12,%rax,4),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L2:
  mov    %r14,%rdi
  add    $0x4,%r14
  call   <_mm_load_ps1@plt>
  mov    %ebp,%esi
  mov    %eax,%edi
  mov    %eax,%r12d
  call   <_mm_add_ss@plt>
  mov    %rbx,%rdi
  add    $0x4,%rbx
  mov    %eax,%r13d
  mov    %eax,%esi
  call   <_mm_store_ss@plt>
  xor    %edx,%edx
  mov    %r13d,%esi
  mov    %r13d,%edi
  call   <_mm_shuffle_ps@plt>
  mov    %r15d,%esi
  mov    %ebp,%edi
  call   <_mm_move_ss@plt>
  mov    $0x39,%edx
  mov    %eax,%edi
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    (%rsp),%esi
  mov    %r12d,%edi
  mov    %eax,%ebp
  call   <_mm_mul_ps@plt>
  mov    %ebp,%edi
  mov    %eax,%esi
  call   <_mm_add_ps@plt>
  mov    %r15d,%esi
  mov    %r15d,%edi
  mov    %eax,%ebp
  call   <_mm_sub_ss@plt>
  mov    $0x39,%edx
  mov    %eax,%edi
  mov    %eax,%esi
  call   <_mm_shuffle_ps@plt>
  mov    0x4(%rsp),%esi
  mov    %r12d,%edi
  mov    %eax,%r15d
  call   <_mm_mul_ps@plt>
  mov    %r15d,%edi
  mov    %eax,%esi
  call   <_mm_add_ps@plt>
  mov    %eax,%r15d
  cmp    0x8(%rsp),%r14
  jne    L2
L13:
  mov    0x18(%rsp),%rdi
  mov    %ebp,%esi
  call   <_mm_storeu_ps@plt>
  mov    0x10(%rsp),%rdi
  add    $0x28,%rsp
  mov    %r15d,%esi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1170 <_mm_storeu_ps@plt>
```

assistant: ```c
void fir_mem16_8(const float *x, const float *_num, float *y, int N, int ord, float *_mem) {
  __m128 num[2], mem[2];
  int i;
  for (i = 0; i < 2; i++) {
    mem[i] = _mm_loadu_ps(_mem + 4 * i);
    num[i] = _mm_loadu_ps(_num + 4 * i);
  }
  for (i = 0; i < N; i++) {
    __m128 xx;
    __m128 yy;
    xx = _mm_load_ps1(x + i);
    yy = _mm_add_ss(xx, mem[0]);
    _mm_store_ss(y + i, yy);
    yy = _mm_shuffle_ps(yy, yy, 0);
    mem[0] = _mm_move_ss(mem[0], mem[1]);
    mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39);
    mem[0] = _mm_add_ps(mem[0], _mm_mul_ps(xx, num[0]));
    mem[1] = _mm_sub_ss(mem[1], mem[1]);
    mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39);
    mem[1] = _mm_add_ps(mem[1], _mm_mul_ps(xx, num[1]));
  }
  _mm_storeu_ps(_mem, mem[0]);
  _mm_storeu_ps(_mem + 4, mem[1]);
}
```
user: 这段汇编代码用C语言表示是什么样的：

```asm
<depth_first_search>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    %edx,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <destroy@plt>
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  mov    %edx,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  je     L35
  mov    -0x1c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  mov    %ecx,%edi
  call   <depth_first_search>
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <get_max@plt>
  mov    %eax,-0x4(%rbp)
L35:
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  mov    %edx,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  je     L19
  mov    -0x1c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  mov    %ecx,%edi
  call   <depth_first_search>
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <get_max@plt>
  mov    %eax,-0x4(%rbp)
L19:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  je     L0
  mov    -0x1c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x14(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <depth_first_search>
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <get_max@plt>
  mov    %eax,-0x4(%rbp)
L0:
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  je     L32
  mov    -0x1c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x14(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <depth_first_search>
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <get_max@plt>
  mov    %eax,-0x4(%rbp)
L32:
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <backtrack@plt>
  mov    -0x4(%rbp),%eax
  leave
  ret
```

assistant: ```c
int depth_first_search(int y, int x, int level) {
  int max = level;
  destroy(y, x);
  if (is_able_to_move(y - 1, x))
    max = get_max(max, depth_first_search(y - 1, x, level + 1));
  if (is_able_to_move(y + 1, x))
    max = get_max(max, depth_first_search(y + 1, x, level + 1));
  if (is_able_to_move(y, x - 1))
    max = get_max(max, depth_first_search(y, x - 1, level + 1));
  if (is_able_to_move(y, x + 1))
    max = get_max(max, depth_first_search(y, x + 1, level + 1));
  backtrack(y, x);
  return max;
}
```
user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<depth_first_search>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%ebx
  mov    %esi,%ebp
  mov    %edx,%r13d
  call   <destroy@plt>
  lea    -0x1(%rbx),%r14d
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <is_able_to_move@plt>
  mov    %r13d,%r12d
  test   %rax,%rax
  jne    L9
L27:
  lea    0x1(%rbx),%r14d
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  jne    L5
L68:
  lea    -0x1(%rbp),%r14d
  mov    %r14d,%esi
  mov    %ebx,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  jne    L26
L53:
  lea    0x1(%rbp),%r14d
  mov    %r14d,%esi
  mov    %ebx,%edi
  call   <is_able_to_move@plt>
  test   %rax,%rax
  jne    L75
L41:
  mov    %ebp,%esi
  mov    %ebx,%edi
  call   <backtrack@plt>
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L9:
  lea    0x1(%r13),%edx
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <depth_first_search>
  mov    %eax,%esi
  mov    %r13d,%edi
  call   <get_max@plt>
  mov    %eax,%r12d
  jmp    L27
L5:
  lea    0x1(%r13),%edx
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <depth_first_search>
  mov    %eax,%esi
  mov    %r12d,%edi
  call   <get_max@plt>
  mov    %eax,%r12d
  jmp    L68
L26:
  lea    0x1(%r13),%edx
  mov    %r14d,%esi
  mov    %ebx,%edi
  call   <depth_first_search>
  mov    %eax,%esi
  mov    %r12d,%edi
  call   <get_max@plt>
  mov    %eax,%r12d
  jmp    L53
L75:
  lea    0x1(%r13),%edx
  mov    %r14d,%esi
  mov    %ebx,%edi
  call   <depth_first_search>
  mov    %eax,%esi
  mov    %r12d,%edi
  call   <get_max@plt>
  mov    %eax,%r12d
  jmp    L41
```

assistant: ```c
int depth_first_search(int y, int x, int level) {
  int max = level;
  destroy(y, x);
  if (is_able_to_move(y - 1, x))
    max = get_max(max, depth_first_search(y - 1, x, level + 1));
  if (is_able_to_move(y + 1, x))
    max = get_max(max, depth_first_search(y + 1, x, level + 1));
  if (is_able_to_move(y, x - 1))
    max = get_max(max, depth_first_search(y, x - 1, level + 1));
  if (is_able_to_move(y, x + 1))
    max = get_max(max, depth_first_search(y, x + 1, level + 1));
  backtrack(y, x);
  return max;
}
```