// File: /workspace/github_c_makefile_star2_O0/markdryan[P]subtilis/arch/arm32/arm_dump.c
// Function: subtilis_arm_section_dump
void subtilis_arm_section_dump(subtilis_arm_prog_t *p,
			       subtilis_arm_section_t *s)
{
	subtlis_arm_walker_t walker;
	subtilis_error_t err;
	size_t i;

	subtilis_error_init(&err);

	walker.user_data = p;
	walker.label_fn = prv_dump_label;
	walker.directive_fn = prv_dump_directive;
	walker.data_fn = prv_dump_data_instr;
	walker.mul_fn = prv_dump_mul_instr;
	walker.cmp_fn = prv_dump_cmp_instr;
	walker.mov_fn = prv_dump_mov_instr;
	walker.stran_fn = prv_dump_stran_instr;
	walker.mtran_fn = prv_dump_mtran_instr;
	walker.br_fn = prv_dump_br_instr;
	walker.swi_fn = prv_dump_swi_instr;
	walker.ldrc_fn = prv_dump_ldrc_instr;
	walker.ldrp_fn = prv_dump_ldrp_instr;
	walker.adr_fn = prv_dump_adr_instr;
	walker.cmov_fn = prv_dump_cmov_instr;
	walker.flags_fn = prv_dump_flags_instr;
	walker.fpa_data_monadic_fn = prv_dump_fpa_data_monadic_instr;
	walker.fpa_data_dyadic_fn = prv_dump_fpa_data_dyadic_instr;
	walker.fpa_stran_fn = prv_dump_fpa_stran_instr;
	walker.fpa_tran_fn = prv_dump_fpa_tran_instr;
	walker.fpa_cmp_fn = prv_dump_fpa_cmp_instr;
	walker.fpa_ldrc_fn = prv_dump_fpa_ldrc_instr;
	walker.fpa_cptran_fn = prv_dump_fpa_cptran_instr;
	walker.vfp_stran_fn = prv_dump_vfp_stran_instr;
	walker.vfp_copy_fn = prv_dump_vfp_copy_instr;
	walker.vfp_ldrc_fn = prv_dump_vfp_ldrc_instr;
	walker.vfp_tran_fn = prv_dump_vfp_tran_instr;
	walker.vfp_tran_dbl_fn = prv_dump_vfp_tran_dbl_instr;
	walker.vfp_cptran_fn = prv_dump_vfp_cptran_instr;
	walker.vfp_data_fn = prv_dump_vfp_data_instr;
	walker.vfp_cmp_fn = prv_dump_vfp_cmp_instr;
	walker.vfp_sqrt_fn = prv_dump_vfp_sqrt_instr;
	walker.vfp_sysreg_fn = prv_dump_vfp_sysreg_instr;
	walker.vfp_cvt_fn = prv_dump_vfp_cvt_instr;
	walker.stran_misc_fn = prv_dump_stran_misc_instr;
	walker.simd_fn = prv_dump_reg_only_instr;
	walker.signx_fn = prv_dump_signx_instr;

	subtilis_arm_walk(s, &walker, &err);

	for (i = 0; i < s->constants.real_count; i++) {
		printf(".label_%zu\n", s->constants.real[i].label);
		printf("\tEQUFD %f\n", s->constants.real[i].real);
	}
	for (i = 0; i < s->constants.ui32_count; i++) {
		printf(".label_%zu\n", s->constants.ui32[i].label);
		printf("\tEQUD &%" PRIx32 "\n", s->constants.ui32[i].integer);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd50, %rsp            # imm = 0xD50
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0xd44(%rbp), %rdi
callq 0x15670
movq -0x8(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x2df(%rip), %rax       # 0x84610
movq %rax, -0x128(%rbp)
leaq 0x301(%rip), %rax       # 0x84640
movq %rax, -0x130(%rbp)
leaq 0x433(%rip), %rax       # 0x84780
movq %rax, -0x120(%rbp)
leaq 0x4e5(%rip), %rax       # 0x84840
movq %rax, -0x118(%rbp)
leaq 0x5b7(%rip), %rax       # 0x84920
movq %rax, -0x110(%rbp)
leaq 0x669(%rip), %rax       # 0x849e0
movq %rax, -0x108(%rbp)
leaq 0x71b(%rip), %rax       # 0x84aa0
movq %rax, -0x100(%rbp)
leaq 0x85d(%rip), %rax       # 0x84bf0
movq %rax, -0xf8(%rbp)
leaq 0x9ef(%rip), %rax       # 0x84d90
movq %rax, -0xf0(%rbp)
leaq 0xb11(%rip), %rax       # 0x84ec0
movq %rax, -0xe8(%rbp)
leaq 0xb83(%rip), %rax       # 0x84f40
movq %rax, -0xe0(%rbp)
leaq 0xc05(%rip), %rax       # 0x84fd0
movq %rax, -0xd8(%rbp)
leaq 0xc87(%rip), %rax       # 0x85060
movq %rax, -0xd0(%rbp)
leaq 0xd09(%rip), %rax       # 0x850f0
movq %rax, -0xc0(%rbp)
leaq 0xddb(%rip), %rax       # 0x851d0
movq %rax, -0xc8(%rbp)
leaq 0xf6d(%rip), %rax       # 0x85370
movq %rax, -0xb8(%rbp)
leaq 0xf9f(%rip), %rax       # 0x853b0
movq %rax, -0xb0(%rbp)
leaq 0xfd1(%rip), %rax       # 0x853f0
movq %rax, -0xa8(%rbp)
leaq 0x1103(%rip), %rax      # 0x85530
movq %rax, -0xa0(%rbp)
leaq 0x1235(%rip), %rax      # 0x85670
movq %rax, -0x98(%rbp)
leaq 0x12f7(%rip), %rax      # 0x85740
movq %rax, -0x90(%rbp)
leaq 0x1389(%rip), %rax      # 0x857e0
movq %rax, -0x88(%rbp)
leaq 0x13fb(%rip), %rax      # 0x85860
movq %rax, -0x80(%rbp)
leaq 0x1540(%rip), %rax      # 0x859b0
movq %rax, -0x78(%rbp)
leaq 0x1605(%rip), %rax      # 0x85a80
movq %rax, -0x70(%rbp)
leaq 0x168a(%rip), %rax      # 0x85b10
movq %rax, -0x68(%rbp)
leaq 0x180f(%rip), %rax      # 0x85ca0
movq %rax, -0x60(%rbp)
leaq 0x1954(%rip), %rax      # 0x85df0
movq %rax, -0x58(%rbp)
leaq 0x1a59(%rip), %rax      # 0x85f00
movq %rax, -0x50(%rbp)
leaq 0x1b6e(%rip), %rax      # 0x86020
movq %rax, -0x48(%rbp)
leaq 0x1c93(%rip), %rax      # 0x86150
movq %rax, -0x40(%rbp)
leaq 0x1d38(%rip), %rax      # 0x86200
movq %rax, -0x38(%rbp)
leaq 0x1e9d(%rip), %rax      # 0x86370
movq %rax, -0x30(%rbp)
leaq 0x1f42(%rip), %rax      # 0x86420
movq %rax, -0x28(%rbp)
leaq 0x2127(%rip), %rax      # 0x86610
movq %rax, -0x20(%rbp)
leaq 0x21ac(%rip), %rax      # 0x866a0
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x138(%rbp), %rsi
leaq -0xd44(%rbp), %rdx
callq 0x75fe0
movq $0x0, -0xd50(%rbp)
movq -0xd50(%rbp), %rax
movq -0x10(%rbp), %rcx
cmpq 0x78(%rcx), %rax
jae 0x8458f
movq -0x10(%rbp), %rax
movq 0x70(%rax), %rax
movq -0xd50(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0x28c2c(%rip), %rdi     # 0xad178
movb $0x0, %al
callq 0x120f0
movq -0x10(%rbp), %rax
movq 0x70(%rax), %rax
movq -0xd50(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0
leaq 0x28c10(%rip), %rdi     # 0xad184
movb $0x1, %al
callq 0x120f0
movq -0xd50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xd50(%rbp)
jmp 0x8451a
movq $0x0, -0xd50(%rbp)
movq -0xd50(%rbp), %rax
movq -0x10(%rbp), %rcx
cmpq 0x60(%rcx), %rax
jae 0x84607
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
imulq $0x18, -0xd50(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0x28baf(%rip), %rdi     # 0xad178
movb $0x0, %al
callq 0x120f0
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
imulq $0x18, -0xd50(%rbp), %rcx
addq %rcx, %rax
movl (%rax), %esi
leaq 0x28ba3(%rip), %rdi     # 0xad18f
movb $0x0, %al
callq 0x120f0
movq -0xd50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xd50(%rbp)
jmp 0x8459a
addq $0xd50, %rsp            # imm = 0xD50
popq %rbp
retq