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

```asm
<printunary>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    %edx,-0x1c(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,%edi
  call   <tsize@plt>
  mov    %eax,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edi
  call   <tsize@plt>
  mov    %eax,-0x4(%rbp)
  cmpl   $0x4,-0x4(%rbp)
  je     L113
  cmpl   $0x4,-0x4(%rbp)
  jg     L226
  cmpl   $0x1,-0x4(%rbp)
  je     L196
  cmpl   $0x2,-0x4(%rbp)
  je     L53
  jmp    L226
L196:
  mov    -0x14(%rbp),%eax
  sub    $0x103,%eax
  cmp    $0x5,%eax
  ja     L12
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D218(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D218(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L290
  lea    D170(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L290
  lea    D97(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L290
  mov    -0x1c(%rbp),%eax
  and    $0x20,%eax
  test   %eax,%eax
  je     L81
  lea    D237(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D180(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D233(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D112(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L290
L81:
  lea    D143(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L290
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <error@plt>
  jmp    L290
  nop
L290:
  jmp    L12
L53:
  mov    -0x14(%rbp),%eax
  sub    $0x103,%eax
  cmp    $0x5,%eax
  ja     L272
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D18(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D18(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D227(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  cmpl   $0x1,-0x8(%rbp)
  jle    L9
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L9
  lea    D256(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L76
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L76
  mov    -0x1c(%rbp),%eax
  and    $0x20,%eax
  test   %eax,%eax
  je     L299
  lea    D237(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D180(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D233(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D112(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  cmpl   $0x1,-0x8(%rbp)
  jle    L155
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L155
L299:
  lea    D143(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  cmpl   $0x1,-0x8(%rbp)
  jle    L155
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L155
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <error@plt>
  jmp    L76
  nop
  jmp    L272
L9:
  nop
  jmp    L272
L155:
  nop
L76:
  jmp    L272
L113:
  mov    -0x14(%rbp),%eax
  sub    $0x103,%eax
  cmp    $0x5,%eax
  ja     L175
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D175(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D175(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D126(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  cmpl   $0x1,-0x8(%rbp)
  jle    L197
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L197
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L118
  lea    D219(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L118
  mov    -0x1c(%rbp),%eax
  and    $0x20,%eax
  test   %eax,%eax
  je     L205
  lea    D257(%rip),%rax
  mov    %rax,%rdi
  call   <error@plt>
L205:
  lea    D143(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D270(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  lea    D274(%rip),%rax
  mov    %rax,%rdi
  call   <output@plt>
  jmp    L118
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <error@plt>
  jmp    L118
  nop
  jmp    L175
L197:
  nop
L118:
  jmp    L175
L12:
  nop
  jmp    L226
L272:
  nop
  jmp    L226
L175:
  nop
L226:
  mov    -0x4(%rbp),%edx
  mov    -0x8(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <cast@plt>
  nop
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D32
datatype: string
name: retrieve_data
arguments: label: D170
datatype: string
name: retrieve_data
arguments: label: D97
datatype: string
name: retrieve_data
arguments: label: D237
datatype: string
name: retrieve_data
arguments: label: D180
datatype: string
name: retrieve_data
arguments: label: D233
datatype: string
name: retrieve_data
arguments: label: D112
datatype: string
name: retrieve_data
arguments: label: D143
datatype: string
name: retrieve_data
arguments: label: D19
datatype: string
name: retrieve_data
arguments: label: D227
datatype: string
name: retrieve_data
arguments: label: D1
datatype: string
name: retrieve_data
arguments: label: D256
datatype: string
name: retrieve_data
arguments: label: D81
datatype: string
name: retrieve_data
arguments: label: D126
datatype: string
name: retrieve_data
arguments: label: D50
datatype: string
name: retrieve_data
arguments: label: D219
datatype: string
name: retrieve_data
arguments: label: D257
datatype: string
name: retrieve_data
arguments: label: D270
datatype: string
name: retrieve_data
arguments: label: D55
datatype: string
name: retrieve_data
arguments: label: D274
datatype: string

tool: D32:  a?; cta 1; a^c 1;

tool: D170:  ac;

tool: D97:  anx A0;

tool: D237:  atx TBLPTRL;

tool: D180:  xtr A1,TBLPTRH;

tool: D233:  plx A0;

tool: D112:  llx A0;

tool: D143:  atx FSR0; xta INDF0;

tool: D19: internal error: &wreg

tool: D227:  a|x A1; a?; cta 1; a^c 1;

tool: D1:  xz A1;

tool: D256:  ac; xc A1;

tool: D81:  xc A1; anx A0; c?; x++ A1;

tool: D126:  a|x A1; a|x A2; a|x A3; a?; cta 1; a^c 1;

tool: D50:  ac; xc A1; xc A2; xc A3;

tool: D219:  xc A3; xc A2; xc A1; anx A0; c?; x++ A1; c?; x++ A2; c?; x++ A3;

tool: D257: internal error: *long

tool: D270:  x++ FSR0; xtr INDF0,A1;

tool: D55:  x++ FSR0; xtr INDF0,A2;

tool: D274:  x++ FSR0; xtr INDF0,A3;

assistant: ```c
void printunary(int op, int type, int argtype) {
  int sz, asz;
  sz = tsize(type);
  asz = tsize(argtype);
  switch (asz) {
  case 1:
    switch (op) {
    case 0x106:
      output(" a?; cta 1; a^c 1;");
      break;
    case 0x107:
      output(" ac;");
      break;
    case 0x105:
      output(" anx A0;");
      break;
    case 0x108:
      break;
    case 0x104:
      if (argtype & 0x20) {
        output(" atx TBLPTRL;");
        output(" xtr A1,TBLPTRH;");
        output(" plx A0;");
        output(" llx A0;");
      } else
        output(" atx FSR0; xta INDF0;");
      break;
    case 0x103:
      error("internal error: &wreg");
      break;
    }
    break;
  case 2:
    switch (op) {
    case 0x106:
      output(" a|x A1; a?; cta 1; a^c 1;");
      if (sz > 1)
        output(" xz A1;");
      break;
    case 0x107:
      output(" ac; xc A1;");
      break;
    case 0x105:
      output(" xc A1; anx A0; c?; x++ A1;");
      break;
    case 0x108:
      break;
    case 0x104:
      if (argtype & 0x20) {
        output(" atx TBLPTRL;");
        output(" xtr A1,TBLPTRH;");
        output(" plx A0;");
        output(" llx A0;");
        if (sz > 1)
          output(" xz A1;");
      } else {
        output(" atx FSR0; xta INDF0;");
        if (sz > 1)
          output(" xz A1;");
      }
      break;
    case 0x103:
      error("internal error: &wreg");
      break;
    }
    break;
  case 4:
    switch (op) {
    case 0x106:
      output(" a|x A1; a|x A2; a|x A3; a?; cta 1; a^c 1;");
      if (sz > 1)
        output(" xz A1;");
      break;
    case 0x107:
      output(" ac; xc A1; xc A2; xc A3;");
      break;
    case 0x105:
      output(" xc A3; xc A2; xc A1; anx A0; c?; x++ A1; c?; x++ A2; c?; x++ A3;");
      break;
    case 0x108:
      break;
    case 0x104:
      if (argtype & 0x20)
        error("internal error: *long");
      output(" atx FSR0; xta INDF0;");
      output(" x++ FSR0; xtr INDF0,A1;");
      output(" x++ FSR0; xtr INDF0,A2;");
      output(" x++ FSR0; xtr INDF0,A3;");
      break;
    case 0x103:
      error("internal error: &wreg");
      break;
    }
    break;
  }
  cast(sz, asz);
}
```