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

```asm
<EvaluateHighestPriorityOperator>:
  endbr64
  push   %r15
  xor    %eax,%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  test   %ecx,%ecx
  je     L192
  mov    %rdi,%rbp
  mov    %rsi,%r13
  mov    %rdx,%rbx
  mov    %ecx,%r12d
  jle    L209
  movslq %ecx,%rcx
  xor    %eax,%eax
  mov    $0xffffffff,%r14d
  jmp    L34
  nopl   0x0(%rax,%rax,1)
L150:
  movslq %r14d,%rdx
  mov    (%rbx,%rax,4),%edi
  cmp    %edi,(%rbx,%rdx,4)
  cmovl  %eax,%r14d
  add    $0x1,%rax
  cmp    %rcx,%rax
  je     L168
L34:
  cmp    $0xffffffff,%r14d
  jne    L150
  mov    %eax,%r14d
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L34
L168:
  movslq %r14d,%r15
  lea    0x0(,%r15,4),%r8
  lea    0x4(%rbp,%r8,1),%rax
L205:
  add    %rbp,%r8
  add    %r13,%r15
  mov    (%rax),%ecx
  lea    D17(%rip),%rdi
  mov    (%r8),%esi
  movsbl (%r15),%edx
  mov    %r8,0x18(%rsp)
  mov    %ecx,0x10(%rsp)
  mov    %esi,0x8(%rsp)
  call   <printf@plt>
  movsbl (%r15),%edx
  mov    0x8(%rsp),%esi
  mov    0x10(%rsp),%ecx
  mov    0x18(%rsp),%r8
  cmp    $0x2d,%dl
  je     L110
  jg     L103
  cmp    $0x2a,%dl
  je     L19
  cmp    $0x2b,%dl
  jne    L229
  add    %ecx,%esi
  lea    0x1(%r14),%eax
  mov    %esi,(%r8)
  cmp    %eax,%r12d
  jle    L220
L161:
  mov    %r12d,%eax
  movslq %r14d,%r15
  sub    %r14d,%eax
  lea    0x1(%r15),%r14
  lea    0x0(,%r15,4),%rsi
  lea    -0x2(%rax),%edx
  lea    (%rbx,%rsi,1),%r10
  lea    0x2(%rdx,%r15,1),%rcx
  lea    0x4(%rsi),%r9
  lea    0x0(,%rcx,4),%rax
  lea    0x8(%rbp,%rsi,1),%rsi
  add    %r13,%rcx
  lea    0x0(%rbp,%rax,1),%r8
  add    %rbx,%rax
  lea    0x0(%rbp,%r9,1),%rdi
  mov    %rcx,0x28(%rsp)
  mov    %rax,0x10(%rsp)
  lea    0x3(%rdx,%r15,1),%rax
  add    %rbx,%r9
  add    %r13,%r15
  lea    0x0(%rbp,%rax,4),%rax
  mov    %r9,0x20(%rsp)
  mov    %rax,0x8(%rsp)
  lea    (%r14,%rdx,1),%rax
  lea    (%rbx,%rax,4),%r11
  lea    0x0(%r13,%rax,1),%rcx
  cmp    %r11,%rsi
  mov    %rcx,0x18(%rsp)
  setae  %cl
  cmp    %r10,0x8(%rsp)
  setbe  %al
  or     %eax,%ecx
  cmp    0x10(%rsp),%rdi
  setae  %al
  cmp    %r8,%r10
  setae  %r9b
  or     %r9d,%eax
  mov    0x28(%rsp),%r9
  and    %ecx,%eax
  cmp    %r8,%r15
  setae  %cl
  cmp    %rdi,%r9
  setbe  %r8b
  or     %r8d,%ecx
  and    %eax,%ecx
  cmp    0x8(%rsp),%r15
  mov    %r10,0x8(%rsp)
  setae  %al
  cmp    0x18(%rsp),%rsi
  setae  %r8b
  or     %r8d,%eax
  and    %ecx,%eax
  cmp    %r10,%r9
  setbe  %cl
  cmp    %r11,%r15
  setae  %r8b
  or     %r8d,%ecx
  test   %cl,%al
  je     L36
  mov    0x20(%rsp),%r10
  cmp    %r10,0x18(%rsp)
  setbe  %al
  cmp    0x10(%rsp),%r15
  setae  %cl
  or     %cl,%al
  je     L36
  lea    0x1(%rdx),%r8
  lea    0x0(,%r8,4),%r11
  mov    %r8,0x18(%rsp)
  mov    %r11,%rdx
  mov    %r11,0x10(%rsp)
  call   <memmove@plt>
  mov    0x18(%rsp),%rdx
  lea    0x0(%r13,%r14,1),%rsi
  mov    %r15,%rdi
  call   <memmove@plt>
  mov    0x10(%rsp),%rdx
  mov    0x20(%rsp),%rsi
  mov    0x8(%rsp),%rdi
  call   <memmove@plt>
L220:
  movslq %r12d,%rax
  movl   $0x0,0x0(%rbp,%rax,4)
  movb   $0x0,-0x1(%r13,%rax,1)
  movl   $0x0,-0x4(%rbx,%rax,4)
  lea    -0x1(%r12),%eax
L192:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L103:
  cmp    $0x2f,%dl
  jne    L229
  mov    %esi,%eax
  cltd
  idiv   %ecx
  mov    %eax,%esi
  lea    0x1(%r14),%eax
  mov    %esi,(%r8)
  cmp    %eax,%r12d
  jg     L161
  jmp    L220
  xchg   %ax,%ax
L36:
  mov    0x4(%rbp,%r14,4),%eax
  mov    %eax,0x0(%rbp,%r14,4)
  movzbl 0x0(%r13,%r14,1),%eax
  mov    %al,-0x1(%r13,%r14,1)
  mov    (%rbx,%r14,4),%eax
  mov    %eax,-0x4(%rbx,%r14,4)
  add    $0x1,%r14
  cmp    %r14d,%r12d
  jg     L36
  jmp    L220
  nopl   0x0(%rax)
L19:
  imul   %ecx,%esi
  lea    0x1(%r14),%eax
  mov    %esi,(%r8)
  cmp    %eax,%r12d
  jg     L161
  jmp    L220
  nopl   0x0(%rax,%rax,1)
L229:
  lea    D10(%rip),%rdi
  call   <printf@plt>
  add    $0x38,%rsp
  mov    $0xffffffff,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L110:
  sub    %ecx,%esi
  lea    0x1(%r14),%eax
  mov    %esi,(%r8)
  cmp    %eax,%r12d
  jg     L161
  jmp    L220
  nopw   0x0(%rax,%rax,1)
L209:
  mov    %rdi,%rax
  mov    $0xfffffffffffffffc,%r8
  mov    $0xffffffffffffffff,%r15
  mov    $0xffffffff,%r14d
  jmp    L205
```

