// File: /workspace/github_c_makefile_star2_O0/markdryan[P]subtilis/frontend/builtins_ir.c
// Function: subtilis_builtins_ir_fp_to_str
void subtilis_builtins_ir_fp_to_str(subtilis_parser_t *p,
				    subtilis_ir_section_t *current,
				    subtilis_error_t *err)
{
	subtilis_exp_t *sizee;
	subtilis_ir_operand_t op0;
	subtilis_ir_operand_t op1;
	subtilis_ir_operand_t op2;
	subtilis_ir_operand_t op1i;
	subtilis_ir_operand_t digit;
	subtilis_ir_operand_t number;
	subtilis_ir_operand_t cond;
	subtilis_ir_operand_t counter;
	subtilis_ir_operand_t loop_label;
	subtilis_ir_operand_t end_loop_label;
	subtilis_ir_operand_t first_not_zero_label;
	subtilis_ir_operand_t second_not_zero_label;
	subtilis_ir_operand_t digit_zero_label;
	subtilis_ir_operand_t digit_not_zero_label;
	subtilis_ir_operand_t end_label;
	subtilis_ir_section_t *old_current;
	subtilis_ir_operand_t fp_left;
	subtilis_symbol_table_t *old_st;
	subtilis_ir_operand_t arg_val;
	subtilis_ir_operand_t arg_buf;
	subtilis_ir_operand_t last_non_zero;
	subtilis_ir_operand_t buf_start;
	size_t size_reg;

	/*
	 * This is a bit nasty.  The expression functions take a parser
	 * and not a section.  As we don't want to add to the current section
	 * here we need to temporarily replace the current section.  We should
	 * probably update the expression functions to take an explicit section.
	 *
	 * Note this function has an additional problem as it calls
	 * subtilis_type_if_print which reserves stack space for a local buffer,
	 * so we also need to swap out the symbol table.
	 *
	 * There really needs to be some generic set up and tear down code for
	 * defining builtins like this.
	 */

	/*
	 * TODO.  This doesn't really work properly for big or small numbers.
	 */

	old_current = p->current;
	p->current = current;
	old_st = p->local_st;
	p->local_st = subtilis_symbol_table_new(err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	/*
	 * arg_buf is expected to be >= 22 bytes.
	 */

	arg_buf.reg = SUBTILIS_IR_REG_TEMP_START;
	arg_val.reg = 0;

	loop_label.label = subtilis_ir_section_new_label(current);
	end_label.label = current->end_label;
	end_loop_label.label = subtilis_ir_section_new_label(current);
	first_not_zero_label.label = subtilis_ir_section_new_label(current);
	second_not_zero_label.label = subtilis_ir_section_new_label(current);
	digit_not_zero_label.label = subtilis_ir_section_new_label(current);
	digit_zero_label.label = subtilis_ir_section_new_label(current);

	buf_start.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV, arg_buf, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op1i.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV_FP_I32, arg_val, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	if (p->backend.caps & SUBTILIS_BACKEND_HAVE_I32_TO_DEC) {
		size_reg = subtilis_ir_section_add_instr(
		    p->current, SUBTILIS_OP_INSTR_I32TODEC, op1i, arg_buf, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;
	} else {
		sizee = subtilis_builtin_ir_call_dec_to_str(p, op1i.reg,
							    arg_buf.reg, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;
		size_reg = sizee->exp.ir_op.reg;
		subtilis_exp_delete(sizee);
	}

	op2.reg = size_reg;
	op1.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_ADD_I32, arg_buf, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_no_reg2(current, SUBTILIS_OP_INSTR_MOV,
					      arg_buf, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	last_non_zero.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV, arg_buf, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op1.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_ABSR, arg_val, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op1i.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV_FP_I32, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV_I32_FP, op1i, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	number.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_SUB_REAL, op1, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.real = 0.0;
	cond.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_NEQI_REAL, number, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_JMPC, cond,
					  first_not_zero_label, end_loop_label,
					  err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, first_not_zero_label.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = '.';
	op1i.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOVI_I32, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = 0;
	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_STOREO_I8,
					  op1i, arg_buf, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op1.integer = 1;
	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_ADDI_I32,
					  arg_buf, arg_buf, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = 10;
	counter.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOVI_I32, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, loop_label.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.real = 10.0;
	op1.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_MULI_REAL, number, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	digit.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV_FP_I32, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.reg = subtilis_ir_section_add_instr2(
	    current, SUBTILIS_OP_INSTR_MOV_I32_FP, digit, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	fp_left.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_SUB_REAL, op1, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	/* TODO:
	 * We can't use the subtraction operation to write directly into the
	 * destinationr register as the register allocator cannot currently
	 * handle the case when the destination register  is the same as one
	 * of the operands.  In the long run the move gets removed by the
	 * peephole optimizer, but we shouldn't need to add it in the first
	 * place.  This needs to be fixed.
	 */

	subtilis_ir_section_add_instr_no_reg2(current, SUBTILIS_OP_INSTR_MOVFP,
					      number, fp_left, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = '0';
	op1i.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_ADDI_I32, digit, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = 0;
	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_STOREO_I8,
					  op1i, arg_buf, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op1.integer = 1;
	op0.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_ADDI_I32, arg_buf, op1, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_JMPC,
					  digit, digit_not_zero_label,
					  digit_zero_label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, digit_not_zero_label.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_no_reg2(current, SUBTILIS_OP_INSTR_MOV,
					      last_non_zero, op0, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, digit_zero_label.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_no_reg2(current, SUBTILIS_OP_INSTR_MOV,
					      arg_buf, op0, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.real = 0.0;
	cond.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_NEQI_REAL, fp_left, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_JMPC, cond,
					  second_not_zero_label, end_loop_label,
					  err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, second_not_zero_label.label,
				      err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = 1;
	op1i.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_SUBI_I32, counter, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_no_reg2(current, SUBTILIS_OP_INSTR_MOV,
					      counter, op1i, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op2.integer = 0;
	cond.reg = subtilis_ir_section_add_instr(
	    current, SUBTILIS_OP_INSTR_EQI_I32, counter, op2, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_JMPC_NF,
					  cond, end_loop_label, loop_label,
					  err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, end_loop_label.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	op0.reg = current->ret_reg;
	subtilis_ir_section_add_instr_reg(current, SUBTILIS_OP_INSTR_SUB_I32,
					  op0, last_non_zero, buf_start, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_label(current, end_label.label, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_ir_section_add_instr_no_reg(current, SUBTILIS_OP_INSTR_RET_I32,
					     op0, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	current->locals = p->local_st->max_allocated;

cleanup:

	subtilis_symbol_table_delete(p->local_st);
	p->local_st = old_st;

	p->current = old_current;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0xa0(%rbp)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rax
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x3c180
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x68(%rax)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x40fe3
jmp 0x41824
movq $0x4, -0xc0(%rbp)
movq $0x0, -0xb8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x39940
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rdi
callq 0x39940
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rdi
callq 0x39940
movq %rax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
callq 0x39940
movq %rax, -0x80(%rbp)
movq -0x10(%rbp), %rdi
callq 0x39940
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rdi
callq 0x39940
movq %rax, -0x88(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0xc0(%rbp), %rdx
movl $0x1d, %esi
callq 0x38490
movq %rax, -0xd0(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4108d
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0xb8(%rbp), %rdx
movl $0x52, %esi
callq 0x38490
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x410b8
jmp 0x41824
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x410ff
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rdi
movq -0x18(%rbp), %r8
movq -0x40(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movl $0x84, %esi
callq 0x38230
movq %rax, -0xd8(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x410fd
jmp 0x41824
jmp 0x41144
movq -0x8(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0xc0(%rbp), %rdx
movq -0x18(%rbp), %rcx
callq 0x41860
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41129
jmp 0x41824
movq -0x20(%rbp), %rax
movq 0x148(%rax), %rax
movq %rax, -0xd8(%rbp)
movq -0x20(%rbp), %rdi
callq 0x36ee0
movq -0xd8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0xc0(%rbp), %rdx
movq -0x38(%rbp), %rcx
xorl %esi, %esi
callq 0x38230
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4117b
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0xc0(%rbp), %rdx
movq -0x30(%rbp), %rcx
movl $0x1d, %esi
callq 0x385a0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x411a6
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0xc0(%rbp), %rdx
movl $0x1d, %esi
callq 0x38490
movq %rax, -0xc8(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x411d4
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0xb8(%rbp), %rdx
movl $0x69, %esi
callq 0x38490
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x411ff
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x30(%rbp), %rdx
movl $0x52, %esi
callq 0x38490
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41227
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x40(%rbp), %rdx
movl $0x51, %esi
callq 0x38490
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4124f
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x3, %esi
callq 0x38230
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4127b
jmp 0x41824
xorps %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x50(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x32, %esi
callq 0x38230
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x412af
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x58(%rbp), %rdx
movq -0x78(%rbp), %rcx
movq -0x70(%rbp), %r8
movl $0x43, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x412db
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x412fa
jmp 0x41824
movl $0x2e, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x38(%rbp), %rdx
movl $0x1b, %esi
callq 0x38490
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41329
jmp 0x41824
movl $0x0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x40(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movq -0x38(%rbp), %r8
movl $0x16, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4135f
jmp 0x41824
movl $0x1, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0xc0(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movq -0x30(%rbp), %r8
movl $0x9, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41398
jmp 0x41824
movl $0xa, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x38(%rbp), %rdx
movl $0x1b, %esi
callq 0x38490
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x413c7
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x413e6
jmp 0x41824
movsd 0x6ae42(%rip), %xmm0    # 0xac230
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x50(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0xe, %esi
callq 0x38230
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4141f
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x30(%rbp), %rdx
movl $0x52, %esi
callq 0x38490
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41447
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x48(%rbp), %rdx
movl $0x51, %esi
callq 0x38490
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4146f
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x3, %esi
callq 0x38230
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4149e
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x50(%rbp), %rdx
movq -0xa8(%rbp), %rcx
movl $0x1e, %esi
callq 0x385a0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x414c9
jmp 0x41824
movl $0x30, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x48(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x9, %esi
callq 0x38230
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x414fc
jmp 0x41824
movl $0x0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x40(%rbp), %rdx
movq -0xc0(%rbp), %rcx
movq -0x38(%rbp), %r8
movl $0x16, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41532
jmp 0x41824
movl $0x1, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0xc0(%rbp), %rdx
movq -0x30(%rbp), %rcx
movl $0x9, %esi
callq 0x38230
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41568
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x48(%rbp), %rdx
movq -0x90(%rbp), %rcx
movq -0x88(%rbp), %r8
movl $0x43, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4159a
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x415bc
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0xc8(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl $0x1d, %esi
callq 0x385a0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x415e7
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x88(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41609
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0xc0(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl $0x1d, %esi
callq 0x385a0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41634
jmp 0x41824
xorps %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0xa8(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x32, %esi
callq 0x38230
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4166b
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x58(%rbp), %rdx
movq -0x80(%rbp), %rcx
movq -0x70(%rbp), %r8
movl $0x43, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41697
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x80(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x416b6
jmp 0x41824
movl $0x1, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x60(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0xb, %esi
callq 0x38230
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x416e9
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x60(%rbp), %rdx
movq -0x40(%rbp), %rcx
movl $0x1d, %esi
callq 0x385a0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41711
jmp 0x41824
movl $0x0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r8
movq -0x60(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x2d, %esi
callq 0x38230
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41744
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x58(%rbp), %rdx
movq -0x70(%rbp), %rcx
movq -0x68(%rbp), %r8
movl $0x44, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x41770
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x70(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4178f
jmp 0x41824
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %r9
movq -0x28(%rbp), %rdx
movq -0xc8(%rbp), %rcx
movq -0xd0(%rbp), %r8
movl $0x2, %esi
callq 0x38360
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x417cd
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x98(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x39960
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x417ec
jmp 0x41824
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x28(%rbp), %rdx
movl $0x47, %esi
callq 0x38540
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4180d
jmp 0x41824
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rax
movq 0x310(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rdi
callq 0x3c2b0
movq -0xb0(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x68(%rax)
movq -0xa0(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x48(%rax)
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax,%rax)