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

```asm
<main>:
  endbr64
  push   %r15
  lea    D51(%rip),%rdi
  lea    D68(%rip),%r15
  push   %r14
  lea    D69(%rip),%r14
  push   %r13
  lea    D70(%rip),%r13
  push   %r12
  lea    D81(%rip),%r12
  push   %rbp
  lea    D121(%rip),%rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    D11(%rip),%rdi
  call   <printf@plt>
  lea    D34(%rip),%rdi
  call   <printf@plt>
  lea    D108(%rip),%rdi
  call   <printf@plt>
  lea    0x14(%rsp),%rax
  movl   $0x0,0xc(%rsp)
  mov    %rax,(%rsp)
  nopl   0x0(%rax,%rax,1)
L73:
  mov    %r15,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    (%rsp),%rsi
  lea    D107(%rip),%rdi
  call   <scanf@plt>
  lea    D50(%rip),%rdi
  call   <printf@plt>
  mov    0x14(%rsp),%eax
  add    $0x1,%eax
  cmp    $0x7,%eax
  ja     L43
  movslq 0x0(%rbp,%rax,4),%rax
  add    %rbp,%rax
  notrack jmp *%rax
  nopw   0x0(%rax,%rax,1)
  mov    %ebx,%esi
  mov    $0x5,%edi
  call   <chamaMenu@plt>
  mov    %ebx,0xc(%rsp)
  mov    0x14(%rsp),%ebx
  jmp    L73
  cs nopw 0x0(%rax,%rax,1)
  mov    %ebx,%esi
  mov    $0x4,%edi
  call   <chamaMenu@plt>
  mov    %ebx,0xc(%rsp)
  mov    0x14(%rsp),%ebx
  jmp    L73
  nopl   0x0(%rax)
  mov    %ebx,%esi
  mov    $0x3,%edi
  call   <chamaMenu@plt>
  mov    %ebx,0xc(%rsp)
  mov    0x14(%rsp),%ebx
  jmp    L73
  nopl   0x0(%rax)
  mov    %ebx,%esi
  mov    $0x2,%edi
  call   <chamaMenu@plt>
  mov    %ebx,0xc(%rsp)
  mov    0x14(%rsp),%ebx
  jmp    L73
  nopl   0x0(%rax)
  mov    %ebx,%esi
  mov    $0x1,%edi
  call   <chamaMenu@plt>
  mov    %ebx,0xc(%rsp)
  mov    0x14(%rsp),%ebx
  jmp    L73
  nopl   0x0(%rax)
  lea    D72(%rip),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L57
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
  mov    0xc(%rsp),%edi
  mov    %ebx,%esi
  call   <chamaMenu@plt>
  mov    0xc(%rsp),%edx
  mov    %ebx,%eax
  mov    %eax,0xc(%rsp)
  mov    %edx,0x14(%rsp)
  mov    %edx,%ebx
  jmp    L73
  mov    %ebx,%esi
  mov    $0x6,%edi
  call   <chamaMenu@plt>
  mov    %ebx,0xc(%rsp)
  mov    0x14(%rsp),%ebx
  jmp    L73
L43:
  lea    D29(%rip),%rdi
  call   <printf@plt>
  jmp    L73
L57:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D51
type: string
name: extract_symbolic_data
arguments: tag: D68
type: string
name: extract_symbolic_data
arguments: tag: D69
type: string
name: extract_symbolic_data
arguments: tag: D70
type: string
name: extract_symbolic_data
arguments: tag: D81
type: string
name: extract_symbolic_data
arguments: tag: D11
type: string
name: extract_symbolic_data
arguments: tag: D34
type: string
name: extract_symbolic_data
arguments: tag: D108
type: string
name: extract_symbolic_data
arguments: tag: D107
type: string
name: extract_symbolic_data
arguments: tag: D50
type: string
name: extract_symbolic_data
arguments: tag: D72
type: string
name: extract_symbolic_data
arguments: tag: D29
type: string

tool: D51: 		Digite valores entre 1 e 6 para mudar de menu


tool: D68: 

Selecione o menu
 

tool: D69: 	> Menus         ~ 1 a 6


tool: D70: 	> Menu anterior ~ -1


tool: D81: 	> Sair          ~ 0


tool: D11: 		Caso queira sair, digite 0


tool: D34: 		Para voltar ao menu anterior, digite -1


tool: D108: 
----------------------------------------------


tool: D107: %d

tool: D50: 


tool: D72: Voce saiu!

tool: D29: Opcao invalida!


assistant: ```c
int main() {
  int op, atual, aux;
  aux = 0;
  atual = 0;
  printf("\t\tDigite valores entre 1 e 6 para mudar de menu\n");
  printf("\t\tCaso queira sair, digite 0\n");
  printf("\t\tPara voltar ao menu anterior, digite -1\n");
  printf("\n----------------------------------------------\n");
  while (1) {
    printf("\n\nSelecione o menu\n ");
    printf("\t> Menus         ~ 1 a 6\n");
    printf("\t> Menu anterior ~ -1\n");
    printf("\t> Sair          ~ 0\n");
    scanf("%d", &op);
    printf("\n");
    switch (op) {
    case -1:
      chamaMenu(aux, atual);
      op = aux;
      aux = atual;
      atual = op;
      break;
    case 0:
      printf("Voce saiu!");
      return 0;
      break;
    case 1:
      chamaMenu(op, atual);
      aux = atual;
      atual = op;
      break;
    case 2:
      chamaMenu(op, atual);
      aux = atual;
      atual = op;
      break;
    case 3:
      chamaMenu(op, atual);
      aux = atual;
      atual = op;
      break;
    case 4:
      chamaMenu(op, atual);
      aux = atual;
      atual = op;
      break;
    case 5:
      chamaMenu(op, atual);
      aux = atual;
      atual = op;
      break;
    case 6:
      chamaMenu(op, atual);
      aux = atual;
      atual = op;
      break;
    default:
      printf("Opcao invalida!\n");
      break;
    }
  }
  return 0;
}
```