user: 下面的汇编指令对应的C源代码是什么：

```asm
<primary>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %rdi,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D23(%rip),%rdi
  call   <match@plt>
  test   %eax,%eax
  jne    L42
  lea    0xf(%rsp),%rdi
  mov    $0x0,%eax
  call   <symname@plt>
  mov    %eax,%ebx
  test   %eax,%eax
  je     L48
  lea    0xf(%rsp),%rdi
  mov    $0x0,%eax
  call   <findloc@plt>
  mov    %eax,%ebx
  test   %eax,%eax
  je     L75
  movslq %eax,%r12
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <getloc@plt>
  mov    %ebx,0x0(%rbp)
  movsbl 0xa(%r12),%eax
  mov    %eax,0x4(%rbp)
  cmpb   $0x3,0x9(%r12)
  mov    $0x2,%edx
  cmove  %edx,%eax
  mov    %eax,0x4(%rbp)
  cmpb   $0x2,0x9(%r12)
  setne  %bl
  movzbl %bl,%ebx
  jmp    L109
L42:
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <heir1@plt>
  mov    %eax,%ebx
  lea    D1(%rip),%rdi
  mov    $0x0,%eax
  call   <needbrack@plt>
L109:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L139
  mov    %ebx,%eax
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L75:
  lea    0xf(%rsp),%rdi
  mov    $0x0,%eax
  call   <findglb@plt>
  movslq %eax,%r12
  test   %eax,%eax
  je     L76
  cmpb   $0x4,0x9(%r12)
  je     L76
  mov    %eax,0x0(%rbp)
  movl   $0x0,0x4(%rbp)
  cmpb   $0x2,0x9(%r12)
  je     L28
  mov    $0x1,%ebx
  jmp    L109
L28:
  mov    $0x0,%eax
  call   <immed@plt>
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <outname@plt>
  mov    $0x0,%eax
  call   <nl@plt>
  movsbl 0xa(%r12),%eax
  mov    %eax,0x8(%rbp)
  mov    %eax,0x4(%rbp)
  jmp    L109
L76:
  lea    0xf(%rsp),%rdi
  mov    $0x0,%ecx
  mov    $0x2,%edx
  mov    $0x4,%esi
  mov    $0x0,%eax
  call   <addglb@plt>
  mov    %eax,0x0(%rbp)
  movl   $0x0,0x4(%rbp)
  jmp    L109
L48:
  lea    0x8(%rsp),%rdi
  mov    $0x0,%eax
  call   <constant@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  je     L95
  movl   $0x0,0x4(%rbp)
  movl   $0x0,0x0(%rbp)
  jmp    L109
L95:
  lea    D5(%rip),%rdi
  mov    $0x0,%eax
  call   <error@plt>
  mov    $0x0,%eax
  call   <immed@plt>
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <outdec@plt>
  mov    $0x0,%eax
  call   <nl@plt>
  mov    $0x0,%eax
  call   <junk@plt>
  mov    %r12d,%ebx
  jmp    L109
L139:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D23
datatype: string
name: parse_data
arguments: label: D1
datatype: string
name: parse_data
arguments: label: D5
datatype: string

tool: D23: (

tool: D1: )

tool: D5: invalid expression

assistant: ```c
primary(lval) int *lval;
{
  char *ptr, sname[9];
  int num[1];
  int k;
  if (match("(")) {
    k = heir1(lval);
    needbrack(")");
    return k;
  }
  if (symname(sname)) {
    if (ptr = findloc(sname)) {
      getloc(ptr);
      lval[0] = ptr;
      lval[1] = ptr[10];
      if (ptr[9] == 3)
        lval[1] = 2;
      if (ptr[9] == 2)
        return 0;
      else
        return 1;
    }
    if (ptr = findglb(sname))
      if (ptr[9] != 4) {
        lval[0] = ptr;
        lval[1] = 0;
        if (ptr[9] != 2)
          return 1;
        immed();
        outname(ptr);
        nl();
        lval[1] = lval[2] = ptr[10];
        return 0;
      }
    ptr = addglb(sname, 4, 2, 0);
    lval[0] = ptr;
    lval[1] = 0;
    return 0;
  }
  if (constant(num))
    return (lval[0] = lval[1] = 0);
  else {
    error("invalid expression");
    immed();
    outdec(0);
    nl();
    junk();
    return 0;
  }
}
```