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

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  lea    D34(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xf(%rsp),%rcx
  lea    0x14(%rsp),%rdx
  lea    0x10(%rsp),%rsi
  lea    D88(%rip),%rdi
  call   <scanf@plt>
  movzbl 0xf(%rsp),%eax
  and    $0xffffffdf,%eax
  cmp    $0x50,%al
  jne    L138
  addl   $0xc,0x10(%rsp)
L138:
  imul   $0x3c,0x10(%rsp),%eax
  add    0x14(%rsp),%eax
  cmp    $0x213,%eax
  jle    L132
  cmp    $0x276,%eax
  jle    L146
  cmp    $0x2d2,%eax
  jle    L125
  cmp    $0x323,%eax
  jle    L140
  cmp    $0x37c,%eax
  jle    L129
  cmp    $0x412,%eax
  jle    L38
  cmp    $0x4c6,%eax
  jg     L7
  lea    D60(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L146:
  lea    D75(%rip),%rdi
  call   <printf@plt>
L148:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L94
  xor    %eax,%eax
  add    $0x28,%rsp
  ret
L132:
  lea    D57(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L129:
  lea    D91(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L125:
  lea    D69(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L140:
  lea    D90(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L7:
  lea    D97(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L38:
  lea    D52(%rip),%rdi
  call   <printf@plt>
  jmp    L148
L94:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D34
type: string
name: parse_data
arguments: label: D88
type: string
name: parse_data
arguments: label: D60
type: string
name: parse_data
arguments: label: D75
type: string
name: parse_data
arguments: label: D57
type: string
name: parse_data
arguments: label: D91
type: string
name: parse_data
arguments: label: D69
type: string
name: parse_data
arguments: label: D90
type: string
name: parse_data
arguments: label: D97
type: string
name: parse_data
arguments: label: D52
type: string

tool: D34: Enter a time: 

tool: D88: %2d:%2d %c

tool: D60: Closest departure time is 7:00 p.m., arriving at 9:20 p.m.


tool: D75: Closest departure time is 9:43 a.m., arriving at 11:52 a.m.


tool: D57: Closest departure time is 8:00 a.m., arriving at 10:16 a.m.


tool: D91: Closest departure time is 2:00 p.m., arriving at 4:08 p.m.


tool: D69: Closest departure time is 11:19 a.m., arriving at 1:31 p.m.


tool: D90: Closest departure time is 12:47 p.m., arriving at 3:00 p.m.


tool: D97: Closest departure time is 9:45 p.m., arriving at 11:58 p.m.


tool: D52: Closest departure time is 3:45 p.m., arriving at 5:55 p.m.


assistant: ```c
int main(void) {
  int hh, mm, mins_since_midnight;
  char tt;
  printf("Enter a time: ");
  scanf("%2d:%2d %c", &hh, &mm, &tt);
  if (tt == 'p' || tt == 'P')
    hh += 12;
  mins_since_midnight = hh * 60 + mm;
  if (mins_since_midnight <= ((8 * 60) + (103 / 2)))
    printf("Closest departure time is 8:00 a.m., arriving at 10:16 a.m.\n");
  else if (mins_since_midnight < ((9 * 60) + 43) + (96 / 2))
    printf("Closest departure time is 9:43 a.m., arriving at 11:52 a.m.\n");
  else if (mins_since_midnight < ((11 * 60) + 19) + (88 / 2))
    printf("Closest departure time is 11:19 a.m., arriving at 1:31 p.m.\n");
  else if (mins_since_midnight <= ((12 * 60) + 47) + (73 / 2))
    printf("Closest departure time is 12:47 p.m., arriving at 3:00 p.m.\n");
  else if (mins_since_midnight <= ((14 * 60) + (105 / 2)))
    printf("Closest departure time is 2:00 p.m., arriving at 4:08 p.m.\n");
  else if (mins_since_midnight <= ((15 * 60) + 45) + (195 / 2))
    printf("Closest departure time is 3:45 p.m., arriving at 5:55 p.m.\n");
  else if (mins_since_midnight <= ((19 * 60) + (165 / 2)))
    printf("Closest departure time is 7:00 p.m., arriving at 9:20 p.m.\n");
  else
    printf("Closest departure time is 9:45 p.m., arriving at 11:58 p.m.\n");
  return 0;
}
```