// File: /workspace/github_cpp_makefile_star2_O3/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 0x39684
testb %al, %al
movl %ebp, 0x10(%rsp)
je 0x3a88b
movq %r15, %rdi
movl %ebp, %esi
callq 0x39684
testb %al, %al
je 0x3a88b
movq %r15, %rdi
movl 0xc(%rsp), %esi
callq 0x39684
testb %al, %al
je 0x3a88b
movq %r15, %rdi
movl 0xf0(%rsp), %esi
callq 0x39684
movl %eax, %ebp
jmp 0x3a88d
xorl %ebp, %ebp
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x3466e
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
movl 0x10(%rsp), %edx
callq 0x3466e
leaq 0x98(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x3466e
leaq 0x78(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movl 0xf0(%rsp), %edx
callq 0x3466e
subq $0x8, %rsp
leaq 0x8012e(%rip), %rax     # 0xbaa15
leaq 0x7f7bd(%rip), %r8      # 0xba0ab
leaq 0x8837c(%rip), %rdx     # 0xc2c71
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 0x5415c
addq $0x30, %rsp
movzbl %bpl, %r8d
leaq 0x58(%rsp), %rcx
movq %r15, %rdi
movl 0x14(%rsp), %esi
movl %ebx, %edx
xorl %r9d, %r9d
callq 0x3942c
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a953
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a974
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a995
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a9b0
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a9cb
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
movq %r15, %rdi
movl %ebx, %esi
movl %r13d, %edx
callq 0x1616c
movq %r15, %rdi
movl %ebx, %esi
movl 0x10(%rsp), %edx
callq 0x1616c
movq %r15, %rdi
movl %ebx, %esi
movl 0xc(%rsp), %edx
callq 0x1616c
movq %r15, %rdi
movl %ebx, %esi
movl 0xf0(%rsp), %edx
callq 0x1616c
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 0x3aa3a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3aa3a
movq %rax, %rbx
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3aa60
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3aa60
movq %rax, %rbx
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3aa86
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3aa86
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3aaa6
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3aaa6
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3aac1
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0
nop