user: 请从给定的汇编指令推导出C源代码:

```asm
<test_list>:
  endbr64
  push   %r15
  xor    %eax,%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <list_create@plt>
  mov    %rax,%r12
  xor    %eax,%eax
  call   <list_create@plt>
  mov    $0x190,%edi
  mov    %rax,%rbp
  call   <malloc@plt>
  xor    %edi,%edi
  test   %rax,%rax
  mov    %rax,%r13
  setne  %dil
  mov    %r13,%rbx
  call   <assert@plt>
  mov    %r13,%rdx
  xor    %eax,%eax
  nopl   0x0(%rax)
L2:
  mov    %eax,(%rdx)
  add    $0x2,%eax
  add    $0x4,%rdx
  cmp    $0xc8,%eax
  jne    L2
  mov    %r12,%rdi
  lea    D13(%rip),%r15
  lea    0x190(%r13),%r14
  call   <list_size@plt>
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <list_push@plt>
  lea    0x4(%r13),%rsi
  mov    %r12,%rdi
  call   <list_push@plt>
  lea    0x8(%r13),%rsi
  mov    %r12,%rdi
  call   <list_push@plt>
  lea    0xc(%r13),%rsi
  mov    %r12,%rdi
  call   <list_unshift@plt>
  lea    0x10(%r13),%rsi
  mov    %r12,%rdi
  call   <list_unshift@plt>
  lea    0x14(%r13),%rsi
  mov    %r12,%rdi
  call   <list_unshift@plt>
  nopw   0x0(%rax,%rax,1)
L18:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <list_push@plt>
  cmp    %rbx,%r14
  jne    L18
  mov    %r12,%rdi
  lea    D1(%rip),%r14
  call   <list_size@plt>
  mov    %r14,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <print_list@plt>
  mov    %rbp,%rdi
  call   <list_size@plt>
  lea    D4(%rip),%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <print_list@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <list_append_list@plt>
  mov    %r12,%rdi
  call   <list_size@plt>
  mov    %r14,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <print_list@plt>
  mov    %r12,%rdi
  call   <list_pop@plt>
  mov    %r12,%rdi
  call   <list_shift@plt>
  mov    %r12,%rdi
  call   <print_list@plt>
  mov    %r12,%rdi
  call   <list_size@plt>
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <list_purge@plt>
  mov    %r12,%rdi
  call   <list_size@plt>
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <list_destroy@plt>
  mov    %rbp,%rdi
  call   <list_destroy@plt>
  add    $0x8,%rsp
  mov    %r13,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1120 <free@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D13
data_type: string
name: unpack_data
arguments: data_label: D1
data_type: string
name: unpack_data
arguments: data_label: D4
data_type: string

tool: D13: Size: %u


tool: D1: Size l1: %u


tool: D4: Size l2: %u


assistant: ```c
void test_list(void) {
  struct list *l = list_create();
  struct list *l2 = list_create();
  int *array = (int *)malloc(sizeof(int) * 100);
  int i;
  assert(array != NULL);
  for (i = 0; i < 100; i++)
    array[i] = i * 2;
  printf("Size: %u\n", list_size(l));
  list_push(l, array);
  list_push(l, array + 1);
  list_push(l, array + 2);
  list_unshift(l, array + 3);
  list_unshift(l, array + 4);
  list_unshift(l, array + 5);
  for (i = 0; i < 100; i++)
    list_push(l2, array + i);
  printf("Size l1: %u\n", list_size(l));
  print_list(l);
  printf("Size l2: %u\n", list_size(l2));
  print_list(l2);
  list_append_list(l, l2);
  printf("Size l1: %u\n", list_size(l));
  print_list(l);
  (void)list_pop(l);
  (void)list_shift(l);
  print_list(l);
  printf("Size: %u\n", list_size(l));
  list_purge(l);
  printf("Size: %u\n", list_size(l));
  list_destroy(l);
  list_destroy(l2);
  free(array);
}
```