// File: /workspace/github_c_makefile_star2_O3/gplessis[P]dotdeb-redis/deps/lua/src/lparser.c
// Function: subexpr
static BinOpr subexpr (LexState *ls, expdesc *v, unsigned int limit) {
  BinOpr op;
  UnOpr uop;
  enterlevel(ls);
  uop = getunopr(ls->t.token);
  if (uop != OPR_NOUNOPR) {
    luaX_next(ls);
    subexpr(ls, v, UNARY_PRIORITY);
    luaK_prefix(ls->fs, uop, v);
  }
  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;
    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);
    op = nextop;
  }
  leavelevel(ls);
  return op;  /* return first untreated operator */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, 0xc(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movl 0x60(%rax), %ecx
incl %ecx
movw %cx, 0x60(%rax)
movzwl %cx, %eax
cmpl $0xc9, %eax
jb 0xb796
leaq 0x10230(%rip), %rsi     # 0x1b9bc
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12fda
movl 0x10(%rbx), %eax
cmpl $0x112, %eax            # imm = 0x112
jg 0xb7dd
cmpl $0x106, %eax            # imm = 0x106
jle 0xb84f
addl $0xfffffef9, %eax       # imm = 0xFFFFFEF9
cmpl $0x7, %eax
ja 0xb95d
leaq 0x10150(%rip), %rcx     # 0x1b910
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq $-0x1, 0x10(%r14)
movl $0x3, (%r14)
jmp 0xb8f3
cmpl $0x11b, %eax            # imm = 0x11B
jg 0xb87a
cmpl $0x113, %eax            # imm = 0x113
je 0xb8e4
cmpl $0x117, %eax            # imm = 0x117
jne 0xb95d
movq 0x30(%rbx), %r15
movq (%r15), %rax
movb 0x72(%rax), %cl
testb %cl, %cl
jne 0xb821
leaq 0x101ca(%rip), %rsi     # 0x1b9dd
movq %rbx, %rdi
callq 0x13085
movq (%r15), %rax
movb 0x72(%rax), %cl
andb $-0x5, %cl
movb %cl, 0x72(%rax)
movq %r15, %rdi
movl $0x25, %esi
xorl %edx, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x11983
movq $-0x1, 0x10(%r14)
movl $0xe, (%r14)
jmp 0xb8a8
cmpl $0x23, %eax
je 0xb92e
cmpl $0x2d, %eax
je 0xb929
cmpl $0x7b, %eax
jne 0xb95d
movq %rbx, %rdi
movq %r14, %rsi
callq 0xbac1
jmp 0xb968
cmpl $0x11c, %eax            # imm = 0x11C
je 0xb8fd
cmpl $0x11e, %eax            # imm = 0x11E
jne 0xb95d
movq 0x18(%rbx), %rsi
movq 0x30(%rbx), %rdi
callq 0x11bc5
movq $-0x1, 0x10(%r14)
movl $0x4, (%r14)
movl %eax, 0x8(%r14)
jmp 0xb91f
movl $0x1, %r15d
jmp 0xb934
movq %rbx, %rdi
callq 0x1315f
movl 0x4(%rbx), %ecx
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xbce3
jmp 0xb968
movq $-0x1, 0x10(%r14)
movl $0x1, (%r14)
jmp 0xb8f3
movq $-0x1, 0x10(%r14)
movl $0x2, (%r14)
movl $0x0, 0x8(%r14)
jmp 0xb91f
movq $-0x1, 0x10(%r14)
movl $0x5, (%r14)
movl $0x0, 0x8(%r14)
movsd 0x18(%rbx), %xmm0
movsd %xmm0, 0x8(%r14)
movq %rbx, %rdi
callq 0x1315f
jmp 0xb968
xorl %r15d, %r15d
jmp 0xb934
movl $0x2, %r15d
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
movq %r14, %rsi
movl $0x8, %edx
callq 0xb756
movq 0x30(%rbx), %rdi
movl %r15d, %esi
movq %r14, %rdx
callq 0x1250f
jmp 0xb968
movq %rbx, %rdi
movq %r14, %rsi
callq 0xbfd7
movl 0x10(%rbx), %eax
movl $0xf, %r15d
cmpl $0x5d, %eax
jg 0xb999
leal -0x25(%rax), %ecx
cmpl $0xa, %ecx
ja 0xb9bf
leaq 0xffab(%rip), %rax      # 0x1b930
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0x4, %r15d
jmp 0xba40
leal -0x10f(%rax), %ecx
cmpl $0xc, %ecx
ja 0xb9d5
leaq 0xffb1(%rip), %rax      # 0x1b95c
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0xe, %r15d
jmp 0xba40
cmpl $0x3c, %eax
je 0xba0a
cmpl $0x3e, %eax
jne 0xbaa7
movl $0xb, %r15d
jmp 0xba40
cmpl $0x5e, %eax
je 0xba3a
cmpl $0x101, %eax            # imm = 0x101
jne 0xbaa7
movl $0xd, %r15d
jmp 0xba40
xorl %r15d, %r15d
jmp 0xba40
movl $0x3, %r15d
jmp 0xba40
movl $0x2, %r15d
jmp 0xba40
movl $0x1, %r15d
jmp 0xba40
movl $0x9, %r15d
jmp 0xba40
movl $0x7, %r15d
jmp 0xba40
movl $0x6, %r15d
jmp 0xba40
movl $0xa, %r15d
jmp 0xba40
movl $0xc, %r15d
jmp 0xba40
movl $0x8, %r15d
jmp 0xba40
movl $0x5, %r15d
leaq 0xff49(%rip), %rbp      # 0x1b990
leaq 0x10(%rsp), %r13
movl %r15d, %r12d
movzbl (%rbp,%r12,2), %eax
cmpl 0xc(%rsp), %eax
jbe 0xbaa7
movq %rbx, %rdi
callq 0x1315f
movq 0x30(%rbx), %rdi
movl %r15d, %esi
movq %r14, %rdx
callq 0x1284c
movzbl 0x1(%rbp,%r12,2), %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0xb756
movl %eax, %r12d
movq 0x30(%rbx), %rdi
movl %r15d, %esi
movq %r14, %rdx
movq %r13, %rcx
callq 0x12922
movl %r12d, %r15d
cmpl $0xf, %r12d
jne 0xba4c
movl $0xf, %r15d
movq 0x38(%rbx), %rax
decw 0x60(%rax)
movl %r15d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq