ylfeng/ReF-Decompile-dataset huggingface dataset:
user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<ccAddDefineString>:
  endbr64
  sub    $0x218,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x208(%rsp)
  xor    %eax,%eax
  movzbl (%rdi),%eax
  mov    %rsp,%r8
  mov    %r8,%rdx
  test   %al,%al
  jne    L18
  jmp    L58
  nopl   (%rax)
L12:
  add    $0x1,%rdi
  mov    %al,(%rdx)
  add    $0x1,%rdx
  movzbl (%rdi),%eax
  test   %al,%al
  je     L58
L18:
  cmp    $0x3d,%al
  jne    L12
L58:
  cmp    $0x3d,%al
  lea    0x100(%rsp),%rsi
  movb   $0x0,(%rdx)
  sete   %al
  mov    %rsi,%rdx
  movzbl %al,%eax
  add    %rax,%rdi
  movzbl (%rdi),%eax
  test   %al,%al
  je     L43
  nopl   (%rax)
L62:
  add    $0x1,%rdi
  mov    %al,(%rdx)
  add    $0x1,%rdx
  movzbl (%rdi),%eax
  test   %al,%al
  jne    L62
L43:
  movb   $0x0,(%rdx)
  mov    %r8,%rdi
  call   <BASM_PP_AddStaticDefine@plt>
  mov    0x208(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L33
  add    $0x218,%rsp
  ret
L33:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void ccAddDefineString(char *str) {
  char tb[256], tb2[256];
  char *s, *t;
  s = str;
  t = tb;
  while (*s && (*s != '='))
    *t++ = *s++;
  *t++ = 0;
  if (*s == '=')
    s++;
  t = tb2;
  while (*s)
    *t++ = *s++;
  *t++ = 0;
  BASM_PP_AddStaticDefine(tb, tb2);
}
```
user: 下面的汇编指令对应的C源代码是什么：

```asm
<ccAddDefineString>:
  endbr64
  sub    $0x218,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x208(%rsp)
  xor    %eax,%eax
  movzbl (%rdi),%eax
  mov    %rsp,%r8
  mov    %r8,%rdx
  test   %al,%al
  jne    L8
  jmp    L21
  nopl   (%rax)
L53:
  add    $0x1,%rdi
  mov    %al,(%rdx)
  add    $0x1,%rdx
  movzbl (%rdi),%eax
  test   %al,%al
  je     L21
L8:
  cmp    $0x3d,%al
  jne    L53
L21:
  movb   $0x0,(%rdx)
  cmp    $0x3d,%al
  jne    L75
  movzbl 0x1(%rdi),%eax
  add    $0x1,%rdi
L75:
  lea    0x100(%rsp),%rsi
  mov    %rsi,%rdx
  test   %al,%al
  je     L77
  nopl   0x0(%rax,%rax,1)
L12:
  add    $0x1,%rdi
  mov    %al,(%rdx)
  add    $0x1,%rdx
  movzbl (%rdi),%eax
  test   %al,%al
  jne    L12
L77:
  movb   $0x0,(%rdx)
  mov    %r8,%rdi
  call   <BASM_PP_AddStaticDefine@plt>
  mov    0x208(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L22
  add    $0x218,%rsp
  ret
L22:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void ccAddDefineString(char *str) {
  char tb[256], tb2[256];
  char *s, *t;
  s = str;
  t = tb;
  while (*s && (*s != '='))
    *t++ = *s++;
  *t++ = 0;
  if (*s == '=')
    s++;
  t = tb2;
  while (*s)
    *t++ = *s++;
  *t++ = 0;
  BASM_PP_AddStaticDefine(tb, tb2);
}
```
user: 这段汇编代码用C语言表示是什么样的?

```asm
<AES_128_ASSIST>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    -0x18(%rbp),%eax
  mov    $0xff,%esi
  mov    %eax,%edi
  call   <_mm_shuffle_epi32@plt>
  mov    %eax,-0x18(%rbp)
  mov    -0x14(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <_mm_slli_si128@plt>
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x4(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <_mm_slli_si128@plt>
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x4(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <_mm_slli_si128@plt>
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  leave
  ret
```

assistant: ```c
__m128i AES_128_ASSIST(__m128i temp1, __m128i temp2) {
  __m128i temp3;
  temp2 = _mm_shuffle_epi32(temp2, 0xff);
  temp3 = _mm_slli_si128(temp1, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp1 = _mm_xor_si128(temp1, temp2);
  return temp1;
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<AES_128_ASSIST>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%ebp
  mov    %esi,%edi
  mov    $0xff,%esi
  call   <_mm_shuffle_epi32@plt>
  mov    %eax,%r12d
  mov    $0x4,%esi
  mov    %ebp,%edi
  call   <_mm_slli_si128@plt>
  mov    %eax,%ebx
  mov    %eax,%esi
  mov    %ebp,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,%ebp
  mov    $0x4,%esi
  mov    %ebx,%edi
  call   <_mm_slli_si128@plt>
  mov    %eax,%ebx
  mov    %eax,%esi
  mov    %ebp,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,%ebp
  mov    $0x4,%esi
  mov    %ebx,%edi
  call   <_mm_slli_si128@plt>
  mov    %eax,%esi
  mov    %ebp,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,%edi
  mov    %r12d,%esi
  call   <_mm_xor_si128@plt>
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
```

assistant: ```c
__m128i AES_128_ASSIST(__m128i temp1, __m128i temp2) {
  __m128i temp3;
  temp2 = _mm_shuffle_epi32(temp2, 0xff);
  temp3 = _mm_slli_si128(temp1, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp1 = _mm_xor_si128(temp1, temp2);
  return temp1;
}
```
user: 请将以下的汇编代码转换成C语言代码：

```asm
<AES_128_ASSIST>:
  endbr64
  push   %r13
  push   %r12
  mov    %edi,%r12d
  mov    %esi,%edi
  mov    $0xff,%esi
  push   %rbp
  call   <_mm_shuffle_epi32@plt>
  mov    %r12d,%edi
  mov    $0x4,%esi
  mov    %eax,%r13d
  call   <_mm_slli_si128@plt>
  mov    %r12d,%edi
  mov    %eax,%ebp
  mov    %eax,%esi
  call   <_mm_xor_si128@plt>
  mov    %ebp,%edi
  mov    $0x4,%esi
  mov    %eax,%r12d
  call   <_mm_slli_si128@plt>
  mov    %r12d,%edi
  mov    %eax,%ebp
  mov    %eax,%esi
  call   <_mm_xor_si128@plt>
  mov    %ebp,%edi
  mov    $0x4,%esi
  mov    %eax,%r12d
  call   <_mm_slli_si128@plt>
  mov    %r12d,%edi
  mov    %eax,%esi
  call   <_mm_xor_si128@plt>
  pop    %rbp
  mov    %r13d,%esi
  pop    %r12
  mov    %eax,%edi
  pop    %r13
  jmp    1070 <_mm_xor_si128@plt>
```

assistant: ```c
__m128i AES_128_ASSIST(__m128i temp1, __m128i temp2) {
  __m128i temp3;
  temp2 = _mm_shuffle_epi32(temp2, 0xff);
  temp3 = _mm_slli_si128(temp1, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp1 = _mm_xor_si128(temp1, temp2);
  return temp1;
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<AES_128_ASSIST>:
  endbr64
  push   %r13
  push   %r12
  mov    %edi,%r12d
  mov    %esi,%edi
  mov    $0xff,%esi
  push   %rbp
  call   <_mm_shuffle_epi32@plt>
  mov    %r12d,%edi
  mov    $0x4,%esi
  mov    %eax,%r13d
  call   <_mm_slli_si128@plt>
  mov    %r12d,%edi
  mov    %eax,%ebp
  mov    %eax,%esi
  call   <_mm_xor_si128@plt>
  mov    %ebp,%edi
  mov    $0x4,%esi
  mov    %eax,%r12d
  call   <_mm_slli_si128@plt>
  mov    %r12d,%edi
  mov    %eax,%ebp
  mov    %eax,%esi
  call   <_mm_xor_si128@plt>
  mov    %ebp,%edi
  mov    $0x4,%esi
  mov    %eax,%r12d
  call   <_mm_slli_si128@plt>
  mov    %r12d,%edi
  mov    %eax,%esi
  call   <_mm_xor_si128@plt>
  pop    %rbp
  mov    %r13d,%esi
  pop    %r12
  mov    %eax,%edi
  pop    %r13
  jmp    1070 <_mm_xor_si128@plt>
```

assistant: ```c
__m128i AES_128_ASSIST(__m128i temp1, __m128i temp2) {
  __m128i temp3;
  temp2 = _mm_shuffle_epi32(temp2, 0xff);
  temp3 = _mm_slli_si128(temp1, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp3 = _mm_slli_si128(temp3, 0x4);
  temp1 = _mm_xor_si128(temp1, temp3);
  temp1 = _mm_xor_si128(temp1, temp2);
  return temp1;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  lea    D19(%rip),%rdi
  call   <WSQ_Init@plt>
  lea    D60(%rip),%rdi
  call   <WSQ_SetQueryName@plt>
  mov    $0x63,%edi
  call   <WSQ_BeginTransaction@plt>
  mov    $0xb,%edi
  call   <WSQ_BeginSubgraph@plt>
  lea    D5(%rip),%r8
  lea    D62(%rip),%r12
  mov    %r12,%rcx
  lea    D1(%rip),%rbx
  mov    %rbx,%rdx
  lea    D34(%rip),%rsi
  mov    $0x1,%edi
  call   <WSQ_AddOp@plt>
  lea    D29(%rip),%r8
  lea    D61(%rip),%rbp
  mov    %rbp,%rcx
  mov    %r12,%rdx
  lea    D98(%rip),%rsi
  mov    $0x2,%edi
  call   <WSQ_AddOp@plt>
  mov    %rbx,%r8
  mov    %rbx,%rcx
  mov    %rbp,%rdx
  lea    D116(%rip),%rsi
  mov    $0x3,%edi
  call   <WSQ_AddOp@plt>
  mov    $0x0,%eax
  call   <WSQ_EndSubgraph@plt>
  mov    $0x0,%eax
  call   <WSQ_EndTransaction@plt>
  mov    $0x2,%edi
  call   <sleep@plt>
  lea    D86(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <WSQ_Shutdown@plt>
  lea    D20(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D19
type_infered: string
name: disassemble_data
arguments: data_tag: D60
type_infered: string
name: disassemble_data
arguments: data_tag: D5
type_infered: string
name: disassemble_data
arguments: data_tag: D62
type_infered: string
name: disassemble_data
arguments: data_tag: D1
type_infered: string
name: disassemble_data
arguments: data_tag: D34
type_infered: string
name: disassemble_data
arguments: data_tag: D29
type_infered: string
name: disassemble_data
arguments: data_tag: D61
type_infered: string
name: disassemble_data
arguments: data_tag: D98
type_infered: string
name: disassemble_data
arguments: data_tag: D116
type_infered: string
name: disassemble_data
arguments: data_tag: D86
type_infered: string
name: disassemble_data
arguments: data_tag: D20
type_infered: string

tool: D19: 5_MatchRecognize_rare_hits.out

tool: D60: generated_query_5

tool: D5: 100000 |foobar.schema

tool: D62: 100

tool: 

tool: D34: NonRandomSource

tool: D29: ALL | A B C | A AS ((VOLUME % 2480) == 2479), B AS (SYM = "IBM"), C AS (PRICE > 10)

tool: D61: 200

tool: D98: MatchRecognize

tool: D116: Printer

tool: D86: 
 ******* Query successfully ran for 3 seconds, shutting down...


tool: D20: Shutdown apparently successful.


assistant: ```c
int main(int argc, char *argv[]) {
  WSQ_Init("5_MatchRecognize_rare_hits.out");
  WSQ_SetQueryName("generated_query_5");
  WSQ_BeginTransaction(99);
  WSQ_BeginSubgraph(11);
  WSQ_AddOp(1, "NonRandomSource", "", "100", "100000 |foobar.schema");
  WSQ_AddOp(2, "MatchRecognize", "100", "200", "ALL | A B C | A AS ((VOLUME % 2480) == 2479), B AS (SYM = \"IBM\"), C AS (PRICE > 10)");
  WSQ_AddOp(3, "Printer", "200", "", "");
  WSQ_EndSubgraph();
  WSQ_EndTransaction();
  sleep(2);
  printf("\n ******* Query successfully ran for 3 seconds, shutting down...\n");
  WSQ_Shutdown();
  printf("Shutdown apparently successful.\n");
  return 0;
}
```
user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %r14
  lea    D102(%rip),%rdi
  lea    D12(%rip),%r14
  push   %r13
  lea    D71(%rip),%r13
  push   %r12
  lea    D70(%rip),%r12
  call   <WSQ_Init@plt>
  lea    D38(%rip),%rdi
  call   <WSQ_SetQueryName@plt>
  mov    $0x63,%edi
  call   <WSQ_BeginTransaction@plt>
  mov    $0xb,%edi
  call   <WSQ_BeginSubgraph@plt>
  mov    %r14,%rcx
  mov    %r12,%rdx
  mov    $0x1,%edi
  lea    D96(%rip),%r8
  lea    D88(%rip),%rsi
  call   <WSQ_AddOp@plt>
  mov    %r13,%rcx
  mov    %r14,%rdx
  mov    $0x2,%edi
  lea    D41(%rip),%r8
  lea    D75(%rip),%rsi
  call   <WSQ_AddOp@plt>
  mov    %r12,%r8
  mov    %r12,%rcx
  mov    %r13,%rdx
  lea    D2(%rip),%rsi
  mov    $0x3,%edi
  call   <WSQ_AddOp@plt>
  xor    %eax,%eax
  call   <WSQ_EndSubgraph@plt>
  xor    %eax,%eax
  call   <WSQ_EndTransaction@plt>
  mov    $0x2,%edi
  call   <sleep@plt>
  lea    D64(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <WSQ_Shutdown@plt>
  lea    D35(%rip),%rdi
  call   <printf@plt>
  pop    %r12
  xor    %eax,%eax
  pop    %r13
  pop    %r14
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D102
type_guessed: string
name: retrieve_data
arguments: data_label: D12
type_guessed: string
name: retrieve_data
arguments: data_label: D71
type_guessed: string
name: retrieve_data
arguments: data_label: D70
type_guessed: string
name: retrieve_data
arguments: data_label: D38
type_guessed: string
name: retrieve_data
arguments: data_label: D96
type_guessed: string
name: retrieve_data
arguments: data_label: D88
type_guessed: string
name: retrieve_data
arguments: data_label: D41
type_guessed: string
name: retrieve_data
arguments: data_label: D75
type_guessed: string
name: retrieve_data
arguments: data_label: D2
type_guessed: string
name: retrieve_data
arguments: data_label: D64
type_guessed: string
name: retrieve_data
arguments: data_label: D35
type_guessed: string

tool: D102: 5_MatchRecognize_rare_hits.out

tool: D12: 100

tool: D71: 200

tool: 

tool: D38: generated_query_5

tool: D96: 100000 |foobar.schema

tool: D88: NonRandomSource

tool: D41: ALL | A B C | A AS ((VOLUME % 2480) == 2479), B AS (SYM = "IBM"), C AS (PRICE > 10)

tool: D75: MatchRecognize

tool: D2: Printer

tool: D64: 
 ******* Query successfully ran for 3 seconds, shutting down...


tool: D35: Shutdown apparently successful.


assistant: ```c
int main(int argc, char *argv[]) {
  WSQ_Init("5_MatchRecognize_rare_hits.out");
  WSQ_SetQueryName("generated_query_5");
  WSQ_BeginTransaction(99);
  WSQ_BeginSubgraph(11);
  WSQ_AddOp(1, "NonRandomSource", "", "100", "100000 |foobar.schema");
  WSQ_AddOp(2, "MatchRecognize", "100", "200", "ALL | A B C | A AS ((VOLUME % 2480) == 2479), B AS (SYM = \"IBM\"), C AS (PRICE > 10)");
  WSQ_AddOp(3, "Printer", "200", "", "");
  WSQ_EndSubgraph();
  WSQ_EndTransaction();
  sleep(2);
  printf("\n ******* Query successfully ran for 3 seconds, shutting down...\n");
  WSQ_Shutdown();
  printf("Shutdown apparently successful.\n");
  return 0;
}
```
user: 这段汇编代码用C语言表示是什么样的:

```asm
<main>:
  endbr64
  push   %r14
  lea    D82(%rip),%rdi
  lea    D106(%rip),%r14
  push   %r13
  lea    D29(%rip),%r13
  push   %r12
  lea    D103(%rip),%r12
  call   <WSQ_Init@plt>
  lea    D15(%rip),%rdi
  call   <WSQ_SetQueryName@plt>
  mov    $0x63,%edi
  call   <WSQ_BeginTransaction@plt>
  mov    $0xb,%edi
  call   <WSQ_BeginSubgraph@plt>
  mov    %r14,%rcx
  mov    %r12,%rdx
  mov    $0x1,%edi
  lea    D92(%rip),%r8
  lea    D57(%rip),%rsi
  call   <WSQ_AddOp@plt>
  mov    %r13,%rcx
  mov    %r14,%rdx
  mov    $0x2,%edi
  lea    D107(%rip),%r8
  lea    D50(%rip),%rsi
  call   <WSQ_AddOp@plt>
  mov    %r12,%r8
  mov    %r12,%rcx
  mov    %r13,%rdx
  lea    D111(%rip),%rsi
  mov    $0x3,%edi
  call   <WSQ_AddOp@plt>
  xor    %eax,%eax
  call   <WSQ_EndSubgraph@plt>
  xor    %eax,%eax
  call   <WSQ_EndTransaction@plt>
  mov    $0x2,%edi
  call   <sleep@plt>
  lea    D35(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <WSQ_Shutdown@plt>
  lea    D22(%rip),%rdi
  call   <printf@plt>
  pop    %r12
  xor    %eax,%eax
  pop    %r13
  pop    %r14
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D82
type: string
name: disassemble_data
arguments: data_label: D106
type: string
name: disassemble_data
arguments: data_label: D29
type: string
name: disassemble_data
arguments: data_label: D103
type: string
name: disassemble_data
arguments: data_label: D15
type: string
name: disassemble_data
arguments: data_label: D92
type: string
name: disassemble_data
arguments: data_label: D57
type: string
name: disassemble_data
arguments: data_label: D107
type: string
name: disassemble_data
arguments: data_label: D50
type: string
name: disassemble_data
arguments: data_label: D111
type: string
name: disassemble_data
arguments: data_label: D35
type: string
name: disassemble_data
arguments: data_label: D22
type: string

tool: D82: 5_MatchRecognize_rare_hits.out

tool: D106: 100

tool: D29: 200

tool: 

tool: D15: generated_query_5

tool: D92: 100000 |foobar.schema

tool: D57: NonRandomSource

tool: D107: ALL | A B C | A AS ((VOLUME % 2480) == 2479), B AS (SYM = "IBM"), C AS (PRICE > 10)

tool: D50: MatchRecognize

tool: D111: Printer

tool: D35: 
 ******* Query successfully ran for 3 seconds, shutting down...


tool: D22: Shutdown apparently successful.


assistant: ```c
int main(int argc, char *argv[]) {
  WSQ_Init("5_MatchRecognize_rare_hits.out");
  WSQ_SetQueryName("generated_query_5");
  WSQ_BeginTransaction(99);
  WSQ_BeginSubgraph(11);
  WSQ_AddOp(1, "NonRandomSource", "", "100", "100000 |foobar.schema");
  WSQ_AddOp(2, "MatchRecognize", "100", "200", "ALL | A B C | A AS ((VOLUME % 2480) == 2479), B AS (SYM = \"IBM\"), C AS (PRICE > 10)");
  WSQ_AddOp(3, "Printer", "200", "", "");
  WSQ_EndSubgraph();
  WSQ_EndTransaction();
  sleep(2);
  printf("\n ******* Query successfully ran for 3 seconds, shutting down...\n");
  WSQ_Shutdown();
  printf("Shutdown apparently successful.\n");
  return 0;
}
```
user: 请将以下的汇编代码转换成C语言代码：

```asm
<set_pmu_sleep_clk_init>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    $0xe204,%edx
  mov    $0x17,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe204,%edx
  mov    $0x17,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe24a,%edx
  mov    $0x18,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0x2221,%edx
  mov    $0x19,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0x2848,%edx
  mov    $0x1a,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe226,%edx
  mov    $0x15,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe88f,%edx
  mov    $0x16,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xaac,%edx
  mov    $0x5,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0x1,%edx
  mov    $0x36,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  nop
  pop    %rbp
  ret
```

assistant: ```c
void set_pmu_sleep_clk_init() {
  mbus_remote_register_write(0x6, 0x17, ((3 << 14) | (1 << 13) | (1 << 9) | (0 << 5) | (4)));
  delay(100);
  mbus_remote_register_write(0x6, 0x17, ((3 << 14) | (1 << 13) | (1 << 9) | (0 << 5) | (4)));
  delay(100);
  mbus_remote_register_write(0x6, 0x18, ((3 << 14) | (1 << 13) | (1 << 9) | (2 << 5) | (10)));
  delay(100);
  mbus_remote_register_write(0x6, 0x19, ((1 << 13) | (1 << 9) | (1 << 5) | (1)));
  delay(100);
  mbus_remote_register_write(0x6, 0x1A, ((1 << 13) | (4 << 9) | (2 << 5) | (8)));
  delay(100);
  mbus_remote_register_write(0x6, 0x15, ((0 << 19) | (0 << 18) | (0 << 17) | (3 << 14) | (1 << 13) | (1 << 9) | (1 << 5) | (6)));
  delay(100);
  mbus_remote_register_write(0x6, 0x16, ((0 << 19) | (0 << 18) | (0 << 17) | (3 << 14) | (1 << 13) | (4 << 9) | (4 << 5) | (15)));
  delay(100);
  mbus_remote_register_write(0x6, 0x05, ((1 << 11) | (0 << 10) | (1 << 9) | (0 << 8) | (1 << 7) | (44)));
  delay(100);
  mbus_remote_register_write(0x6, 0x36, 0x000001);
  delay(100);
}
```
user: What would the C source look like for the assembly code provided here?

```asm
<set_pmu_sleep_clk_init>:
  endbr64
  sub    $0x8,%rsp
  mov    $0xe204,%edx
  mov    $0x17,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe204,%edx
  mov    $0x17,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe24a,%edx
  mov    $0x18,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0x2221,%edx
  mov    $0x19,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0x2848,%edx
  mov    $0x1a,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe226,%edx
  mov    $0x15,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xe88f,%edx
  mov    $0x16,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0xaac,%edx
  mov    $0x5,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  mov    $0x1,%edx
  mov    $0x36,%esi
  mov    $0x6,%edi
  call   <mbus_remote_register_write@plt>
  mov    $0x64,%edi
  call   <delay@plt>
  add    $0x8,%rsp
  ret
```

assistant: ```c
void set_pmu_sleep_clk_init() {
  mbus_remote_register_write(0x6, 0x17, ((3 << 14) | (1 << 13) | (1 << 9) | (0 << 5) | (4)));
  delay(100);
  mbus_remote_register_write(0x6, 0x17, ((3 << 14) | (1 << 13) | (1 << 9) | (0 << 5) | (4)));
  delay(100);
  mbus_remote_register_write(0x6, 0x18, ((3 << 14) | (1 << 13) | (1 << 9) | (2 << 5) | (10)));
  delay(100);
  mbus_remote_register_write(0x6, 0x19, ((1 << 13) | (1 << 9) | (1 << 5) | (1)));
  delay(100);
  mbus_remote_register_write(0x6, 0x1A, ((1 << 13) | (4 << 9) | (2 << 5) | (8)));
  delay(100);
  mbus_remote_register_write(0x6, 0x15, ((0 << 19) | (0 << 18) | (0 << 17) | (3 << 14) | (1 << 13) | (1 << 9) | (1 << 5) | (6)));
  delay(100);
  mbus_remote_register_write(0x6, 0x16, ((0 << 19) | (0 << 18) | (0 << 17) | (3 << 14) | (1 << 13) | (4 << 9) | (4 << 5) | (15)));
  delay(100);
  mbus_remote_register_write(0x6, 0x05, ((1 << 11) | (0 << 10) | (1 << 9) | (0 << 8) | (1 << 7) | (44)));
  delay(100);
  mbus_remote_register_write(0x6, 0x36, 0x000001);
  delay(100);
}
```