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

```asm
<test_polynomial_parse>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  mov    $0x2,%edx
  lea    D84(%rip),%rsi
  lea    D57(%rip),%rdi
  call   <check_polynomial_parse@plt>
  mov    %rax,%rbx
  mov    $0x4,%edx
  lea    D83(%rip),%rsi
  lea    D161(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x3,%edx
  lea    D75(%rip),%rsi
  lea    D171(%rip),%rbp
  mov    %rbp,%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x2,%edx
  lea    D139(%rip),%rsi
  mov    %rbp,%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x1,%edx
  lea    D130(%rip),%rsi
  mov    %rbp,%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x2,%edx
  lea    D195(%rip),%rsi
  lea    D133(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x1,%edx
  lea    D64(%rip),%rsi
  lea    D63(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x0,%edx
  lea    D92(%rip),%rsi
  lea    D108(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x0,%edx
  lea    D72(%rip),%r12
  mov    %r12,%rsi
  lea    D32(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x0,%edx
  lea    D109(%rip),%rbp
  mov    %rbp,%rsi
  lea    D18(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x0,%edx
  lea    D175(%rip),%rsi
  lea    D170(%rip),%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x0,%edx
  mov    %r12,%rsi
  mov    %r12,%rdi
  call   <check_polynomial_parse@plt>
  add    %eax,%ebx
  mov    $0x0,%edx
  mov    %rbp,%rsi
  mov    %rbp,%rdi
  call   <check_polynomial_parse@plt>
  add    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D84
type_infered: string
name: unpack_data
arguments: data_label: D57
type_infered: string
name: unpack_data
arguments: data_label: D83
type_infered: string
name: unpack_data
arguments: data_label: D161
type_infered: string
name: unpack_data
arguments: data_label: D75
type_infered: string
name: unpack_data
arguments: data_label: D171
type_infered: string
name: unpack_data
arguments: data_label: D139
type_infered: string
name: unpack_data
arguments: data_label: D130
type_infered: string
name: unpack_data
arguments: data_label: D195
type_infered: string
name: unpack_data
arguments: data_label: D133
type_infered: string
name: unpack_data
arguments: data_label: D64
type_infered: string
name: unpack_data
arguments: data_label: D63
type_infered: string
name: unpack_data
arguments: data_label: D92
type_infered: string
name: unpack_data
arguments: data_label: D108
type_infered: string
name: unpack_data
arguments: data_label: D72
type_infered: string
name: unpack_data
arguments: data_label: D32
type_infered: string
name: unpack_data
arguments: data_label: D109
type_infered: string
name: unpack_data
arguments: data_label: D18
type_infered: string
name: unpack_data
arguments: data_label: D175
type_infered: string
name: unpack_data
arguments: data_label: D170
type_infered: string

tool: D84: 2.00x^2.00+3.00

tool: D57: 2x^2+3

tool: D83: 32433.0330x^2.2002+2.0000x+3.1452

tool: D161: 32433.033x^2.2002+2x+3.1452

tool: D75: x^32.225+23.320x^2.020+233.000

tool: D171: x^32.225+23.32x^2.02+233

tool: D139: x^32.23+23.32x^2.02+233.00

tool: D130: x^32.2+23.3x^2.0+233.0

tool: D195: x^3.00-x^2.00-x-2.00

tool: D133: x^3-x^2-x-2

tool: D64: -6.6x-7.7-2.2x^-3.3-4.4x^-5.5

tool: D63: -2.2x^-3.3-4.4x^-5.5-6.6x-7.7

tool: D92: 5x

tool: D108: x+x+x+x+x

tool: D72: x

tool: D32: x+x+x+x+x-x-x-x-x

tool: D109: 0

tool: D18: x+x+x+x+x-x-x-x-x-x

tool: D175: x^3

tool: D170: x^3+x^3-x^3

assistant: ```c
int test_polynomial_parse() {
  int ret = 0;
  ret += check_polynomial_parse("2x^2+3", "2.00x^2.00+3.00", 2);
  ret += check_polynomial_parse("32433.033x^2.2002+2x+3.1452", "32433.0330x^2.2002+2.0000x+3.1452", 4);
  ret += check_polynomial_parse("x^32.225+23.32x^2.02+233", "x^32.225+23.320x^2.020+233.000", 3);
  ret += check_polynomial_parse("x^32.225+23.32x^2.02+233", "x^32.23+23.32x^2.02+233.00", 2);
  ret += check_polynomial_parse("x^32.225+23.32x^2.02+233", "x^32.2+23.3x^2.0+233.0", 1);
  ret += check_polynomial_parse("x^3-x^2-x-2", "x^3.00-x^2.00-x-2.00", 2);
  ret += check_polynomial_parse("-2.2x^-3.3-4.4x^-5.5-6.6x-7.7", "-6.6x-7.7-2.2x^-3.3-4.4x^-5.5", 1);
  ret += check_polynomial_parse("x+x+x+x+x", "5x", 0);
  ret += check_polynomial_parse("x+x+x+x+x-x-x-x-x", "x", 0);
  ret += check_polynomial_parse("x+x+x+x+x-x-x-x-x-x", "0", 0);
  ret += check_polynomial_parse("x^3+x^3-x^3", "x^3", 0);
  ret += check_polynomial_parse("x", "x", 0);
  ret += check_polynomial_parse("0", "0", 0);
  return ret;
}
```