// File: /workspace/github_cpp_makefile_star2_O3/stetre[P]moonvulkan/src/cmd.c
// Function: CmdPipelineBarrier
static int CmdPipelineBarrier(lua_State *L)
    {
    if(lua_type(L, 2) == LUA_TTABLE)
        return CmdPipelineBarrier2(L);
    return CmdPipelineBarrier1(L);
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl $0x2, %esi
callq 0x1a0f0
cmpl $0x5, %eax
jne 0x1d5a0
leaq 0x6f3e5(%rip), %rcx     # 0x8c909
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x1a4e0
movq %rax, %r15
movq (%r14), %rax
movq 0x50(%rax), %rax
cmpq $0x0, 0x688(%rax)
je 0x1d72e
leaq 0xc(%rsp), %r12
movq %rbx, %rdi
movl $0x2, %esi
movq %r12, %rdx
callq 0x1a5e0
movq %rax, %r14
movl (%r12), %edi
testl %edi, %edi
je 0x1d7a8
testq %r14, %r14
je 0x1d58e
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x19160
movl 0xc(%rsp), %edi
callq 0x19930
movq %rbx, %rdi
movl $0x2, %esi
jmp 0x1d8a7
xorl %eax, %eax
leaq 0x4(%rsp), %r14
movl %eax, (%r14)
movl %eax, (%rsp)
movl %eax, 0x8(%rsp)
leaq 0x6f351(%rip), %rcx     # 0x8c909
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a4e0
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x18f60
movq %rax, 0x18(%rsp)
movq %rbx, %rdi
movl $0x3, %esi
callq 0x18f60
movq %rax, %r12
movq %rbx, %rdi
movl $0x4, %esi
callq 0x18f60
movq %rax, %r13
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movl $0x5, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x1a350
movq %rax, %r15
cmpl $0x0, (%rbp)
js 0x1d744
je 0x1d635
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x18150
movq %rsp, %rdx
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movl $0x6, %esi
movq %rbp, %rcx
callq 0x18e20
movq %rax, %r14
cmpl $0x0, (%rbp)
js 0x1d7dd
je 0x1d669
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x18150
leaq 0x8(%rsp), %rdx
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movl $0x7, %esi
movq %rbp, %rcx
callq 0x19240
cmpl $0x0, (%rbp)
js 0x1d840
movq %rax, %rbp
je 0x1d69f
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x18150
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x4(%rsp), %r8d
movl (%rsp), %r10d
movl 0x8(%rsp), %r11d
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
movq %r15, %r9
pushq %rbp
pushq %r11
pushq %r14
pushq %r10
callq *0x3d8(%rax)
addq $0x20, %rsp
movl 0x4(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x197d0
movl (%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x197d0
movl 0x8(%rsp), %ecx
movl $0x48, %edx
movq %rbx, %rdi
movq %rbp, %rsi
movl $0x1, %r8d
callq 0x197d0
xorl %ebp, %ebp
jmp 0x1d8b1
leaq 0x6f2ae(%rip), %rsi     # 0x8c9e3
movq %rbx, %rdi
xorl %eax, %eax
callq 0x19ba0
jmp 0x1d8af
movl 0x4(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x197d0
movl $0x38, %edx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x197d0
movl $0x48, %edx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x197d0
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x18680
movq %rbx, %rdi
movl $0x5, %esi
jmp 0x1d8a7
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
callq *0x688(%rax)
xorl %ebp, %ebp
testq %r14, %r14
je 0x1d8b1
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x19160
jmp 0x1d8b1
movl 0x4(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x197d0
movl (%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x197d0
movl $0x48, %edx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x197d0
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x18680
movq %rbx, %rdi
movl $0x6, %esi
jmp 0x1d8a7
movl 0x4(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
movq %rax, %r15
callq 0x197d0
movl (%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x197d0
movl 0x8(%rsp), %ecx
movl $0x48, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x197d0
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x18680
movq %rbx, %rdi
movl $0x7, %esi
movq %rax, %rdx
callq 0x18410
movl %eax, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq