user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<DoArithmEval>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %esi,-0x4c(%rbp)
  mov    %edx,-0x50(%rbp)
  mov    %rcx,-0x58(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  jmp    L883
L936:
  addl   $0x1,-0x4c(%rbp)
L883:
  mov    -0x4c(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jge    L1416
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L936
  jmp    L1416
L912:
  subl   $0x1,-0x50(%rbp)
L1416:
  mov    -0x4c(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jge    L350
  mov    -0x50(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L912
L350:
  mov    -0x4c(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jne    L781
  mov    $0x0,%eax
  jmp    L329
L781:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D75(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L175
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1622
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L457
L1622:
  mov    $0x0,%eax
  jmp    L329
L457:
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jne    L187
  mov    -0x20(%rbp),%eax
  test   %eax,%eax
  je     L1109
L187:
  mov    $0x1,%edx
  jmp    L585
L1109:
  mov    $0x0,%edx
L585:
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L175:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D207(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L11
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L512
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L420
L512:
  mov    $0x0,%eax
  jmp    L329
L420:
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  je     L1542
  mov    -0x20(%rbp),%eax
  test   %eax,%eax
  je     L1542
  mov    $0x1,%edx
  jmp    L228
L1542:
  mov    $0x0,%edx
L228:
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L11:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D7(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L898
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L758
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1223
L758:
  mov    $0x0,%eax
  jmp    L329
L1223:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  or     %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L898:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D64(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L560
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L524
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1473
L524:
  mov    $0x0,%eax
  jmp    L329
L1473:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  xor    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L560:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D8(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L844
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1608
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L592
L1608:
  mov    $0x0,%eax
  jmp    L329
L592:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  and    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L844:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D86(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L1550
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1179
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1488
  jmp    L1179
L631:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x30(%rbp)
L1179:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L1572
  mov    -0x30(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L631
  jmp    L1572
L732:
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
L1572:
  mov    -0x2c(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jle    L622
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L732
L622:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  sub    %ecx,%edx
  cmp    %edx,%eax
  je     L119
  mov    -0x58(%rbp),%rax
  movl   $0x1,(%rax)
  jmp    L892
L119:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x48(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rsi
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x48(%rbp),%rdx
  add    %rdx,%rcx
  mov    %eax,%edx
  mov    %rcx,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  setne  %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L892
L1488:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  setne  %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
L892:
  mov    $0x1,%eax
  jmp    L329
L1550:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D147(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L209
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1289
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1490
  jmp    L1289
L689:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x30(%rbp)
L1289:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L1148
  mov    -0x30(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L689
  jmp    L1148
L32:
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
L1148:
  mov    -0x2c(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jle    L1667
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L32
L1667:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  sub    %ecx,%edx
  cmp    %edx,%eax
  je     L1525
  mov    -0x58(%rbp),%rax
  movl   $0x0,(%rax)
  jmp    L925
L1525:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x48(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rsi
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x48(%rbp),%rdx
  add    %rdx,%rcx
  mov    %eax,%edx
  mov    %rcx,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L925
L1490:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  sete   %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
L925:
  mov    $0x1,%eax
  jmp    L329
L209:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D87(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L748
  lea    D159(%rip),%rax
  mov    %rax,%rdi
  call   <bug@plt>
  mov    $0x1,%eax
  jmp    L329
L748:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D27(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L437
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L428
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L2
  jmp    L428
L1016:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x30(%rbp)
L428:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L1741
  mov    -0x30(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1016
  jmp    L1741
L1101:
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
L1741:
  mov    -0x2c(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jle    L1606
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1101
L1606:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  cmp    %eax,-0x24(%rbp)
  jle    L1305
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x24(%rbp)
L1305:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    %rcx,%rdi
  call   <strncmp@plt>
  mov    %eax,-0x28(%rbp)
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jg     L324
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jne    L914
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  sub    %ecx,%edx
  cmp    %edx,%eax
  jl     L914
L324:
  mov    $0x1,%edx
  jmp    L1731
L914:
  mov    $0x0,%edx
L1731:
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L450
L2:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  setge  %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
L450:
  mov    $0x1,%eax
  jmp    L329
L437:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D104(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L810
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L618
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L171
  jmp    L618
L1214:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x30(%rbp)
L618:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L669
  mov    -0x30(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1214
  jmp    L669
L252:
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
L669:
  mov    -0x2c(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jle    L1110
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L252
L1110:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  cmp    %eax,-0x24(%rbp)
  jle    L973
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x24(%rbp)
L973:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    %rcx,%rdi
  call   <strncmp@plt>
  mov    %eax,-0x28(%rbp)
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jg     L221
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jne    L349
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  sub    %ecx,%edx
  cmp    %edx,%eax
  jle    L349
L221:
  mov    $0x1,%edx
  jmp    L358
L349:
  mov    $0x0,%edx
L358:
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L1797
L171:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  setg   %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
L1797:
  mov    $0x1,%eax
  jmp    L329
L810:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D173(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L1079
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1783
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L479
  jmp    L1783
L1015:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x30(%rbp)
L1783:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L570
  mov    -0x30(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1015
  jmp    L570
L1299:
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
L570:
  mov    -0x2c(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jle    L678
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1299
L678:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  cmp    %eax,-0x24(%rbp)
  jle    L172
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x24(%rbp)
L172:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    %rcx,%rdi
  call   <strncmp@plt>
  mov    %eax,-0x28(%rbp)
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  js     L791
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jne    L818
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  sub    %ecx,%edx
  cmp    %edx,%eax
  jg     L818
L791:
  mov    $0x1,%edx
  jmp    L121
L818:
  mov    $0x0,%edx
L121:
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L416
L479:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  setle  %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
L416:
  mov    $0x1,%eax
  jmp    L329
L1079:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D220(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L96
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L139
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L521
  jmp    L139
L1629:
  mov    -0x30(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x30(%rbp)
L139:
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jge    L1219
  mov    -0x30(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1629
  jmp    L1219
L1224:
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x2c(%rbp)
L1219:
  mov    -0x2c(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jle    L1705
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iswhite@plt>
  test   %rax,%rax
  jne    L1224
L1705:
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  cmp    %eax,-0x24(%rbp)
  jle    L937
  mov    -0x2c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x24(%rbp)
L937:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    %rcx,%rdi
  call   <strncmp@plt>
  mov    %eax,-0x28(%rbp)
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  js     L697
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jne    L399
  mov    -0x30(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    -0x2c(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  sub    %ecx,%edx
  cmp    %edx,%eax
  jge    L399
L697:
  mov    $0x1,%edx
  jmp    L223
L399:
  mov    $0x0,%edx
L223:
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L1041
L521:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  cmp    %eax,%edx
  setl   %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
L1041:
  mov    $0x1,%eax
  jmp    L329
L96:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D71(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L790
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L547
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L741
L547:
  mov    $0x0,%eax
  jmp    L329
L741:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L790:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D10(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L1456
  mov    -0x30(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  je     L1456
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L620
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L242
L620:
  mov    $0x0,%eax
  jmp    L329
L242:
  mov    -0x28(%rbp),%eax
  mov    -0x20(%rbp),%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L1456:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D101(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L1227
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1510
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1767
L1510:
  mov    $0x0,%eax
  jmp    L329
L1767:
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%eax
  imul   %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L1227:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D2(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L1207
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L391
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L276
L391:
  mov    $0x0,%eax
  jmp    L329
L276:
  mov    -0x20(%rbp),%eax
  test   %eax,%eax
  jne    L1551
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  call   <bug@plt>
L1551:
  mov    -0x28(%rbp),%eax
  mov    -0x20(%rbp),%ebx
  cltd
  idiv   %ebx
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L1207:
  lea    -0x2c(%rbp),%rdi
  lea    -0x30(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rdi,%r9
  mov    %rcx,%r8
  lea    D221(%rip),%rcx
  mov    %rax,%rdi
  call   <SpliceInfix@plt>
  test   %rax,%rax
  je     L190
  mov    -0x30(%rbp),%edx
  lea    -0x28(%rbp),%rcx
  mov    -0x4c(%rbp),%esi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  je     L1333
  mov    -0x2c(%rbp),%esi
  lea    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1150
L1333:
  mov    $0x0,%eax
  jmp    L329
L1150:
  mov    -0x20(%rbp),%eax
  test   %eax,%eax
  jne    L1660
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  call   <bug@plt>
L1660:
  mov    -0x28(%rbp),%eax
  mov    -0x20(%rbp),%ecx
  cltd
  idiv   %ecx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L190:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7e,%al
  jne    L1402
  mov    -0x4c(%rbp),%eax
  lea    0x1(%rax),%esi
  lea    -0x28(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1718
  mov    $0x0,%eax
  jmp    L329
L1718:
  mov    -0x28(%rbp),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L1402:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x21,%al
  jne    L1483
  mov    -0x4c(%rbp),%eax
  lea    0x1(%rax),%esi
  lea    -0x28(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L1643
  mov    $0x0,%eax
  jmp    L329
L1643:
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  sete   %al
  movzbl %al,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L1483:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  jne    L129
  mov    -0x4c(%rbp),%eax
  lea    0x1(%rax),%esi
  lea    -0x28(%rbp),%rcx
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <DoArithmEval>
  test   %eax,%eax
  jne    L891
  mov    $0x0,%eax
  jmp    L329
L891:
  mov    -0x28(%rbp),%eax
  neg    %eax
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L129:
  lea    D165(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x48(%rbp),%rax
  add    %rcx,%rax
  lea    D165(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  jne    L573
  mov    -0x50(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x29,%al
  je     L819
  mov    $0x0,%eax
  jmp    L329
L819:
  mov    -0x50(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    %eax,%ebx
  lea    D132(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  sub    %eax,%ebx
  mov    %ebx,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L329
L573:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x28,%al
  jne    L1359
  mov    -0x50(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x29,%al
  je     L1417
  mov    $0x0,%eax
  jmp    L329
L1417:
  mov    -0x50(%rbp),%eax
  lea    -0x1(%rax),%edi
  mov    -0x4c(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x58(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,%rcx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <DoArithmEval>
  jmp    L329
L1359:
  mov    -0x50(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x31(%rbp)
  mov    -0x50(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x20(%rbp),%rax
  mov    $0x0,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <strtol@plt>
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x50(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x31(%rbp),%eax
  mov    %al,(%rdx)
  mov    -0x50(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x20(%rbp),%rax
  cmp    %rax,%rdx
  sete   %al
  movzbl %al,%eax
L329:
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L594
  call   <__stack_chk_fail@plt>
L594:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D75
type_guessed: string
name: parse_data
arguments: label: D207
type_guessed: string
name: parse_data
arguments: label: D7
type_guessed: string
name: parse_data
arguments: label: D64
type_guessed: string
name: parse_data
arguments: label: D8
type_guessed: string
name: parse_data
arguments: label: D86
type_guessed: string
name: parse_data
arguments: label: D147
type_guessed: string
name: parse_data
arguments: label: D87
type_guessed: string
name: parse_data
arguments: label: D159
type_guessed: string
name: parse_data
arguments: label: D27
type_guessed: string
name: parse_data
arguments: label: D104
type_guessed: string
name: parse_data
arguments: label: D173
type_guessed: string
name: parse_data
arguments: label: D220
type_guessed: string
name: parse_data
arguments: label: D71
type_guessed: string
name: parse_data
arguments: label: D10
type_guessed: string
name: parse_data
arguments: label: D101
type_guessed: string
name: parse_data
arguments: label: D2
type_guessed: string
name: parse_data
arguments: label: D61
type_guessed: string
name: parse_data
arguments: label: D221
type_guessed: string
name: parse_data
arguments: label: D165
type_guessed: string
name: parse_data
arguments: label: D132
type_guessed: string

tool: D75: ||

tool: D207: &&

tool: D7: |

tool: D64: ^

tool: D8: &

tool: D86: !=

tool: D147: ==

tool: D87: =~

tool: D159: globbing support has not been compiled in

tool: D27: >=

tool: D104: >

tool: D173: <=

tool: D220: <

tool: D71: +

tool: D10: -

tool: D101: *

tool: D2: /

tool: D61: Division by zero in expression

tool: D221: %

tool: D165: length(

tool: D132: length()

assistant: ```c
int DoArithmEval(char *buf, int pos1, int pos2, int *result) {
  int spl1, spl2, result1, result2, l;
  char c, *p;
  while ((pos1 < pos2) && iswhite(buf[pos1]))
    pos1++;
  while ((pos1 < pos2) && iswhite(buf[pos2 - 1]))
    pos2--;
  if (pos1 == pos2)
    return 0;
  if (SpliceInfix(buf, pos1, pos2, "||", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 || result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "&&", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 && result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "|", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 | result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "^", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 ^ result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "&", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 & result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "!=", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2)) {
      while ((pos1 < spl1) && iswhite(buf[spl1 - 1]))
        spl1--;
      while ((pos2 > spl2) && iswhite(buf[spl2]))
        spl2++;
      if (spl1 - pos1 != pos2 - spl2)
        *result = 1;
      else
        *result = (strncmp(buf + pos1, buf + spl2, spl1 - pos1) != 0);
    } else
      *result = (result1 != result2);
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "==", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2)) {
      while ((pos1 < spl1) && iswhite(buf[spl1 - 1]))
        spl1--;
      while ((pos2 > spl2) && iswhite(buf[spl2]))
        spl2++;
      if (spl1 - pos1 != pos2 - spl2)
        *result = 0;
      else
        *result = (strncmp(buf + pos1, buf + spl2, spl1 - pos1) == 0);
    } else
      *result = (result1 == result2);
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "=~", &spl1, &spl2)) {
    bug("globbing support has not been compiled in");
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, ">=", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2)) {
      while ((pos1 < spl1) && iswhite(buf[spl1 - 1]))
        spl1--;
      while ((pos2 > spl2) && iswhite(buf[spl2]))
        spl2++;
      l = spl1 - pos1;
      if (l > pos2 - spl2)
        l = pos2 - spl2;
      result1 = strncmp(buf + pos1, buf + spl2, l);
      *result = (result1 > 0) || ((result1 == 0) && (spl1 - pos1 >= pos2 - spl2));
    } else
      *result = (result1 >= result2);
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, ">", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2)) {
      while ((pos1 < spl1) && iswhite(buf[spl1 - 1]))
        spl1--;
      while ((pos2 > spl2) && iswhite(buf[spl2]))
        spl2++;
      l = spl1 - pos1;
      if (l > pos2 - spl2)
        l = pos2 - spl2;
      result1 = strncmp(buf + pos1, buf + spl2, l);
      *result = (result1 > 0) || ((result1 == 0) && (spl1 - pos1 > pos2 - spl2));
    } else
      *result = (result1 > result2);
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "<=", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2)) {
      while ((pos1 < spl1) && iswhite(buf[spl1 - 1]))
        spl1--;
      while ((pos2 > spl2) && iswhite(buf[spl2]))
        spl2++;
      l = spl1 - pos1;
      if (l > pos2 - spl2)
        l = pos2 - spl2;
      result1 = strncmp(buf + pos1, buf + spl2, l);
      *result = (result1 < 0) || ((result1 == 0) && (spl1 - pos1 <= pos2 - spl2));
    } else
      *result = (result1 <= result2);
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "<", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2)) {
      while ((pos1 < spl1) && iswhite(buf[spl1 - 1]))
        spl1--;
      while ((pos2 > spl2) && iswhite(buf[spl2]))
        spl2++;
      l = spl1 - pos1;
      if (l > pos2 - spl2)
        l = pos2 - spl2;
      result1 = strncmp(buf + pos1, buf + spl2, l);
      *result = (result1 < 0) || ((result1 == 0) && (spl1 - pos1 < pos2 - spl2));
    } else
      *result = (result1 < result2);
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "+", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 + result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "-", &spl1, &spl2))
    if (spl1 != pos1) {
      if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
        return 0;
      *result = result1 - result2;
      return 1;
    }
  if (SpliceInfix(buf, pos1, pos2, "*", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    *result = result1 * result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "/", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    if (result2 == 0)
      bug("Division by zero in expression");
    *result = result1 / result2;
    return 1;
  }
  if (SpliceInfix(buf, pos1, pos2, "%", &spl1, &spl2)) {
    if (!DoArithmEval(buf, pos1, spl1, &result1) || !DoArithmEval(buf, spl2, pos2, &result2))
      return 0;
    if (result2 == 0)
      bug("Division by zero in expression");
    *result = result1 % result2;
    return 1;
  }
  if (buf[pos1] == '~') {
    if (!DoArithmEval(buf, pos1 + 1, pos2, &result1))
      return 0;
    *result = ~result1;
    return 1;
  }
  if (buf[pos1] == '!') {
    if (!DoArithmEval(buf, pos1 + 1, pos2, &result1))
      return 0;
    *result = !result1;
    return 1;
  }
  if (buf[pos1] == '-') {
    if (!DoArithmEval(buf, pos1 + 1, pos2, &result1))
      return 0;
    *result = -result1;
    return 1;
  }
  if (strncmp(buf + pos1, "length(", strlen("length(")) == 0) {
    if (buf[pos2 - 1] != ')')
      return 0;
    *result = pos2 - pos1 - strlen("length()");
    return 1;
  }
  if (buf[pos1] == '(') {
    if (buf[pos2 - 1] != ')')
      return 0;
    return DoArithmEval(buf, pos1 + 1, pos2 - 1, result);
  }
  c = buf[pos2];
  buf[pos2] = 0;
  *result = (int)strtol(buf + pos1, &p, 0);
  buf[pos2] = c;
  return (p == buf + pos2);
}
```