// File: /workspace/github_c_makefile_star2_O0/lucvoo[P]sparse-dev/linearize.c
// Function: linearize_fma
static pseudo_t linearize_fma(struct entrypoint *ep, struct expression *expr)
{
	struct instruction *insn = alloc_typed_instruction(OP_FMADD, expr->ctype);
	struct expression *arg;

	PREPARE_PTR_LIST(expr->args, arg);
		use_pseudo(insn, linearize_expression(ep, arg), &insn->src1);
		NEXT_PTR_LIST(arg)
		use_pseudo(insn, linearize_expression(ep, arg), &insn->src2);
		NEXT_PTR_LIST(arg)
		use_pseudo(insn, linearize_expression(ep, arg), &insn->src3);
	FINISH_PTR_LIST(arg);

	add_one_insn(ep, insn);
	return insn->target = alloc_pseudo(insn);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
movl $0x42, %edi
callq 0x1a240
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movq $0x0, -0x20(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x206ee
jmp 0x20692
movl -0x34(%rbp), %eax
movq -0x30(%rbp), %rcx
movw (%rcx), %cx
shlw $0x8, %cx
sarw $0x8, %cx
movswl %cx, %ecx
cmpl %ecx, %eax
jge 0x206cb
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq 0x18(%rax,%rcx,8), %rax
andq $-0x4, %rax
movq %rax, -0x20(%rbp)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x206ec
movq $0x0, -0x20(%rbp)
movl $0x0, -0x34(%rbp)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq -0x28(%rbp), %rax
jne 0x20692
jmp 0x206ee
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1bb90
movq -0x40(%rbp), %rdi
movq %rax, %rsi
movq -0x18(%rbp), %rdx
addq $0x30, %rdx
callq 0x1a290
cmpq $0x0, -0x20(%rbp)
je 0x2077c
jmp 0x20720
movl -0x34(%rbp), %eax
movq -0x30(%rbp), %rcx
movw (%rcx), %cx
shlw $0x8, %cx
sarw $0x8, %cx
movswl %cx, %ecx
cmpl %ecx, %eax
jge 0x20759
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq 0x18(%rax,%rcx,8), %rax
andq $-0x4, %rax
movq %rax, -0x20(%rbp)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x2077a
movq $0x0, -0x20(%rbp)
movl $0x0, -0x34(%rbp)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq -0x28(%rbp), %rax
jne 0x20720
jmp 0x2077c
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1bb90
movq -0x48(%rbp), %rdi
movq %rax, %rsi
movq -0x18(%rbp), %rdx
addq $0x30, %rdx
addq $0x8, %rdx
callq 0x1a290
cmpq $0x0, -0x20(%rbp)
je 0x2080e
jmp 0x207b2
movl -0x34(%rbp), %eax
movq -0x30(%rbp), %rcx
movw (%rcx), %cx
shlw $0x8, %cx
sarw $0x8, %cx
movswl %cx, %ecx
cmpl %ecx, %eax
jge 0x207eb
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq 0x18(%rax,%rcx,8), %rax
andq $-0x4, %rax
movq %rax, -0x20(%rbp)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x2080c
movq $0x0, -0x20(%rbp)
movl $0x0, -0x34(%rbp)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq -0x28(%rbp), %rax
jne 0x207b2
jmp 0x2080e
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1bb90
movq -0x50(%rbp), %rdi
movq %rax, %rsi
movq -0x18(%rbp), %rdx
addq $0x30, %rdx
addq $0x10, %rdx
callq 0x1a290
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x1b5b0
movq -0x18(%rbp), %rdi
callq 0x1a340
movq -0x18(%rbp), %rcx
movq %rax, 0x20(%rcx)
addq $0x50, %rsp
popq %rbp
retq
nop