// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/luac.c
// Function: main
int main(int argc, char* argv[])
{
 lua_State* L;
 int i=doargs(argc,argv);
 argc-=i; argv+=i;
 if (argc<=0) usage("no input files given");
 L=luaL_newstate();
 if (L==NULL) fatal("cannot create state: not enough memory");
 lua_pushcfunction(L,&pmain);
 lua_pushinteger(L,argc);
 lua_pushlightuserdata(L,argv);
 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1));
 lua_close(L);
 return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movl %edi, %ebx
movq (%rsi), %rax
testq %rax, %rax
je 0x44f0
cmpb $0x0, (%rax)
je 0x44f0
movq %rax, 0x1ac68(%rip)     # 0x1f158
cmpl $0x2, %ebx
jl 0x463a
movl $0x1, %r13d
movq $0x0, (%rsp)
movl 0x1ac6a(%rip), %r12d    # 0x1f178
movslq %r13d, %r15
movq (%r14,%r15,8), %rbp
cmpb $0x2d, (%rbp)
jne 0x465d
movq %rbp, %rdi
leaq 0x11bf3(%rip), %rsi     # 0x1611c
callq 0x4150
testl %eax, %eax
je 0x464a
movq %rbp, %rdi
leaq 0x13601(%rip), %rsi     # 0x17b41
callq 0x4150
testl %eax, %eax
je 0x465d
movq %rbp, %rdi
leaq 0x11bc8(%rip), %rsi     # 0x1611f
callq 0x4150
testl %eax, %eax
je 0x45c0
movq %rbp, %rdi
leaq 0x11bb8(%rip), %rsi     # 0x16122
callq 0x4150
testl %eax, %eax
je 0x45cc
movq %rbp, %rdi
leaq 0x11bbc(%rip), %rsi     # 0x16139
callq 0x4150
testl %eax, %eax
je 0x45f2
movq %rbp, %rdi
leaq 0x11bac(%rip), %rsi     # 0x1613c
callq 0x4150
testl %eax, %eax
je 0x4625
movq %rbp, %rdi
leaq 0x11b98(%rip), %rsi     # 0x1613f
callq 0x4150
testl %eax, %eax
jne 0x4750
movq (%rsp), %rax
incl %eax
movq %rax, (%rsp)
jmp 0x462c
incl %r12d
movl %r12d, 0x1abae(%rip)    # 0x1f178
jmp 0x462c
movq 0x8(%r14,%r15,8), %rdi
movq %rdi, 0x1ab88(%rip)     # 0x1f160
testq %rdi, %rdi
je 0x4727
movzbl (%rdi), %eax
cmpl $0x2d, %eax
je 0x45fb
testl %eax, %eax
jne 0x4605
jmp 0x4727
movb $0x1, 0x1ab83(%rip)     # 0x1f17c
jmp 0x462c
cmpb $0x0, 0x1(%rdi)
jne 0x4727
incl %r13d
leaq 0x13532(%rip), %rsi     # 0x17b41
callq 0x4150
testl %eax, %eax
jne 0x462c
movq $0x0, 0x1ab3d(%rip) # 0x1f160
jmp 0x462c
movb $0x1, 0x1ab54(%rip)     # 0x1f180
incl %r13d
cmpl %ebx, %r13d
jl 0x450e
jmp 0x465d
movq $0x0, (%rsp)
movl $0x1, %r13d
jmp 0x465d
incl %r13d
movq (%rsp), %rcx
leal 0x1(%rcx), %eax
testl %ecx, %ecx
cmovel %ecx, %eax
movq %rax, (%rsp)
cmpl %ebx, %r13d
jne 0x4693
cmpl $0x0, 0x1ab0f(%rip)     # 0x1f178
movq (%rsp), %r15
jne 0x4678
testb $0x1, 0x1ab06(%rip)     # 0x1f17c
je 0x4697
movb $0x1, 0x1aafd(%rip)     # 0x1f17c
movslq %r13d, %rax
decl %r13d
leaq 0x1aadc(%rip), %rcx     # 0x1f168
movq %rcx, -0x8(%r14,%rax,8)
jmp 0x4697
movq (%rsp), %r15
testl %r15d, %r15d
je 0x46b4
leaq 0x11a9f(%rip), %rdi     # 0x16142
callq 0x4080
leal -0x1(%rbx), %eax
cmpl %eax, %r15d
je 0x4749
subl %r13d, %ebx
jle 0x4733
callq 0x811b
testq %rax, %rax
je 0x473f
movq %rax, %r15
movslq %r13d, %rax
leaq (%r14,%rax,8), %r14
leaq 0xde(%rip), %rsi        # 0x47b2
movq %r15, %rdi
xorl %edx, %edx
callq 0x5cd5
movl %ebx, %esi
movq %r15, %rdi
callq 0x5aff
movq %r15, %rdi
movq %r14, %rsi
callq 0x5d73
movq %r15, %rdi
movl $0x2, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x63ca
movq %r15, %rdi
testl %eax, %eax
jne 0x4744
callq 0xf9ac
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x119f7(%rip), %rdi     # 0x16125
callq 0x4758
leaq 0x119a6(%rip), %rdi     # 0x160e0
callq 0x4758
callq 0x42d5
callq 0x42a0
xorl %edi, %edi
callq 0x4230
movq %rbp, %rdi
callq 0x4758