// File: /workspace/github_c_makefile_star2_O0/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lundump.c
// Function: LoadDebug
static void LoadDebug(LoadState* S, Proto* f)
{
 int i,n;
 f->source=LoadString(S);
 n=LoadInt(S);
 f->lineinfo=luaM_newvector(S->L,n,int);
 f->sizelineinfo=n;
 LoadVector(S,f->lineinfo,n,sizeof(int));
 n=LoadInt(S);
 f->locvars=luaM_newvector(S->L,n,LocVar);
 f->sizelocvars=n;
 for (i=0; i<n; i++) f->locvars[i].varname=NULL;
 for (i=0; i<n; i++)
 {
  f->locvars[i].varname=LoadString(S);
  f->locvars[i].startpc=LoadInt(S);
  f->locvars[i].endpc=LoadInt(S);
 }
 n=LoadInt(S);
 for (i=0; i<n; i++) f->upvalues[i].name=LoadString(S);
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rdi
callq 0x27280
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x48(%rax)
movq 0x10(%rsp), %rdi
callq 0x26b10
movl %eax, (%rsp)
movl (%rsp), %eax
addl $0x1, %eax
cltq
movabsq $0x3fffffffffffffff, %rcx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rcx, %rax
jbe 0x27075
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x18150
jmp 0x27077
movq 0x10(%rsp), %rax
movq (%rax), %rdi
movslq (%rsp), %rcx
shlq $0x2, %rcx
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x18170
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x28(%rax)
movl (%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x5c(%rax)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rsi
movslq (%rsp), %rdx
shlq $0x2, %rdx
callq 0x26a70
movq 0x10(%rsp), %rdi
callq 0x26b10
movl %eax, (%rsp)
movl (%rsp), %eax
addl $0x1, %eax
cltq
movabsq $0xfffffffffffffff, %rcx # imm = 0xFFFFFFFFFFFFFFF
cmpq %rcx, %rax
jbe 0x270f6
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x18150
jmp 0x270f8
movq 0x10(%rsp), %rax
movq (%rax), %rdi
movslq (%rsp), %rcx
shlq $0x4, %rcx
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x18170
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rax)
movl (%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x64(%rax)
movl $0x0, 0x4(%rsp)
movl 0x4(%rsp), %eax
cmpl (%rsp), %eax
jge 0x27165
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x4(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq $0x0, (%rax)
movl 0x4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4(%rsp)
jmp 0x27133
movl $0x0, 0x4(%rsp)
movl 0x4(%rsp), %eax
cmpl (%rsp), %eax
jge 0x271f3
movq 0x10(%rsp), %rdi
callq 0x27280
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x4(%rsp), %rdx
shlq $0x4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq 0x10(%rsp), %rdi
callq 0x26b10
movl %eax, %ecx
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x4(%rsp), %rdx
shlq $0x4, %rdx
addq %rdx, %rax
movl %ecx, 0x8(%rax)
movq 0x10(%rsp), %rdi
callq 0x26b10
movl %eax, %ecx
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x4(%rsp), %rdx
shlq $0x4, %rdx
addq %rdx, %rax
movl %ecx, 0xc(%rax)
movl 0x4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4(%rsp)
jmp 0x2716d
movq 0x10(%rsp), %rdi
callq 0x26b10
movl %eax, (%rsp)
movl $0x0, 0x4(%rsp)
movl 0x4(%rsp), %eax
cmpl (%rsp), %eax
jge 0x27243
movq 0x10(%rsp), %rdi
callq 0x27280
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x4(%rsp), %rdx
shlq $0x4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movl 0x4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4(%rsp)
jmp 0x27208
addq $0x18, %rsp
retq
nopl (%rax,%rax)