user: 这段汇编代码用C语言表示是什么样的？

```asm
<submenu>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edx,0x8(%rsp)
  mov    %ecx,0xc(%rsp)
  mov    %rdi,(%rsp)
  lea    D39(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    D45(%rip),%rdi
  call   <puts@plt>
  lea    D31(%rip),%rdi
  call   <puts@plt>
  lea    D56(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D2(%rip),%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x1,%eax
  je     L4
  cmp    $0x2,%eax
  je     L60
L88:
  test   %eax,%eax
  je     L21
L103:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L22
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L4:
  mov    0x8(%rsp),%edx
  test   %edx,%edx
  jle    L103
  mov    (%rsp),%rbx
  xor    %ebp,%ebp
  xor    %r14d,%r14d
  lea    D27(%rip),%r13
L35:
  mov    (%rbx),%edx
  add    $0x1,%r14d
  lea    D43(%rip),%rdi
  xor    %eax,%eax
  mov    %r14d,%esi
  call   <printf@plt>
  mov    (%rbx),%eax
  test   %eax,%eax
  jle    L106
  lea    0x1(%rbp),%edx
  movslq %edx,%r15
  nopl   0x0(%rax,%rax,1)
L6:
  mov    -0x4(%r12,%r15,4),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r15d,%ecx
  add    $0x1,%r15
  mov    %r15d,%eax
  sub    %ebp,%eax
  sub    $0x1,%eax
  cmp    %eax,(%rbx)
  jg     L6
  mov    %ecx,%ebp
L106:
  lea    D55(%rip),%rdi
  add    $0x4,%rbx
  call   <puts@plt>
  cmp    0x8(%rsp),%r14d
  jne    L35
  mov    0x14(%rsp),%eax
  cmp    $0x2,%eax
  jne    L88
L60:
  mov    0xc(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %r12,%rsi
  mov    (%rsp),%rdi
  call   <euleriano@plt>
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jne    L103
L21:
  call   <limpa@plt>
  jmp    L103
L22:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D39
datatype: string
name: unpack_data
arguments: label: D45
datatype: string
name: unpack_data
arguments: label: D31
datatype: string
name: unpack_data
arguments: label: D56
datatype: string
name: unpack_data
arguments: label: D2
datatype: string
name: unpack_data
arguments: label: D27
datatype: string
name: unpack_data
arguments: label: D43
datatype: string
name: unpack_data
arguments: label: D55
datatype: string

tool: D39: Digite 1 para mostrar o grafo


tool: D45: Digite 2 para encontrar um caminho euleriano


tool: D31: Digite 0 para retornar ao menu anterior


tool: D56: ::>

tool: D2: %i

tool: D27: %i 

tool: D43: Indice:%i Grau: %i Vizinhos: 

tool: D55: 


assistant: ```c
void submenu(int *vert, int *adj, int cont, int cont2) {
  int opcao, i, j, k = 0;
  puts("Digite 1 para mostrar o grafo\n");
  puts("Digite 2 para encontrar um caminho euleriano\n");
  puts("Digite 0 para retornar ao menu anterior\n");
  printf("::>");
  scanf("%i", &opcao);
  if (opcao == 1) {
    for (i = 0; i < cont; i++) {
      printf("Indice:%i Grau: %i Vizinhos: ", i + 1, vert[i]);
      for (j = 0; j < vert[i]; j++) {
        printf("%i ", adj[k]);
        k++;
      }
      puts("\n");
    }
  }
  if (opcao == 2) {
    euleriano(vert, adj, cont, cont2);
  }
  if (opcao == 0) {
    limpa();
    return;
  }
}
```