user: Demonstrate the C code that generates the assembly output below:

```asm
<emit_regsave_area>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  movl   $0xfffffed0,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,%edx
  lea    D101(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5d9,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  addl   $0x8,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,%edx
  lea    D60(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5da,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  addl   $0x8,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,%edx
  lea    D26(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5db,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  addl   $0x8,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,%edx
  lea    D77(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5dc,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  addl   $0x8,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,%edx
  lea    D5(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5dd,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  mov    -0x10(%rbp),%eax
  add    $0x8,%eax
  mov    %eax,%edx
  lea    D41(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5de,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  mov    $0x0,%eax
  call   <make_label@plt>
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L1
L9:
  lea    D82(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5e1,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdx
  lea    D18(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5e2,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  addl   $0x10,-0x10(%rbp)
  mov    -0x10(%rbp),%edx
  mov    -0xc(%rbp),%eax
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D106(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5e3,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  lea    D46(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5e4,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  addl   $0x1,-0xc(%rbp)
L1:
  cmpl   $0xf,-0xc(%rbp)
  jle    L9
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <emit_label@plt>
  mov    $0x130,%edx
  lea    D108(%rip),%rax
  mov    %rax,%rsi
  mov    $0x5e7,%edi
  mov    $0x0,%eax
  call   <emitf@plt>
  mov    $0x130,%eax
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D101
type: string
name: unpack_data
arguments: label: D60
type: string
name: unpack_data
arguments: label: D26
type: string
name: unpack_data
arguments: label: D77
type: string
name: unpack_data
arguments: label: D5
type: string
name: unpack_data
arguments: label: D41
type: string
name: unpack_data
arguments: label: D82
type: string
name: unpack_data
arguments: label: D18
type: string
name: unpack_data
arguments: label: D106
type: string
name: unpack_data
arguments: label: D46
type: string
name: unpack_data
arguments: label: D108
type: string

tool: D101: 	mov %%rdi, %d(%%rsp)

tool: D60: 	mov %%rsi, %d(%%rsp)

tool: D26: 	mov %%rdx, %d(%%rsp)

tool: D77: 	mov %%rcx, %d(%%rsp)

tool: D5: 	mov %%r8, %d(%%rsp)

tool: D41: 	mov %%r9, %d(%%rsp)

tool: D82: 	test %%al, %%al

tool: D18: 	jz %s

tool: D106: 	movsd %%xmm%d, %d(%%rsp)

tool: D46: 	sub $1, %%al

tool: D108: 	sub $%d, %%rsp

assistant: ```c
int emit_regsave_area(void) {
  int pos = -304;
  emitf(1497,
        "\t"
        "mov %%rdi, %d(%%rsp)",
        pos);
  emitf(1498,
        "\t"
        "mov %%rsi, %d(%%rsp)",
        (pos += 8));
  emitf(1499,
        "\t"
        "mov %%rdx, %d(%%rsp)",
        (pos += 8));
  emitf(1500,
        "\t"
        "mov %%rcx, %d(%%rsp)",
        (pos += 8));
  emitf(1501,
        "\t"
        "mov %%r8, %d(%%rsp)",
        (pos += 8));
  emitf(1502,
        "\t"
        "mov %%r9, %d(%%rsp)",
        pos + 8);
  char *end = make_label();
  for (int i = 0; i < 16; i++) {
    emitf(1505, "\t"
                "test %%al, %%al");
    emitf(1506,
          "\t"
          "jz %s",
          end);
    emitf(1507,
          "\t"
          "movsd %%xmm%d, %d(%%rsp)",
          i, (pos += 16));
    emitf(1508, "\t"
                "sub $1, %%al");
  }
  emit_label(end);
  emitf(1511,
        "\t"
        "sub $%d, %%rsp",
        304);
  return 304;
}
```