	.file	"24762.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"c-heat-tx"
	.section	.data.rel.local,"aw"
	.align 8
	.type	app_name, @object
	.size	app_name, 8
app_name:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"0.2"
	.section	.data.rel.local
	.align 8
	.type	app_ver, @object
	.size	app_ver, 8
app_ver:
	.quad	.LC1
	.text
	.type	sim_param_cp, @function
sim_param_cp:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	je	.L2
	cmp	QWORD PTR -16[rbp], 0
	jne	.L3
.L2:
	mov	eax, 4
	jmp	.L4
.L3:
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sim_param_cp, .-sim_param_cp
	.section	.rodata
.LC2:
	.string	"the_stack_data/24762.c"
.LC3:
	.string	"out of resources @ %s:%d\n"
	.text
	.type	params_construct, @function
params_construct:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	mov	eax, 4
	jmp	.L7
.L6:
	mov	esi, 32
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 149
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	params_construct, .-params_construct
	.type	params_destruct, @function
params_destruct:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L10
	mov	eax, 4
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	params_destruct, .-params_destruct
	.type	mesh_construct, @function
mesh_construct:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	QWORD PTR -24[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	jne	.L13
	mov	eax, 4
	jmp	.L14
.L13:
	mov	esi, 24
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 178
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 184
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L17
.L16:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 190
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L17
.L19:
	add	DWORD PTR -28[rbp], 1
.L18:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L20
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L14
.L17:
	cmp	QWORD PTR -24[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mesh_destruct
	mov	eax, 2
.L14:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mesh_construct, .-mesh_construct
	.type	mesh_destruct, @function
mesh_destruct:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L23
	mov	eax, 4
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L25
	mov	QWORD PTR -8[rbp], 0
	jmp	.L26
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L27:
	add	QWORD PTR -8[rbp], 1
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], 0
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mesh_destruct, .-mesh_destruct
	.section	.rodata
	.align 8
.LC4:
	.string	"\nmesh_construct failure @ %s:%d\n"
	.text
	.type	gen_meshes, @function
gen_meshes:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	mesh_construct
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L30
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 235
	lea	rdx, .LC2[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	esi, ecx
	mov	rdi, rax
	call	mesh_construct
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L34
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 240
	lea	rdx, .LC2[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L31
.L34:
	nop
.L31:
	cmp	DWORD PTR -4[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	mesh_destruct
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	mesh_destruct
.L32:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	gen_meshes, .-gen_meshes
	.type	simulation_destruct, @function
simulation_destruct:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L36
	mov	eax, 4
	jmp	.L37
.L36:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	params_destruct
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	mesh_destruct
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	mesh_destruct
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	simulation_destruct, .-simulation_destruct
	.section	.rodata
	.align 8
.LC5:
	.string	"params_construct failure @ %s:%d: rc = %d\n"
	.align 8
.LC6:
	.string	"sim_param_cp failure @ %s:%d: rc = %d\n"
	.align 8
.LC7:
	.string	"gen_meshes failure @ %s:%d: rc = %d\n"
	.text
	.type	simulation_construct, @function
simulation_construct:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 1
	cmp	QWORD PTR -24[rbp], 0
	je	.L39
	cmp	QWORD PTR -32[rbp], 0
	jne	.L40
.L39:
	mov	eax, 4
	jmp	.L41
.L40:
	mov	esi, 24
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 273
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	rdi, rax
	call	params_construct
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L43
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	r8d, edx
	mov	ecx, 278
	lea	rdx, .LC2[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L44
.L43:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sim_param_cp
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L45
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	r8d, edx
	mov	ecx, 283
	lea	rdx, .LC2[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 512
	mov	esi, 512
	mov	rdi, rax
	call	gen_meshes
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L46
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	r8d, edx
	mov	ecx, 288
	lea	rdx, .LC2[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L44
.L46:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L44:
	mov	eax, DWORD PTR -12[rbp]
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	simulation_construct, .-simulation_construct
	.section	.rodata
	.align 8
.LC8:
	.string	"o initializing simulation parameters..."
.LC12:
	.string	". max_t: %lu\n"
.LC13:
	.string	". c: %lf\n"
.LC14:
	.string	". delta_s: %lf\n"
.LC15:
	.string	". delta_t: %lf\n\n"
	.text
	.type	init_params, @function
init_params:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -16[rbp], edx
	cmp	QWORD PTR -8[rbp], 0
	jne	.L48
	mov	eax, 4
	jmp	.L49
.L48:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR [rdx]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm1, xmm0
	movq	xmm0, rax
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 16[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	init_params, .-init_params
	.section	.rodata
.LC16:
	.string	"wb"
.LC17:
	.string	"heat-img.dat"
.LC18:
	.string	"fopen failure @ %s:%d\n"
.LC19:
	.string	""
.LC20:
	.string	" "
.LC21:
	.string	"%lf%s"
	.text
	.type	dump, @function
dump:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	lea	rsi, .LC16[rip]
	lea	rdi, .LC17[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L51
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 332
	lea	rdx, .LC2[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 3
	jmp	.L52
.L51:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L53
.L58:
	mov	QWORD PTR -16[rbp], 0
	jmp	.L54
.L57:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	sub	rax, 1
	cmp	QWORD PTR -16[rbp], rax
	jne	.L55
	lea	rax, .LC19[rip]
	jmp	.L56
.L55:
	lea	rax, .LC20[rip]
.L56:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	rcx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR -24[rbp]
	sal	rdx, 3
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -16[rbp]
	sal	rdx, 3
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, rax
	movq	xmm0, rsi
	lea	rsi, .LC21[rip]
	mov	rdi, rcx
	mov	eax, 1
	call	fprintf@PLT
	add	QWORD PTR -16[rbp], 1
.L54:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -16[rbp], rax
	jb	.L57
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	QWORD PTR -24[rbp], 1
.L53:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L58
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	dump, .-dump
	.section	.rodata
.LC22:
	.string	"o starting simulation..."
	.align 8
.LC23:
	.string	". starting iteration %lu of %lu\n"
	.text
	.type	run_simulation, @function
run_simulation:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	DWORD PTR -124[rbp], 1
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 16[rax]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 16[rax]
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 16[rax]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 16[rax]
	movsd	xmm0, QWORD PTR 16[rax]
	mulsd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -88[rbp], rax
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	QWORD PTR -120[rbp], 0
	jmp	.L60
.L68:
	mov	rcx, QWORD PTR -120[rbp]
	mov	rax, rcx
	shr	rax, 2
	movabs	rdx, 2951479051793528259
	mul	rdx
	shr	rdx, 2
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	sub	rcx, rax
	mov	rdx, rcx
	test	rdx, rdx
	jne	.L61
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L61:
	mov	QWORD PTR -112[rbp], 1
	jmp	.L62
.L65:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 1
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -104[rbp], 1
	jmp	.L63
.L64:
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm2
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	movsd	xmm2, QWORD PTR .LC11[rip]
	mulsd	xmm3, xmm2
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm2, xmm0
	mov	rax, QWORD PTR -104[rbp]
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm2
	mulsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -104[rbp], 1
.L63:
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, 1
	cmp	QWORD PTR -104[rbp], rax
	jb	.L64
	add	QWORD PTR -112[rbp], 1
.L62:
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, 1
	cmp	QWORD PTR -112[rbp], rax
	jb	.L65
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	set_initial_conds
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	je	.L66
	mov	eax, DWORD PTR -124[rbp]
	jmp	.L67
.L66:
	add	QWORD PTR -120[rbp], 1
.L60:
	mov	rax, QWORD PTR -120[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L68
	mov	eax, 0
.L67:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	run_simulation, .-run_simulation
	.type	set_initial_conds, @function
set_initial_conds:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	jne	.L70
	mov	eax, 4
	jmp	.L71
.L70:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	shr	rax
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	shr	rax
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	shr	rax, 2
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	mov	eax, 1
	sub	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L72
.L74:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC24[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC25[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC26[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC27[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC26[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC25[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC24[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC28[rip]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -16[rbp], 1
	cmp	DWORD PTR -12[rbp], 0
	jns	.L73
	mov	eax, DWORD PTR -16[rbp]
	add	eax, eax
	add	eax, 1
	add	DWORD PTR -12[rbp], eax
	jmp	.L72
.L73:
	sub	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -20[rbp]
	add	eax, 1
	add	eax, eax
	add	DWORD PTR -12[rbp], eax
.L72:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jge	.L74
	mov	eax, 0
.L71:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	set_initial_conds, .-set_initial_conds
	.section	.rodata
.LC29:
	.string	"o %s %s\n"
	.align 8
.LC31:
	.string	"init_params failure @ %s:%d: rc = %d\n"
	.align 8
.LC32:
	.string	"simulation_construct failure @ %s:%d: rc = %d\n"
	.align 8
.LC33:
	.string	"set_initial_conds failure @ %s:%d: rc = %d\n"
	.align 8
.LC34:
	.string	"run_simulation failure @ %s:%d: rc = %d\n"
	.align 8
.LC35:
	.string	"dump failure @ %s:%d: rc = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 1
	mov	DWORD PTR -32[rbp], 1
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rdx, QWORD PTR app_ver[rip]
	mov	rax, QWORD PTR app_name[rip]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	params_construct
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L76
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, edx
	mov	ecx, 430
	lea	rdx, .LC2[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L77
.L76:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR .LC30[rip]
	mov	edx, 1024
	movq	xmm0, rcx
	mov	esi, 512
	mov	rdi, rax
	call	init_params
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L78
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, edx
	mov	ecx, 435
	lea	rdx, .LC2[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L77
.L78:
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	simulation_construct
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L79
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, edx
	mov	ecx, 440
	lea	rdx, .LC2[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L77
.L79:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	set_initial_conds
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L80
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, edx
	mov	ecx, 445
	lea	rdx, .LC2[rip]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L77
.L80:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	run_simulation
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L81
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, edx
	mov	ecx, 450
	lea	rdx, .LC2[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L77
.L81:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	dump
	test	eax, eax
	je	.L82
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, edx
	mov	ecx, 455
	lea	rdx, .LC2[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L77
.L82:
	mov	DWORD PTR -32[rbp], 0
.L77:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	simulation_destruct
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	params_destruct
	mov	eax, DWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1072693248
	.align 8
.LC10:
	.long	0
	.long	1073741824
	.align 8
.LC11:
	.long	0
	.long	1074790400
	.align 8
.LC24:
	.long	-1717986918
	.long	1070176665
	.align 8
.LC25:
	.long	-343597384
	.long	1070512209
	.align 8
.LC26:
	.long	515396075
	.long	1070721925
	.align 8
.LC27:
	.long	1202590844
	.long	1070889697
	.align 8
.LC28:
	.long	-1717986918
	.long	1071225241
	.align 8
.LC30:
	.long	858993459
	.long	1071854387
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"24762.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"c-heat-tx\000"
	.data
	.align	2
	.type	app_name, %object
	.size	app_name, 4
app_name:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"0.2\000"
	.data
	.align	2
	.type	app_ver, %object
	.size	app_ver, 4
app_ver:
	.word	.LC1
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_param_cp, %function
sim_param_cp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r3, #4
	b	.L4
.L3:
	mov	r2, #32
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	memcpy
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sim_param_cp, .-sim_param_cp
	.section	.rodata
	.align	2
.LC2:
	.ascii	"the_stack_data/24762.c\000"
	.align	2
.LC3:
	.ascii	"out of resources @ %s:%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	params_construct, %function
params_construct:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	mov	r3, #4
	b	.L7
.L6:
	mov	r1, #32
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L9
	ldr	r0, [r3]
	mov	r3, #149
	ldr	r2, .L9+4
	ldr	r1, .L9+8
	bl	fprintf
	mov	r3, #2
	b	.L7
.L8:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stderr
	.word	.LC2
	.word	.LC3
	.size	params_construct, .-params_construct
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	params_destruct, %function
params_destruct:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	mov	r3, #4
	b	.L13
.L12:
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	params_destruct, .-params_destruct
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mesh_construct, %function
mesh_construct:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L15
	mov	r3, #4
	b	.L16
.L15:
	mov	r1, #24
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L24
	ldr	r0, [r3]
	mov	r3, #178
	ldr	r2, .L24+4
	ldr	r1, .L24+8
	bl	fprintf
	mov	r3, #2
	b	.L16
.L17:
	ldr	r3, [fp, #-28]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L24
	ldr	r0, [r3]
	mov	r3, #184
	ldr	r2, .L24+4
	ldr	r1, .L24+8
	bl	fprintf
	b	.L19
.L18:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L20
.L22:
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r1, #8
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L24
	ldr	r0, [r3]
	mov	r3, #190
	ldr	r2, .L24+4
	ldr	r1, .L24+8
	bl	fprintf
	b	.L19
.L21:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L20:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-28]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #0
	b	.L16
.L19:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L23
	ldr	r0, [fp, #-16]
	bl	free
.L23:
	ldr	r0, [fp, #-16]
	bl	mesh_destruct
	mov	r3, #2
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	stderr
	.word	.LC2
	.word	.LC3
	.size	mesh_construct, .-mesh_construct
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mesh_destruct, %function
mesh_destruct:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L27
	mov	r3, #4
	b	.L28
.L27:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L29
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L30
.L32:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L31:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-20]
	str	r5, [fp, #-16]
.L30:
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L32
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #16]
.L29:
	ldr	r0, [fp, #-24]
	bl	free
	mov	r3, #0
.L28:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	mesh_destruct, .-mesh_destruct
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012mesh_construct failure @ %s:%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_meshes, %function
gen_meshes:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-28]
	ldr	r2, [fp, #4]
	mov	r0, r3
	bl	mesh_construct
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L39
	ldr	r0, [r3]
	mov	r3, #235
	ldr	r2, .L39+4
	ldr	r1, .L39+8
	bl	fprintf
	b	.L35
.L34:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r1, [fp, #-28]
	ldr	r2, [fp, #4]
	mov	r0, r3
	bl	mesh_construct
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L38
	ldr	r3, .L39
	ldr	r0, [r3]
	mov	r3, #240
	ldr	r2, .L39+4
	ldr	r1, .L39+8
	bl	fprintf
	b	.L35
.L38:
	nop
.L35:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	mesh_destruct
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	mesh_destruct
.L36:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	stderr
	.word	.LC2
	.word	.LC4
	.size	gen_meshes, .-gen_meshes
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	simulation_destruct, %function
simulation_destruct:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L42
	mov	r3, #4
	b	.L43
.L42:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	params_destruct
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	mesh_destruct
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	mesh_destruct
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	simulation_destruct, .-simulation_destruct
	.section	.rodata
	.align	2
.LC5:
	.ascii	"params_construct failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC6:
	.ascii	"sim_param_cp failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC7:
	.ascii	"gen_meshes failure @ %s:%d: rc = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	simulation_construct, %function
simulation_construct:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L46
.L45:
	mov	r3, #4
	b	.L47
.L46:
	mov	r1, #12
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L53
	ldr	r0, [r3]
	ldr	r3, .L53+4
	ldr	r2, .L53+8
	ldr	r1, .L53+12
	bl	fprintf
	mov	r3, #2
	b	.L47
.L48:
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r0, r3
	bl	params_construct
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L53
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L53+16
	ldr	r2, .L53+8
	ldr	r1, .L53+20
	bl	fprintf
	b	.L50
.L49:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	sim_param_cp
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L53
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L53+24
	ldr	r2, .L53+8
	ldr	r1, .L53+28
	bl	fprintf
	b	.L50
.L51:
	mov	r2, #512
	mov	r3, #0
	stm	sp, {r2-r3}
	mov	r2, #512
	mov	r3, #0
	ldr	r0, [fp, #-8]
	bl	gen_meshes
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L52
	ldr	r3, .L53
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	mov	r3, #288
	ldr	r2, .L53+8
	ldr	r1, .L53+32
	bl	fprintf
	b	.L50
.L52:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L50:
	ldr	r3, [fp, #-12]
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	stderr
	.word	273
	.word	.LC2
	.word	.LC3
	.word	278
	.word	.LC5
	.word	283
	.word	.LC6
	.word	.LC7
	.size	simulation_construct, .-simulation_construct
	.section	.rodata
	.align	2
.LC8:
	.ascii	"o initializing simulation parameters...\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.align	2
.LC9:
	.ascii	". max_t: %llu\012\000"
	.align	2
.LC10:
	.ascii	". c: %lf\012\000"
	.align	2
.LC11:
	.ascii	". delta_s: %lf\012\000"
	.align	2
.LC12:
	.ascii	". delta_t: %lf\012\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_params, %function
init_params:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L56
	mov	r3, #4
	b	.L57
.L56:
	ldr	r0, .L58
	bl	puts
	ldr	r1, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #4]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-16]
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L58+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L58+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	ldr	r0, .L58+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	ldr	r0, .L58+16
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, .L58+20
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L58+24
	bl	printf
	mov	r3, #0
.L57:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC8
	.word	1072693248
	.word	1074790400
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	init_params, .-init_params
	.section	.rodata
	.align	2
.LC13:
	.ascii	"wb\000"
	.align	2
.LC14:
	.ascii	"heat-img.dat\000"
	.align	2
.LC15:
	.ascii	"fopen failure @ %s:%d\012\000"
	.align	2
.LC16:
	.ascii	"\000"
	.align	2
.LC17:
	.ascii	" \000"
	.align	2
.LC18:
	.ascii	"%lf%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump, %function
dump:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r1, .L69
	ldr	r0, .L69+4
	bl	fopen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L61
	ldr	r3, .L69+8
	ldr	r0, [r3]
	mov	r3, #332
	ldr	r2, .L69+12
	ldr	r1, .L69+16
	bl	fprintf
	mov	r3, #3
	b	.L62
.L61:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L63
.L68:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L64
.L67:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r3, r5
	cmpeq	r2, r4
	bne	.L65
	ldr	r3, .L69+20
	b	.L66
.L65:
	ldr	r3, .L69+24
.L66:
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L69+28
	ldr	r0, [fp, #-48]
	bl	fprintf
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
.L64:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L67
	ldr	r1, [fp, #-48]
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	str	r8, [fp, #-44]
	str	r9, [fp, #-40]
.L63:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L68
	ldr	r0, [fp, #-48]
	bl	fflush
	ldr	r0, [fp, #-48]
	bl	fclose
	mov	r3, #0
.L62:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC13
	.word	.LC14
	.word	stderr
	.word	.LC2
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	dump, .-dump
	.section	.rodata
	.align	2
.LC19:
	.ascii	"o starting simulation...\000"
	.global	__aeabi_uldivmod
	.align	2
.LC20:
	.ascii	". starting iteration %llu of %llu\012\000"
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_simulation, %function
run_simulation:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #144
	str	r0, [fp, #-128]
	mov	r3, #1
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	str	r3, [fp, #-120]
	ldr	r0, .L81
	bl	puts
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	b	.L72
.L80:
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	mov	r2, #100
	mov	r3, #0
	bl	__aeabi_uldivmod
	orrs	r3, r2, r3
	bne	.L73
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L81+4
	bl	printf
.L73:
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	b	.L74
.L77:
	ldr	r3, [fp, #-124]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-120]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-120]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-120]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-96]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L75
.L76:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldmia	r3, {r3-r4}
	str	r3, [fp, #-164]
	str	r4, [fp, #-160]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-76]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-76]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L81+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	lsl	r2, r3, #3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	lsl	r2, r3, #3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-76]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-108]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-140]
	adc	r3, r3, #0
	str	r3, [fp, #-136]
	sub	r4, fp, #140
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-76]
	str	r4, [fp, #-72]
.L75:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	subs	r6, r2, #1
	sbc	r7, r3, #0
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r3, r7
	cmpeq	r2, r6
	bcc	.L76
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-148]
	adc	r3, r3, #0
	str	r3, [fp, #-144]
	sub	r4, fp, #148
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-84]
	str	r4, [fp, #-80]
.L74:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	subs	r8, r2, #1
	sbc	r9, r3, #0
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	cmp	r3, r9
	cmpeq	r2, r8
	bcc	.L77
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-124]
	ldr	r0, [fp, #-120]
	bl	set_initial_conds
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	beq	.L78
	ldr	r3, [fp, #-116]
	b	.L79
.L78:
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-156]
	adc	r3, r3, #0
	str	r3, [fp, #-152]
	sub	r4, fp, #156
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-92]
	str	r4, [fp, #-88]
.L72:
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L80
	mov	r3, #0
.L79:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC19
	.word	.LC20
	.word	1074790400
	.size	run_simulation, .-run_simulation
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_initial_conds, %function
set_initial_conds:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L84
	mov	r3, #4
	b	.L85
.L84:
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #1
	orr	r2, r2, r1, lsl #31
	lsr	r3, r1, #1
	mov	r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #1
	orr	r2, r2, r1, lsl #31
	lsr	r3, r1, #1
	mov	r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #2
	orr	r2, r2, r1, lsl #30
	lsr	r3, r1, #2
	mov	r3, r2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L86
.L88:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89
	ldr	r3, .L89+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89+8
	ldr	r3, .L89+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89+16
	ldr	r3, .L89+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89+24
	ldr	r3, .L89+28
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89+16
	ldr	r3, .L89+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-24]
	sub	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89+8
	ldr	r3, .L89+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89
	ldr	r3, .L89+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-24]
	sub	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L89
	ldr	r3, .L89+32
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L87
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L86
.L87:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
.L86:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L88
	mov	r3, #0
.L85:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L90:
	.align	2
.L89:
	.word	-1717986918
	.word	1070176665
	.word	-343597384
	.word	1070512209
	.word	515396075
	.word	1070721925
	.word	1202590844
	.word	1070889697
	.word	1071225241
	.size	set_initial_conds, .-set_initial_conds
	.section	.rodata
	.align	2
.LC21:
	.ascii	"o %s %s\012\000"
	.align	2
.LC22:
	.ascii	"init_params failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC23:
	.ascii	"simulation_construct failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC24:
	.ascii	"set_initial_conds failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC25:
	.ascii	"run_simulation failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC26:
	.ascii	"dump failure @ %s:%d: rc = %d\012\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+8
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L101+12
	bl	printf
	sub	r3, fp, #24
	mov	r0, r3
	bl	params_construct
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L92
	ldr	r3, .L101+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L101+20
	ldr	r2, .L101+24
	ldr	r1, .L101+28
	bl	fprintf
	b	.L93
.L92:
	ldr	r0, [fp, #-24]
	mov	r3, #1024
	str	r3, [sp]
	ldr	r2, .L101+32
	ldr	r3, .L101+36
	mov	r1, #512
	bl	init_params
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L94
	ldr	r3, .L101+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L101+40
	ldr	r2, .L101+24
	ldr	r1, .L101+44
	bl	fprintf
	b	.L93
.L94:
	ldr	r2, [fp, #-24]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	simulation_construct
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L95
	ldr	r3, .L101+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	mov	r3, #440
	ldr	r2, .L101+24
	ldr	r1, .L101+48
	bl	fprintf
	b	.L93
.L95:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	set_initial_conds
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L96
	ldr	r3, .L101+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L101+52
	ldr	r2, .L101+24
	ldr	r1, .L101+56
	bl	fprintf
	b	.L93
.L96:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	run_simulation
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L97
	ldr	r3, .L101+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L101+60
	ldr	r2, .L101+24
	ldr	r1, .L101+64
	bl	fprintf
	b	.L93
.L97:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	dump
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	ldr	r3, .L101+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L101+68
	ldr	r2, .L101+24
	ldr	r1, .L101+72
	bl	fprintf
	b	.L93
.L98:
	mov	r3, #0
	str	r3, [fp, #-16]
.L93:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	simulation_destruct
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	params_destruct
	ldr	r3, [fp, #-16]
	ldr	r2, .L101
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L100
	bl	__stack_chk_fail
.L100:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	.LC27
	.word	app_name
	.word	app_ver
	.word	.LC21
	.word	stderr
	.word	430
	.word	.LC2
	.word	.LC5
	.word	858993459
	.word	1071854387
	.word	435
	.word	.LC22
	.word	.LC23
	.word	445
	.word	.LC24
	.word	450
	.word	.LC25
	.word	455
	.word	.LC26
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
