// File: /workspace/github_cpp_makefile_star2_O1/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 0x1a130
cmpl $0x5, %eax
jne 0x1d5ee
leaq 0x72396(%rip), %rcx     # 0x8f909
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x1a520
movq %rax, %r15
movq (%r14), %rax
movq 0x50(%rax), %rax
cmpq $0x0, 0x688(%rax)
je 0x1d77c
leaq 0xc(%rsp), %r12
movq %rbx, %rdi
movl $0x2, %esi
movq %r12, %rdx
callq 0x1a620
movq %rax, %r14
cmpl $0x0, (%r12)
je 0x1d7f9
testq %r14, %r14
je 0x1d5d8
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x19170
movl 0xc(%rsp), %edi
callq 0x19970
movq %rbx, %rdi
movl $0x2, %esi
jmp 0x1d8fa
xorl %eax, %eax
leaq 0x8(%rsp), %r14
movl %eax, (%r14)
movl %eax, 0x4(%rsp)
movl %eax, (%rsp)
leaq 0x72303(%rip), %rcx     # 0x8f909
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x1a520
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x18f70
movq %rax, 0x18(%rsp)
movq %rbx, %rdi
movl $0x3, %esi
callq 0x18f70
movq %rax, %r12
movq %rbx, %rdi
movl $0x4, %esi
callq 0x18f70
movq %rax, %r13
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movl $0x5, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x1a390
movq %rax, %r15
cmpl $0x0, (%rbp)
js 0x1d792
je 0x1d683
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x18150
leaq 0x4(%rsp), %rdx
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movl $0x6, %esi
movq %rbp, %rcx
callq 0x18e30
movq %rax, %r14
cmpl $0x0, (%rbp)
js 0x1d82e
je 0x1d6b9
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x18150
movq %rsp, %rdx
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movl $0x7, %esi
movq %rbp, %rcx
callq 0x19250
cmpl $0x0, (%rbp)
js 0x1d893
movq %rax, %rbp
je 0x1d6ed
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x18150
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rsp), %r8d
movl 0x4(%rsp), %r10d
movl (%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 0x8(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x19800
movl 0x4(%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x19800
movl (%rsp), %ecx
movl $0x48, %edx
movq %rbx, %rdi
movq %rbp, %rsi
movl $0x1, %r8d
callq 0x19800
xorl %ebp, %ebp
jmp 0x1d904
leaq 0x72260(%rip), %rsi     # 0x8f9e3
movq %rbx, %rdi
xorl %eax, %eax
callq 0x19be0
jmp 0x1d902
movl 0x8(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x19800
movl 0x4(%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %r8d
callq 0x19800
movl (%rsp), %ecx
movl $0x48, %edx
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %r8d
callq 0x19800
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x18690
movq %rbx, %rdi
movl $0x5, %esi
jmp 0x1d8fa
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
callq *0x688(%rax)
xorl %ebp, %ebp
testq %r14, %r14
je 0x1d904
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x19170
jmp 0x1d904
movl 0x8(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x19800
movl 0x4(%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x19800
movl (%rsp), %ecx
movl $0x48, %edx
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %r8d
callq 0x19800
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x18690
movq %rbx, %rdi
movl $0x6, %esi
jmp 0x1d8fa
movl 0x8(%rsp), %ecx
movl $0x18, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
movq %rax, %r15
callq 0x19800
movl 0x4(%rsp), %ecx
movl $0x38, %edx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x19800
movl (%rsp), %ecx
movl $0x48, %edx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %r8d
callq 0x19800
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x18690
movq %rbx, %rdi
movl $0x7, %esi
movq %rax, %rdx
callq 0x18420
movl %eax, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq