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

```asm
<execute_cmd>:
  endbr64
  push   %rbp
  movzbl (%rdi),%eax
  mov    %rdi,%rbp
  cmp    $0x62,%al
  je     L78
  cmp    $0x63,%al
  je     L93
  lea    D47(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L15
  xor    %edi,%edi
  pop    %rbp
  jmp    1110 <enable_tvout@plt>
  nopl   0x0(%rax)
L15:
  lea    D23(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L41
  lea    D51(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L97
  cmpb   $0x66,0x0(%rbp)
  je     L3
  lea    D80(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L52
  movzbl 0x0(%rbp),%eax
  cmp    $0x68,%al
  je     L67
  sub    $0x52,%eax
  cmp    $0x25,%al
  ja     L18
  lea    D14(%rip),%rdx
  movzbl %al,%eax
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  nopl   (%rax)
L93:
  lea    0x1(%rdi),%rsi
  pop    %rbp
  mov    $0x3,%edi
  jmp    1120 <inc_dec_cmd@plt>
  nop
L78:
  lea    0x1(%rdi),%rsi
  pop    %rbp
  mov    $0x2,%edi
  jmp    1120 <inc_dec_cmd@plt>
  nop
L41:
  pop    %rbp
  jmp    11b0 <reset_defaults@plt>
  cs nopw 0x0(%rax,%rax,1)
L52:
  pop    %rbp
  jmp    1160 <get_settings@plt>
  cs nopw 0x0(%rax,%rax,1)
L18:
  lea    D48(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L8
  xor    %edi,%edi
  pop    %rbp
  jmp    11c0 <help@plt>
  lea    0x1(%rbp),%rsi
  mov    $0x1,%edi
  pop    %rbp
  jmp    1180 <xy_cmd@plt>
  lea    0x1(%rbp),%rdi
  pop    %rbp
  jmp    1190 <dump_registers@plt>
  lea    0x1(%rbp),%rsi
  mov    $0x4,%edi
  pop    %rbp
  jmp    1120 <inc_dec_cmd@plt>
  lea    0x1(%rbp),%rdi
  pop    %rbp
  jmp    1140 <tv_standard@plt>
  lea    0x1(%rbp),%rsi
  mov    $0x2,%edi
  pop    %rbp
  jmp    1180 <xy_cmd@plt>
  lea    0x1(%rbp),%rsi
  xor    %edi,%edi
  pop    %rbp
  jmp    1120 <inc_dec_cmd@plt>
  lea    0x1(%rbp),%rdi
  pop    %rbp
  jmp    11d0 <vga_mode@plt>
  lea    0x1(%rbp),%rsi
  xor    %edi,%edi
  pop    %rbp
  jmp    1180 <xy_cmd@plt>
  lea    0x1(%rbp),%rdi
  pop    %rbp
  jmp    11a0 <write_register@plt>
  nopl   (%rax)
L97:
  mov    $0x1,%edi
  pop    %rbp
  jmp    1110 <enable_tvout@plt>
  nopl   0x0(%rax,%rax,1)
L3:
  lea    0x1(%rbp),%rsi
  mov    $0x1,%edi
  pop    %rbp
  jmp    1120 <inc_dec_cmd@plt>
L67:
  lea    0x1(%rbp),%rsi
  mov    $0x3,%edi
  pop    %rbp
  jmp    1180 <xy_cmd@plt>
L8:
  lea    D89(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L32
  mov    $0x1,%edi
  pop    %rbp
  jmp    11c0 <help@plt>
L32:
  lea    D21(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L100
  mov    $0x1,%edi
  pop    %rbp
  jmp    1130 <inc_dec_ffolat@plt>
L100:
  lea    D13(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L25
  or     $0xffffffff,%edi
  pop    %rbp
  jmp    1130 <inc_dec_ffolat@plt>
L25:
  mov    %rbp,%rsi
  lea    D2(%rip),%rdi
  pop    %rbp
  jmp    1150 <printf@plt>
```

tool_calls: name: parse_data
arguments: label: D47
datatype: string
name: parse_data
arguments: label: D23
datatype: string
name: parse_data
arguments: label: D51
datatype: string
name: parse_data
arguments: label: D80
datatype: string
name: parse_data
arguments: label: D48
datatype: string
name: parse_data
arguments: label: D89
datatype: string
name: parse_data
arguments: label: D21
datatype: string
name: parse_data
arguments: label: D13
datatype: string
name: parse_data
arguments: label: D2
datatype: string

tool: D47: d

tool: D23: def

tool: D51: e

tool: D80: g

tool: D48: ?

tool: D89: ??

tool: D21: >

tool: D13: <

tool: D2: unknown command %s


assistant: ```c
void execute_cmd(char *in) {
  if (*in == 'b')
    inc_dec_cmd(2, in + 1);
  else if (*in == 'c')
    inc_dec_cmd(3, in + 1);
  else if (strcmp(in, "d") == 0)
    enable_tvout(0);
  else if (strcmp(in, "def") == 0)
    reset_defaults();
  else if (strcmp(in, "e") == 0)
    enable_tvout(1);
  else if (*in == 'f')
    inc_dec_cmd(1, in + 1);
  else if (strcmp(in, "g") == 0)
    get_settings();
  else if (*in == 'h')
    xy_cmd(3, in + 1);
  else if (*in == 'l')
    xy_cmd(0, in + 1);
  else if (*in == 'm')
    vga_mode(in + 1);
  else if (*in == 'o')
    inc_dec_cmd(4, in + 1);
  else if (*in == 'r')
    dump_registers(in + 1);
  else if (*in == 'R')
    write_register(in + 1);
  else if (*in == 'n')
    inc_dec_cmd(0, in + 1);
  else if (*in == 's')
    tv_standard(in + 1);
  else if (*in == 't')
    xy_cmd(1, in + 1);
  else if (*in == 'w')
    xy_cmd(2, in + 1);
  else if (strcmp(in, "?") == 0)
    help(0);
  else if (strcmp(in, "??") == 0)
    help(1);
  else if (strcmp(in, ">") == 0)
    inc_dec_ffolat(1);
  else if (strcmp(in, "<") == 0)
    inc_dec_ffolat(-1);
  else
    printf("unknown command %s\n", in);
}
```