// File: /workspace/github_c_makefile_star2_O0/markdryan[P]subtilis/arch/arm32/assembler.c
// Function: prv_parse_fpa_stran_post
static void prv_parse_fpa_stran_post(subtilis_arm_ass_context_t *c,
				     subtilis_arm_instr_type_t itype,
				     subtilis_arm_ccode_type_t ccode,
				     size_t size, subtilis_arm_reg_t dest,
				     subtilis_arm_reg_t base,
				     subtilis_error_t *err)
{
	const char *tbuf;
	subtilis_fpa_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.fpa_stran;
	stran->ccode = ccode;
	stran->size = size;
	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 0x10(%rbp), %rax
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 0x10(%rbp), %rdx
callq 0x133f0
movq 0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x949f9
jmp 0x94b3b
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 0x94aaf
movq -0x30(%rbp), %rdi
leaq 0x15b83(%rip), %rsi     # 0xaa5a9
callq 0x12140
cmpl $0x0, %eax
jne 0x94aaf
movq -0x8(%rbp), %rdi
movq 0x10(%rbp), %rdx
leaq -0x42(%rbp), %rsi
callq 0x94b50
movb %al, -0x41(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x94a52
jmp 0x94b3b
movb $0x1, -0x44(%rbp)
movb $0x0, -0x43(%rbp)
cmpq $0xf, -0x28(%rbp)
jne 0x94aad
movq 0x10(%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 0x1972e(%rip), %rdx     # 0xae1b7
leaq 0x167e6(%rip), %rcx     # 0xab276
leaq 0x19689(%rip), %rax     # 0xae120
movq %rax, (%rsp)
movl $0x97a, 0x8(%rsp)       # imm = 0x97A
callq 0x156d0
jmp 0x94b3b
jmp 0x94aaf
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movl -0xc(%rbp), %esi
movq 0x10(%rbp), %rdx
callq 0x70b50
movq %rax, -0x40(%rbp)
movq 0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x94ad1
jmp 0x94b3b
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)
movq -0x28(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, 0x18(%rax)
movb -0x41(%rbp), %cl
movq -0x38(%rbp), %rax
movb %cl, 0x20(%rax)
movb -0x43(%rbp), %cl
movq -0x38(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x21(%rax)
movb -0x44(%rbp), %cl
movq -0x38(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x22(%rax)
movb -0x42(%rbp), %cl
movq -0x38(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x23(%rax)
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)