// File: /workspace/github_c_makefile_star2_O0/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_parse_vfp_stran_post
static void prv_parse_vfp_stran_post(subtilis_arm_ass_context_t *c,
				     subtilis_arm_instr_type_t itype,
				     subtilis_arm_ccode_type_t ccode,
				     subtilis_arm_reg_t dest,
				     subtilis_arm_reg_t base,
				     subtilis_error_t *err)
{
	const char *tbuf;
	subtilis_vfp_stran_instr_t *stran;
	subtilis_arm_instr_t *instr;
	uint8_t offset = 0;
	bool sub = false;
	bool pre_index = true;
	bool write_back = false;

	subtilis_lexer_get(c->l, c->t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	tbuf = subtilis_token_get_text(c->t);
	if ((c->t->type == SUBTILIS_TOKEN_OPERATOR) && !strcmp(tbuf, ",")) {
		offset = prv_get_fpa_stran_offset(c, &sub, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		write_back = true;
		pre_index = false;

		if (base == 15) {
			subtilis_error_set_ass_bad_reg(
			    err, "R15", c->l->stream->name, c->l->line);
			return;
		}
	}

	instr = subtilis_arm_section_add_instr(c->arm_s, itype, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	stran = &instr->operands.vfp_stran;
	stran->ccode = ccode;
	stran->dest = dest;
	stran->base = base;
	stran->offset = offset;
	stran->pre_indexed = pre_index;
	stran->write_back = write_back;
	stran->subtract = sub;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movb $0x0, -0x41(%rbp)
movb $0x0, -0x42(%rbp)
movb $0x1, -0x43(%rbp)
movb $0x0, -0x44(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x28(%rbp), %rdx
callq 0x133f0
movq -0x28(%rbp), %rax
cmpl $0x0, (%rax)
je 0x96925
jmp 0x96a5b
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x12d70
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
cmpl $0x2, (%rax)
jne 0x969db
movq -0x30(%rbp), %rdi
leaq 0x13c57(%rip), %rsi     # 0xaa5a9
callq 0x12140
cmpl $0x0, %eax
jne 0x969db
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rdx
leaq -0x42(%rbp), %rsi
callq 0x94b50
movb %al, -0x41(%rbp)
movq -0x28(%rbp), %rax
cmpl $0x0, (%rax)
je 0x9697e
jmp 0x96a5b
movb $0x1, -0x44(%rbp)
movb $0x0, -0x43(%rbp)
cmpq $0xf, -0x20(%rbp)
jne 0x969d9
movq -0x28(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x30(%rax), %r8
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movl 0x38(%rax), %r9d
movl $0x58, %esi
leaq 0x17802(%rip), %rdx     # 0xae1b7
leaq 0x148ba(%rip), %rcx     # 0xab276
leaq 0x1775d(%rip), %rax     # 0xae120
movq %rax, (%rsp)
movl $0xcd8, 0x8(%rsp)       # imm = 0xCD8
callq 0x156d0
jmp 0x96a5b
jmp 0x969db
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movl -0xc(%rbp), %esi
movq -0x28(%rbp), %rdx
callq 0x70b50
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rax
cmpl $0x0, (%rax)
je 0x969fd
jmp 0x96a5b
movq -0x40(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x38(%rbp)
movl -0x10(%rbp), %ecx
movq -0x38(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, 0x10(%rax)
movb -0x41(%rbp), %cl
movq -0x38(%rbp), %rax
movb %cl, 0x18(%rax)
movb -0x43(%rbp), %cl
movq -0x38(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x19(%rax)
movb -0x44(%rbp), %cl
movq -0x38(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x1a(%rax)
movb -0x42(%rbp), %cl
movq -0x38(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x1b(%rax)
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)