user: 请将以下的汇编代码转换成C语言代码：

```asm
<q3>:
  endbr64
  movapd %xmm0,%xmm1
  movsd  D114(%rip),%xmm0
  comisd %xmm1,%xmm0
  jae    L77
  sub    $0x18,%rsp
  comisd %xmm0,%xmm1
  movsd  D80(%rip),%xmm0
  ja     L57
L36:
  comisd %xmm0,%xmm1
  movsd  D50(%rip),%xmm0
  jbe    L80
  comisd %xmm1,%xmm0
  jae    L13
L80:
  comisd %xmm0,%xmm1
  jbe    L4
  movsd  D41(%rip),%xmm0
  comisd %xmm1,%xmm0
  jb     L4
  mov    $0x2,%edi
  movapd %xmm1,%xmm0
  movsd  %xmm1,(%rsp)
  call   <pow@plt>
  movsd  (%rsp),%xmm1
  mov    $0x3,%edi
  movsd  D70(%rip),%xmm2
  mulsd  D145(%rip),%xmm0
  mulsd  %xmm1,%xmm2
  movsd  %xmm1,0x8(%rsp)
  subsd  D107(%rip),%xmm2
  subsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,(%rsp)
  call   <pow@plt>
  movsd  (%rsp),%xmm2
  movsd  0x8(%rsp),%xmm1
  mov    $0x4,%edi
  mulsd  D85(%rip),%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,(%rsp)
  call   <pow@plt>
  movsd  D61(%rip),%xmm1
  movsd  (%rsp),%xmm2
  mulsd  %xmm0,%xmm1
  subsd  %xmm1,%xmm2
  movapd %xmm2,%xmm0
  jmp    L55
  nopl   (%rax)
L77:
  movsd  D159(%rip),%xmm0
  ret
  nopl   0x0(%rax)
L57:
  comisd %xmm1,%xmm0
  jb     L36
  mov    $0x2,%edi
  movapd %xmm1,%xmm0
  movsd  %xmm1,(%rsp)
  call   <pow@plt>
  movsd  (%rsp),%xmm1
  mov    $0x3,%edi
  movsd  D191(%rip),%xmm2
  mulsd  D171(%rip),%xmm0
  mulsd  %xmm1,%xmm2
  movsd  %xmm1,0x8(%rsp)
  subsd  D119(%rip),%xmm2
  subsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,(%rsp)
  call   <pow@plt>
  movsd  (%rsp),%xmm2
  movsd  0x8(%rsp),%xmm1
  mov    $0x4,%edi
  mulsd  D192(%rip),%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,(%rsp)
  call   <pow@plt>
  movsd  D44(%rip),%xmm1
  movsd  (%rsp),%xmm2
  mulsd  %xmm0,%xmm1
  subsd  %xmm1,%xmm2
  movapd %xmm2,%xmm0
  jmp    L55
L4:
  movsd  D202(%rip),%xmm0
L55:
  add    $0x18,%rsp
  ret
  nopl   (%rax)
L13:
  mov    $0x2,%edi
  movapd %xmm1,%xmm0
  movsd  %xmm1,(%rsp)
  call   <pow@plt>
  movsd  (%rsp),%xmm1
  movsd  D46(%rip),%xmm3
  mov    $0x3,%edi
  mulsd  D29(%rip),%xmm0
  movsd  D30(%rip),%xmm2
  mulsd  %xmm1,%xmm3
  subsd  %xmm3,%xmm2
  subsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  movsd  %xmm2,(%rsp)
  call   <pow@plt>
  mulsd  D20(%rip),%xmm0
  addsd  (%rsp),%xmm0
  subsd  D35(%rip),%xmm0
  jmp    L55
```

tool_calls: name: parse_data
arguments: data_tag: D114
data_type: byte[8]
name: parse_data
arguments: data_tag: D80
data_type: f64
name: parse_data
arguments: data_tag: D50
data_type: f64
name: parse_data
arguments: data_tag: D41
data_type: byte[8]
name: parse_data
arguments: data_tag: D70
data_type: f64
name: parse_data
arguments: data_tag: D145
data_type: f64
name: parse_data
arguments: data_tag: D107
data_type: f64
name: parse_data
arguments: data_tag: D85
data_type: f64
name: parse_data
arguments: data_tag: D61
data_type: f64
name: parse_data
arguments: data_tag: D159
data_type: byte[8]
name: parse_data
arguments: data_tag: D191
data_type: f64
name: parse_data
arguments: data_tag: D171
data_type: f64
name: parse_data
arguments: data_tag: D119
data_type: f64
name: parse_data
arguments: data_tag: D192
data_type: f64
name: parse_data
arguments: data_tag: D44
data_type: f64
name: parse_data
arguments: data_tag: D202
data_type: byte[8]
name: parse_data
arguments: data_tag: D46
data_type: f64
name: parse_data
arguments: data_tag: D29
data_type: f64
name: parse_data
arguments: data_tag: D30
data_type: byte[8]
name: parse_data
arguments: data_tag: D20
data_type: f64
name: parse_data
arguments: data_tag: D35
data_type: byte[8]

tool: {"D114": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

tool: D80: 6.9

tool: D50: 7.1

tool: {"D41": [0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x40]}

tool: D70: 3262.031

tool: D145: 499.494

tool: D107: 7698.19

tool: D85: 33.1551

tool: D61: 0.810613

tool: {"D159": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: D191: 41.91277

tool: D171: 15.7043

tool: D119: 37.1085

tool: D192: 2.417486

tool: D44: 0.091252

tool: {"D202": [0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40]}

tool: D46: 21.4593

tool: D29: 68.4561

tool: {"D30": [0x4a,0x7b,0x83,0x2f,0x4c,0xc6,0x12,0xc0]}

tool: D20: 21.638886

tool: {"D35": [0xba,0xda,0x8a,0xfd,0x65,0x77,0x19,0x40]}

assistant: ```c
double q3(double c) {
  double q3;
  if (c <= 2) {
    q3 = 1;
  } else if (c > 2 && c <= 6.9) {
    q3 = -37.1085 + 41.91277 * c - 15.7043 * pow(c, 2) + 2.417486 * pow(c, 3) - 0.091252 * pow(c, 4);
  } else if (c > 6.9 && c <= 7.1) {
    q3 = -4.69365 - 21.4593 * c - 68.4561 * pow(c, 2) + 21.638886 * pow(c, 3) - 1.59165 * (c, 4);
  } else if (c > 7.1 && c <= 12) {
    q3 = -7698.19 + 3262.031 * c - 499.494 * pow(c, 2) + 33.1551 * pow(c, 3) - 0.810613 * pow(c, 4);
  } else {
    q3 = 3;
  }
  return q3;
}
```