user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D42(%rip),%rdi
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D12(%rip),%r13
  mov    %r13,%rdi
  call   <scanf@plt>
  lea    D11(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  lea    D59(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  mov    0x10(%rsp),%edx
  cmp    %edx,%eax
  je     L9
  jle    L85
  cmp    0x14(%rsp),%eax
  mov    $0x0,%ebx
  cmovle %eax,%ebx
  mov    $0x0,%r12d
  cmovg  %eax,%r12d
  mov    %edx,%ebp
  cmp    0x14(%rsp),%edx
  jl     L38
  jmp    L26
L9:
  cmp    0x14(%rsp),%eax
  je     L98
L26:
  mov    %edx,%ebx
  jmp    L38
L85:
  jge    L26
  cmp    0x14(%rsp),%eax
  mov    $0x0,%ebp
  cmovl  %eax,%ebp
  mov    $0x0,%ebx
  cmovge %eax,%ebx
  cmp    0x14(%rsp),%edx
  cmovle %edx,%ebx
  mov    $0x0,%r12d
  cmovg  %edx,%r12d
L38:
  mov    0x14(%rsp),%ecx
  cmp    %edx,%eax
  mov    %edx,%esi
  cmovge %eax,%esi
  cmp    %esi,%ecx
  jg     L15
  cmp    %edx,%eax
  cmovg  %edx,%eax
  cmp    %eax,%ecx
  cmovge %ecx,%ebx
  cmovl  %ecx,%ebp
L47:
  mov    %ebp,%esi
  lea    D29(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D7(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r12d,%esi
  lea    D39(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L98:
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L47
L15:
  mov    %ecx,%r12d
  jmp    L47
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D42
data_type: string
name: disassemble_data
arguments: data_tag: D12
data_type: string
name: disassemble_data
arguments: data_tag: D11
data_type: string
name: disassemble_data
arguments: data_tag: D59
data_type: string
name: disassemble_data
arguments: data_tag: D29
data_type: string
name: disassemble_data
arguments: data_tag: D7
data_type: string
name: disassemble_data
arguments: data_tag: D39
data_type: string
name: disassemble_data
arguments: data_tag: D20
data_type: string

tool: D42: NUM1: 

tool: D12: %i

tool: D11: NUM2: 

tool: D59: NUM3: 

tool: D29: 
Menor : %i


tool: D7: Meio  : %i


tool: D39: Maior : %i


tool: D20: Erro: Numeros Iguais

assistant: ```c
main() {
  int num1, num2, num3, menor, meio, maior;
  printf("NUM1: ");
  scanf("%i", &num1);
  printf("NUM2: ");
  scanf("%i", &num2);
  printf("NUM3: ");
  scanf("%i", &num3);
  if (!(num1 == num2 && num1 == num3)) {
    if (num1 > num2 && num1 > num3)
      maior = num1;
    else if (num1 < num2 && num1 < num3)
      menor = num1;
    else
      meio = num1;
    if (num2 > num1 && num2 > num3)
      maior = num2;
    else if (num2 < num1 && num2 < num3)
      menor = num2;
    else
      meio = num2;
    if (num3 > num1 && num3 > num2)
      maior = num3;
    else if (num3 < num1 && num3 < num2)
      menor = num3;
    else
      meio = num3;
  } else
    printf("Erro: Numeros Iguais");
  printf("\nMenor : %i\n", menor);
  printf("Meio  : %i\n", meio);
  printf("Maior : %i\n", maior);
}
```