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    -0x10(%rbp),%rcx
  lea    -0x14(%rbp),%rdx
  lea    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x10(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x18(%rbp),%edx
  mov    -0x10(%rbp),%eax
  cmp    %eax,%edx
  jl     L1
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cmp    %eax,%edx
  jl     L1
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  jmp    L42
L1:
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%eax
  cmp    %eax,%edx
  jl     L42
  mov    -0x14(%rbp),%edx
  mov    -0x18(%rbp),%eax
  cmp    %eax,%edx
  jl     L42
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x18(%rbp)
L42:
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  cmp    %eax,%edx
  jle    L77
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  cmp    %eax,%edx
  jle    L77
  mov    -0x10(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  cmp    %eax,%edx
  jle    L77
  mov    -0x18(%rbp),%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jle    L97
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L101
L97:
  mov    -0x18(%rbp),%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0x14(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  add    %eax,%ecx
  mov    -0x10(%rbp),%edx
  mov    -0x10(%rbp),%eax
  imul   %edx,%eax
  cmp    %eax,%ecx
  jne    L69
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L101
L69:
  lea    D40(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L101
L77:
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L101:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L52
  call   <__stack_chk_fail@plt>
L52:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D30
type: string
name: disassemble_data
arguments: data_label: D12
type: string
name: disassemble_data
arguments: data_label: D7
type: string
name: disassemble_data
arguments: data_label: D40
type: string
name: disassemble_data
arguments: data_label: D33
type: string

tool: D30: %d%d%d

tool: D12: Acute Triangle

tool: D7: Right Triangle

tool: D40: Obtuse Triangle

tool: D33: Invalid Triangle

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