user: 请从给定的汇编指令推导出C源代码：

```asm
<infixToPostfix>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <strlen@plt>
  mov    %eax,%edi
  call   <createStack@plt>
  test   %rax,%rax
  je     L3
  movsbl (%r15),%edi
  mov    %rax,%rbx
  test   %dil,%dil
  je     L106
  mov    %r15,%r13
  mov    $0xffffffff,%r14d
  jmp    L80
  nopl   (%rax)
L128:
  movzbl 0x0(%r13),%edx
  add    $0x1,%r14d
  movslq %r14d,%rax
  mov    %dl,(%r15,%rax,1)
L119:
  movsbl 0x1(%r13),%edi
  add    $0x1,%r13
  test   %dil,%dil
  je     L122
L80:
  call   <isOperand@plt>
  test   %rax,%rax
  jne    L128
  movzbl 0x0(%r13),%eax
  cmp    $0x28,%al
  je     L189
  movslq %r14d,%rbp
  cmp    $0x29,%al
  jne    L37
  jmp    L53
  nopl   (%rax)
L93:
  movsbl 0x0(%r13),%edi
  add    $0x1,%rbp
  call   <Prec@plt>
  mov    %rbx,%rdi
  mov    %rax,%r12
  call   <peek@plt>
  movsbl %al,%edi
  call   <Prec@plt>
  cmp    %rax,%r12
  jg     L156
  mov    %rbx,%rdi
  call   <pop@plt>
  mov    %al,(%r15,%rbp,1)
L37:
  mov    %rbx,%rdi
  mov    %ebp,%r14d
  call   <isEmpty@plt>
  test   %eax,%eax
  je     L93
L156:
  movsbl 0x0(%r13),%esi
  mov    %rbx,%rdi
  add    $0x1,%r13
  call   <push@plt>
  movsbl 0x0(%r13),%edi
  test   %dil,%dil
  jne    L80
L122:
  movslq %r14d,%r14
  lea    0x1(%r15,%r14,1),%rbp
  jmp    L199
  nopw   0x0(%rax,%rax,1)
L18:
  mov    %rbx,%rdi
  add    $0x1,%rbp
  call   <pop@plt>
  mov    %al,-0x1(%rbp)
L199:
  mov    %rbx,%rdi
  call   <isEmpty@plt>
  test   %eax,%eax
  je     L18
  movb   $0x0,0x0(%rbp)
  mov    %r15,%rsi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
L25:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L6:
  mov    %rbx,%rdi
  add    $0x1,%rbp
  call   <peek@plt>
  cmp    $0x28,%al
  je     L176
  mov    %rbx,%rdi
  call   <pop@plt>
  mov    %al,(%r15,%rbp,1)
L53:
  mov    %rbx,%rdi
  mov    %ebp,%r14d
  call   <isEmpty@plt>
  test   %eax,%eax
  je     L6
L176:
  mov    %rbx,%rdi
  call   <isEmpty@plt>
  test   %eax,%eax
  jne    L69
  mov    %rbx,%rdi
  call   <peek@plt>
  cmp    $0x28,%al
  jne    L3
L69:
  mov    %rbx,%rdi
  call   <pop@plt>
  jmp    L119
L189:
  mov    $0x28,%esi
  mov    %rbx,%rdi
  call   <push@plt>
  jmp    L119
L3:
  mov    $0xffffffff,%eax
  jmp    L25
L106:
  mov    $0xffffffff,%r14d
  jmp    L122
```

tool_calls: name: disassemble_data
arguments: data_tag: D2
data_type: string

tool: D2: %sn

assistant: ```c
int infixToPostfix(char *exp) {
  int i, k;
  struct Stack *stack = createStack(strlen(exp));
  if (!stack)
    return -1;
  for (i = 0, k = -1; exp[i]; ++i) {
    if (isOperand(exp[i]))
      exp[++k] = exp[i];
    else if (exp[i] == '(')
      push(stack, exp[i]);
    else if (exp[i] == ')') {
      while (!isEmpty(stack) && peek(stack) != '(')
        exp[++k] = pop(stack);
      if (!isEmpty(stack) && peek(stack) != '(')
        return -1;
      else
        pop(stack);
    } else {
      while (!isEmpty(stack) && Prec(exp[i]) <= Prec(peek(stack)))
        exp[++k] = pop(stack);
      push(stack, exp[i]);
    }
  }
  while (!isEmpty(stack))
    exp[++k] = pop(stack);
  exp[++k] = '\0';
  printf("%sn", exp);
  return 0;
}
```