// File: /workspace/github_cpp_makefile_star2_O1/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::emit_quaternary_func_op(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, char const*)
void CompilerGLSL::emit_quaternary_func_op(uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1,
                                           uint32_t op2, uint32_t op3, const char *op)
{
	bool forward = should_forward(op0) && should_forward(op1) && should_forward(op2) && should_forward(op3);
	emit_op(result_type, result_id,
	        join(op, "(", to_unpacked_expression(op0), ", ", to_unpacked_expression(op1), ", ",
	             to_unpacked_expression(op2), ", ", to_unpacked_expression(op3), ")"),
	        forward);

	inherit_expression_dependencies(result_id, op0);
	inherit_expression_dependencies(result_id, op1);
	inherit_expression_dependencies(result_id, op2);
	inherit_expression_dependencies(result_id, op3);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movl %r9d, 0xc(%rsp)
movl %r8d, %ebp
movl %ecx, %r13d
movl %edx, %ebx
movl %esi, 0x14(%rsp)
movq %rdi, %r15
movl %ecx, %esi
callq 0x39e96
testb %al, %al
movl %ebp, 0x10(%rsp)
je 0x3b095
movq %r15, %rdi
movl %ebp, %esi
callq 0x39e96
testb %al, %al
je 0x3b095
movq %r15, %rdi
movl 0xc(%rsp), %esi
callq 0x39e96
testb %al, %al
je 0x3b095
movq %r15, %rdi
movl 0xf0(%rsp), %esi
callq 0x39e96
movl %eax, %ebp
jmp 0x3b097
xorl %ebp, %ebp
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x34d7c
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
movl 0x10(%rsp), %edx
callq 0x34d7c
leaq 0x98(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x34d7c
leaq 0x78(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movl 0xf0(%rsp), %edx
callq 0x34d7c
subq $0x8, %rsp
leaq 0x80934(%rip), %rax     # 0xbba25
leaq 0x7ffc3(%rip), %r8      # 0xbb0bb
leaq 0x88ba2(%rip), %rdx     # 0xc3ca1
leaq 0x60(%rsp), %rdi
leaq 0x100(%rsp), %rsi
leaq 0x40(%rsp), %rcx
leaq 0x20(%rsp), %r9
pushq %rax
pushq %r12
pushq %r8
pushq %r14
pushq %r8
callq 0x54956
addq $0x30, %rsp
movzbl %bpl, %r8d
leaq 0x58(%rsp), %rcx
movq %r15, %rdi
movl 0x14(%rsp), %esi
movl %ebx, %edx
xorl %r9d, %r9d
callq 0x39bea
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b15d
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b17e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b19f
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b1ba
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b1d5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
movq %r15, %rdi
movl %ebx, %esi
movl %r13d, %edx
callq 0x164e0
movq %r15, %rdi
movl %ebx, %esi
movl 0x10(%rsp), %edx
callq 0x164e0
movq %r15, %rdi
movl %ebx, %esi
movl 0xc(%rsp), %edx
callq 0x164e0
movq %r15, %rdi
movl %ebx, %esi
movl 0xf0(%rsp), %edx
callq 0x164e0
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b244
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3b244
movq %rax, %rbx
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b26a
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3b26a
movq %rax, %rbx
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b290
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3b290
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b2b0
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3b2b0
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b2cb
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0
nop