// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x2
popq %rsi
callq 0x1a110
cmpl $0x5, %eax
jne 0x1d2bb
leaq 0x606be(%rip), %rcx     # 0x7d909
pushq $0x1
popq %rsi
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1a500
movq %rax, %r15
movq (%r14), %rax
movq 0x50(%rax), %rax
cmpq $0x0, 0x688(%rax)
je 0x1d42f
pushq $0x2
popq %rsi
leaq 0xc(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rdx
callq 0x1a600
movq %rax, %r14
movl (%r12), %edi
testl %edi, %edi
je 0x1d495
testq %r14, %r14
je 0x1d2af
pushq $0x1
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x19150
movl 0xc(%rsp), %edi
callq 0x19950
pushq $0x2
jmp 0x1d56a
leaq 0x4(%rsp), %r14
andl $0x0, (%r14)
andl $0x0, (%rsp)
andl $0x0, 0x8(%rsp)
leaq 0x60635(%rip), %rcx     # 0x7d909
pushq $0x1
popq %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x1a500
movq %rax, %r13
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x18f50
movq %rax, 0x20(%rsp)
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x18f50
movq %rax, %rbp
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x18f50
movq %rax, %r12
pushq $0x5
popq %rsi
leaq 0xc(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
callq 0x1a370
movq %rax, %r14
cmpl $0x0, (%r15)
js 0x1d445
movq %r13, 0x18(%rsp)
je 0x1d348
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x18150
pushq $0x6
popq %rsi
movq %rsp, %rdx
leaq 0xc(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rcx
callq 0x18e20
movq %rax, %r15
cmpl $0x0, (%r13)
js 0x1d4c8
je 0x1d379
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x18150
pushq $0x7
popq %rsi
leaq 0x8(%rsp), %rdx
leaq 0xc(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rcx
callq 0x19230
cmpl $0x0, (%r13)
js 0x1d517
movq %rax, %r13
je 0x1d3ac
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x18150
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x4(%rsp), %r8d
movl (%rsp), %r10d
movl 0x8(%rsp), %r11d
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl %ebp, %edx
movl %r12d, %ecx
movq %r14, %r9
pushq %r13
pushq %r11
pushq %r15
pushq %r10
callq *0x3d8(%rax)
addq $0x20, %rsp
movl 0x4(%rsp), %ecx
pushq $0x18
popq %rdx
pushq $0x1
popq %rbp
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %r8d
callq 0x197e0
movl (%rsp), %ecx
pushq $0x38
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %r8d
callq 0x197e0
movl 0x8(%rsp), %ecx
pushq $0x48
popq %rdx
movq %rbx, %rdi
movq %r13, %rsi
movl %ebp, %r8d
callq 0x197e0
xorl %ebp, %ebp
jmp 0x1d578
leaq 0x605ad(%rip), %rsi     # 0x7d9e3
movq %rbx, %rdi
xorl %eax, %eax
callq 0x19bc0
jmp 0x1d576
movl 0x4(%rsp), %ecx
pushq $0x18
popq %rdx
pushq $0x1
popq %rbp
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %r8d
callq 0x197e0
pushq $0x38
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x197e0
pushq $0x48
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x197e0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x18680
pushq $0x5
jmp 0x1d56a
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
callq *0x688(%rax)
xorl %ebp, %ebp
testq %r14, %r14
je 0x1d578
pushq $0x1
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x19150
jmp 0x1d578
movl 0x4(%rsp), %ecx
pushq $0x18
popq %rdx
pushq $0x1
popq %rbp
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %r8d
callq 0x197e0
movl (%rsp), %ecx
pushq $0x38
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %r8d
callq 0x197e0
pushq $0x48
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x197e0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x18680
pushq $0x6
jmp 0x1d56a
movl 0x4(%rsp), %ecx
pushq $0x18
popq %rdx
pushq $0x1
popq %rbp
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %r8d
movq %rax, %r14
callq 0x197e0
movl (%rsp), %ecx
pushq $0x38
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %r8d
callq 0x197e0
movl 0x8(%rsp), %ecx
pushq $0x48
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %r8d
callq 0x197e0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x18680
pushq $0x7
popq %rsi
movq %rbx, %rdi
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