// File: /workspace/github_c_makefile_star2_O1/zhou-yuxin[P]redis-aof-no-cow/deps/lua/src/luac.c
// Function: main
int main(int argc, char* argv[])
{
 lua_State* L;
 struct Smain s;
 int i=doargs(argc,argv);
 argc-=i; argv+=i;
 if (argc<=0) usage("no input files given");
 L=lua_open();
 if (L==NULL) fatal("not enough memory for state");
 s.argc=argc;
 s.argv=argv;
 if (lua_cpcall(L,pmain,&s)!=0) fatal(lua_tostring(L,-1));
 lua_close(L);
 return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movl %edi, %ebx
movq (%rsi), %rax
testq %rax, %rax
je 0x24b3
cmpb $0x0, (%rax)
je 0x24b3
movq %rax, 0x17ca5(%rip)     # 0x1a158
cmpl $0x2, %ebx
jl 0x25eb
movl $0x1, %r13d
movq $0x0, (%rsp)
movl 0x17ca7(%rip), %r12d    # 0x1a178
movslq %r13d, %r15
movq (%r14,%r15,8), %rbp
cmpb $0x2d, (%rbp)
jne 0x260e
movq %rbp, %rdi
leaq 0xfb49(%rip), %rsi      # 0x12035
callq 0x2150
testl %eax, %eax
je 0x25fb
movq %rbp, %rdi
leaq 0x10fe3(%rip), %rsi     # 0x134e6
callq 0x2150
testl %eax, %eax
je 0x260e
movq %rbp, %rdi
leaq 0xfb1e(%rip), %rsi      # 0x12038
callq 0x2150
testl %eax, %eax
je 0x2583
movq %rbp, %rdi
leaq 0xfb0e(%rip), %rsi      # 0x1203b
callq 0x2150
testl %eax, %eax
je 0x258f
movq %rbp, %rdi
leaq 0xfb12(%rip), %rsi      # 0x12052
callq 0x2150
testl %eax, %eax
je 0x25cd
movq %rbp, %rdi
leaq 0xfafe(%rip), %rsi      # 0x12055
callq 0x2150
testl %eax, %eax
je 0x25d6
movq %rbp, %rdi
leaq 0xfaee(%rip), %rsi      # 0x12058
callq 0x2150
testl %eax, %eax
jne 0x26ea
movq (%rsp), %rax
incl %eax
movq %rax, (%rsp)
jmp 0x25dd
incl %r12d
movl %r12d, 0x17beb(%rip)    # 0x1a178
jmp 0x25dd
movq 0x8(%r14,%r15,8), %rdi
movq %rdi, 0x17bc5(%rip)     # 0x1a160
testq %rdi, %rdi
je 0x26c1
cmpb $0x0, (%rdi)
je 0x26c1
incl %r13d
leaq 0x10f2f(%rip), %rsi     # 0x134e6
callq 0x2150
testl %eax, %eax
jne 0x25dd
movq $0x0, 0x17b95(%rip) # 0x1a160
jmp 0x25dd
movb $0x1, 0x17ba8(%rip)     # 0x1a17c
jmp 0x25dd
movb $0x1, 0x17ba3(%rip)     # 0x1a180
incl %r13d
cmpl %ebx, %r13d
jl 0x24d1
jmp 0x260e
movq $0x0, (%rsp)
movl $0x1, %r13d
jmp 0x260e
incl %r13d
movq (%rsp), %rcx
leal 0x1(%rcx), %eax
testl %ecx, %ecx
cmovel %ecx, %eax
movq %rax, (%rsp)
cmpl %ebx, %r13d
jne 0x2644
cmpl $0x0, 0x17b5e(%rip)     # 0x1a178
movq (%rsp), %r15
jne 0x2629
testb $0x1, 0x17b55(%rip)     # 0x1a17c
je 0x2648
movb $0x1, 0x17b4c(%rip)     # 0x1a17c
movslq %r13d, %rax
decl %r13d
leaq 0x17b2b(%rip), %rcx     # 0x1a168
movq %rcx, -0x8(%r14,%rax,8)
jmp 0x2648
movq (%rsp), %r15
testl %r15d, %r15d
je 0x2671
leaq 0xfa07(%rip), %rdi      # 0x1205b
leaq 0xfa08(%rip), %rsi      # 0x12063
leaq 0xfa0b(%rip), %rdx      # 0x1206d
xorl %eax, %eax
callq 0x20f0
leal -0x1(%rbx), %eax
cmpl %eax, %r15d
je 0x26e3
subl %r13d, %ebx
jle 0x26cd
callq 0xef5e
testq %rax, %rax
je 0x26d9
movq %rax, %r15
movslq %r13d, %rax
leaq (%r14,%rax,8), %rax
leaq 0x8(%rsp), %rdx
movl %ebx, (%rdx)
movq %rax, 0x8(%rdx)
leaq 0xb0(%rip), %rsi        # 0x274c
movq %r15, %rdi
callq 0x4086
movq %r15, %rdi
testl %eax, %eax
jne 0x26de
callq 0xa967
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xf976(%rip), %rdi      # 0x1203e
callq 0x26f2
leaq 0xf930(%rip), %rdi      # 0x12004
callq 0x26f2
callq 0x22d5
callq 0x22a0
xorl %edi, %edi
callq 0x2230
movq %rbp, %rdi
callq 0x26f2