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

```asm
<primary>:
  endbr64
  push   %r13
  mov    %rdi,%r13
  lea    D17(%rip),%rdi
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <match@plt>
  test   %eax,%eax
  jne    L95
  lea    0xf(%rsp),%rbp
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <symname@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  jne    L137
  xor    %eax,%eax
  lea    0x8(%rsp),%rdi
  call   <constant@plt>
  test   %eax,%eax
  je     L48
  movq   $0x0,0x0(%r13)
L49:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L69
  add    $0x28,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L137:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <findloc@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  jne    L136
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <findglb@plt>
  movslq %eax,%rbx
  test   %eax,%eax
  je     L111
  cmpb   $0x4,0x9(%rbx)
  je     L111
  mov    %eax,0x0(%r13)
  movl   $0x0,0x4(%r13)
  cmpb   $0x2,0x9(%rbx)
  je     L10
  mov    $0x1,%r12d
  jmp    L49
  xchg   %ax,%ax
L95:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <heir1@plt>
  lea    D8(%rip),%rdi
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <needbrack@plt>
  jmp    L49
L136:
  movslq %eax,%rbp
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <getloc@plt>
  mov    %r12d,0x0(%r13)
  movsbl 0xa(%rbp),%eax
  mov    $0x2,%edx
  mov    %eax,0x4(%r13)
  cmpb   $0x3,0x9(%rbp)
  cmove  %edx,%eax
  xor    %r12d,%r12d
  mov    %eax,0x4(%r13)
  cmpb   $0x2,0x9(%rbp)
  setne  %r12b
  jmp    L49
  nopl   0x0(%rax)
L48:
  lea    D15(%rip),%rdi
  xor    %eax,%eax
  call   <error@plt>
  xor    %eax,%eax
  call   <immed@plt>
  xor    %edi,%edi
  xor    %eax,%eax
  call   <outdec@plt>
  xor    %eax,%eax
  call   <nl@plt>
  xor    %eax,%eax
  call   <junk@plt>
  jmp    L49
  nopl   0x0(%rax)
L111:
  xor    %ecx,%ecx
  mov    $0x2,%edx
  mov    $0x4,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <addglb@plt>
  movl   $0x0,0x4(%r13)
  mov    %eax,0x0(%r13)
  jmp    L49
  nop
L10:
  xor    %eax,%eax
  call   <immed@plt>
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <outname@plt>
  xor    %eax,%eax
  call   <nl@plt>
  movsbl 0xa(%rbx),%eax
  mov    %eax,0x8(%r13)
  mov    %eax,0x4(%r13)
  jmp    L49
L69:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D17
type_guessed: string
name: extract_symbolic_data
arguments: label: D8
type_guessed: string
name: extract_symbolic_data
arguments: label: D15
type_guessed: string

tool: D17: (

tool: D8: )

tool: D15: 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;
  }
}
```