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

```asm
<bitmapxpm>:
  endbr64
  push   %r15
  mov    %r8d,%eax
  lea    D44(%rip),%r15
  push   %r14
  lea    D9(%rip),%r14
  push   %r13
  push   %r12
  mov    $0xff,%r12d
  push   %rbp
  mov    $0x31,%ebp
  push   %rbx
  mov    %rsi,%rbx
  lea    D48(%rip),%rsi
  sub    $0x28,%rsp
  mov    %edi,(%rsp)
  mov    %rbx,%rdi
  mov    %rdx,0x8(%rsp)
  mov    %ecx,%edx
  mov    %ecx,0x14(%rsp)
  mov    %eax,%ecx
  xor    %eax,%eax
  mov    %r8d,0x1c(%rsp)
  mov    $0x30,%r8d
  call   <fprintf@plt>
  jmp    L15
  nop
L57:
  mov    $0x102,%edx
  sub    %r12d,%edx
  cmp    $0x34,%ebp
  jle    L94
  mov    %r14,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  mov    %rbx,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D8(%rip),%rdi
  call   <fwrite@plt>
  cmp    $0x6c,%ebp
  jg     L47
L125:
  mov    %r12d,%edx
  lea    D4(%rip),%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  add    $0x1,%ebp
  sub    $0x4,%r12d
  cmp    $0x71,%ebp
  je     L132
L15:
  mov    %ebp,%edx
  mov    %r15,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  mov    (%rsp),%edx
  test   %edx,%edx
  jne    L57
  mov    $0x3,%r13d
L120:
  cmp    $0x6c,%ebp
  jg     L45
L151:
  xor    %eax,%eax
  mov    %r12d,%edx
  mov    %r14,%rsi
  mov    %rbx,%rdi
  call   <fprintf@plt>
  sub    $0x1,%r13d
  jne    L120
  mov    %rbx,%rcx
  mov    $0x3,%edx
  mov    $0x1,%esi
  add    $0x1,%ebp
  lea    D66(%rip),%rdi
  sub    $0x4,%r12d
  call   <fwrite@plt>
  cmp    $0x71,%ebp
  jne    L15
L132:
  mov    %rbx,%rcx
  mov    $0xd,%edx
  mov    $0x1,%esi
  lea    D32(%rip),%rdi
  call   <fwrite@plt>
  movslq 0x1c(%rsp),%rax
  test   %eax,%eax
  jle    L20
  mov    %rax,(%rsp)
  lea    -0x1(%rax),%r14d
  mov    0x14(%rsp),%eax
  xor    %ebp,%ebp
  mov    0x8(%rsp),%rcx
  lea    D66(%rip),%r15
  sub    $0x1,%eax
  lea    0x8(%rcx,%rax,8),%r12
  nopl   0x0(%rax,%rax,1)
L129:
  mov    %rbx,%rsi
  mov    $0x22,%edi
  call   <fputc@plt>
  mov    0x14(%rsp),%eax
  mov    0x8(%rsp),%r13
  test   %eax,%eax
  jle    L84
  nopw   0x0(%rax,%rax,1)
L65:
  mov    0x0(%r13),%rax
  mov    %rbx,%rsi
  add    $0x8,%r13
  movsbl (%rax,%rbp,1),%edi
  call   <fputc@plt>
  cmp    %r13,%r12
  jne    L65
L84:
  cmp    %ebp,%r14d
  je     L146
  mov    %rbx,%rcx
  mov    $0x3,%edx
  mov    $0x1,%esi
  mov    %r15,%rdi
  call   <fwrite@plt>
L49:
  add    $0x1,%rbp
  cmp    %rbp,(%rsp)
  jne    L129
L20:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L45:
  mov    %rbx,%rsi
  mov    $0x30,%edi
  call   <fputc@plt>
  jmp    L151
  nopw   0x0(%rax,%rax,1)
L47:
  mov    %rbx,%rsi
  mov    $0x30,%edi
  call   <fputc@plt>
  jmp    L125
  nopw   0x0(%rax,%rax,1)
L94:
  mov    %rbx,%rsi
  mov    $0x30,%edi
  mov    %edx,0x18(%rsp)
  call   <fputc@plt>
  mov    0x18(%rsp),%edx
  mov    %r14,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <fprintf@plt>
  mov    %rbx,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D8(%rip),%rdi
  call   <fwrite@plt>
  jmp    L125
L146:
  mov    %rbx,%rcx
  mov    $0x4,%edx
  mov    $0x1,%esi
  lea    D69(%rip),%rdi
  call   <fwrite@plt>
  jmp    L49
```

tool_calls: name: parse_data
arguments: data_label: D44
data_type: string
name: parse_data
arguments: data_label: D9
data_type: string
name: parse_data
arguments: data_label: D48
data_type: string
name: parse_data
arguments: data_label: D8
data_type: string
name: parse_data
arguments: data_label: D4
data_type: string
name: parse_data
arguments: data_label: D66
data_type: string
name: parse_data
arguments: data_label: D32
data_type: string
name: parse_data
arguments: data_label: D69
data_type: string

tool: D44: "%c	c #

tool: D9: %x

tool: D48: /* XPM */
static char * bitmap [] = {
/* size height ncolors cpp [x_hot y_hot] */
"%d %d 65 1 0 0",
/* colours */
"%c	c #ffffff",


tool: D8: 00

tool: D4: %x",


tool: D66: ",


tool: D32: /* pixels */


tool: D69: "};


assistant: ```c
void bitmapxpm(int cl, FILE *fp, char **bitmap, int lx, int ly) {
  int i, j, x, y, r;
  fprintf(fp,
          "/* XPM */\n"
          "static char * bitmap [] = {\n"
          "/* size height ncolors cpp [x_hot y_hot] */\n"
          "\"%d %d 65 1 0 0\",\n"
          "/* colours */\n"
          "\"%c\tc #ffffff\",\n",
          lx, ly, 48);
  for (i = 49; i <= 112; i++) {
    fprintf(fp, "\"%c\tc #", i);
    if (cl) {
      if (i <= 52)
        fprintf(fp, "0");
      fprintf(fp, "%x", 4 * (i - 49) + 3);
      fprintf(fp, "00");
      if (i >= 109)
        fprintf(fp, "0");
      fprintf(fp, "%x\",\n", 4 * (112 - i) + 3);
    } else {
      for (j = 0; j < 3; j++) {
        if (i >= 109)
          fprintf(fp, "0");
        fprintf(fp, "%x", 4 * (112 - i) + 3);
      }
      fprintf(fp, "\",\n");
    }
  }
  fprintf(fp, "/* pixels */\n");
  for (i = 0; i < ly; i++) {
    fprintf(fp, "\"");
    for (j = 0; j < lx; j++)
      fprintf(fp, "%c", bitmap[j][i]);
    if (i == ly - 1)
      fprintf(fp, "\"};\n");
    else
      fprintf(fp, "\",\n");
  }
}
```