user: What would the C source look like for the assembly code provided here:

```asm
<ExprEval>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x44(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x1c(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L175
L191:
  cmpl   $0x0,-0x44(%rbp)
  je     L17
  mov    -0x1c(%rbp),%ecx
  mov    -0x20(%rbp),%edx
  mov    -0x24(%rbp),%eax
  mov    %eax,%esi
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L17:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  jne    L162
  cmpl   $0x0,-0x18(%rbp)
  jne    L101
  mov    -0x10(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x24(%rbp)
  movl   $0x1,-0x18(%rbp)
L101:
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x8(%rbp)
  jmp    L37
L162:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2b,%al
  je     L104
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  je     L104
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  je     L104
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  je     L104
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x25,%al
  jne    L176
L104:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0x25(%rbp)
  mov    -0x10(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x20(%rbp)
  movsbl -0x25(%rbp),%eax
  sub    $0x25,%eax
  cmp    $0xa,%eax
  ja     L198
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D27(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D27(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x24(%rbp),%eax
  imul   -0x20(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L198
  mov    -0x24(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L198
  mov    -0x24(%rbp),%eax
  sub    -0x20(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L198
  mov    -0x24(%rbp),%eax
  cltd
  idivl  -0x20(%rbp)
  mov    %eax,-0x1c(%rbp)
  jmp    L198
  mov    -0x24(%rbp),%eax
  cltd
  idivl  -0x20(%rbp)
  mov    %edx,-0x1c(%rbp)
  nop
L198:
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L37
L176:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %eax,%eax
  jne    L37
  mov    $0x1,%eax
  jmp    L193
L37:
  addq   $0x1,-0x10(%rbp)
L175:
  cmpq   $0x0,-0x10(%rbp)
  je     L41
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L191
L41:
  mov    -0x40(%rbp),%rax
  mov    -0x1c(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
L193:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D16
data_type: string

tool: D16: DEBUG: lv=%d rv=%d acc=%d


assistant: ```c
int ExprEval(char *expr, int *rtn, int debug) {
  char *pe = expr;
  char *ps = expr;
  int lv, rv, acc = (0, 0, 0);
  int flagLV = 0;
  int rc = 0;
  rv = 0;
  while (pe != NULL && *pe != '\000') {
    if (debug != 0) {
      printf("DEBUG: lv=%d rv=%d acc=%d\n", lv, rv, acc);
    }
    if (*pe == ',') {
      if (flagLV == 0) {
        *pe = '\000';
        lv = atoi(ps);
        flagLV = 1;
      }
      ps = pe + 1;
    } else if (*pe == '+' || *pe == '-' || *pe == '/' || *pe == '*' || *pe == '%') {
      char op = *pe;
      *pe = '\000';
      rv = atoi(ps);
      switch (op) {
      case '*':
        acc = (lv * rv);
        break;
      case '+':
        acc = (lv + rv);
        break;
      case '-':
        acc = (lv - rv);
        break;
      case '/':
        acc = (lv / rv);
        break;
      case '%':
        acc = (lv % rv);
        break;
      }
      ps = pe + 1;
      lv = acc;
    } else if (!isdigit(*pe)) {
      return (1);
    }
    ++pe;
  }
  *rtn = acc;
  return (rc);
}
```