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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0xa,%ecx
  mov    $0xd,%edx
  lea    D68(%rip),%rax
  mov    %rax,%rsi
  lea    D109(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D106(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D58(%rip),%rax
  mov    %rax,%rdi
  call   <getenv@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L42
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L24
L42:
  lea    -0x14(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  lea    D40(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L45
  lea    D102(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L24
L45:
  movss  -0x14(%rbp),%xmm1
  movss  D31(%rip),%xmm0
  mulss  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D90(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movss  -0x14(%rbp),%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movq   %xmm2,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
L24:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L23
  call   <__stack_chk_fail@plt>
L23:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D68
type_infered: string
name: read_data
arguments: data_tag: D109
type_infered: string
name: read_data
arguments: data_tag: D106
type_infered: string
name: read_data
arguments: data_tag: D24
type_infered: string
name: read_data
arguments: data_tag: D58
type_infered: string
name: read_data
arguments: data_tag: D99
type_infered: string
name: read_data
arguments: data_tag: D40
type_infered: string
name: read_data
arguments: data_tag: D102
type_infered: string
name: read_data
arguments: data_tag: D31
type_infered: byte[4]
name: read_data
arguments: data_tag: D90
type_infered: f64
name: read_data
arguments: data_tag: D75
type_infered: string

tool: D68: Content-Type:text/html;charset=utf-8

tool: D109: %s%c%c


tool: D106: <TITLE>Celsius para Fahrenheit</TITLE>

tool: D24: <H3>Celsius para Fahrenheit</H3>

tool: D58: QUERY_STRING

tool: D99: <P>Error! Error in passing data from form to script.

tool: D40: temperatura=%f

tool: D102: <P>Error! Invalid data. Data must be numeric.

tool: {"D31": [0x00,0xa0,0x8c,0x46]}

tool: D90: 32

tool: D75: <P>Temperatura em Celsius %f para Fahrenheit %f</P>

assistant: ```c
int main() {
  char *data;
  float temperatura;
  printf("%s%c%c\n", "Content-Type:text/html;charset=utf-8", 13, 10);
  printf("<TITLE>Celsius para Fahrenheit</TITLE>\n");
  printf("<H3>Celsius para Fahrenheit</H3>\n");
  data = getenv("QUERY_STRING");
  if (data == NULL) {
    printf("<P>Error! Error in passing data from form to script.");
  } else if (sscanf(data, "temperatura=%f", &temperatura) != 1) {
    printf("<P>Error! Invalid data. Data must be numeric.");
  } else {
    printf("<P>Temperatura em Celsius %f para Fahrenheit %f</P>", temperatura, temperatura * 18000 + 32.00);
  }
  return 0;
}
```