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

```asm
<do_expression>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%r13
  mov    %edx,0xc(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x14(%rsp)
  movl   $0x0,(%rsi)
  call   <next_char@plt>
  mov    $0x0,%ebp
  test   %al,%al
  je     L457
  cmp    $0x28,%al
  jne    L523
  addq   $0x1,(%rbx)
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  mov    %rax,%rbp
L60:
  mov    $0x0,%r15d
  lea    D9(%rip),%r12
  cmpl   $0x0,0x14(%rsp)
  je     L92
L159:
  movl   $0x1,0x0(%r13)
  mov    $0xffffffffffffffff,%rbp
  jmp    L457
L523:
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
  mov    %rax,%rbp
  jmp    L60
L266:
  cmp    $0xff,%al
  je     L159
  test   %al,%al
  jne    L227
  sub    %rbp,%r14
  test   %r15b,%r15b
  cmovne %r14,%rbp
L457:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L508
  mov    %rbp,%rax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  imul   %rax,%rbp
  jmp    L92
  mov    %r14,%rax
  sub    %rbp,%rax
  test   %r15b,%r15b
  cmovne %rax,%rbp
  cmpl   $0x0,0xc(%rsp)
  jne    L457
  mov    $0x0,%r15d
L227:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
L92:
  mov    %rbx,%rdi
  call   <get_symbol@plt>
  cmp    $0x7c,%al
  jg     L227
  cmp    $0x24,%al
  jle    L266
  sub    $0x25,%eax
  cmp    $0x57,%al
  ja     L227
  movzbl %al,%eax
  movslq (%r12,%rax,4),%rax
  add    %r12,%rax
  notrack jmp *%rax
  mov    %r14,%rax
  sub    %rbp,%rax
  test   %r15b,%r15b
  cmovne %rax,%rbp
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  add    %rax,%rbp
  mov    $0x0,%r15d
  jmp    L92
  sub    %rbp,%r14
  test   %r15b,%r15b
  cmove  %rbp,%r14
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L96
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
  mov    %rax,%rbp
L75:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  mov    $0x1,%r15d
  jmp    L92
L96:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  mov    %rax,%rbp
  jmp    L75
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L353
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L306:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  imul   %rax,%rbp
  jmp    L92
L353:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L306
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L146
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
  mov    %rax,%rcx
L144:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  mov    %rbp,%rax
  mov    $0x0,%edx
  div    %rcx
  mov    %rax,%rbp
  jmp    L92
L146:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  mov    %rax,%rcx
  jmp    L144
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L344
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
  mov    %rax,%rcx
L231:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  mov    %rbp,%rax
  mov    $0x0,%edx
  div    %rcx
  mov    %rdx,%rbp
  jmp    L92
L344:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  mov    %rax,%rcx
  jmp    L231
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L422
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L413:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  and    %rax,%rbp
  jmp    L92
L422:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L413
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L539
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L522:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  or     %rax,%rbp
  jmp    L92
L539:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L522
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L317
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L433:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  xor    %rax,%rbp
  jmp    L92
L317:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L433
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L418
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L203:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  or     %rbp,%rax
  not    %rax
  mov    %rax,%rbp
  jmp    L92
L418:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L203
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L412
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L300:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  mov    %eax,%ecx
  shr    %cl,%rbp
  jmp    L92
L412:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L300
  mov    %rbx,%rdi
  call   <next_char@plt>
  cmp    $0x28,%al
  je     L239
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <get_number@plt>
L484:
  cmpl   $0x0,0x14(%rsp)
  jne    L159
  mov    %eax,%ecx
  shl    %cl,%rbp
  jmp    L92
L239:
  lea    0x14(%rsp),%rsi
  mov    $0x1,%edx
  mov    %rbx,%rdi
  call   <do_expression>
  jmp    L484
L508:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
uint64_t do_expression(char **p, int *perr, int bracket) {
  int err = 0;
  char s0, sub = 0;
  uint64_t a = 0, b, tmp;
  *perr = 0;
  switch (next_char(p)) {
  case '\0':
    return 0;
  case '(':
    *p += 1;
    a = do_expression(p, &err, 1);
    break;
  default:
    a = get_number(p, &err);
  }
  if (err) {
  err:
    *perr = 1;
    return -1UL;
  }
reget:
  s0 = get_symbol(p);
  switch (s0) {
  case '(':
    b = do_expression(p, &err, 1);
    if (err)
      goto err;
    a *= b;
    break;
  case ')':
    if (sub) {
      a = tmp - a;
      sub = 0;
    }
    if (bracket)
      return a;
    break;
  case '+':
    if (sub) {
      a = tmp - a;
      sub = 0;
    }
    b = do_expression(p, &err, 1);
    if (err)
      goto err;
    a += b;
    break;
  case '-':
    if (sub) {
      a = tmp - a;
      sub = 0;
    }
    tmp = a;
    if (next_char(p) == '(')
      a = do_expression(p, &err, 1);
    else
      a = get_number(p, &err);
    if (err)
      goto err;
    sub = 1;
    break;
  case '*':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a *= b;
    break;
  case '/':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a /= b;
    break;
  case '%':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a %= b;
    break;
  case '&':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a &= b;
    break;
  case '|':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a |= b;
    break;
  case '^':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a ^= b;
    break;
  case 'v':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a = ~(a | b);
    break;
  case '>':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a >>= b;
    break;
  case '<':
    if (next_char(p) == '(')
      b = do_expression(p, &err, 1);
    else
      b = get_number(p, &err);
    if (err)
      goto err;
    a <<= b;
    break;
  case '\0':
    if (sub) {
      a = tmp - a;
      sub = 0;
    }
    return a;
  case -1:
    err = 1;
  }
  if (err)
    goto err;
  goto reget;
  return 0;
}
```