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

```asm
<copy_to_pascal_two>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  test   %rsi,%rsi
  je     L6
  lea    0x2(%rdi),%r14
  mov    %rsi,%rdi
  mov    %rsi,%rbp
  call   <strlen@plt>
  movzwl %ax,%r12d
  mov    %eax,%r13d
  mov    %r12d,%edi
  call   <htons@plt>
  mov    %r12d,%edx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  mov    %ax,(%rbx)
  call   <memcpy@plt>
  pop    %rbx
  mov    %r13d,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nop
L6:
  xor    %eax,%eax
  mov    $0x2,%r13d
  mov    %ax,(%rdi)
  mov    %r13d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

assistant: ```c
unsigned short copy_to_pascal_two(char *dest, const char *src) {
  unsigned short *sendlen = (void *)dest;
  char *data = dest + 2;
  unsigned short len;
  if (!src) {
    dest[0] = 0;
    dest[1] = 0;
    return 2;
  }
  len = (unsigned short)strlen(src);
  *sendlen = htons(len);
  memcpy(data, src, len);
  return len;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<dd_log>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <dd_is_one@plt>
  cmp    $0x1,%eax
  jne    L27
  mov    -0x30(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L48
L27:
  mov    -0x28(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jb     L8
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x30(%rbp),%rax
  movsd  D21(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x30(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L48
L8:
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <log@plt>
  movq   %xmm0,%rax
  mov    -0x30(%rbp),%rdx
  mov    %rax,(%rdx)
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x30(%rbp),%rax
  movsd  (%rax),%xmm0
  movq   D43(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  movq   D43(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  lea    -0x20(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <dd_exp@plt>
  mov    -0x28(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <dd_mlt@plt>
  lea    -0x20(%rbp),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <dd_inc@plt>
  mov    D28(%rip),%rdx
  mov    -0x30(%rbp),%rax
  movq   %rdx,%xmm0
  mov    %rax,%rdi
  call   <dd_dec_d@plt>
L48:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L23
  call   <__stack_chk_fail@plt>
L23:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D19
data_type: string
name: parse_data
arguments: data_label: D21
data_type: f32[2]
name: parse_data
arguments: data_label: D43
data_type: f32[2]
name: parse_data
arguments: data_label: D28
data_type: f64

tool: D19: (dd_log): argument is not positive

tool: {"D21": [0.0,-1.875]}

tool: {"D43": [0.0,-0.0]}

tool: D28: 1

assistant: ```c
void dd_log(const double *a, double *b) {
  double acc[2];
  if (dd_is_one(a) == 1) {
    b[0] = 0.0;
    b[1] = 0.0;
    return;
  }
  if (a[0] <= 0.0) {
    printf("(dd_log): argument is not positive");
    b[0] = -1.0;
    b[0] = 0.0;
    return;
  }
  b[0] = log(a[0]);
  b[1] = 0.0;
  acc[0] = -b[0];
  acc[1] = -b[1];
  dd_exp(acc, acc);
  dd_mlt(acc, a);
  dd_inc(b, acc);
  dd_dec_d(b, 1.0);
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<dd_log>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %rdi,%rbp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <dd_is_one@plt>
  cmp    $0x1,%eax
  je     L41
  movsd  0x0(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  jae    L19
  call   <log@plt>
  movsd  %xmm0,(%rbx)
  movq   $0x0,0x8(%rbx)
  xorpd  D23(%rip),%xmm0
  movsd  %xmm0,(%rsp)
  mov    D23(%rip),%rax
  mov    %rax,0x8(%rsp)
  mov    %rsp,%r12
  mov    %r12,%rsi
  mov    %r12,%rdi
  call   <dd_exp@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <dd_mlt@plt>
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <dd_inc@plt>
  movsd  D27(%rip),%xmm0
  mov    %rbx,%rdi
  call   <dd_dec_d@plt>
L24:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L41:
  movq   $0x0,(%rbx)
  movq   $0x0,0x8(%rbx)
  jmp    L24
L19:
  lea    D3(%rip),%rdi
  call   <printf@plt>
  movq   $0x0,(%rbx)
  jmp    L24
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D23
type_guessed: f32[4]
name: read_data
arguments: label: D27
type_guessed: f64
name: read_data
arguments: label: D3
type_guessed: string

tool: {"D23": [0.0,-0.0,0.0,0.0]}

tool: D27: 1

tool: D3: (dd_log): argument is not positive

assistant: ```c
void dd_log(const double *a, double *b) {
  double acc[2];
  if (dd_is_one(a) == 1) {
    b[0] = 0.0;
    b[1] = 0.0;
    return;
  }
  if (a[0] <= 0.0) {
    printf("(dd_log): argument is not positive");
    b[0] = -1.0;
    b[0] = 0.0;
    return;
  }
  b[0] = log(a[0]);
  b[1] = 0.0;
  acc[0] = -b[0];
  acc[1] = -b[1];
  dd_exp(acc, acc);
  dd_mlt(acc, a);
  dd_inc(b, acc);
  dd_dec_d(b, 1.0);
}
```
user: 请将以下的汇编代码转换成C语言代码：

```asm
<dd_log>:
  endbr64
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rsi,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <dd_is_one@plt>
  cmp    $0x1,%eax
  je     L25
  movsd  (%r12),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  jae    L28
  call   <log@plt>
  movq   $0x0,0x8(%rbp)
  mov    %rsp,%r13
  mov    D15(%rip),%rax
  movsd  %xmm0,0x0(%rbp)
  xorpd  D15(%rip),%xmm0
  mov    %r13,%rsi
  mov    %r13,%rdi
  mov    %rax,0x8(%rsp)
  movsd  %xmm0,(%rsp)
  call   <dd_exp@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <dd_mlt@plt>
  mov    %rbp,%rdi
  mov    %r13,%rsi
  call   <dd_inc@plt>
  movsd  D9(%rip),%xmm0
  mov    %rbp,%rdi
  call   <dd_dec_d@plt>
L26:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0x20,%rsp
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L25:
  movq   $0x0,0x0(%rbp)
  movq   $0x0,0x8(%rbp)
  jmp    L26
  nopw   0x0(%rax,%rax,1)
L28:
  lea    D20(%rip),%rdi
  call   <printf@plt>
  movq   $0x0,0x0(%rbp)
  jmp    L26
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D15
data_type: f32[4]
name: read_data
arguments: tag: D9
data_type: f64
name: read_data
arguments: tag: D20
data_type: string

tool: {"D15": [0.0,-0.0,0.0,0.0]}

tool: D9: 1

tool: D20: (dd_log): argument is not positive

assistant: ```c
void dd_log(const double *a, double *b) {
  double acc[2];
  if (dd_is_one(a) == 1) {
    b[0] = 0.0;
    b[1] = 0.0;
    return;
  }
  if (a[0] <= 0.0) {
    printf("(dd_log): argument is not positive");
    b[0] = -1.0;
    b[0] = 0.0;
    return;
  }
  b[0] = log(a[0]);
  b[1] = 0.0;
  acc[0] = -b[0];
  acc[1] = -b[1];
  dd_exp(acc, acc);
  dd_mlt(acc, a);
  dd_inc(b, acc);
  dd_dec_d(b, 1.0);
}
```
user: What is the c source code of the assembly code below?

```asm
<dd_log>:
  endbr64
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rsi,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <dd_is_one@plt>
  cmp    $0x1,%eax
  je     L36
  movsd  (%r12),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  jae    L19
  call   <log@plt>
  movq   $0x0,0x8(%rbp)
  mov    %rsp,%r13
  mov    D34(%rip),%rax
  movsd  %xmm0,0x0(%rbp)
  xorpd  D34(%rip),%xmm0
  mov    %r13,%rsi
  mov    %r13,%rdi
  mov    %rax,0x8(%rsp)
  movsd  %xmm0,(%rsp)
  call   <dd_exp@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <dd_mlt@plt>
  mov    %rbp,%rdi
  mov    %r13,%rsi
  call   <dd_inc@plt>
  movsd  D25(%rip),%xmm0
  mov    %rbp,%rdi
  call   <dd_dec_d@plt>
L16:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L25
  add    $0x20,%rsp
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L36:
  pxor   %xmm0,%xmm0
  movups %xmm0,0x0(%rbp)
  jmp    L16
  nopw   0x0(%rax,%rax,1)
L19:
  lea    D9(%rip),%rdi
  call   <printf@plt>
  movq   $0x0,0x0(%rbp)
  jmp    L16
L25:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D34
datatype: f32[4]
name: disassemble_data
arguments: data_label: D25
datatype: f64
name: disassemble_data
arguments: data_label: D9
datatype: string

tool: {"D34": [0.0,-0.0,0.0,0.0]}

tool: D25: 1

tool: D9: (dd_log): argument is not positive

assistant: ```c
void dd_log(const double *a, double *b) {
  double acc[2];
  if (dd_is_one(a) == 1) {
    b[0] = 0.0;
    b[1] = 0.0;
    return;
  }
  if (a[0] <= 0.0) {
    printf("(dd_log): argument is not positive");
    b[0] = -1.0;
    b[0] = 0.0;
    return;
  }
  b[0] = log(a[0]);
  b[1] = 0.0;
  acc[0] = -b[0];
  acc[1] = -b[1];
  dd_exp(acc, acc);
  dd_mlt(acc, a);
  dd_inc(b, acc);
  dd_dec_d(b, 1.0);
}
```
user: 下面的汇编指令对应的C源代码是什么:

```asm
<hello>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    D24(%rip),%rax
  mov    %rax,%rdx
  lea    D26(%rip),%rax
  mov    %rax,%rsi
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ctx_log_msg@plt>
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <sleep@plt>
  lea    D58(%rip),%rax
  mov    %rax,%rdx
  lea    D26(%rip),%rax
  mov    %rax,%rsi
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ctx_log_msg@plt>
  nop
  pop    %rbp
  ret
```

tool_calls: name: read_data
arguments: label: D24
datatype: string
name: read_data
arguments: label: D26
datatype: string
name: read_data
arguments: label: D45
datatype: string
name: read_data
arguments: label: D32
datatype: string
name: read_data
arguments: label: D58
datatype: string

tool: D24: START

tool: D26: saying hello

tool: D45: hello

tool: D32: hello 

tool: D58: ENDOK

assistant: ```c
void hello() {
  ctx_log_msg(__FUNCTION__, "saying hello", "START");
  printf("hello ");
  sleep(1);
  ctx_log_msg(__FUNCTION__, "saying hello", "ENDOK");
}
```
user: 这段汇编代码用C语言表示是什么样的？

```asm
<hello>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  lea    D1(%rip),%rdx
  lea    D9(%rip),%rbp
  mov    %rbp,%rsi
  lea    D5(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <ctx_log_msg@plt>
  lea    D14(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <sleep@plt>
  lea    D10(%rip),%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <ctx_log_msg@plt>
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: label: D1
type_guessed: string
name: unpack_data
arguments: label: D9
type_guessed: string
name: unpack_data
arguments: label: D5
type_guessed: string
name: unpack_data
arguments: label: D14
type_guessed: string
name: unpack_data
arguments: label: D10
type_guessed: string

tool: D1: START

tool: D9: saying hello

tool: D5: hello

tool: D14: hello 

tool: D10: ENDOK

assistant: ```c
void hello() {
  ctx_log_msg(__FUNCTION__, "saying hello", "START");
  printf("hello ");
  sleep(1);
  ctx_log_msg(__FUNCTION__, "saying hello", "ENDOK");
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<hello>:
  endbr64
  push   %r12
  lea    D27(%rip),%r12
  lea    D6(%rip),%rdx
  xor    %eax,%eax
  push   %rbp
  lea    D24(%rip),%rbp
  mov    %r12,%rsi
  mov    %rbp,%rdi
  sub    $0x8,%rsp
  call   <ctx_log_msg@plt>
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  xor    %eax,%eax
  call   <sleep@plt>
  add    $0x8,%rsp
  mov    %r12,%rsi
  mov    %rbp,%rdi
  lea    D9(%rip),%rdx
  pop    %rbp
  xor    %eax,%eax
  pop    %r12
  jmp    1080 <ctx_log_msg@plt>
```

tool_calls: name: read_data
arguments: label: D27
type_guessed: string
name: read_data
arguments: label: D6
type_guessed: string
name: read_data
arguments: label: D24
type_guessed: string
name: read_data
arguments: label: D21
type_guessed: string
name: read_data
arguments: label: D9
type_guessed: string

tool: D27: saying hello

tool: D6: START

tool: D24: hello

tool: D21: hello 

tool: D9: ENDOK

assistant: ```c
void hello() {
  ctx_log_msg(__FUNCTION__, "saying hello", "START");
  printf("hello ");
  sleep(1);
  ctx_log_msg(__FUNCTION__, "saying hello", "ENDOK");
}
```
user: What is the c source code of the assembly code below:

```asm
<hello>:
  endbr64
  push   %r12
  lea    D24(%rip),%r12
  lea    D1(%rip),%rdx
  xor    %eax,%eax
  push   %rbp
  lea    D10(%rip),%rbp
  mov    %r12,%rsi
  mov    %rbp,%rdi
  sub    $0x8,%rsp
  call   <ctx_log_msg@plt>
  lea    D7(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  xor    %eax,%eax
  call   <sleep@plt>
  add    $0x8,%rsp
  mov    %r12,%rsi
  mov    %rbp,%rdi
  lea    D4(%rip),%rdx
  pop    %rbp
  xor    %eax,%eax
  pop    %r12
  jmp    1080 <ctx_log_msg@plt>
```

tool_calls: name: read_data
arguments: data_tag: D24
type_infered: string
name: read_data
arguments: data_tag: D1
type_infered: string
name: read_data
arguments: data_tag: D10
type_infered: string
name: read_data
arguments: data_tag: D7
type_infered: string
name: read_data
arguments: data_tag: D4
type_infered: string

tool: D24: saying hello

tool: D1: START

tool: D10: hello

tool: D7: hello 

tool: D4: ENDOK

assistant: ```c
void hello() {
  ctx_log_msg(__FUNCTION__, "saying hello", "START");
  printf("hello ");
  sleep(1);
  ctx_log_msg(__FUNCTION__, "saying hello", "ENDOK");
}
```
user: Converte this assembly snippet into its equivalent C code:

```asm
<initialize>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  movl   $0x1,-0xc(%rbp)
  mov    $0x0,%eax
  call   <defaults@plt>
  mov    $0x0,%eax
  call   <wgetrc_file_name@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L17
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <run_wgetrc@plt>
  and    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  jne    L16
  mov    $0x2,%edi
  call   <exit@plt>
L16:
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <checking_free@plt>
  jmp    L5
L17:
  nop
L5:
  leave
  ret
```

assistant: ```c
void initialize(void) {
  char *file;
  int ok = 1;
  defaults();
  file = wgetrc_file_name();
  if (!file)
    return;
  ok &= run_wgetrc(file);
  if (!ok)
    exit(2);
  checking_free(file);
  return;
}
```
user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<initialize>:
  endbr64
  push   %rbx
  mov    $0x0,%eax
  call   <defaults@plt>
  mov    $0x0,%eax
  call   <wgetrc_file_name@plt>
  test   %rax,%rax
  je     L14
  mov    %rax,%rbx
  mov    %rax,%rdi
  call   <run_wgetrc@plt>
  test   $0x1,%al
  je     L1
L2:
  mov    %rbx,%rdi
  call   <checking_free@plt>
L14:
  pop    %rbx
  ret
L1:
  mov    $0x2,%edi
  call   <exit@plt>
  jmp    L2
```

assistant: ```c
void initialize(void) {
  char *file;
  int ok = 1;
  defaults();
  file = wgetrc_file_name();
  if (!file)
    return;
  ok &= run_wgetrc(file);
  if (!ok)
    exit(2);
  checking_free(file);
  return;
}
```
user: Translate the below assembly code into C programming language:

```asm
<initialize>:
  endbr64
  push   %rbp
  xor    %eax,%eax
  call   <defaults@plt>
  xor    %eax,%eax
  call   <wgetrc_file_name@plt>
  test   %rax,%rax
  je     L4
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <run_wgetrc@plt>
  test   $0x1,%al
  je     L9
  mov    %rbp,%rdi
  pop    %rbp
  jmp    10b0 <checking_free@plt>
L9:
  mov    $0x2,%edi
  call   <exit@plt>
  mov    %rbp,%rdi
  pop    %rbp
  jmp    10b0 <checking_free@plt>
  nopl   0x0(%rax,%rax,1)
L4:
  pop    %rbp
  ret
```

assistant: ```c
void initialize(void) {
  char *file;
  int ok = 1;
  defaults();
  file = wgetrc_file_name();
  if (!file)
    return;
  ok &= run_wgetrc(file);
  if (!ok)
    exit(2);
  checking_free(file);
  return;
}
```
user: 请从给定的汇编指令推导出C源代码：

```asm
<initialize>:
  endbr64
  push   %rbp
  xor    %eax,%eax
  call   <defaults@plt>
  xor    %eax,%eax
  call   <wgetrc_file_name@plt>
  test   %rax,%rax
  je     L0
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <run_wgetrc@plt>
  test   $0x1,%al
  je     L6
  mov    %rbp,%rdi
  pop    %rbp
  jmp    10b0 <checking_free@plt>
L6:
  mov    $0x2,%edi
  call   <exit@plt>
  mov    %rbp,%rdi
  pop    %rbp
  jmp    10b0 <checking_free@plt>
  nopl   0x0(%rax,%rax,1)
L0:
  pop    %rbp
  ret
```

assistant: ```c
void initialize(void) {
  char *file;
  int ok = 1;
  defaults();
  file = wgetrc_file_name();
  if (!file)
    return;
  ok &= run_wgetrc(file);
  if (!ok)
    exit(2);
  checking_free(file);
  return;
}
```
user: 请将以下的汇编代码转换成C语言代码：

```asm
<OPENCOMM_DesEncRaw>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x150,%rsp
  mov    %rdi,-0x128(%rbp)
  mov    %rsi,-0x130(%rbp)
  mov    %rdx,-0x138(%rbp)
  mov    %rcx,-0x140(%rbp)
  mov    %r8,-0x148(%rbp)
  mov    %r9,-0x150(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpq   $0x8,-0x140(%rbp)
  je     L31
  mov    $0xee20,%eax
  jmp    L15
L31:
  cmpq   $0x80,-0x130(%rbp)
  je     L43
  mov    $0xee20,%eax
  jmp    L15
L43:
  mov    -0x138(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  lea    -0x120(%rbp),%rdx
  lea    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scrunch@plt>
  mov    -0x130(%rbp),%rdx
  mov    -0x128(%rbp),%rcx
  lea    -0x110(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  lea    -0x110(%rbp),%rdx
  lea    -0x120(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <desfunc@plt>
  lea    -0x10(%rbp),%rdx
  lea    -0x120(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <unscrun@plt>
  mov    -0x10(%rbp),%rdx
  mov    -0x148(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x150(%rbp),%rax
  movq   $0x8,(%rax)
  mov    $0x0,%eax
L15:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L7
  call   <__stack_chk_fail@plt>
L7:
  leave
  ret
```

assistant: ```c
unsigned long OPENCOMM_DesEncRaw(unsigned char *pbDesEncKey, unsigned long ulDesEncKeyLen, unsigned char *pbInData, unsigned long ulInDataLen, unsigned char *pbOutData, unsigned long *ulOutDataLen) {
  unsigned long work[2], ek[32];
  unsigned char cp[8];
  if (ulInDataLen != 8)
    return 0xEE20;
  if (ulDesEncKeyLen != 128)
    return 0xEE20;
  memcpy(cp, pbInData, 8);
  scrunch(cp, work);
  memcpy(ek, pbDesEncKey, ulDesEncKeyLen);
  desfunc(work, ek);
  unscrun(work, cp);
  memcpy(pbOutData, cp, 8);
  *ulOutDataLen = 8;
  return 0;
}
```
user: 请将以下的汇编代码转换成C语言代码：

```asm
<OPENCOMM_DesEncRaw>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x120,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  cmp    $0x80,%rsi
  jne    L33
  mov    %rdi,%rbx
  mov    %r8,%rbp
  mov    %r9,%r12
  cmp    $0x8,%rcx
  je     L26
L33:
  mov    $0xee20,%eax
L39:
  mov    0x118(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L1
  add    $0x120,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L26:
  mov    (%rdx),%rax
  mov    %rax,0x110(%rsp)
  mov    %rsp,%r13
  lea    0x110(%rsp),%r14
  mov    %r13,%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <scrunch@plt>
  lea    0x10(%rsp),%rsi
  movdqu (%rbx),%xmm0
  movaps %xmm0,0x10(%rsp)
  movdqu 0x10(%rbx),%xmm1
  movaps %xmm1,0x20(%rsp)
  movdqu 0x20(%rbx),%xmm2
  movaps %xmm2,0x30(%rsp)
  movdqu 0x30(%rbx),%xmm3
  movaps %xmm3,0x40(%rsp)
  movdqu 0x40(%rbx),%xmm4
  movaps %xmm4,0x50(%rsp)
  movdqu 0x50(%rbx),%xmm5
  movaps %xmm5,0x60(%rsp)
  movdqu 0x60(%rbx),%xmm6
  movaps %xmm6,0x70(%rsp)
  movdqu 0x70(%rbx),%xmm7
  movaps %xmm7,0x80(%rsp)
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <desfunc@plt>
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <unscrun@plt>
  mov    0x110(%rsp),%rax
  mov    %rax,0x0(%rbp)
  movq   $0x8,(%r12)
  mov    $0x0,%eax
  jmp    L39
L1:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
unsigned long OPENCOMM_DesEncRaw(unsigned char *pbDesEncKey, unsigned long ulDesEncKeyLen, unsigned char *pbInData, unsigned long ulInDataLen, unsigned char *pbOutData, unsigned long *ulOutDataLen) {
  unsigned long work[2], ek[32];
  unsigned char cp[8];
  if (ulInDataLen != 8)
    return 0xEE20;
  if (ulDesEncKeyLen != 128)
    return 0xEE20;
  memcpy(cp, pbInData, 8);
  scrunch(cp, work);
  memcpy(ek, pbDesEncKey, ulDesEncKeyLen);
  desfunc(work, ek);
  unscrun(work, cp);
  memcpy(pbOutData, cp, 8);
  *ulOutDataLen = 8;
  return 0;
}
```
user: 下面的汇编指令对应的C源代码是什么：

```asm
<OPENCOMM_DesEncRaw>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x120,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  cmp    $0x80,%rsi
  jne    L1
  cmp    $0x8,%rcx
  je     L2
L1:
  mov    $0xee20,%eax
L7:
  mov    0x118(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L17
  add    $0x120,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L2:
  mov    (%rdx),%rax
  mov    %rsp,%r13
  mov    %rdi,%rbx
  mov    %r8,%r12
  lea    0x110(%rsp),%r14
  mov    %r13,%rsi
  mov    %r9,%rbp
  mov    %rax,0x110(%rsp)
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <scrunch@plt>
  movdqu (%rbx),%xmm0
  movdqu 0x10(%rbx),%xmm1
  xor    %eax,%eax
  movdqu 0x20(%rbx),%xmm2
  movdqu 0x30(%rbx),%xmm3
  lea    0x10(%rsp),%rsi
  mov    %r13,%rdi
  movdqu 0x40(%rbx),%xmm4
  movdqu 0x50(%rbx),%xmm5
  movaps %xmm0,0x10(%rsp)
  movdqu 0x60(%rbx),%xmm6
  movdqu 0x70(%rbx),%xmm7
  movaps %xmm1,0x20(%rsp)
  movaps %xmm2,0x30(%rsp)
  movaps %xmm3,0x40(%rsp)
  movaps %xmm4,0x50(%rsp)
  movaps %xmm5,0x60(%rsp)
  movaps %xmm6,0x70(%rsp)
  movaps %xmm7,0x80(%rsp)
  call   <desfunc@plt>
  mov    %r14,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <unscrun@plt>
  mov    0x110(%rsp),%rax
  mov    %rax,(%r12)
  xor    %eax,%eax
  movq   $0x8,0x0(%rbp)
  jmp    L7
L17:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
unsigned long OPENCOMM_DesEncRaw(unsigned char *pbDesEncKey, unsigned long ulDesEncKeyLen, unsigned char *pbInData, unsigned long ulInDataLen, unsigned char *pbOutData, unsigned long *ulOutDataLen) {
  unsigned long work[2], ek[32];
  unsigned char cp[8];
  if (ulInDataLen != 8)
    return 0xEE20;
  if (ulDesEncKeyLen != 128)
    return 0xEE20;
  memcpy(cp, pbInData, 8);
  scrunch(cp, work);
  memcpy(ek, pbDesEncKey, ulDesEncKeyLen);
  desfunc(work, ek);
  unscrun(work, cp);
  memcpy(pbOutData, cp, 8);
  *ulOutDataLen = 8;
  return 0;
}
```