user: 请将这段汇编代码片段转换成等效的C代码:

```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    D35(%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
  jl     L35
  mov    -0x14(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  cmp    %eax,%edx
  jl     L35
  mov    -0x10(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  cmp    %eax,%edx
  jge    L55
L35:
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L79
L55:
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  mov    -0xc(%rbp),%ecx
  mov    -0xc(%rbp),%edx
  mov    %ecx,%esi
  imul   %edx,%esi
  mov    -0x10(%rbp),%ecx
  mov    -0x10(%rbp),%edx
  imul   %ecx,%edx
  add    %esi,%edx
  cmp    %edx,%eax
  jge    L97
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  mov    -0x14(%rbp),%ecx
  mov    -0x14(%rbp),%edx
  mov    %ecx,%esi
  imul   %edx,%esi
  mov    -0xc(%rbp),%ecx
  mov    -0xc(%rbp),%edx
  imul   %ecx,%edx
  add    %esi,%edx
  cmp    %edx,%eax
  jge    L97
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  mov    -0x14(%rbp),%ecx
  mov    -0x14(%rbp),%edx
  mov    %ecx,%esi
  imul   %edx,%esi
  mov    -0x10(%rbp),%ecx
  mov    -0x10(%rbp),%edx
  imul   %ecx,%edx
  add    %esi,%edx
  cmp    %edx,%eax
  jge    L97
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L79
L97:
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  mov    -0x14(%rbp),%ecx
  mov    -0x14(%rbp),%edx
  mov    %ecx,%esi
  imul   %edx,%esi
  mov    -0xc(%rbp),%ecx
  mov    -0xc(%rbp),%edx
  imul   %ecx,%edx
  add    %esi,%edx
  cmp    %edx,%eax
  je     L57
  mov    -0xc(%rbp),%edx
  mov    -0xc(%rbp),%eax
  imul   %edx,%eax
  mov    -0x10(%rbp),%ecx
  mov    -0x10(%rbp),%edx
  mov    %ecx,%esi
  imul   %edx,%esi
  mov    -0x14(%rbp),%ecx
  mov    -0x14(%rbp),%edx
  imul   %ecx,%edx
  add    %esi,%edx
  cmp    %edx,%eax
  je     L57
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  mov    -0x10(%rbp),%ecx
  mov    -0x10(%rbp),%edx
  imul   %edx,%ecx
  mov    %ecx,%esi
  mov    -0xc(%rbp),%ecx
  mov    -0xc(%rbp),%edx
  imul   %ecx,%edx
  add    %esi,%edx
  cmp    %edx,%eax
  jne    L109
L57:
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L79
L109:
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L79:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L54
  call   <__stack_chk_fail@plt>
L54:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D35
data_type: string
name: extract_symbolic_data
arguments: label: D32
data_type: string
name: extract_symbolic_data
arguments: label: D14
data_type: string
name: extract_symbolic_data
arguments: label: D46
data_type: string
name: extract_symbolic_data
arguments: label: D20
data_type: string

tool: D35: %d %d %d

tool: D32: Invalid Triangle

tool: D14: Acute Triangle

tool: D46: Right Triangle

tool: D20: Obtuse 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)) {
    printf("Invalid Triangle");
  } else if (((a * a) < (c * c) + (b * b)) && ((b * b) < (a * a) + (c * c)) && ((c * c) < (a * a) + (b * b))) {
    printf("Acute Triangle");
  } else if ((b * b) == (a * a) + (c * c) || ((c * c) == (b * b) + (a * a)) || ((a * a) == (b * b) + (c * c))) {
    printf("Right Triangle");
  } else {
    printf("Obtuse Triangle");
  }
  return 0;
}
```