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

```asm
<main>:
  endbr64
  push   %r13
  lea    D116(%rip),%rdi
  push   %r12
  lea    D103(%rip),%r12
  sub    $0x898,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x888(%rsp)
  xor    %eax,%eax
  lea    0x80(%rsp),%r13
  call   <printf@plt>
  mov    $0x138a,%edx
  lea    D145(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %r12,%rdi
  call   <WSQ_Init@plt>
  lea    D154(%rip),%rdi
  call   <WSQ_SetQueryName@plt>
  xor    %eax,%eax
  call   <WSQ_Pause@plt>
  lea    D49(%rip),%rdi
  call   <printf@plt>
  mov    $0x3e9,%edi
  call   <WSQ_BeginTransaction@plt>
  mov    $0x65,%edi
  call   <WSQ_BeginSubgraph@plt>
  lea    D134(%rip),%r8
  mov    %r12,%rdx
  lea    D96(%rip),%rcx
  lea    D36(%rip),%rsi
  mov    $0x64,%edi
  call   <WSQ_AddOp@plt>
  mov    %r13,%r8
  mov    %r12,%rdx
  mov    $0x65,%edi
  lea    D72(%rip),%rcx
  lea    D69(%rip),%rsi
  call   <WSQ_AddOp@plt>
  lea    D75(%rip),%r13
  lea    D169(%rip),%r8
  mov    $0x66,%edi
  mov    %r13,%rcx
  lea    D112(%rip),%rdx
  lea    D129(%rip),%rsi
  call   <WSQ_AddOp@plt>
  mov    %r12,%rcx
  mov    %r13,%rdx
  mov    $0x67,%edi
  lea    D63(%rip),%r8
  lea    D70(%rip),%rsi
  call   <WSQ_AddOp@plt>
  xor    %eax,%eax
  call   <WSQ_EndSubgraph@plt>
  xor    %eax,%eax
  call   <WSQ_EndTransaction@plt>
  test   %eax,%eax
  je     L10
L22:
  xor    %eax,%eax
  call   <WSQ_Shutdown@plt>
  mov    0x888(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L23
  add    $0x898,%rsp
  xor    %eax,%eax
  pop    %r12
  pop    %r13
  ret
L10:
  lea    D74(%rip),%rdi
  call   <printf@plt>
  mov    %rsp,%rdi
  mov    $0x3b,%ecx
  xor    %eax,%eax
  lea    D140(%rip),%rsi
  rep movsb %ds:(%rsi),%es:(%rdi)
  mov    $0x45,%ecx
  rep stos %al,%es:(%rdi)
  mov    %rsp,%rdi
  call   <system@plt>
  jmp    L22
L23:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D116
type_infered: string
name: extract_symbolic_data
arguments: data_label: D103
type_infered: string
name: extract_symbolic_data
arguments: data_label: D145
type_infered: string
name: extract_symbolic_data
arguments: data_label: D154
type_infered: string
name: extract_symbolic_data
arguments: data_label: D49
type_infered: string
name: extract_symbolic_data
arguments: data_label: D134
type_infered: string
name: extract_symbolic_data
arguments: data_label: D96
type_infered: string
name: extract_symbolic_data
arguments: data_label: D36
type_infered: string
name: extract_symbolic_data
arguments: data_label: D72
type_infered: string
name: extract_symbolic_data
arguments: data_label: D69
type_infered: string
name: extract_symbolic_data
arguments: data_label: D75
type_infered: string
name: extract_symbolic_data
arguments: data_label: D169
type_infered: string
name: extract_symbolic_data
arguments: data_label: D112
type_infered: string
name: extract_symbolic_data
arguments: data_label: D129
type_infered: string
name: extract_symbolic_data
arguments: data_label: D63
type_infered: string
name: extract_symbolic_data
arguments: data_label: D70
type_infered: string
name: extract_symbolic_data
arguments: data_label: D74
type_infered: string
name: extract_symbolic_data
arguments: data_label: D140
type_infered: string

tool: D116: Proc2 starting.


tool: 

tool: D145: localhost | %d | string SYM, float TIME, float PRICE, int VOLUME

tool: D154: proc2query

tool: D49: PAUSING WSQ engine, run compiled query manually...


tool: D134: 1000 |foobar.schema

tool: D96: 100

tool: D36: RandomSource

tool: D72: 101

tool: D69: ConnectRemoteIn

tool: D75: 102

tool: D169: TIME

tool: D112: 100 101

tool: D129: MergeMonotonic

tool: D63: NETSTRM: 

tool: D70: Printer

tool: D74: pid is 000000000000


tool: D140: WSQ_OPTLVL=3 WSQ_MAXSPEED=1 WSQ_VERBOSE=3 ./proc2query.exe

assistant: ```c
int main(int argc, char *argv[]) {
  printf("Proc2 starting.\n");
  char strargs[2048];
  sprintf(strargs, "localhost | %d | string SYM, float TIME, float PRICE, int VOLUME", 5002);
  WSQ_Init("");
  WSQ_SetQueryName("proc2query");
  WSQ_Pause();
  printf("PAUSING WSQ engine, run compiled query manually...\n");
  WSQ_BeginTransaction(1001);
  WSQ_BeginSubgraph(101);
  WSQ_AddOp(100, "RandomSource", "", "100", "1000 |foobar.schema");
  WSQ_AddOp(101, "ConnectRemoteIn", "", "101", strargs);
  WSQ_AddOp(102, "MergeMonotonic", "100 101", "102", "TIME");
  WSQ_AddOp(103, "Printer", "102", "", "NETSTRM: ");
  WSQ_EndSubgraph();
  int pid = WSQ_EndTransaction();
  if (pid == 0) {
    printf("pid is 000000000000\n");
    char cmd[128] = "WSQ_OPTLVL=3 WSQ_MAXSPEED=1 WSQ_VERBOSE=3 ./proc2query.exe";
    system(cmd);
  }
  WSQ_Shutdown();
  return 0;
}
```