user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<heir9>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <heir10@plt>
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <blanks@plt>
  xor    %eax,%eax
  call   <ch@plt>
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <ch@plt>
  cmp    $0x2a,%ebx
  mov    %eax,%r8d
  setne  %al
  cmp    $0x2f,%r8d
  setne  %dl
  and    %edx,%eax
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <ch@plt>
  cmp    $0x25,%eax
  je     L132
  test   %bl,%bl
  je     L132
L25:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L140
  add    $0x10,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopw   0x0(%rax,%rax,1)
L132:
  test   %r12d,%r12d
  jne    L34
L159:
  lea    D6(%rip),%rbp
  lea    D17(%rip),%r13
  mov    %rsp,%rbx
  lea    D28(%rip),%r14
  nopl   0x0(%rax)
L151:
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <match@plt>
  test   %eax,%eax
  jne    L135
L58:
  xor    %eax,%eax
  mov    %r13,%rdi
  call   <match@plt>
  test   %eax,%eax
  jne    L126
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <match@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  je     L25
  xor    %eax,%eax
  call   <push@plt>
  xor    %eax,%eax
  mov    %rbx,%rdi
  call   <heir10@plt>
  test   %eax,%eax
  jne    L62
L149:
  xor    %eax,%eax
  call   <pop@plt>
  xor    %eax,%eax
  call   <mod@plt>
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <match@plt>
  test   %eax,%eax
  je     L58
L135:
  xor    %eax,%eax
  call   <push@plt>
  xor    %eax,%eax
  mov    %rbx,%rdi
  call   <heir9>
  test   %eax,%eax
  je     L146
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <rvalue@plt>
L146:
  xor    %eax,%eax
  call   <pop@plt>
  xor    %eax,%eax
  call   <mult@plt>
  jmp    L151
  nopl   0x0(%rax)
L126:
  xor    %eax,%eax
  call   <push@plt>
  xor    %eax,%eax
  mov    %rbx,%rdi
  call   <heir10@plt>
  test   %eax,%eax
  jne    L21
L46:
  xor    %eax,%eax
  call   <pop@plt>
  xor    %eax,%eax
  call   <div@plt>
  jmp    L151
  nopl   0x0(%rax,%rax,1)
L62:
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <rvalue@plt>
  jmp    L149
  nop
L21:
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <rvalue@plt>
  jmp    L46
  nopl   0x0(%rax)
L34:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <rvalue@plt>
  jmp    L159
L140:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D6
data_type: string
name: retrieve_data
arguments: data_tag: D17
data_type: string
name: retrieve_data
arguments: data_tag: D28
data_type: string

tool: D6: *

tool: D17: /

tool: D28: %

assistant: ```c
heir9(lval) int lval[];
{
  int k, lval2[2];
  k = heir10(lval);
  blanks();
  if ((ch() != '*') & (ch() != '/') & (ch() != '%'))
    return k;
  if (k)
    rvalue(lval);
  while (1) {
    if (match("*")) {
      push();
      if (heir9(lval2))
        rvalue(lval2);
      pop();
      mult();
    } else if (match("/")) {
      push();
      if (heir10(lval2))
        rvalue(lval2);
      pop();
      div();
    } else if (match("%")) {
      push();
      if (heir10(lval2))
        rvalue(lval2);
      pop();
      mod();
    } else
      return 0;
  }
}
```