// File: /workspace/github_cpp_makefile_star2_O3/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 0x39684
testb %al, %al
je 0x3a66d
movq %r14, %rdi
movl %r15d, %esi
callq 0x39684
testb %al, %al
je 0x3a66d
movq %r14, %rdi
movl (%rsp), %esi
callq 0x39684
movl %eax, %ebx
jmp 0x3a66f
xorl %ebx, %ebx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movl %r12d, %edx
callq 0x3466e
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x3466e
leaq 0x68(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
movl (%rsp), %edx
callq 0x3466e
subq $0x8, %rsp
leaq 0x80368(%rip), %rax     # 0xbaa15
leaq 0x7f9f7(%rip), %r8      # 0xba0ab
leaq 0x885b6(%rip), %rdx     # 0xc2c71
leaq 0x50(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r9
pushq %rax
pushq %r13
pushq %r8
callq 0x5408f
addq $0x20, %rsp
movzbl %bl, %r8d
leaq 0x48(%rsp), %rcx
movq %r14, %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
xorl %r9d, %r9d
callq 0x3942c
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a715
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a730
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a74b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a766
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6260
movq %r14, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x1616c
movq %r14, %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0x1616c
movq %r14, %rdi
movl %ebp, %esi
movl (%rsp), %edx
callq 0x1616c
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 0x3a7c2
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3a7c2
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a7e2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3a7e2
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a802
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3a802
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a81d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0
nop