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

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x63,%edx
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa68,%rsp
  movdqa D7(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0xa58(%rsp)
  xor    %eax,%eax
  mov    $0x6325,%eax
  movl   $0x6425203a,0x1c0(%rsp)
  mov    %ax,0x1c4(%rsp)
  movabs $0x25726f727265203a,%rax
  mov    %rax,0x1e0(%rsp)
  movabs $0x2f30312d29312b29,%rax
  mov    %rax,0x200(%rsp)
  lea    0x1f0(%rsp),%rax
  movaps %xmm0,0x1b0(%rsp)
  mov    %rax,%rdi
  movaps %xmm0,0x1d0(%rsp)
  movdqa D10(%rip),%xmm0
  movb   $0x0,0x1c6(%rsp)
  mov    %dx,0x1e8(%rsp)
  movl   $0x23392a32,0x208(%rsp)
  movb   $0x0,0x20c(%rsp)
  mov    %rax,(%rsp)
  movaps %xmm0,0x1f0(%rsp)
  call   <strlen@plt>
  movzbl 0x1f0(%rsp),%r14d
  cmp    $0x23,%r14b
  je     L109
  lea    0x280(%rsp),%rsi
  xor    %r15d,%r15d
  mov    $0x1,%eax
  mov    $0x1,%ebx
  mov    %rsi,0x10(%rsp)
  lea    0x27f(%rsp),%rsi
  mov    %rsi,0x8(%rsp)
  nopw   0x0(%rax,%rax,1)
L54:
  lea    -0x20(%r14),%ecx
  cmp    $0xf,%cl
  ja     L358
  lea    D17(%rip),%rsi
  movzbl %cl,%ecx
  movslq (%rsi,%rcx,4),%rcx
  add    %rsi,%rcx
  notrack jmp *%rcx
  nopl   (%rax)
L358:
  movslq %eax,%r12
  movslq %ebx,%rbp
  mov    %r12,%r13
  sub    %rbp,%r12
  add    0x10(%rsp),%r12
  jmp    L62
  nopl   0x0(%rax,%rax,1)
L142:
  mov    (%rsp),%rax
  mov    %r14b,(%r12,%rbp,1)
  mov    %edi,%r13d
  movzbl (%rax,%rbp,1),%r14d
  add    $0x1,%rbp
L62:
  movsbl %r14b,%edi
  mov    %ebp,%ebx
  call   <isdigit@plt>
  lea    0x1(%r13),%edi
  cmp    $0x2e,%r14b
  je     L142
  test   %rax,%rax
  jne    L142
  movslq %r13d,%rdx
  lea    -0x1(%rbp),%ecx
  mov    %edi,%eax
  movb   $0x20,0x280(%rsp,%rdx,1)
  xchg   %ax,%ax
L60:
  movslq %ecx,%rdx
  movzbl 0x1f0(%rsp,%rdx,1),%r14d
  cmp    $0x23,%r14b
  jne    L54
  test   %r15d,%r15d
  je     L266
  movslq %r15d,%rdx
  lea    -0x1(%r15),%esi
  lea    0x670(%rsp,%rdx,1),%rdi
  movslq %eax,%rdx
  lea    0x281(%rsp,%rdx,1),%r8
  lea    0x280(%rsp,%rdx,1),%rcx
  mov    %rsi,%rdx
  add    %rsi,%r8
  nopl   0x0(%rax,%rax,1)
L388:
  movzbl (%rdi),%esi
  add    $0x1,%rcx
  sub    $0x1,%rdi
  mov    %sil,-0x1(%rcx)
  cmp    %r8,%rcx
  jne    L388
  lea    0x1(%rax,%rdx,1),%eax
L266:
  cltq
  xor    %ebx,%ebx
  movb   $0x20,0x280(%rsp,%rax,1)
  movzbl 0x281(%rsp),%r12d
  cmp    $0x20,%r12b
  je     L290
  lea    0x210(%rsp),%rax
  mov    $0x2,%r14d
  mov    %rax,0x10(%rsp)
  lea    0x280(%rsp),%rax
  mov    %rax,0x18(%rsp)
  jmp    L153
  nopl   0x0(%rax)
L58:
  cmp    $0x2d,%r12b
  je     L346
  cmp    $0x2a,%r12b
  je     L207
  cmp    $0x2f,%r12b
  jne    L208
  movslq %ebx,%rax
  sub    $0x1,%ebx
  mov    0x20(%rsp,%rax,4),%ecx
  test   %ecx,%ecx
  je     L113
  movslq %ebx,%rdi
  mov    0x20(%rsp,%rdi,4),%eax
  cltd
  idiv   %ecx
  mov    %eax,0x20(%rsp,%rdi,4)
  cs nopw 0x0(%rax,%rax,1)
L110:
  movslq %r14d,%rax
  add    $0x1,%r14d
  movzbl 0x280(%rsp,%rax,1),%r12d
  cmp    $0x20,%r12b
  je     L290
L153:
  cmp    $0x2b,%r12b
  jne    L58
  lea    -0x1(%rbx),%eax
  movslq %ebx,%rbx
  movslq %eax,%rdx
  mov    0x20(%rsp,%rbx,4),%ecx
  mov    %eax,%ebx
  add    %ecx,0x20(%rsp,%rdx,4)
  jmp    L110
  nopl   (%rax)
  test   %r15d,%r15d
  je     L87
  movslq %eax,%rdi
  movslq %r15d,%rcx
  add    0x10(%rsp),%rdi
  lea    0x670(%rsp),%r9
  jmp    L181
  nopw   0x0(%rax,%rax,1)
L192:
  sub    $0x1,%rcx
  mov    %r8b,(%rdi)
  add    $0x1,%eax
  add    $0x1,%rdi
  mov    %ecx,%r15d
  test   %ecx,%ecx
  je     L87
L181:
  movzbl (%r9,%rcx,1),%r8d
  mov    %ecx,%r15d
  cmp    $0x28,%r8b
  jne    L192
L87:
  add    $0x1,%r15d
L8:
  movslq %r15d,%rcx
  mov    %r14b,0x670(%rsp,%rcx,1)
  mov    %ebx,%ecx
  add    $0x1,%ebx
  jmp    L60
  nopl   0x0(%rax)
  movslq %r15d,%rcx
  movzbl 0x670(%rsp,%rcx,1),%r8d
  cmp    $0x2f,%r8b
  je     L332
  cmp    $0x2a,%r8b
  jne    L87
L332:
  lea    0x1(%rax),%edi
  lea    0x66f(%rsp),%r9
  movslq %edi,%rdi
  xchg   %ax,%ax
L371:
  mov    0x8(%rsp),%rax
  mov    %ecx,%r15d
  mov    %r8b,(%rax,%rdi,1)
  movzbl (%r9,%rcx,1),%r8d
  mov    %edi,%eax
  sub    $0x1,%rcx
  add    $0x1,%rdi
  cmp    $0x2a,%r8b
  je     L371
  cmp    $0x2f,%r8b
  je     L371
  jmp    L8
  nopl   0x0(%rax)
  add    $0x1,%r15d
  mov    %ebx,%ecx
  add    $0x1,%ebx
  movslq %r15d,%rdx
  movb   $0x28,0x670(%rsp,%rdx,1)
  jmp    L60
  nopl   0x0(%rax)
  movslq %r15d,%rdx
  movzbl 0x670(%rsp,%rdx,1),%edi
  cmp    $0x28,%dil
  je     L343
  lea    -0x1(%r15),%ecx
  lea    0x1(%rax),%edx
  movslq %ecx,%rcx
  movslq %edx,%rdx
  lea    0x670(%rsp),%r9
  cs nopw 0x0(%rax,%rax,1)
L125:
  mov    0x8(%rsp),%rax
  mov    %ecx,%r15d
  mov    %dil,(%rax,%rdx,1)
  movzbl (%r9,%rcx,1),%edi
  mov    %edx,%eax
  sub    $0x1,%rcx
  add    $0x1,%rdx
  cmp    $0x28,%dil
  jne    L125
L343:
  mov    %ebx,%ecx
  sub    $0x1,%r15d
  add    $0x1,%ebx
  jmp    L60
  nop
L346:
  lea    -0x1(%rbx),%edx
  movslq %ebx,%rbx
  movslq %edx,%rcx
  mov    0x20(%rsp,%rcx,4),%eax
  sub    0x20(%rsp,%rbx,4),%eax
  mov    %edx,%ebx
  mov    %eax,0x20(%rsp,%rcx,4)
  jmp    L110
  nopl   0x0(%rax)
L207:
  lea    -0x1(%rbx),%edx
  movslq %ebx,%rbx
  movslq %edx,%rcx
  mov    0x20(%rsp,%rcx,4),%eax
  imul   0x20(%rsp,%rbx,4),%eax
  mov    %edx,%ebx
  mov    %eax,0x20(%rsp,%rcx,4)
  jmp    L110
  nopl   (%rax)
L208:
  mov    0x18(%rsp),%rax
  movslq %r14d,%r13
  xor    %r15d,%r15d
  lea    (%rax,%r13,1),%rbp
  jmp    L107
  nopl   0x0(%rax)
L183:
  mov    0x10(%rsp),%rax
  mov    %r12b,(%rax,%r15,1)
  movzbl 0x0(%rbp,%r15,1),%r12d
  add    $0x1,%r15
L107:
  movsbl %r12b,%edi
  mov    %r15d,0x8(%rsp)
  lea    (%r14,%r15,1),%r13d
  call   <isdigit@plt>
  cmp    $0x2e,%r12b
  je     L183
  test   %rax,%rax
  jne    L183
  movslq 0x8(%rsp),%r12
  mov    0x10(%rsp),%rdi
  add    $0x1,%ebx
  mov    %r13d,%r14d
  movb   $0x0,0x210(%rsp,%r12,1)
  call   <atoi@plt>
  mov    %eax,%r8d
  movslq %ebx,%rax
  mov    %r8d,0x20(%rsp,%rax,4)
  jmp    L110
  cs nopw 0x0(%rax,%rax,1)
L113:
  mov    (%rsp),%rsi
  mov    $0xa,%ecx
  mov    $0xa,%edx
  xor    %eax,%eax
  lea    0x1d0(%rsp),%rdi
  call   <printf@plt>
L362:
  mov    0xa58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L55
  add    $0xa68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L290:
  movslq %ebx,%rbx
  mov    (%rsp),%rsi
  mov    $0xa,%r8d
  xor    %eax,%eax
  mov    0x20(%rsp,%rbx,4),%ecx
  lea    0x1b0(%rsp),%rdi
  mov    $0xa,%edx
  call   <printf@plt>
  jmp    L362
L109:
  mov    $0x1,%eax
  jmp    L266
L55:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D7
datatype: byte[16]
name: parse_data
arguments: data_label: D10
datatype: byte[16]

tool: {"D7": [0x45,0x58,0x50,0x52,0x3a,0x20,0x25,0x73,0x25,0x63,0x52,0x45,0x53,0x55,0x4c,0x54]}

tool: {"D10": [0x31,0x36,0x2f,0x34,0x2b,0x28,0x28,0x38,0x2d,0x35,0x29,0x2a,0x28,0x34,0x2b,0x33]}

assistant: ```c
int main() {
  char TIPS_T[] = "EXPR: %s%cRESULT: %d%c";
  char TIPS_F[] = "EXPR: %s%cRESULT: error%c";
  char expr[] = "16/4+((8-5)*(4+3)+1)-10/2*9#";
  char post[1000];
  char ss[1000];
  char ch;
  int sum;
  int i;
  int t;
  int z;
  int error = 0;
  int top = 0;
  sum = strlen(expr);
  t = 1;
  i = 0;
  ch = expr[i];
  i += 1;
  while (ch != '#') {
    if (ch == '+' || ch == '-') {
      while (top != 0 && ss[top] != '(') {
        post[t] = ss[top];
        top -= 1;
        t += 1;
      }
      top += 1;
      ss[top] = ch;
    } else if (ch == '*' || ch == '/') {
      while (ss[top] == '*' || ss[top] == '/') {
        post[t] = ss[top];
        top -= 1;
        t += 1;
      }
      top += 1;
      ss[top] = ch;
    } else if (ch == '(') {
      top += 1;
      ss[top] = ch;
    } else if (ch == ')') {
      while (ss[top] != '(') {
        post[t] = ss[top];
        top -= 1;
        t += 1;
      }
      top -= 1;
    } else if (ch == ' ') {
      z = 1;
    } else {
      while (isdigit(ch) || ch == '.') {
        post[t] = ch;
        t += 1;
        ch = expr[i];
        i += 1;
      }
      i -= 1;
      post[t] = ' ';
      t += 1;
    }
    ch = expr[i];
    i += 1;
  }
  while (top != 0) {
    post[t] = ss[top];
    t += 1;
    top -= 1;
  }
  post[t] = ' ';
  int newstack[100];
  char newstr[100];
  t = 1;
  top = 0;
  ch = post[t];
  t = t + 1;
  char temp;
  while (ch != ' ' && error == 0) {
    if (ch == '+') {
      newstack[top - 1] = newstack[top - 1] + newstack[top];
      top -= 1;
    } else if (ch == '-') {
      newstack[top - 1] = newstack[top - 1] - newstack[top];
      top -= 1;
    } else if (ch == '*') {
      newstack[top - 1] = newstack[top - 1] * newstack[top];
      top -= 1;
    } else if (ch == '/') {
      if (newstack[top] != 0)
        newstack[top - 1] = newstack[top - 1] / newstack[top];
      else
        error = 1;
      top -= 1;
    } else {
      i = 0;
      while (isdigit(ch) || ch == '.') {
        newstr[i] = ch;
        i += 1;
        ch = post[t];
        t += 1;
      }
      temp = 0;
      newstr[i] = temp;
      top += 1;
      newstack[top] = atoi(newstr);
    }
    ch = post[t];
    t += 1;
  }
  if (error == 0)
    printf(TIPS_T, expr, 10, newstack[top], 10);
  else
    printf(TIPS_F, expr, 10, 10);
  return 0;
}
```