ylfeng/ReF-Decompile-dataset huggingface dataset:
user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<isvalue>:
  endbr64
  push   %rbp
  mov    $0x7b,%ecx
  mov    %rdi,%rbp
  sub    $0xfc0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xfb8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rdi
  mov    %rsp,%rsi
  movq   $0x61,(%rsp)
  movq   $0x0,0x8(%rsp)
  movq   $0x62,0x3f0(%rsp)
  movq   $0x0,0x3f8(%rsp)
  movq   $0x63,0x7e0(%rsp)
  movq   $0x0,0x7e8(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0x400(%rsp),%rdi
  mov    $0x7b,%ecx
  movq   $0x64,0xbd0(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0x7f0(%rsp),%rdi
  mov    $0x7b,%ecx
  movq   $0x0,0xbd8(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0xbe0(%rsp),%rdi
  mov    $0x7b,%ecx
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x1,%eax
  test   %r8,%r8
  jne    L37
L8:
  mov    0xfb8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L3
  add    $0xfc0,%rsp
  pop    %rbp
  ret
  nopl   0x0(%rax)
L37:
  lea    0x3f0(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x2,%eax
  test   %r8,%r8
  je     L8
  lea    0x7e0(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x3,%eax
  test   %r8,%r8
  je     L8
  lea    0xbd0(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  shl    $0x2,%eax
  jmp    L8
L3:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
unsigned short int isvalue(char string[1000]) {
  unsigned short int ret = 0;
  char val_a[1000] = "a";
  char val_b[1000] = "b";
  char val_c[1000] = "c";
  char val_d[1000] = "d";
  if (strcmp(string, val_a) == 0)
    ret = 1;
  else if (strcmp(string, val_b) == 0)
    ret = 2;
  else if (strcmp(string, val_c) == 0)
    ret = 3;
  else if (strcmp(string, val_d) == 0)
    ret = 4;
  else
    ret = 0;
  return ret;
}
```
user: 这段汇编代码用C语言表示是什么样的?

```asm
<isvalue>:
  endbr64
  push   %rbp
  mov    $0x7b,%ecx
  mov    %rdi,%rbp
  sub    $0xfc0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xfb8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rdi
  mov    %rsp,%rsi
  movq   $0x61,(%rsp)
  movq   $0x0,0x8(%rsp)
  movq   $0x62,0x3f0(%rsp)
  movq   $0x0,0x3f8(%rsp)
  movq   $0x63,0x7e0(%rsp)
  movq   $0x0,0x7e8(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0x400(%rsp),%rdi
  mov    $0x7b,%ecx
  movq   $0x64,0xbd0(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0x7f0(%rsp),%rdi
  mov    $0x7b,%ecx
  movq   $0x0,0xbd8(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0xbe0(%rsp),%rdi
  mov    $0x7b,%ecx
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x1,%eax
  test   %r8,%r8
  jne    L38
L16:
  mov    0xfb8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L29
  add    $0xfc0,%rsp
  pop    %rbp
  ret
  nopl   0x0(%rax)
L38:
  lea    0x3f0(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x2,%eax
  test   %r8,%r8
  je     L16
  lea    0x7e0(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x3,%eax
  test   %r8,%r8
  je     L16
  lea    0xbd0(%rsp),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  shl    $0x2,%eax
  jmp    L16
L29:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
unsigned short int isvalue(char string[1000]) {
  unsigned short int ret = 0;
  char val_a[1000] = "a";
  char val_b[1000] = "b";
  char val_c[1000] = "c";
  char val_d[1000] = "d";
  if (strcmp(string, val_a) == 0)
    ret = 1;
  else if (strcmp(string, val_b) == 0)
    ret = 2;
  else if (strcmp(string, val_c) == 0)
    ret = 3;
  else if (strcmp(string, val_d) == 0)
    ret = 4;
  else
    ret = 0;
  return ret;
}
```
user: 这段汇编代码用C语言表示是什么样的:

```asm
<uniquestr_sprintf>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  mov    %rdi,-0xc8(%rbp)
  mov    %rsi,-0xd0(%rbp)
  mov    %rdx,-0xa0(%rbp)
  mov    %rcx,-0x98(%rbp)
  mov    %r8,-0x90(%rbp)
  mov    %r9,-0x88(%rbp)
  test   %al,%al
  je     L3
  movaps %xmm0,-0x80(%rbp)
  movaps %xmm1,-0x70(%rbp)
  movaps %xmm2,-0x60(%rbp)
  movaps %xmm3,-0x50(%rbp)
  movaps %xmm4,-0x40(%rbp)
  movaps %xmm5,-0x30(%rbp)
  movaps %xmm6,-0x20(%rbp)
  movaps %xmm7,-0x10(%rbp)
L3:
  movl   $0x0,-0xb8(%rbp)
  mov    -0xd0(%rbp),%rdx
  mov    -0xb4(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <va_start@plt>
  mov    -0xb4(%rbp),%edx
  mov    -0xd0(%rbp),%rcx
  mov    -0xc8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <uniquestr_vsprintf@plt>
  mov    %eax,-0xb8(%rbp)
  mov    -0xb4(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    -0xb8(%rbp),%eax
  leave
  ret
```

assistant: ```c
int uniquestr_sprintf(const char **out_str, const char *format, ...) {
  int result = 0;
  va_list args;
  va_start(args, format);
  result = uniquestr_vsprintf(out_str, format, args);
  va_end(args);
  return result;
}
```
user: 这段汇编代码用C语言表示是什么样的?

```asm
<uniquestr_sprintf>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%r12
  mov    %rsi,%rbx
  mov    $0x0,%ebp
  mov    %ebp,%edi
  call   <va_start@plt>
  mov    %ebp,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <uniquestr_vsprintf@plt>
  mov    %eax,%ebx
  mov    %ebp,%edi
  call   <va_end@plt>
  mov    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
```

assistant: ```c
int uniquestr_sprintf(const char **out_str, const char *format, ...) {
  int result = 0;
  va_list args;
  va_start(args, format);
  result = uniquestr_vsprintf(out_str, format, args);
  va_end(args);
  return result;
}
```
user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<uniquestr_sprintf>:
  endbr64
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  mov    %rdi,%r12
  mov    %r13d,%edi
  push   %rbp
  mov    %rsi,%rbp
  call   <va_start@plt>
  mov    %r13d,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <uniquestr_vsprintf@plt>
  mov    %r13d,%edi
  mov    %eax,%r12d
  call   <va_end@plt>
  mov    %r12d,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

assistant: ```c
int uniquestr_sprintf(const char **out_str, const char *format, ...) {
  int result = 0;
  va_list args;
  va_start(args, format);
  result = uniquestr_vsprintf(out_str, format, args);
  va_end(args);
  return result;
}
```
user: What would the C source look like for the assembly code provided here:

```asm
<uniquestr_sprintf>:
  endbr64
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  mov    %rdi,%r12
  mov    %r13d,%edi
  push   %rbp
  mov    %rsi,%rbp
  call   <va_start@plt>
  mov    %r13d,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <uniquestr_vsprintf@plt>
  mov    %r13d,%edi
  mov    %eax,%r12d
  call   <va_end@plt>
  mov    %r12d,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

assistant: ```c
int uniquestr_sprintf(const char **out_str, const char *format, ...) {
  int result = 0;
  va_list args;
  va_start(args, format);
  result = uniquestr_vsprintf(out_str, format, args);
  va_end(args);
  return result;
}
```
user: Translate the below assembly code into C programming language:

```asm
<jac_chain_nm2_alloc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L7
  mov    -0x8(%rbp),%rax
  movq   $0x0,(%rax)
L7:
  mov    $0x0,%eax
  pop    %rbp
  ret
```

assistant: ```c
int jac_chain_nm2_alloc(void **mem, const int *idata, const double *rdata) {
  if (mem)
    *mem = 0;
  (void)idata;
  (void)rdata;
  return 0;
}
```
user: Translate the below assembly code into C programming language:

```asm
<jac_chain_nm2_alloc>:
  endbr64
  test   %rdi,%rdi
  je     L0
  movq   $0x0,(%rdi)
L0:
  mov    $0x0,%eax
  ret
```

assistant: ```c
int jac_chain_nm2_alloc(void **mem, const int *idata, const double *rdata) {
  if (mem)
    *mem = 0;
  (void)idata;
  (void)rdata;
  return 0;
}
```
user: What is the c source code of the assembly code below:

```asm
<jac_chain_nm2_alloc>:
  endbr64
  test   %rdi,%rdi
  je     L4
  movq   $0x0,(%rdi)
L4:
  xor    %eax,%eax
  ret
```

assistant: ```c
int jac_chain_nm2_alloc(void **mem, const int *idata, const double *rdata) {
  if (mem)
    *mem = 0;
  (void)idata;
  (void)rdata;
  return 0;
}
```
user: Translate the below assembly code into C programming language:

```asm
<jac_chain_nm2_alloc>:
  endbr64
  test   %rdi,%rdi
  je     L3
  movq   $0x0,(%rdi)
L3:
  xor    %eax,%eax
  ret
```

assistant: ```c
int jac_chain_nm2_alloc(void **mem, const int *idata, const double *rdata) {
  if (mem)
    *mem = 0;
  (void)idata;
  (void)rdata;
  return 0;
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<fct_3>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  mov    %rcx,-0x20(%rbp)
  mov    %r8,-0x28(%rbp)
  mov    %r9,-0x30(%rbp)
  mov    -0x20(%rbp),%rax
  pop    %rbp
  ret
```

assistant: ```c
double *fct_3(double *a, double *b, double *c, double *d, double *e, double *f, double *g, double *h) {
  (void)a;
  (void)b;
  (void)c;
  (void)d;
  (void)e;
  (void)f;
  (void)g;
  (void)h;
  return d;
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<fct_3>:
  endbr64
  mov    %rcx,%rax
  ret
```

assistant: ```c
double *fct_3(double *a, double *b, double *c, double *d, double *e, double *f, double *g, double *h) {
  (void)a;
  (void)b;
  (void)c;
  (void)d;
  (void)e;
  (void)f;
  (void)g;
  (void)h;
  return d;
}
```
user: What would the C source look like for the assembly code provided here:

```asm
<fct_3>:
  endbr64
  mov    %rcx,%rax
  ret
```

assistant: ```c
double *fct_3(double *a, double *b, double *c, double *d, double *e, double *f, double *g, double *h) {
  (void)a;
  (void)b;
  (void)c;
  (void)d;
  (void)e;
  (void)f;
  (void)g;
  (void)h;
  return d;
}
```
user: 这段汇编代码用C语言表示是什么样的？

```asm
<fct_3>:
  endbr64
  mov    %rcx,%rax
  ret
```

assistant: ```c
double *fct_3(double *a, double *b, double *c, double *d, double *e, double *f, double *g, double *h) {
  (void)a;
  (void)b;
  (void)c;
  (void)d;
  (void)e;
  (void)f;
  (void)g;
  (void)h;
  return d;
}
```
user: 下面的汇编指令对应的C源代码是什么:

```asm
<compute_prefix_function>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  movl   $0x0,(%rax)
  movl   $0x0,-0x14(%rbp)
  movl   $0x1,-0x10(%rbp)
  jmp    L20
L22:
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x14(%rbp)
L41:
  cmpl   $0x0,-0x14(%rbp)
  jle    L0
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x10(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  jne    L22
L0:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x10(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  jne    L13
  addl   $0x1,-0x14(%rbp)
L13:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x10(%rbp)
L20:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L41
  mov    -0x8(%rbp),%rax
  leave
  ret
```

assistant: ```c
int *compute_prefix_function(char *pattern) {
  int m = strlen(pattern);
  int *next = (int *)malloc(m * sizeof(int));
  next[0] = 0;
  int k = 0;
  int q;
  for (q = 1; q < m; q++) {
    while (k > 0 && (pattern[k] != pattern[q]))
      k = next[k - 1];
    if (pattern[k] == pattern[q])
      k++;
    next[q] = k;
  }
  return next;
}
```
user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<compute_prefix_function>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbx
  call   <strlen@plt>
  mov    %eax,%ebp
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  movl   $0x0,(%rax)
  cmp    $0x1,%ebp
  jle    L63
  lea    0x4(%rax),%r8
  mov    %ebp,%r9d
  mov    $0x1,%edi
  mov    $0x0,%edx
  jmp    L11
L65:
  movslq %edx,%rcx
  movzbl (%rbx,%rdi,1),%esi
  cmp    %sil,(%rbx,%rcx,1)
  je     L43
L48:
  mov    %edx,(%r8)
  add    $0x1,%rdi
  add    $0x4,%r8
  cmp    %r9,%rdi
  je     L63
L11:
  test   %edx,%edx
  jle    L65
  movzbl (%rbx,%rdi,1),%esi
L15:
  movslq %edx,%rcx
  cmp    %sil,(%rbx,%rcx,1)
  je     L43
  mov    -0x4(%rax,%rcx,4),%edx
  test   %edx,%edx
  jg     L15
  jmp    L65
L43:
  add    $0x1,%edx
  jmp    L48
L63:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

assistant: ```c
int *compute_prefix_function(char *pattern) {
  int m = strlen(pattern);
  int *next = (int *)malloc(m * sizeof(int));
  next[0] = 0;
  int k = 0;
  int q;
  for (q = 1; q < m; q++) {
    while (k > 0 && (pattern[k] != pattern[q]))
      k = next[k - 1];
    if (pattern[k] == pattern[q])
      k++;
    next[q] = k;
  }
  return next;
}
```
user: What is the c source code of the assembly code below:

```asm
<compute_prefix_function>:
  endbr64
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  call   <strlen@plt>
  lea    0x0(,%rax,4),%edi
  mov    %eax,%ebp
  call   <malloc@plt>
  movl   $0x0,(%rax)
  cmp    $0x1,%ebp
  jle    L42
  lea    -0x2(%rbp),%edx
  lea    0x4(%rax),%rdi
  lea    0x8(%rax,%rdx,4),%r9
  lea    0x1(%rbx),%r8
  xor    %edx,%edx
  nopl   (%rax)
L30:
  test   %edx,%edx
  jle    L31
  movzbl (%r8),%esi
  jmp    L51
  nopw   0x0(%rax,%rax,1)
L44:
  mov    -0x4(%rax,%rcx,4),%edx
  test   %edx,%edx
  jle    L31
L51:
  movslq %edx,%rcx
  cmp    %sil,(%rbx,%rcx,1)
  jne    L44
L45:
  add    $0x1,%edx
L17:
  mov    %edx,(%rdi)
  add    $0x4,%rdi
  add    $0x1,%r8
  cmp    %rdi,%r9
  jne    L30
L42:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L31:
  movslq %edx,%rcx
  movzbl (%r8),%esi
  cmp    %sil,(%rbx,%rcx,1)
  jne    L17
  jmp    L45
```

assistant: ```c
int *compute_prefix_function(char *pattern) {
  int m = strlen(pattern);
  int *next = (int *)malloc(m * sizeof(int));
  next[0] = 0;
  int k = 0;
  int q;
  for (q = 1; q < m; q++) {
    while (k > 0 && (pattern[k] != pattern[q]))
      k = next[k - 1];
    if (pattern[k] == pattern[q])
      k++;
    next[q] = k;
  }
  return next;
}
```
user: What is the c source code of the assembly code below:

```asm
<compute_prefix_function>:
  endbr64
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  call   <strlen@plt>
  lea    0x0(,%rax,4),%edi
  mov    %eax,%ebp
  call   <malloc@plt>
  movl   $0x0,(%rax)
  cmp    $0x1,%ebp
  jle    L14
  lea    -0x2(%rbp),%edx
  lea    0x4(%rax),%rdi
  lea    0x8(%rax,%rdx,4),%r9
  lea    0x1(%rbx),%r8
  xor    %edx,%edx
  nopl   (%rax)
L59:
  test   %edx,%edx
  jle    L72
  movzbl (%r8),%esi
  jmp    L61
  nopw   0x0(%rax,%rax,1)
L36:
  mov    -0x4(%rax,%rcx,4),%edx
  test   %edx,%edx
  jle    L72
L61:
  movslq %edx,%rcx
  cmp    %sil,(%rbx,%rcx,1)
  jne    L36
L58:
  add    $0x1,%edx
L37:
  mov    %edx,(%rdi)
  add    $0x4,%rdi
  add    $0x1,%r8
  cmp    %rdi,%r9
  jne    L59
L14:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L72:
  movslq %edx,%rcx
  movzbl (%r8),%esi
  cmp    %sil,(%rbx,%rcx,1)
  jne    L37
  jmp    L58
```

assistant: ```c
int *compute_prefix_function(char *pattern) {
  int m = strlen(pattern);
  int *next = (int *)malloc(m * sizeof(int));
  next[0] = 0;
  int k = 0;
  int q;
  for (q = 1; q < m; q++) {
    while (k > 0 && (pattern[k] != pattern[q]))
      k = next[k - 1];
    if (pattern[k] == pattern[q])
      k++;
    next[q] = k;
  }
  return next;
}
```
user: 下面的汇编指令对应的C源代码是什么：

```asm
<imdct_step3_inner_s_loop_ld654>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  sar    $0x3,%r8d
  movslq %r8d,%r8
  movss  (%rcx,%r8,4),%xmm7
  movss  %xmm7,0xc(%rsp)
  movslq %edx,%rdx
  lea    (%rsi,%rdx,4),%rbx
  shl    $0x4,%edi
  movslq %edi,%rdi
  shl    $0x2,%rdi
  mov    %rbx,%rbp
  sub    %rdi,%rbp
  cmp    %rbp,%rbx
  jbe    L1
L5:
  movss  (%rbx),%xmm1
  movss  -0x20(%rbx),%xmm3
  movss  -0x4(%rbx),%xmm0
  movss  -0x24(%rbx),%xmm2
  movaps %xmm1,%xmm4
  addss  %xmm3,%xmm4
  movss  %xmm4,(%rbx)
  movaps %xmm0,%xmm4
  addss  %xmm2,%xmm4
  movss  %xmm4,-0x4(%rbx)
  subss  %xmm3,%xmm1
  movss  %xmm1,-0x20(%rbx)
  subss  %xmm2,%xmm0
  movss  %xmm0,-0x24(%rbx)
  movss  -0x8(%rbx),%xmm2
  movss  -0x28(%rbx),%xmm5
  movaps %xmm2,%xmm3
  subss  %xmm5,%xmm3
  movss  -0xc(%rbx),%xmm1
  movss  -0x2c(%rbx),%xmm4
  movaps %xmm1,%xmm0
  subss  %xmm4,%xmm0
  addss  %xmm5,%xmm2
  movss  %xmm2,-0x8(%rbx)
  addss  %xmm4,%xmm1
  movss  %xmm1,-0xc(%rbx)
  movaps %xmm3,%xmm1
  addss  %xmm0,%xmm1
  movss  0xc(%rsp),%xmm6
  mulss  %xmm6,%xmm1
  movss  %xmm1,-0x28(%rbx)
  subss  %xmm3,%xmm0
  mulss  %xmm6,%xmm0
  movss  %xmm0,-0x2c(%rbx)
  movss  -0x30(%rbx),%xmm0
  movss  -0x10(%rbx),%xmm2
  movss  -0x14(%rbx),%xmm1
  movss  -0x34(%rbx),%xmm3
  movaps %xmm0,%xmm4
  addss  %xmm2,%xmm4
  movss  %xmm4,-0x10(%rbx)
  movaps %xmm1,%xmm4
  addss  %xmm3,%xmm4
  movss  %xmm4,-0x14(%rbx)
  subss  %xmm3,%xmm1
  movss  %xmm1,-0x30(%rbx)
  subss  %xmm2,%xmm0
  movss  %xmm0,-0x34(%rbx)
  movss  -0x38(%rbx),%xmm2
  movss  -0x18(%rbx),%xmm5
  movaps %xmm2,%xmm0
  subss  %xmm5,%xmm0
  movss  -0x1c(%rbx),%xmm1
  movss  -0x3c(%rbx),%xmm4
  movaps %xmm1,%xmm3
  subss  %xmm4,%xmm3
  addss  %xmm5,%xmm2
  movss  %xmm2,-0x18(%rbx)
  addss  %xmm4,%xmm1
  movss  %xmm1,-0x1c(%rbx)
  movaps %xmm0,%xmm1
  addss  %xmm3,%xmm1
  mulss  %xmm6,%xmm1
  movss  %xmm1,-0x38(%rbx)
  subss  %xmm3,%xmm0
  mulss  %xmm6,%xmm0
  movss  %xmm0,-0x3c(%rbx)
  mov    %rbx,%rdi
  call   <iter_54@plt>
  lea    -0x20(%rbx),%rdi
  call   <iter_54@plt>
  sub    $0x40,%rbx
  cmp    %rbx,%rbp
  jb     L5
L1:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

assistant: ```c
void imdct_step3_inner_s_loop_ld654(int n, float *e, int i_off, float *A, int base_n) {
  int k_off = -8;
  int a_off = base_n >> 3;
  float A2 = A[0 + a_off];
  float *z = e + i_off;
  float *base = z - 16 * n;
  while (z > base) {
    float k00, k11;
    k00 = z[-0] - z[-8];
    k11 = z[-1] - z[-9];
    z[-0] = z[-0] + z[-8];
    z[-1] = z[-1] + z[-9];
    z[-8] = k00;
    z[-9] = k11;
    k00 = z[-2] - z[-10];
    k11 = z[-3] - z[-11];
    z[-2] = z[-2] + z[-10];
    z[-3] = z[-3] + z[-11];
    z[-10] = (k00 + k11) * A2;
    z[-11] = (k11 - k00) * A2;
    k00 = z[-12] - z[-4];
    k11 = z[-5] - z[-13];
    z[-4] = z[-4] + z[-12];
    z[-5] = z[-5] + z[-13];
    z[-12] = k11;
    z[-13] = k00;
    k00 = z[-14] - z[-6];
    k11 = z[-7] - z[-15];
    z[-6] = z[-6] + z[-14];
    z[-7] = z[-7] + z[-15];
    z[-14] = (k00 + k11) * A2;
    z[-15] = (k00 - k11) * A2;
    iter_54(z);
    iter_54(z - 8);
    z -= 16;
  }
}
```
user: What is the c source code of the assembly code below:

```asm
<imdct_step3_inner_s_loop_ld654>:
  endbr64
  shl    $0x4,%edi
  movslq %edx,%rdx
  push   %rbp
  sar    $0x3,%r8d
  push   %rbx
  movslq %edi,%rdi
  lea    (%rsi,%rdx,4),%rbx
  movslq %r8d,%r8
  shl    $0x2,%rdi
  mov    %rbx,%rbp
  sub    %rdi,%rbp
  sub    $0x18,%rsp
  movss  (%rcx,%r8,4),%xmm3
  cmp    %rbp,%rbx
  jbe    L7
  nopw   0x0(%rax,%rax,1)
L2:
  movss  (%rbx),%xmm1
  movss  -0x20(%rbx),%xmm4
  mov    %rbx,%rdi
  movss  %xmm3,0xc(%rsp)
  movss  -0x4(%rbx),%xmm0
  movss  -0x24(%rbx),%xmm2
  movaps %xmm1,%xmm5
  subss  %xmm4,%xmm1
  movss  -0x28(%rbx),%xmm6
  addss  %xmm4,%xmm5
  movss  %xmm1,-0x20(%rbx)
  movss  -0xc(%rbx),%xmm1
  movss  %xmm5,(%rbx)
  movaps %xmm0,%xmm5
  subss  %xmm2,%xmm0
  addss  %xmm2,%xmm5
  movss  -0x8(%rbx),%xmm2
  movaps %xmm2,%xmm4
  movss  %xmm0,-0x24(%rbx)
  movaps %xmm1,%xmm0
  addss  %xmm6,%xmm2
  movss  %xmm5,-0x4(%rbx)
  movss  -0x2c(%rbx),%xmm5
  subss  %xmm6,%xmm4
  movss  -0x18(%rbx),%xmm6
  addss  %xmm5,%xmm1
  subss  %xmm5,%xmm0
  movss  %xmm2,-0x8(%rbx)
  movss  -0x10(%rbx),%xmm2
  movss  %xmm1,-0xc(%rbx)
  movaps %xmm4,%xmm1
  addss  %xmm0,%xmm1
  subss  %xmm4,%xmm0
  movss  -0x34(%rbx),%xmm4
  mulss  %xmm3,%xmm0
  mulss  %xmm3,%xmm1
  movss  %xmm0,-0x2c(%rbx)
  movss  -0x30(%rbx),%xmm0
  movss  %xmm1,-0x28(%rbx)
  movss  -0x14(%rbx),%xmm1
  movaps %xmm0,%xmm5
  subss  %xmm2,%xmm0
  addss  %xmm2,%xmm5
  movss  -0x38(%rbx),%xmm2
  movss  %xmm0,-0x34(%rbx)
  movaps %xmm2,%xmm0
  addss  %xmm6,%xmm2
  movss  %xmm5,-0x10(%rbx)
  movaps %xmm1,%xmm5
  subss  %xmm4,%xmm1
  subss  %xmm6,%xmm0
  addss  %xmm4,%xmm5
  movss  %xmm2,-0x18(%rbx)
  movss  %xmm1,-0x30(%rbx)
  movss  -0x1c(%rbx),%xmm1
  movss  %xmm5,-0x14(%rbx)
  movss  -0x3c(%rbx),%xmm5
  movaps %xmm1,%xmm4
  addss  %xmm5,%xmm1
  subss  %xmm5,%xmm4
  movss  %xmm1,-0x1c(%rbx)
  movaps %xmm0,%xmm1
  subss  %xmm4,%xmm0
  addss  %xmm4,%xmm1
  mulss  %xmm3,%xmm0
  mulss  %xmm3,%xmm1
  movss  %xmm1,-0x38(%rbx)
  movss  %xmm0,-0x3c(%rbx)
  call   <iter_54@plt>
  lea    -0x20(%rbx),%rdi
  sub    $0x40,%rbx
  call   <iter_54@plt>
  cmp    %rbx,%rbp
  movss  0xc(%rsp),%xmm3
  jb     L2
L7:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

assistant: ```c
void imdct_step3_inner_s_loop_ld654(int n, float *e, int i_off, float *A, int base_n) {
  int k_off = -8;
  int a_off = base_n >> 3;
  float A2 = A[0 + a_off];
  float *z = e + i_off;
  float *base = z - 16 * n;
  while (z > base) {
    float k00, k11;
    k00 = z[-0] - z[-8];
    k11 = z[-1] - z[-9];
    z[-0] = z[-0] + z[-8];
    z[-1] = z[-1] + z[-9];
    z[-8] = k00;
    z[-9] = k11;
    k00 = z[-2] - z[-10];
    k11 = z[-3] - z[-11];
    z[-2] = z[-2] + z[-10];
    z[-3] = z[-3] + z[-11];
    z[-10] = (k00 + k11) * A2;
    z[-11] = (k11 - k00) * A2;
    k00 = z[-12] - z[-4];
    k11 = z[-5] - z[-13];
    z[-4] = z[-4] + z[-12];
    z[-5] = z[-5] + z[-13];
    z[-12] = k11;
    z[-13] = k00;
    k00 = z[-14] - z[-6];
    k11 = z[-7] - z[-15];
    z[-6] = z[-6] + z[-14];
    z[-7] = z[-7] + z[-15];
    z[-14] = (k00 + k11) * A2;
    z[-15] = (k00 - k11) * A2;
    iter_54(z);
    iter_54(z - 8);
    z -= 16;
  }
}
```