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

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  pxor   %xmm2,%xmm2
  movss  %xmm2,0xc(%rsp)
  lea    D27(%rip),%r12
  lea    D30(%rip),%rbp
  lea    D8(%rip),%rbx
  lea    D1(%rip),%r13
  jmp    L0
L13:
  lea    D11(%rip),%rdi
  call   <puts@plt>
L61:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L35:
  pxor   %xmm0,%xmm0
  ucomiss 0x24(%rsp),%xmm0
  jp     L97
  je     L91
L97:
  movss  0x20(%rsp),%xmm0
  divss  0x24(%rsp),%xmm0
  movss  %xmm0,0xc(%rsp)
  jmp    L17
L91:
  lea    D99(%rip),%rdi
  call   <puts@plt>
  jmp    L61
  movss  0x20(%rsp),%xmm0
  addss  0x24(%rsp),%xmm0
  movss  %xmm0,0xc(%rsp)
L17:
  pxor   %xmm0,%xmm0
  cvtss2sd 0xc(%rsp),%xmm0
  lea    D86(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  cmpb   $0x31,0x1f(%rsp)
  jne    L61
L0:
  mov    %r12,%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  call   <puts@plt>
  lea    0x1f(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpb   $0x32,0x1f(%rsp)
  je     L13
  mov    %r13,%rdi
  call   <puts@plt>
  lea    0x24(%rsp),%rcx
  lea    0x1e(%rsp),%rdx
  lea    0x20(%rsp),%rsi
  lea    D69(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzbl 0x1e(%rsp),%eax
  cmp    $0x2f,%al
  je     L35
  sub    $0x25,%eax
  cmp    $0xa,%al
  ja     L26
  movzbl %al,%eax
  lea    D13(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  movss  0x20(%rsp),%xmm0
  subss  0x24(%rsp),%xmm0
  movss  %xmm0,0xc(%rsp)
  jmp    L17
  movss  0x20(%rsp),%xmm0
  mulss  0x24(%rsp),%xmm0
  movss  %xmm0,0xc(%rsp)
  jmp    L17
  cvttss2si 0x20(%rsp),%eax
  cvttss2si 0x24(%rsp),%ecx
  cltd
  idiv   %ecx
  pxor   %xmm1,%xmm1
  cvtsi2ss %edx,%xmm1
  movss  %xmm1,0xc(%rsp)
  jmp    L17
L26:
  lea    D91(%rip),%rdi
  call   <puts@plt>
  jmp    L17
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D27
type_guessed: string
name: parse_data
arguments: data_tag: D30
type_guessed: string
name: parse_data
arguments: data_tag: D8
type_guessed: string
name: parse_data
arguments: data_tag: D1
type_guessed: string
name: parse_data
arguments: data_tag: D11
type_guessed: string
name: parse_data
arguments: data_tag: D99
type_guessed: string
name: parse_data
arguments: data_tag: D86
type_guessed: string
name: parse_data
arguments: data_tag: D69
type_guessed: string
name: parse_data
arguments: data_tag: D91
type_guessed: string

tool: D27: (1) Calcular

tool: D30: (2) Sair

tool: D8:  %c

tool: D1: Escreva expressao na seguinte forma: N1 [sinal] N2

tool: D11: SAINDO

tool: D99: Operacao nao permitida, SAINDO

tool: D86: %.2f


tool: D69: %f %c %f

tool: D91: SINAL ERRADO

assistant: ```c
int main() {
  float result = 0;
  char sinal, continuar;
  float n1, n2;
  do {
    printf("(1) Calcular\n");
    printf("(2) Sair\n");
    scanf(" %c", &continuar);
    if (continuar == '2') {
      printf("SAINDO\n");
      break;
    }
    printf("Escreva expressao na seguinte forma: N1 [sinal] N2\n");
    scanf("%f %c %f", &n1, &sinal, &n2);
    if ((sinal == '/') && (n2 == 0)) {
      printf("Operacao nao permitida, SAINDO\n");
      return 0;
    } else {
      switch (sinal) {
      case '+':
        result = n1 + n2;
        break;
      case '-':
        result = n1 - n2;
        break;
      case '*':
        result = n1 * n2;
        break;
      case '/':
        result = n1 / n2;
        break;
      case '%':
        result = (int)n1 % (int)n2;
        break;
      default:
        printf("SINAL ERRADO\n");
        break;
      }
      printf("%.2f\n", result);
    }
  } while (continuar == '1');
  return 0;
}
```