// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/deps/lua/src/lparser.c
// Function: constructor
static void constructor (LexState *ls, expdesc *t) {
  /* constructor -> ?? */
  FuncState *fs = ls->fs;
  int line = ls->linenumber;
  int pc = luaK_codeABC(fs, OP_NEWTABLE, 0, 0, 0);
  struct ConsControl cc;
  cc.na = cc.nh = cc.tostore = 0;
  cc.t = t;
  init_exp(t, VRELOCABLE, pc);
  init_exp(&cc.v, VVOID, 0);  /* no value (yet) */
  luaK_exp2nextreg(ls->fs, t);  /* fix it at stack top (for gc) */
  checknext(ls, '{');
  do {
    lua_assert(cc.v.k == VVOID || cc.tostore > 0);
    if (ls->t.token == '}') break;
    closelistfield(fs, &cc);
    switch(ls->t.token) {
      case TK_NAME: {  /* may be listfields or recfields */
        luaX_lookahead(ls);
        if (ls->lookahead.token != '=')  /* expression? */
          listfield(ls, &cc);
        else
          recfield(ls, &cc);
        break;
      }
      case '[': {  /* constructor_item -> recfield */
        recfield(ls, &cc);
        break;
      }
      default: {  /* constructor_part -> listfield */
        listfield(ls, &cc);
        break;
      }
    }
  } while (testnext(ls, ',') || testnext(ls, ';'));
  check_match(ls, '}', '{', line);
  lastlistfield(fs, &cc);
  SETARG_B(fs->f->code[pc], luaO_int2fb(cc.na)); /* set initial array size */
  SETARG_C(fs->f->code[pc], luaO_int2fb(cc.nh));  /* set initial table size */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x18(%rbp), %rdi
movl $0xa, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x1c1a0
movl %eax, -0x20(%rbp)
movl $0x0, -0x28(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movl -0x20(%rbp), %edx
movl $0xb, %esi
callq 0x11890
leaq -0x50(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x11890
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x1cb50
movq -0x8(%rbp), %rdi
movl $0x7b, %esi
callq 0x11350
movq -0x8(%rbp), %rax
cmpl $0x7d, 0x10(%rax)
jne 0x119c9
jmp 0x11a7e
movq -0x18(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x11d50
movq -0x8(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x54(%rbp)
subl $0x5b, %eax
je 0x11a24
jmp 0x119e7
movl -0x54(%rbp), %eax
subl $0x11d, %eax            # imm = 0x11D
jne 0x11a33
jmp 0x119f3
movq -0x8(%rbp), %rdi
callq 0x1f1d0
movq -0x8(%rbp), %rax
cmpl $0x3d, 0x20(%rax)
je 0x11a15
movq -0x8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x11dc0
jmp 0x11a22
movq -0x8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x11e30
jmp 0x11a40
movq -0x8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x11e30
jmp 0x11a40
movq -0x8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x11dc0
jmp 0x11a42
movq -0x8(%rbp), %rdi
movl $0x2c, %esi
callq 0x109a0
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x55(%rbp)
jne 0x11a73
movq -0x8(%rbp), %rdi
movl $0x3b, %esi
callq 0x109a0
cmpl $0x0, %eax
setne %al
movb %al, -0x55(%rbp)
movb -0x55(%rbp), %al
testb $0x1, %al
jne 0x119ba
movq -0x8(%rbp), %rdi
movl -0x1c(%rbp), %ecx
movl $0x7d, %esi
movl $0x7b, %edx
callq 0x10be0
movq -0x18(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x11f30
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rax
movslq -0x20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
andl $0x7fffff, %eax         # imm = 0x7FFFFF
movl %eax, -0x60(%rbp)
movl -0x2c(%rbp), %edi
callq 0xf530
movl -0x60(%rbp), %edx
shll $0x17, %eax
andl $0xff800000, %eax       # imm = 0xFF800000
orl %eax, %edx
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rax
movslq -0x20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rax
movslq -0x20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
andl $0xff803fff, %eax       # imm = 0xFF803FFF
movl %eax, -0x5c(%rbp)
movl -0x30(%rbp), %edi
callq 0xf530
movl -0x5c(%rbp), %edx
shll $0xe, %eax
andl $0x7fc000, %eax         # imm = 0x7FC000
orl %eax, %edx
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rax
movslq -0x20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)