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

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r9d, (%rsp)
movl %r8d, %r15d
movl %ecx, %r12d
movl %edx, %ebp
movl %esi, 0x4(%rsp)
movq %rdi, %r14
movl %ecx, %esi
callq 0x39e96
testb %al, %al
je 0x3ae77
movq %r14, %rdi
movl %r15d, %esi
callq 0x39e96
testb %al, %al
je 0x3ae77
movq %r14, %rdi
movl (%rsp), %esi
callq 0x39e96
movl %eax, %ebx
jmp 0x3ae79
xorl %ebx, %ebx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movl %r12d, %edx
callq 0x34d7c
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x34d7c
leaq 0x68(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
movl (%rsp), %edx
callq 0x34d7c
subq $0x8, %rsp
leaq 0x80b6e(%rip), %rax     # 0xbba25
leaq 0x801fd(%rip), %r8      # 0xbb0bb
leaq 0x88ddc(%rip), %rdx     # 0xc3ca1
leaq 0x50(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r9
pushq %rax
pushq %r13
pushq %r8
callq 0x54889
addq $0x20, %rsp
movzbl %bl, %r8d
leaq 0x48(%rsp), %rcx
movq %r14, %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
xorl %r9d, %r9d
callq 0x39bea
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3af1f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3af3a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3af55
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3af70
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6260
movq %r14, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x164e0
movq %r14, %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0x164e0
movq %r14, %rdi
movl %ebp, %esi
movl (%rsp), %edx
callq 0x164e0
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3afcc
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3afcc
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3afec
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3afec
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b00c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3b00c
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b027
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0
nop