user: Please show me the C implementation that matches the assembly code listed below:

```asm
<macro_new_test>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xfd0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xfc8(%rsp)
  xor    %eax,%eax
  movl   $0x2a,0x10(%rsp)
  lea    0x10(%rsp),%rbp
  mov    $0x4,%esi
  mov    %rbp,%rdi
  call   <clone_memory@plt>
  movslq %eax,%rbx
  cmpl   $0x2a,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  movb   $0x4c,0x10(%rsp)
  mov    $0x1,%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <clone_memory@plt>
  movslq %eax,%rbx
  cmpb   $0x4c,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  movl   $0x0,0x20(%rsp)
  movl   $0x1,0x24(%rsp)
  movl   $0x2,0x28(%rsp)
  movl   $0x3,0x2c(%rsp)
  movl   $0x4,0x30(%rsp)
  lea    0x20(%rsp),%rbp
  mov    $0x14,%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <clone_memory@plt>
  movslq %eax,%rbx
  cmpl   $0x0,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x1,0x4(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x2,0x8(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x3,0xc(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x4,0x10(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  mov    $0x1f4,%ecx
  mov    $0x0,%eax
  mov    %rbp,%rdi
  rep stos %rax,%es:(%rdi)
  movl   $0x1,0x20(%rsp)
  mov    $0xfa0,%esi
  mov    %rbp,%rdi
  call   <clone_memory@plt>
  movslq %eax,%r12
  cmpl   $0x1,(%r12)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  lea    0x4(%r12),%rbx
  lea    0xfa0(%r12),%rbp
L29:
  cmpl   $0x0,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  add    $0x4,%rbx
  cmp    %rbp,%rbx
  jne    L29
  mov    %r12,%rdi
  call   <free@plt>
  lea    0x20(%rsp),%rdi
  mov    $0x1f4,%ecx
  mov    $0x0,%eax
  rep stos %rax,%es:(%rdi)
  lea    0x20(%rsp),%rdi
  mov    $0xfa0,%esi
  call   <clone_memory@plt>
  movslq %eax,%r12
  mov    %r12,%rbx
  lea    0xfa0(%r12),%rbp
L9:
  cmpl   $0x0,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  add    $0x4,%rbx
  cmp    %rbp,%rbx
  jne    L9
  mov    %r12,%rdi
  call   <free@plt>
  movl   $0x1,(%rsp)
  movb   $0x64,0x4(%rsp)
  mov    D13(%rip),%rax
  mov    %rax,0x8(%rsp)
  mov    %rsp,%rdi
  mov    $0x10,%esi
  mov    $0x0,%eax
  call   <clone_memory@plt>
  movslq %eax,%rbx
  cmpl   $0x1,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpb   $0x64,0x4(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x8(%rbx),%xmm0
  ucomisd D13(%rip),%xmm0
  setnp  %dil
  movzbl %dil,%edi
  mov    $0x0,%ebp
  movsd  D13(%rip),%xmm1
  ucomisd %xmm0,%xmm1
  cmovne %ebp,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  movl   $0x2a,0x10(%rsp)
  movb   $0x47,0x14(%rsp)
  mov    D10(%rip),%rax
  mov    %rax,0x18(%rsp)
  lea    0x10(%rsp),%r12
  mov    $0x10,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <clone_memory@plt>
  movslq %eax,%rbx
  cmpl   $0x2a,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpb   $0x47,0x4(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movsd  0x8(%rbx),%xmm0
  ucomisd D10(%rip),%xmm0
  setnp  %dil
  movzbl %dil,%edi
  movsd  D10(%rip),%xmm2
  ucomisd %xmm0,%xmm2
  cmovne %ebp,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  movq   $0x0,0x10(%rsp)
  movl   $0x0,0x18(%rsp)
  mov    $0xc,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <clone_memory@plt>
  movslq %eax,%rbx
  cmpl   $0x0,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x0,0x4(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x0,0x8(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  mov    0xfc8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0xfd0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D13
type_infered: f64
name: unpack_data
arguments: label: D10
type_infered: f64

tool: D13: 3.14

tool: D10: 1.23

assistant: ```c
void macro_new_test() {
  {
    int *foo = (clone_memory(&(int){42}, sizeof(int)));
    assert(*foo == 42);
    free(foo);
  }
  {
    char *c = (clone_memory(&(char){'L'}, sizeof(char)));
    assert(*c == 'L');
    free(c);
  }
  {
    int *foo = (clone_memory(&(int[5]){0, 1, 2, 3, 4}, sizeof(int[5])));
    assert(foo[0] == 0);
    assert(foo[1] == 1);
    assert(foo[2] == 2);
    assert(foo[3] == 3);
    assert(foo[4] == 4);
    free(foo);
  }
  {
    int *foo = (clone_memory(&(int[1000]){1}, sizeof(int[1000])));
    assert(foo[0] == 1);
    for (int i = 1; i < 1000; i++) {
      assert(foo[i] == 0);
    }
    free(foo);
  }
  {
    int *foo = (clone_memory(&(int[1000]){}, sizeof(int[1000])));
    for (int i = 0; i < 1000; i++) {
      assert(foo[i] == 0);
    }
    free(foo);
  }
  {
    struct foo_type {
      int a;
      char b;
      double c;
    };
    struct foo_type *foo = (clone_memory(&(struct foo_type){1, 'd', 3.14}, sizeof(struct foo_type)));
    assert(foo->a == 1);
    assert(foo->b == 'd');
    assert(foo->c == 3.14);
    free(foo);
    foo = (clone_memory(&(struct foo_type){.c = 1.23, .a = 42, .b = 'G'}, sizeof(struct foo_type)));
    assert(foo->a == 42);
    assert(foo->b == 'G');
    assert(foo->c == 1.23);
    free(foo);
  }
  {
    struct foo_type {
      int a, b, c;
    };
    struct foo_type *foo = (clone_memory(&(struct foo_type){}, sizeof(struct foo_type)));
    assert(foo->a == 0);
    assert(foo->b == 0);
    assert(foo->c == 0);
    free(foo);
  }
}
```