// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: subexpr
static BinOpr subexpr (LexState *ls, expdesc *v, int limit) {
  BinOpr op;
  UnOpr uop;
  enterlevel(ls);
  uop = getunopr(ls->t.token);
  if (uop != OPR_NOUNOPR) {
    int line = ls->linenumber;
    luaX_next(ls);
    subexpr(ls, v, UNARY_PRIORITY);
    luaK_prefix(ls->fs, uop, v, line);
  }
  else simpleexp(ls, v);
  /* expand while operators have priorities higher than 'limit' */
  op = getbinopr(ls->t.token);
  while (op != OPR_NOBINOPR && priority[op].left > limit) {
    expdesc v2;
    BinOpr nextop;
    int line = ls->linenumber;
    luaX_next(ls);
    luaK_infix(ls->fs, op, v);
    /* read sub-expression with higher priority */
    nextop = subexpr(ls, &v2, priority[op].right);
    luaK_posfix(ls->fs, op, v, &v2, line);
    op = nextop;
  }
  leavelevel(ls);
  return op;  /* return first untreated operator */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, 0x1c(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
movq 0x38(%rbx), %rax
movzwl 0xc6(%rax), %ecx
incl %ecx
movw %cx, 0xc6(%rax)
movzwl %cx, %eax
cmpl $0xc9, %eax
jae 0xdcb4
movl 0x10(%rbx), %eax
cmpl $0x113, %eax            # imm = 0x113
jg 0xd90b
cmpl $0x7d, %eax
jg 0xd954
cmpl $0x23, %eax
je 0xd9dd
cmpl $0x2d, %eax
je 0xd9e8
cmpl $0x7b, %eax
jne 0xda62
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0xdcd4
jmp 0xdace
cmpl $0x121, %eax            # imm = 0x121
jle 0xd98b
cmpl $0x122, %eax            # imm = 0x122
je 0xda08
cmpl $0x123, %eax            # imm = 0x123
je 0xda31
cmpl $0x125, %eax            # imm = 0x125
jne 0xda62
movq 0x18(%rbx), %rsi
callq 0x16516
movq 0x8(%rsp), %rcx
movq $-0x1, 0x10(%rcx)
movl $0x4, (%rcx)
jmp 0xd9d5
leal -0x107(%rax), %ecx
cmpl $0x8, %ecx
ja 0xda55
leaq 0x1501a(%rip), %rax     # 0x22984
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0x8(%rsp), %rax
movq $-0x1, 0x10(%rax)
movl $0x3, (%rax)
jmp 0xdabf
cmpl $0x114, %eax            # imm = 0x114
je 0xd9f0
cmpl $0x119, %eax            # imm = 0x119
jne 0xda62
movq (%rdi), %rax
cmpb $0x0, 0xb(%rax)
je 0xdcc5
movb $0x1, 0xb(%rax)
movl $0x2d, %esi
xorl %edx, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x161bd
movq 0x8(%rsp), %rcx
movq $-0x1, 0x10(%rcx)
movl $0xe, (%rcx)
movl %eax, 0x8(%rcx)
jmp 0xdac6
movl $0x3, %r15d
jmp 0xda77
xorl %r15d, %r15d
jmp 0xda77
movq 0x8(%rsp), %rax
movq $-0x1, 0x10(%rax)
movl $0x2, (%rax)
jmp 0xdabf
movq 0x8(%rsp), %rax
movq $-0x1, 0x10(%rax)
movl $0x5, (%rax)
movl $0x0, 0x8(%rax)
movsd 0x18(%rbx), %xmm0
movsd %xmm0, 0x8(%rax)
jmp 0xdac6
movq 0x8(%rsp), %rcx
movq $-0x1, 0x10(%rcx)
movl $0x6, (%rcx)
movl $0x0, 0x8(%rcx)
movq 0x18(%rbx), %rax
movq %rax, 0x8(%rcx)
jmp 0xdac6
cmpl $0x7e, %eax
jne 0xda62
movl $0x1, %r15d
jmp 0xda77
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0xe193
jmp 0xdace
movl $0x2, %r15d
movl 0x4(%rbx), %r12d
movq %rbx, %rdi
callq 0x17a92
movq %rbx, %rdi
movq 0x8(%rsp), %r14
movq %r14, %rsi
movl $0xc, %edx
callq 0xd88f
movq 0x30(%rbx), %rdi
movl %r15d, %esi
movq %r14, %rdx
movl %r12d, %ecx
callq 0x16f31
jmp 0xdace
movq 0x8(%rsp), %rax
movq $-0x1, 0x10(%rax)
movl $0x1, (%rax)
movl $0x0, 0x8(%rax)
movq %rbx, %rdi
callq 0x17a92
movl 0x10(%rbx), %eax
movl $0x15, %ebp
cmpl $0x7d, %eax
movq %rbx, 0x10(%rsp)
jg 0xdb0b
cmpl $0x3b, %eax
jg 0xdb30
addl $-0x25, %eax
cmpl $0xa, %eax
ja 0xdc98
leaq 0x14eb0(%rip), %rcx     # 0x229a8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x3, %ebp
jmp 0xdc11
leal -0x110(%rax), %ecx
cmpl $0xf, %ecx
ja 0xdb69
leaq 0x14eb7(%rip), %rax     # 0x229d4
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0x14, %ebp
jmp 0xdc11
cmpl $0x5d, %eax
jg 0xdb51
cmpl $0x3c, %eax
je 0xdbc6
cmpl $0x3e, %eax
jne 0xdc98
movl $0x11, %ebp
jmp 0xdc11
cmpl $0x5e, %eax
je 0xdbcd
cmpl $0x7c, %eax
jne 0xdc98
movl $0x8, %ebp
jmp 0xdc11
cmpl $0x7e, %eax
je 0xdc0c
cmpl $0x101, %eax            # imm = 0x101
jne 0xdc98
movl $0x13, %ebp
jmp 0xdc11
movq %rbx, %rdi
callq 0x17a92
movl 0x4(%rbx), %ecx
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
xorl %edx, %edx
callq 0xdf0a
jmp 0xdace
movl $0x2, %ebp
jmp 0xdc11
movl $0x7, %ebp
jmp 0xdc11
xorl %ebp, %ebp
jmp 0xdc11
movl $0x1, %ebp
jmp 0xdc11
movl $0x5, %ebp
jmp 0xdc11
movl $0xe, %ebp
jmp 0xdc11
movl $0x4, %ebp
jmp 0xdc11
movl $0xa, %ebp
jmp 0xdc11
movl $0xc, %ebp
jmp 0xdc11
movl $0xf, %ebp
jmp 0xdc11
movl $0x12, %ebp
jmp 0xdc11
movl $0xd, %ebp
jmp 0xdc11
movl $0xb, %ebp
jmp 0xdc11
movl $0x6, %ebp
jmp 0xdc11
movl $0x10, %ebp
jmp 0xdc11
movl $0x9, %ebp
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %rbx
movl %ebp, %r12d
leaq 0x14dfb(%rip), %rax     # 0x22a20
movzbl (%rax,%r12,2), %eax
cmpl 0x1c(%rsp), %eax
jle 0xdc93
movl 0x4(%r14), %r15d
movq %r14, %rdi
callq 0x17a92
movq 0x30(%r14), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x17258
leaq 0x14dcf(%rip), %rax     # 0x22a20
movzbl 0x1(%rax,%r12,2), %edx
movq %r14, %rdi
leaq 0x20(%rsp), %r13
movq %r13, %rsi
callq 0xd88f
movl %eax, %r12d
movq 0x30(%r14), %rdi
movl %ebp, %esi
movq %rbx, %rdx
movq %r13, %rcx
movl %r15d, %r8d
callq 0x1729c
movl %r12d, %ebp
cmpl $0x15, %r12d
jne 0xdc1b
movq 0x10(%rsp), %rbx
movl $0x15, %ebp
jmp 0xdc98
movq 0x10(%rsp), %rbx
movq 0x38(%rbx), %rax
decw 0xc6(%rax)
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14dd1(%rip), %rdx     # 0x22a8c
movl $0xc8, %esi
callq 0xca81
leaq 0x14dc9(%rip), %rsi     # 0x22a95
movq %rbx, %rdi
callq 0x1790e