user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0xc(%rbp),%rcx
  lea    -0x10(%rbp),%rdx
  lea    -0x14(%rbp),%rax
  mov    %rax,%rsi
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  cmp    %eax,%edx
  jg     L21
  mov    -0x14(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  cmp    %eax,%edx
  jg     L21
  mov    -0x10(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  cmp    %eax,%edx
  jle    L93
L21:
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  je     L27
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  je     L27
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jne    L79
L27:
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L15
L79:
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jl     L177
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jl     L177
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jge    L163
L177:
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L15
L163:
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jg     L98
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jg     L98
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jle    L23
L98:
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L23
L15:
  jmp    L23
L93:
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L42
L23:
  nop
L42:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L13
  call   <__stack_chk_fail@plt>
L13:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D33
datatype: string
name: retrieve_data
arguments: data_tag: D10
datatype: string
name: retrieve_data
arguments: data_tag: D1
datatype: string
name: retrieve_data
arguments: data_tag: D46
datatype: string
name: retrieve_data
arguments: data_tag: D9
datatype: string

tool: D33: %d%d%d

tool: D10: Right Triangle

tool: D1: Obtuse Triangle

tool: D46: Acute Triangle

tool: D9: Invalid Triangle

assistant: ```c
int main() {
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if ((a + b) > c || (a + c) > b || (b + c) > a) {
    if ((a * a) + (b * b) == (c * c) || (a * a) + (c * c) == (b * b) || (b * b) + (c * c) == (a * a)) {
      printf("Right Triangle");
    } else if ((a * a) + (b * b) < (c * c) || (a * a) + (c * c) < (b * b) || (b * b) + (c * c) < (a * a)) {
      printf("Obtuse Triangle");
    } else if ((a * a) + (b * b) > (c * c) || (a * a) + (c * c) > (b * b) || (b * b) + (c * c) > (a * a)) {
      printf("Acute Triangle");
    }
  } else
    printf("Invalid Triangle");
  return 0;
}
```