tool_calls: name: parse_data
arguments: data_label: D17
type_infered: string
name: parse_data
arguments: data_label: D10
type_infered: string

tool: D17: evaluating: '%d%c%d'


tool: D10: unsupported operation %d %c %d


assistant: ```c
int EvaluateHighestPriorityOperator(int *numbers, char *operators, int *priorities, int op_count) {
  int op_chosen = 0;
  int i = 0;
  int result = 0, num_left = 0, num_right = 0;
  if (0 == op_count) {
    return 0;
  }
  for (op_chosen = -1, i = 0; i < op_count; ++i) {
    if (-1 == op_chosen || priorities[op_chosen] < priorities[i]) {
      op_chosen = i;
    }
  }
  num_left = numbers[op_chosen];
  num_right = numbers[op_chosen + 1];
  printf("evaluating: '%d%c%d'\n", num_left, operators[op_chosen], num_right);
  switch (operators[op_chosen]) {
  case '+':
    result = num_left + num_right;
    break;
  case '-':
    result = num_left - num_right;
    break;
  case '*':
    result = num_left * num_right;
    break;
  case '/':
    result = num_left / num_right;
    break;
  default:
    printf("unsupported operation %d %c %d\n", num_left, operators[op_chosen], num_right);
    return -1;
  }
  numbers[op_chosen] = result;
  for (i = op_chosen + 1; i < op_count; ++i) {
    numbers[i] = numbers[i + 1];
    operators[i - 1] = operators[i];
    priorities[i - 1] = priorities[i];
  }
  numbers[op_count] = 0;
  operators[op_count - 1] = 0;
  priorities[op_count - 1] = 0;
  return op_count - 1;
}
```