ylfeng/ReF-Decompile-dataset huggingface dataset:
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<div128_32>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %esi,-0x38(%rbp)
  mov    %edx,-0x3c(%rbp)
  mov    %rcx,-0x48(%rbp)
  mov    %r8,-0x50(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x24(%rbp)
  mov    -0x34(%rbp),%eax
  mov    %eax,%edi
  call   <hi_dword@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x34(%rbp),%eax
  mov    %eax,%edi
  call   <lo_dword@plt>
  mov    %eax,-0x18(%rbp)
  mov    -0x38(%rbp),%eax
  mov    %eax,%edi
  call   <hi_dword@plt>
  mov    %eax,-0x1c(%rbp)
  mov    -0x38(%rbp),%eax
  mov    %eax,%edi
  call   <lo_dword@plt>
  mov    %eax,-0x20(%rbp)
  mov    -0x14(%rbp),%eax
  lea    -0x24(%rbp),%rdx
  mov    -0x3c(%rbp),%ecx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <div_with_reminder@plt>
  mov    $0x20,%edx
  mov    %edx,%ecx
  shl    %cl,%eax
  mov    %eax,%edx
  mov    -0x48(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  lea    -0x24(%rbp),%rdx
  mov    -0x3c(%rbp),%ecx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <div_with_reminder@plt>
  mov    %eax,%edx
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    -0x48(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x1c(%rbp),%eax
  lea    -0x24(%rbp),%rdx
  mov    -0x3c(%rbp),%ecx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <div_with_reminder@plt>
  mov    $0x20,%edx
  mov    %edx,%ecx
  shl    %cl,%eax
  mov    %eax,%edx
  mov    -0x50(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x20(%rbp),%eax
  lea    -0x24(%rbp),%rdx
  mov    -0x3c(%rbp),%ecx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <div_with_reminder@plt>
  mov    %eax,%edx
  mov    -0x50(%rbp),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    -0x50(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x24(%rbp),%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L5
  call   <__stack_chk_fail@plt>
L5:
  leave
  ret
```

assistant: ```c
uint32_t div128_32(uint64_t dividend_hi, uint64_t dividend_lo, uint32_t divisor, uint64_t *quotient_hi, uint64_t *quotient_lo) {
  uint64_t dividend_dwords[4];
  uint32_t remainder = 0;
  dividend_dwords[3] = hi_dword(dividend_hi);
  dividend_dwords[2] = lo_dword(dividend_hi);
  dividend_dwords[1] = hi_dword(dividend_lo);
  dividend_dwords[0] = lo_dword(dividend_lo);
  *quotient_hi = div_with_reminder(dividend_dwords[3], divisor, &remainder) << 32;
  *quotient_hi |= div_with_reminder(dividend_dwords[2], divisor, &remainder);
  *quotient_lo = div_with_reminder(dividend_dwords[1], divisor, &remainder) << 32;
  *quotient_lo |= div_with_reminder(dividend_dwords[0], divisor, &remainder);
  return remainder;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<div128_32>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,%r14d
  mov    %esi,%r13d
  mov    %edx,%ebx
  mov    %rcx,%r12
  mov    %r8,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x14(%rsp)
  call   <hi_dword@plt>
  mov    %eax,%r15d
  mov    %r14d,%edi
  call   <lo_dword@plt>
  mov    %eax,%r14d
  mov    %r13d,%edi
  call   <hi_dword@plt>
  mov    %eax,0x8(%rsp)
  mov    %r13d,%edi
  call   <lo_dword@plt>
  mov    %eax,0xc(%rsp)
  lea    0x14(%rsp),%r13
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    %r15d,%edi
  call   <div_with_reminder@plt>
  movl   $0x0,(%r12)
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    %r14d,%edi
  call   <div_with_reminder@plt>
  or     %eax,(%r12)
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    0x8(%rsp),%edi
  call   <div_with_reminder@plt>
  movl   $0x0,0x0(%rbp)
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    0xc(%rsp),%edi
  call   <div_with_reminder@plt>
  or     %eax,0x0(%rbp)
  mov    0x14(%rsp),%eax
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L7
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L7:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
uint32_t div128_32(uint64_t dividend_hi, uint64_t dividend_lo, uint32_t divisor, uint64_t *quotient_hi, uint64_t *quotient_lo) {
  uint64_t dividend_dwords[4];
  uint32_t remainder = 0;
  dividend_dwords[3] = hi_dword(dividend_hi);
  dividend_dwords[2] = lo_dword(dividend_hi);
  dividend_dwords[1] = hi_dword(dividend_lo);
  dividend_dwords[0] = lo_dword(dividend_lo);
  *quotient_hi = div_with_reminder(dividend_dwords[3], divisor, &remainder) << 32;
  *quotient_hi |= div_with_reminder(dividend_dwords[2], divisor, &remainder);
  *quotient_lo = div_with_reminder(dividend_dwords[1], divisor, &remainder) << 32;
  *quotient_lo |= div_with_reminder(dividend_dwords[0], divisor, &remainder);
  return remainder;
}
```
user: What is the c source code of the assembly code below?

```asm
<div128_32>:
  endbr64
  push   %r15
  push   %r14
  mov    %edi,%r14d
  push   %r13
  mov    %esi,%r13d
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x14(%rsp)
  call   <hi_dword@plt>
  mov    %r14d,%edi
  mov    %eax,0xc(%rsp)
  call   <lo_dword@plt>
  mov    %r13d,%edi
  mov    %eax,0x8(%rsp)
  call   <hi_dword@plt>
  mov    %r13d,%edi
  lea    0x14(%rsp),%r13
  mov    %eax,%r15d
  call   <lo_dword@plt>
  mov    0xc(%rsp),%edi
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %eax,%r14d
  call   <div_with_reminder@plt>
  mov    0x8(%rsp),%edi
  mov    %r13,%rdx
  mov    %ebp,%esi
  movl   $0x0,(%r12)
  call   <div_with_reminder@plt>
  or     %eax,(%r12)
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %r15d,%edi
  call   <div_with_reminder@plt>
  movl   $0x0,(%rbx)
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <div_with_reminder@plt>
  or     %eax,(%rbx)
  mov    0x14(%rsp),%eax
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L7
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L7:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
uint32_t div128_32(uint64_t dividend_hi, uint64_t dividend_lo, uint32_t divisor, uint64_t *quotient_hi, uint64_t *quotient_lo) {
  uint64_t dividend_dwords[4];
  uint32_t remainder = 0;
  dividend_dwords[3] = hi_dword(dividend_hi);
  dividend_dwords[2] = lo_dword(dividend_hi);
  dividend_dwords[1] = hi_dword(dividend_lo);
  dividend_dwords[0] = lo_dword(dividend_lo);
  *quotient_hi = div_with_reminder(dividend_dwords[3], divisor, &remainder) << 32;
  *quotient_hi |= div_with_reminder(dividend_dwords[2], divisor, &remainder);
  *quotient_lo = div_with_reminder(dividend_dwords[1], divisor, &remainder) << 32;
  *quotient_lo |= div_with_reminder(dividend_dwords[0], divisor, &remainder);
  return remainder;
}
```
user: 这段汇编代码用C语言表示是什么样的：

```asm
<div128_32>:
  endbr64
  push   %r15
  push   %r14
  mov    %edi,%r14d
  push   %r13
  mov    %esi,%r13d
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x14(%rsp)
  call   <hi_dword@plt>
  mov    %r14d,%edi
  mov    %eax,0xc(%rsp)
  call   <lo_dword@plt>
  mov    %r13d,%edi
  mov    %eax,0x8(%rsp)
  call   <hi_dword@plt>
  mov    %r13d,%edi
  lea    0x14(%rsp),%r13
  mov    %eax,%r15d
  call   <lo_dword@plt>
  mov    0xc(%rsp),%edi
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %eax,%r14d
  call   <div_with_reminder@plt>
  mov    0x8(%rsp),%edi
  mov    %r13,%rdx
  mov    %ebp,%esi
  movl   $0x0,(%r12)
  call   <div_with_reminder@plt>
  or     %eax,(%r12)
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %r15d,%edi
  call   <div_with_reminder@plt>
  movl   $0x0,(%rbx)
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %r14d,%edi
  call   <div_with_reminder@plt>
  or     %eax,(%rbx)
  mov    0x14(%rsp),%eax
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L3
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L3:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
uint32_t div128_32(uint64_t dividend_hi, uint64_t dividend_lo, uint32_t divisor, uint64_t *quotient_hi, uint64_t *quotient_lo) {
  uint64_t dividend_dwords[4];
  uint32_t remainder = 0;
  dividend_dwords[3] = hi_dword(dividend_hi);
  dividend_dwords[2] = lo_dword(dividend_hi);
  dividend_dwords[1] = hi_dword(dividend_lo);
  dividend_dwords[0] = lo_dword(dividend_lo);
  *quotient_hi = div_with_reminder(dividend_dwords[3], divisor, &remainder) << 32;
  *quotient_hi |= div_with_reminder(dividend_dwords[2], divisor, &remainder);
  *quotient_lo = div_with_reminder(dividend_dwords[1], divisor, &remainder) << 32;
  *quotient_lo |= div_with_reminder(dividend_dwords[0], divisor, &remainder);
  return remainder;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<print_lan_opt_usage>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D90(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D95(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  nop
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: label: D49
data_type: string
name: retrieve_data
arguments: label: D38
data_type: string
name: retrieve_data
arguments: label: D90
data_type: string
name: retrieve_data
arguments: label: D78
data_type: string
name: retrieve_data
arguments: label: D95
data_type: string
name: retrieve_data
arguments: label: D98
data_type: string
name: retrieve_data
arguments: label: D53
data_type: string
name: retrieve_data
arguments: label: D86
data_type: string
name: retrieve_data
arguments: label: D2
data_type: string
name: retrieve_data
arguments: label: D44
data_type: string

tool: D49:        -N node  Nodename or IP address of target system


tool: D38:        -U user  Username for remote node


tool: D90:        -P/-R pswd  Remote Password


tool: D78:        -E   use password from Environment IPMI_PASSWORD


tool: D95:        -F   force driver type (e.g. imb, lan2)


tool: D98:        -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default


tool: D53:        -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd


tool: D86:        -V 2 use priVilege level: 2=user(default), 4=admin


tool: D2:        -Y   prompt for remote password


tool: D44:        -Z   set slave address of local MC


assistant: ```c
void print_lan_opt_usage(void) {
  printf("       -N node  Nodename or IP address of target system\n");
  printf("       -U user  Username for remote node\n");
  printf("       -P/-R pswd  Remote Password\n");
  printf("       -E   use password from Environment IPMI_PASSWORD\n");
  printf("       -F   force driver type (e.g. imb, lan2)\n");
  printf("       -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default\n");
  printf("       -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd\n");
  printf("       -V 2 use priVilege level: 2=user(default), 4=admin\n");
  printf("       -Y   prompt for remote password\n");
  printf("       -Z   set slave address of local MC\n");
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<print_lan_opt_usage>:
  endbr64
  sub    $0x8,%rsp
  lea    D38(%rip),%rdi
  call   <printf@plt>
  lea    D73(%rip),%rdi
  call   <printf@plt>
  lea    D2(%rip),%rdi
  call   <printf@plt>
  lea    D79(%rip),%rdi
  call   <printf@plt>
  lea    D72(%rip),%rdi
  call   <printf@plt>
  lea    D88(%rip),%rdi
  call   <printf@plt>
  lea    D60(%rip),%rdi
  call   <printf@plt>
  lea    D20(%rip),%rdi
  call   <printf@plt>
  lea    D4(%rip),%rdi
  call   <printf@plt>
  lea    D53(%rip),%rdi
  call   <printf@plt>
  add    $0x8,%rsp
  ret
```

tool_calls: name: read_data
arguments: label: D38
datatype: string
name: read_data
arguments: label: D73
datatype: string
name: read_data
arguments: label: D2
datatype: string
name: read_data
arguments: label: D79
datatype: string
name: read_data
arguments: label: D72
datatype: string
name: read_data
arguments: label: D88
datatype: string
name: read_data
arguments: label: D60
datatype: string
name: read_data
arguments: label: D20
datatype: string
name: read_data
arguments: label: D4
datatype: string
name: read_data
arguments: label: D53
datatype: string

tool: D38:        -N node  Nodename or IP address of target system


tool: D73:        -U user  Username for remote node


tool: D2:        -P/-R pswd  Remote Password


tool: D79:        -E   use password from Environment IPMI_PASSWORD


tool: D72:        -F   force driver type (e.g. imb, lan2)


tool: D88:        -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default


tool: D60:        -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd


tool: D20:        -V 2 use priVilege level: 2=user(default), 4=admin


tool: D4:        -Y   prompt for remote password


tool: D53:        -Z   set slave address of local MC


assistant: ```c
void print_lan_opt_usage(void) {
  printf("       -N node  Nodename or IP address of target system\n");
  printf("       -U user  Username for remote node\n");
  printf("       -P/-R pswd  Remote Password\n");
  printf("       -E   use password from Environment IPMI_PASSWORD\n");
  printf("       -F   force driver type (e.g. imb, lan2)\n");
  printf("       -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default\n");
  printf("       -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd\n");
  printf("       -V 2 use priVilege level: 2=user(default), 4=admin\n");
  printf("       -Y   prompt for remote password\n");
  printf("       -Z   set slave address of local MC\n");
}
```
user: What is the c source code of the assembly code below:

```asm
<print_lan_opt_usage>:
  endbr64
  sub    $0x8,%rsp
  lea    D85(%rip),%rdi
  call   <printf@plt>
  lea    D19(%rip),%rdi
  call   <printf@plt>
  lea    D65(%rip),%rdi
  call   <printf@plt>
  lea    D59(%rip),%rdi
  call   <printf@plt>
  lea    D37(%rip),%rdi
  call   <printf@plt>
  lea    D70(%rip),%rdi
  call   <printf@plt>
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    D95(%rip),%rdi
  call   <printf@plt>
  lea    D68(%rip),%rdi
  call   <printf@plt>
  lea    D11(%rip),%rdi
  add    $0x8,%rsp
  jmp    1050 <printf@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D85
datatype: string
name: extract_symbolic_data
arguments: data_tag: D19
datatype: string
name: extract_symbolic_data
arguments: data_tag: D65
datatype: string
name: extract_symbolic_data
arguments: data_tag: D59
datatype: string
name: extract_symbolic_data
arguments: data_tag: D37
datatype: string
name: extract_symbolic_data
arguments: data_tag: D70
datatype: string
name: extract_symbolic_data
arguments: data_tag: D56
datatype: string
name: extract_symbolic_data
arguments: data_tag: D95
datatype: string
name: extract_symbolic_data
arguments: data_tag: D68
datatype: string
name: extract_symbolic_data
arguments: data_tag: D11
datatype: string

tool: D85:        -N node  Nodename or IP address of target system


tool: D19:        -U user  Username for remote node


tool: D65:        -P/-R pswd  Remote Password


tool: D59:        -E   use password from Environment IPMI_PASSWORD


tool: D37:        -F   force driver type (e.g. imb, lan2)


tool: D70:        -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default


tool: D56:        -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd


tool: D95:        -V 2 use priVilege level: 2=user(default), 4=admin


tool: D68:        -Y   prompt for remote password


tool: D11:        -Z   set slave address of local MC


assistant: ```c
void print_lan_opt_usage(void) {
  printf("       -N node  Nodename or IP address of target system\n");
  printf("       -U user  Username for remote node\n");
  printf("       -P/-R pswd  Remote Password\n");
  printf("       -E   use password from Environment IPMI_PASSWORD\n");
  printf("       -F   force driver type (e.g. imb, lan2)\n");
  printf("       -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default\n");
  printf("       -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd\n");
  printf("       -V 2 use priVilege level: 2=user(default), 4=admin\n");
  printf("       -Y   prompt for remote password\n");
  printf("       -Z   set slave address of local MC\n");
}
```
user: 请从给定的汇编指令推导出C源代码：

```asm
<print_lan_opt_usage>:
  endbr64
  sub    $0x8,%rsp
  lea    D75(%rip),%rdi
  call   <printf@plt>
  lea    D82(%rip),%rdi
  call   <printf@plt>
  lea    D33(%rip),%rdi
  call   <printf@plt>
  lea    D39(%rip),%rdi
  call   <printf@plt>
  lea    D4(%rip),%rdi
  call   <printf@plt>
  lea    D34(%rip),%rdi
  call   <printf@plt>
  lea    D74(%rip),%rdi
  call   <printf@plt>
  lea    D78(%rip),%rdi
  call   <printf@plt>
  lea    D19(%rip),%rdi
  call   <printf@plt>
  lea    D70(%rip),%rdi
  add    $0x8,%rsp
  jmp    1050 <printf@plt>
```

tool_calls: name: read_data
arguments: label: D75
type_infered: string
name: read_data
arguments: label: D82
type_infered: string
name: read_data
arguments: label: D33
type_infered: string
name: read_data
arguments: label: D39
type_infered: string
name: read_data
arguments: label: D4
type_infered: string
name: read_data
arguments: label: D34
type_infered: string
name: read_data
arguments: label: D74
type_infered: string
name: read_data
arguments: label: D78
type_infered: string
name: read_data
arguments: label: D19
type_infered: string
name: read_data
arguments: label: D70
type_infered: string

tool: D75:        -N node  Nodename or IP address of target system


tool: D82:        -U user  Username for remote node


tool: D33:        -P/-R pswd  Remote Password


tool: D39:        -E   use password from Environment IPMI_PASSWORD


tool: D4:        -F   force driver type (e.g. imb, lan2)


tool: D34:        -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default


tool: D74:        -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd


tool: D78:        -V 2 use priVilege level: 2=user(default), 4=admin


tool: D19:        -Y   prompt for remote password


tool: D70:        -Z   set slave address of local MC


assistant: ```c
void print_lan_opt_usage(void) {
  printf("       -N node  Nodename or IP address of target system\n");
  printf("       -U user  Username for remote node\n");
  printf("       -P/-R pswd  Remote Password\n");
  printf("       -E   use password from Environment IPMI_PASSWORD\n");
  printf("       -F   force driver type (e.g. imb, lan2)\n");
  printf("       -J 0 use lanplus cipher suite 0: 0 thru 14, 3=default\n");
  printf("       -T 1 use auth Type: 1=MD2, 2=MD5(default), 4=Pswd\n");
  printf("       -V 2 use priVilege level: 2=user(default), 4=admin\n");
  printf("       -Y   prompt for remote password\n");
  printf("       -Z   set slave address of local MC\n");
}
```
user: What is the c source code of the assembly code below?

```asm
<fdt_subnode_offset_namelen>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %ecx,-0x20(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <fdt_check_header@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  je     L96
  mov    -0xc(%rbp),%eax
  jmp    L67
L96:
  movl   $0x0,-0x10(%rbp)
  jmp    L39
L81:
  mov    -0x10(%rbp),%eax
  cmp    $0x1,%eax
  jne    L89
  mov    -0x20(%rbp),%ecx
  mov    -0x28(%rbp),%rdx
  mov    -0x1c(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <_fdt_nodename_eq@plt>
  test   %rax,%rax
  je     L89
  mov    -0x1c(%rbp),%eax
  jmp    L67
L89:
  lea    -0x10(%rbp),%rdx
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <fdt_next_node@plt>
  mov    %eax,-0x1c(%rbp)
L39:
  cmpl   $0x0,-0x1c(%rbp)
  js     L48
  mov    -0x10(%rbp),%eax
  test   %eax,%eax
  jns    L81
L48:
  mov    -0x10(%rbp),%eax
  test   %eax,%eax
  jns    L9
  mov    $0xffffffff,%eax
  jmp    L67
L9:
  mov    -0x1c(%rbp),%eax
L67:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L12
  call   <__stack_chk_fail@plt>
L12:
  leave
  ret
```

assistant: ```c
int fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) {
  int depth;
  {
    int __err;
    if ((__err = fdt_check_header(fdt)) != 0)
      return __err;
  };
  for (depth = 0; (offset >= 0) && (depth >= 0); offset = fdt_next_node(fdt, offset, &depth))
    if ((depth == 1) && _fdt_nodename_eq(fdt, offset, name, namelen))
      return offset;
  if (depth < 0)
    return -1;
  return offset;
}
```
user: 下面的汇编指令对应的C源代码是什么：

```asm
<fdt_subnode_offset_namelen>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %rdi,%rbp
  mov    %esi,%ebx
  mov    %rdx,%r13
  mov    %ecx,%r14d
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <fdt_check_header@plt>
  test   %eax,%eax
  jne    L77
  movl   $0x0,0x4(%rsp)
  lea    0x4(%rsp),%r12
  test   %ebx,%ebx
  js     L36
L24:
  mov    %r12,%rdx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <fdt_next_node@plt>
  mov    %eax,%ebx
  mov    0x4(%rsp),%eax
  mov    %eax,%ecx
  or     %ebx,%ecx
  js     L63
  cmp    $0x1,%eax
  jne    L24
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <_fdt_nodename_eq@plt>
  test   %rax,%rax
  je     L24
  jmp    L36
L63:
  test   %eax,%eax
  mov    $0xffffffff,%eax
  cmovs  %eax,%ebx
L36:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L67
  mov    %ebx,%eax
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L77:
  mov    %eax,%ebx
  jmp    L36
L67:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) {
  int depth;
  {
    int __err;
    if ((__err = fdt_check_header(fdt)) != 0)
      return __err;
  };
  for (depth = 0; (offset >= 0) && (depth >= 0); offset = fdt_next_node(fdt, offset, &depth))
    if ((depth == 1) && _fdt_nodename_eq(fdt, offset, name, namelen))
      return offset;
  if (depth < 0)
    return -1;
  return offset;
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<fdt_subnode_offset_namelen>:
  endbr64
  push   %r14
  mov    %ecx,%r14d
  push   %r13
  mov    %rdx,%r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <fdt_check_header@plt>
  test   %eax,%eax
  jne    L0
  movl   $0x0,0x4(%rsp)
  lea    0x4(%rsp),%r12
  test   %ebp,%ebp
  js     L22
  nopl   (%rax)
L34:
  mov    %ebp,%esi
  mov    %r12,%rdx
  mov    %rbx,%rdi
  call   <fdt_next_node@plt>
  mov    %eax,%ebp
  mov    0x4(%rsp),%eax
  mov    %eax,%ecx
  or     %ebp,%ecx
  js     L67
  cmp    $0x1,%eax
  jne    L34
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %rbx,%rdi
  call   <_fdt_nodename_eq@plt>
  test   %rax,%rax
  je     L34
  nopl   0x0(%rax,%rax,1)
L22:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L43
  add    $0x10,%rsp
  mov    %ebp,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nop
L67:
  test   %eax,%eax
  mov    $0xffffffff,%eax
  cmovs  %eax,%ebp
  jmp    L22
  nopl   0x0(%rax)
L0:
  mov    %eax,%ebp
  jmp    L22
L43:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) {
  int depth;
  {
    int __err;
    if ((__err = fdt_check_header(fdt)) != 0)
      return __err;
  };
  for (depth = 0; (offset >= 0) && (depth >= 0); offset = fdt_next_node(fdt, offset, &depth))
    if ((depth == 1) && _fdt_nodename_eq(fdt, offset, name, namelen))
      return offset;
  if (depth < 0)
    return -1;
  return offset;
}
```