// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/lpeg-0.10.2/lpeg.c
// Function: locale_l
static int locale_l (lua_State *L) {
  if (lua_isnoneornil(L, 1)) {
    lua_settop(L, 0);
    lua_createtable(L, 0, 12);
  }
  else {
    luaL_checktype(L, 1, LUA_TTABLE);
    lua_settop(L, 1);
  }
  createcat(L, "alnum", isalnum);
  createcat(L, "alpha", isalpha);
  createcat(L, "cntrl", iscntrl);
  createcat(L, "digit", isdigit);
  createcat(L, "graph", isgraph);
  createcat(L, "lower", islower);
  createcat(L, "print", isprint);
  createcat(L, "punct", ispunct);
  createcat(L, "space", isspace);
  createcat(L, "upper", isupper);
  createcat(L, "xdigit", isxdigit);
  return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl $0x1, %esi
callq 0x223a4b
movq %rbx, %rdi
testl %eax, %eax
jle 0x240686
movl $0x1, %esi
movl $0x5, %edx
callq 0x2271e1
movq %rbx, %rdi
movl $0x1, %esi
callq 0x2235b9
jmp 0x24069c
xorl %esi, %esi
callq 0x2235b9
movq %rbx, %rdi
xorl %esi, %esi
movl $0xc, %edx
callq 0x224be0
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17820
testl %eax, %eax
je 0x2406e3
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x2406c3
leaq 0x1898e9(%rip), %rdx    # 0x3c9fda
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17c70
testl %eax, %eax
je 0x240745
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x240725
leaq 0x19ed01(%rip), %rdx    # 0x3df454
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17b20
testl %eax, %eax
je 0x2407a7
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x240787
leaq 0x18982b(%rip), %rdx    # 0x3c9fe0
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
movl $0xffffffc6, %eax       # imm = 0xFFFFFFC6
cmpl $-0xa, %eax
jb 0x240807
leal 0x3a(%rax), %esi
movl %esi, %ecx
andb $0x7, %cl
movl $0x1, %edi
shll %cl, %edi
shrl $0x3, %esi
orb %dil, (%rdx,%rsi)
incl %eax
cmpl $0x45, %eax
jne 0x2407ec
leaq 0x1897d8(%rip), %rdx    # 0x3c9fed
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17760
testl %eax, %eax
je 0x240869
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x240849
leaq 0x16f4ee(%rip), %rdx    # 0x3afd65
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x179b0
testl %eax, %eax
je 0x2408cb
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x2408ab
leaq 0x188377(%rip), %rdx    # 0x3c8c50
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17dd0
testl %eax, %eax
je 0x24092d
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x24090d
leaq 0x11d67d(%rip), %rdx    # 0x35dfb8
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17f70
testl %eax, %eax
je 0x24098f
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x24096f
leaq 0x189649(%rip), %rdx    # 0x3c9fe6
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17090
testl %eax, %eax
je 0x2409f1
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x2409d1
leaq 0x14c339(%rip), %rdx    # 0x38cd38
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x17560
testl %eax, %eax
je 0x240a53
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x240a33
leaq 0x1a4f1b(%rip), %rdx    # 0x3e597c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x5, %esi
movq %rbx, %rdi
callq 0x23d5e1
movb $0x2, (%rax)
movw $0x0, 0x2(%rax)
leaq 0x8(%rax), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
xorl %ebp, %ebp
movl %ebp, %edi
callq 0x171b0
testl %eax, %eax
je 0x240ab5
movl %ebp, %ecx
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
movl %ebp, %ecx
shrl $0x3, %ecx
orb %al, (%r14,%rcx)
incl %ebp
cmpl $0x7f, %ebp
jne 0x240a95
leaq 0x189529(%rip), %rdx    # 0x3c9fec
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x224f78
movl $0x1, %eax
popq %rbx
popq %r14
popq %rbp
retq