	.file	"309544.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC3:
	.string	"fmin=%f fmax=%f range=%f\n"
.LC4:
	.string	"%-10d%10d\n"
.LC7:
	.string	"i=%d j=%d\n"
.LC8:
	.string	"peak at i=%d\n"
.LC9:
	.string	"imax=%d\n"
	.align 8
.LC10:
	.string	"fimg_mode: returning mean instead of mode\n"
	.align 8
.LC12:
	.string	"slope=%.2f curva=%.2f binwid=%f mode=%f\n"
	.text
	.globl	fimg_mode
	.type	fimg_mode, @function
fimg_mode:
.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, 1120
	mov	QWORD PTR -1112[rbp], rdi
	mov	DWORD PTR -1116[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1072[rbp], 128
	mov	DWORD PTR -1068[rbp], 0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -1080[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -1076[rbp], xmm0
	mov	DWORD PTR -1100[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -1084[rbp], xmm0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -1080[rbp]
	jbe	.L3
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -1080[rbp], xmm0
.L3:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR -1076[rbp]
	comiss	xmm0, xmm1
	jbe	.L5
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -1076[rbp], xmm0
.L5:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -1084[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1084[rbp], xmm0
	add	DWORD PTR -1100[rbp], 1
.L2:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1116[rbp]
	jl	.L7
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1116[rbp]
	movss	xmm0, DWORD PTR -1084[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1084[rbp], xmm0
	movss	xmm0, DWORD PTR -1080[rbp]
	subss	xmm0, DWORD PTR -1076[rbp]
	movss	DWORD PTR -1064[rbp], xmm0
	cmp	DWORD PTR -1068[rbp], 0
	je	.L8
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1064[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -1080[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -1076[rbp]
	movq	rax, xmm4
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 3
	call	printf@PLT
.L8:
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], 0
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -528[rbp+rax*4], edx
	add	DWORD PTR -1092[rbp], 1
.L9:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L10
	mov	DWORD PTR -1100[rbp], 0
	jmp	.L11
.L13:
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -1076[rbp]
	mulss	xmm0, xmm1
	divss	xmm0, DWORD PTR -1064[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -1092[rbp], eax
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jge	.L12
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -528[rbp+rax*4], edx
.L12:
	add	DWORD PTR -1100[rbp], 1
.L11:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1116[rbp]
	jl	.L13
	mov	DWORD PTR -1092[rbp], 1
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -528[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -528[rbp+rax*4], edx
	add	DWORD PTR -1092[rbp], 1
.L14:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L15
	cmp	DWORD PTR -1068[rbp], 0
	je	.L16
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -528[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1092[rbp], 1
.L17:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L18
.L16:
	mov	DWORD PTR -1100[rbp], 1
	jmp	.L19
.L23:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC5[rip]
	ja	.L53
	add	DWORD PTR -1100[rbp], 1
.L19:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L23
	jmp	.L22
.L53:
	nop
.L22:
	mov	DWORD PTR -1096[rbp], 1
	jmp	.L24
.L28:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC6[rip]
	ja	.L54
	add	DWORD PTR -1096[rbp], 1
.L24:
	mov	eax, DWORD PTR -1096[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L28
	jmp	.L27
.L54:
	nop
.L27:
	cmp	DWORD PTR -1068[rbp], 0
	je	.L29
	mov	edx, DWORD PTR -1096[rbp]
	mov	eax, DWORD PTR -1100[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1100[rbp]
	mulss	xmm0, DWORD PTR -1064[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1076[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1096[rbp]
	mulss	xmm0, DWORD PTR -1064[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1080[rbp], xmm0
	movss	xmm0, DWORD PTR -1080[rbp]
	subss	xmm0, DWORD PTR -1076[rbp]
	movss	DWORD PTR -1064[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	movss	xmm0, DWORD PTR -1064[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1060[rbp], xmm0
	cmp	DWORD PTR -1068[rbp], 0
	je	.L30
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1064[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -1080[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -1076[rbp]
	movq	rax, xmm5
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 3
	call	printf@PLT
.L30:
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L31
.L35:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -1076[rbp]
	divss	xmm0, DWORD PTR -1060[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -1100[rbp], eax
	cmp	DWORD PTR -1100[rbp], 0
	js	.L55
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jge	.L55
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
	jmp	.L34
.L55:
	nop
.L34:
	add	DWORD PTR -1092[rbp], 1
.L31:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1116[rbp]
	jl	.L35
	cmp	DWORD PTR -1068[rbp], 0
	je	.L36
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1092[rbp], 1
.L37:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L38
.L36:
	mov	DWORD PTR -1088[rbp], 0
	mov	DWORD PTR -1100[rbp], 1
	jmp	.L39
.L43:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1100[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jle	.L40
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1100[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jle	.L40
	cmp	DWORD PTR -1068[rbp], 0
	je	.L41
	mov	eax, DWORD PTR -1100[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L41:
	cmp	DWORD PTR -1088[rbp], 0
	je	.L42
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1088[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jle	.L40
.L42:
	mov	eax, DWORD PTR -1100[rbp]
	mov	DWORD PTR -1088[rbp], eax
.L40:
	add	DWORD PTR -1100[rbp], 1
.L39:
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1100[rbp], eax
	jl	.L43
	cmp	DWORD PTR -1068[rbp], 0
	je	.L44
	mov	eax, DWORD PTR -1088[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L44:
	cmp	DWORD PTR -1088[rbp], 0
	je	.L45
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1088[rbp], eax
	jne	.L46
.L45:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	movss	xmm0, DWORD PTR -1084[rbp]
	jmp	.L49
.L46:
	mov	eax, DWORD PTR -1088[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1088[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	sub	edx, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, edx
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -1056[rbp], xmm0
	mov	eax, DWORD PTR -1088[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1088[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -1088[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	lea	ecx, [rax+rax]
	mov	eax, edx
	sub	eax, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -1048[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1088[rbp]
	mulss	xmm0, DWORD PTR -1060[rbp]
	addss	xmm0, DWORD PTR -1076[rbp]
	cvtss2sd	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1060[rbp]
	mulsd	xmm1, QWORD PTR -1056[rbp]
	divsd	xmm1, QWORD PTR -1048[rbp]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1084[rbp], xmm0
	cmp	DWORD PTR -1068[rbp], 0
	je	.L48
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1084[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1060[rbp]
	movsd	xmm0, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 4
	call	printf@PLT
.L48:
	movss	xmm0, DWORD PTR -1084[rbp]
.L49:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fimg_mode, .-fimg_mode
	.globl	hsmooth
	.type	hsmooth, @function
hsmooth:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	DWORD PTR -1068[rbp], esi
	mov	DWORD PTR -1072[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1048[rbp], 0
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1064[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	movss	DWORD PTR -1040[rbp+rax*4], xmm0
	add	DWORD PTR -1048[rbp], 1
.L57:
	cmp	DWORD PTR -1048[rbp], 127
	jle	.L58
	mov	DWORD PTR -1044[rbp], 0
	jmp	.L59
.L64:
	mov	DWORD PTR -1048[rbp], 0
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	movss	xmm0, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	movss	DWORD PTR -528[rbp+rax*4], xmm0
	add	DWORD PTR -1048[rbp], 1
.L60:
	cmp	DWORD PTR -1048[rbp], 127
	jle	.L61
	mov	DWORD PTR -1048[rbp], 1
	jmp	.L62
.L63:
	mov	eax, DWORD PTR -1048[rbp]
	sub	eax, 1
	cdqe
	movss	xmm0, DWORD PTR -528[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	movss	xmm0, DWORD PTR -528[rbp+rax*4]
	cvtss2sd	xmm0, xmm0
	addsd	xmm0, xmm0
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -1048[rbp]
	add	eax, 1
	cdqe
	movss	xmm0, DWORD PTR -528[rbp+rax*4]
	cvtss2sd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	movss	DWORD PTR -1040[rbp+rax*4], xmm0
	add	DWORD PTR -1048[rbp], 1
.L62:
	cmp	DWORD PTR -1048[rbp], 126
	jle	.L63
	add	DWORD PTR -1044[rbp], 1
.L59:
	mov	eax, DWORD PTR -1044[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L64
	mov	DWORD PTR -1048[rbp], 0
	jmp	.L65
.L66:
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	movss	xmm0, DWORD PTR -1040[rbp+rax*4]
	cvttss2si	eax, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC11[rip]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1064[rbp]
	add	rdx, rax
	cvttsd2si	eax, xmm0
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -1048[rbp], 1
.L65:
	cmp	DWORD PTR -1048[rbp], 127
	jle	.L66
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L67
	call	__stack_chk_fail@PLT
.L67:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hsmooth, .-hsmooth
	.section	.rodata
	.align 8
.LC14:
	.string	"peak at bin %d\tordinate=%.2f\t%10d\n"
	.text
	.globl	fimg_modetn
	.type	fimg_modetn, @function
fimg_modetn:
.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, 1136
	mov	QWORD PTR -1112[rbp], rdi
	mov	DWORD PTR -1116[rbp], esi
	movss	DWORD PTR -1120[rbp], xmm0
	mov	DWORD PTR -1124[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1072[rbp], 128
	mov	DWORD PTR -1068[rbp], 0
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -1080[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -1076[rbp], xmm0
	mov	DWORD PTR -1100[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -1084[rbp], xmm0
	jmp	.L69
.L74:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -1080[rbp]
	jbe	.L70
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -1080[rbp], xmm0
.L70:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR -1076[rbp]
	comiss	xmm0, xmm1
	jbe	.L72
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -1076[rbp], xmm0
.L72:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -1084[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1084[rbp], xmm0
	add	DWORD PTR -1100[rbp], 1
.L69:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1116[rbp]
	jl	.L74
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1116[rbp]
	movss	xmm0, DWORD PTR -1084[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1084[rbp], xmm0
	movss	xmm0, DWORD PTR -1080[rbp]
	subss	xmm0, DWORD PTR -1076[rbp]
	movss	DWORD PTR -1064[rbp], xmm0
	cmp	DWORD PTR -1068[rbp], 0
	je	.L75
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1064[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -1080[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -1076[rbp]
	movq	rax, xmm4
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 3
	call	printf@PLT
.L75:
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L76
.L77:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], 0
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -528[rbp+rax*4], edx
	add	DWORD PTR -1092[rbp], 1
.L76:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L77
	mov	DWORD PTR -1100[rbp], 0
	jmp	.L78
.L80:
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -1076[rbp]
	mulss	xmm0, xmm1
	divss	xmm0, DWORD PTR -1064[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -1092[rbp], eax
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jge	.L79
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -528[rbp+rax*4], edx
.L79:
	add	DWORD PTR -1100[rbp], 1
.L78:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1116[rbp]
	jl	.L80
	mov	DWORD PTR -1092[rbp], 1
	jmp	.L81
.L82:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -528[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	DWORD PTR -528[rbp+rax*4], edx
	add	DWORD PTR -1092[rbp], 1
.L81:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L82
	cmp	DWORD PTR -1068[rbp], 0
	je	.L83
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L84
.L85:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -528[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1092[rbp], 1
.L84:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L85
.L83:
	mov	DWORD PTR -1100[rbp], 1
	jmp	.L86
.L90:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC5[rip]
	ja	.L122
	add	DWORD PTR -1100[rbp], 1
.L86:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L90
	jmp	.L89
.L122:
	nop
.L89:
	mov	DWORD PTR -1096[rbp], 1
	jmp	.L91
.L95:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC6[rip]
	ja	.L123
	add	DWORD PTR -1096[rbp], 1
.L91:
	mov	eax, DWORD PTR -1096[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L95
	jmp	.L94
.L123:
	nop
.L94:
	cmp	DWORD PTR -1068[rbp], 0
	je	.L96
	mov	edx, DWORD PTR -1096[rbp]
	mov	eax, DWORD PTR -1100[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L96:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1100[rbp]
	mulss	xmm0, DWORD PTR -1064[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1076[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1096[rbp]
	mulss	xmm0, DWORD PTR -1064[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1080[rbp], xmm0
	movss	xmm0, DWORD PTR -1080[rbp]
	subss	xmm0, DWORD PTR -1076[rbp]
	movss	DWORD PTR -1064[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -1072[rbp]
	movss	xmm0, DWORD PTR -1064[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -1060[rbp], xmm0
	cmp	DWORD PTR -1068[rbp], 0
	je	.L97
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1064[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -1080[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -1076[rbp]
	movq	rax, xmm5
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 3
	call	printf@PLT
.L97:
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L98
.L102:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -1076[rbp]
	divss	xmm0, DWORD PTR -1060[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -1100[rbp], eax
	cmp	DWORD PTR -1100[rbp], 0
	js	.L124
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jge	.L124
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
	jmp	.L101
.L124:
	nop
.L101:
	add	DWORD PTR -1092[rbp], 1
.L98:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1116[rbp]
	jl	.L102
	cmp	DWORD PTR -1068[rbp], 0
	je	.L103
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1092[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1092[rbp], 1
.L104:
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L105
.L103:
	mov	edx, DWORD PTR -1124[rbp]
	mov	ecx, DWORD PTR -1072[rbp]
	lea	rax, -1040[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	hsmooth
	mov	DWORD PTR -1088[rbp], 0
	mov	DWORD PTR -1100[rbp], 1
	jmp	.L106
.L111:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1100[rbp]
	mulss	xmm0, DWORD PTR -1060[rbp]
	movss	xmm1, DWORD PTR -1076[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -1084[rbp], xmm0
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1100[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jle	.L107
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1100[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jle	.L107
	movss	xmm0, DWORD PTR -1084[rbp]
	comiss	xmm0, DWORD PTR -1120[rbp]
	jbe	.L107
	cmp	DWORD PTR -1068[rbp], 0
	je	.L109
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -1084[rbp]
	movq	rcx, xmm6
	mov	eax, DWORD PTR -1100[rbp]
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
.L109:
	cmp	DWORD PTR -1088[rbp], 0
	je	.L110
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1088[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jle	.L107
.L110:
	mov	eax, DWORD PTR -1100[rbp]
	mov	DWORD PTR -1088[rbp], eax
.L107:
	add	DWORD PTR -1100[rbp], 1
.L106:
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1100[rbp], eax
	jl	.L111
	cmp	DWORD PTR -1068[rbp], 0
	je	.L112
	mov	eax, DWORD PTR -1088[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L112:
	cmp	DWORD PTR -1088[rbp], 0
	je	.L113
	mov	eax, DWORD PTR -1072[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1088[rbp], eax
	jne	.L114
.L113:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	movss	xmm0, DWORD PTR -1084[rbp]
	jmp	.L117
.L114:
	mov	eax, DWORD PTR -1088[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1088[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	sub	edx, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, edx
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -1056[rbp], xmm0
	mov	eax, DWORD PTR -1088[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	mov	eax, DWORD PTR -1088[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -1088[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	lea	ecx, [rax+rax]
	mov	eax, edx
	sub	eax, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -1048[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1088[rbp]
	mulss	xmm0, DWORD PTR -1060[rbp]
	addss	xmm0, DWORD PTR -1076[rbp]
	cvtss2sd	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1060[rbp]
	mulsd	xmm1, QWORD PTR -1056[rbp]
	divsd	xmm1, QWORD PTR -1048[rbp]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1084[rbp], xmm0
	cmp	DWORD PTR -1068[rbp], 0
	je	.L116
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1084[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1060[rbp]
	movsd	xmm0, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 4
	call	printf@PLT
.L116:
	movss	xmm0, DWORD PTR -1084[rbp]
.L117:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L118
	call	__stack_chk_fail@PLT
.L118:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fimg_modetn, .-fimg_modetn
	.section	.rodata
	.align 4
.LC0:
	.long	-8388609
	.align 4
.LC1:
	.long	2139095039
	.align 8
.LC5:
	.long	-755914244
	.long	1062232653
	.align 8
.LC6:
	.long	-652835029
	.long	1072691150
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC13:
	.long	0
	.long	1070596096
	.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	"309544.c"
	.text
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.global	__aeabi_fadd
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"fmin=%f fmax=%f range=%f\012\000"
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.align	2
.LC1:
	.ascii	"%-10d%10d\012\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC2:
	.ascii	"i=%d j=%d\012\000"
	.align	2
.LC3:
	.ascii	"peak at i=%d\012\000"
	.align	2
.LC4:
	.ascii	"imax=%d\012\000"
	.align	2
.LC5:
	.ascii	"fimg_mode: returning mean instead of mode\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.align	2
.LC6:
	.ascii	"slope=%.2f curva=%.2f binwid=%f mode=%f\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fimg_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	fimg_mode, %function
fimg_mode:
	@ args = 0, pretend = 0, frame = 1104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #1120
	sub	sp, sp, #8
	str	r0, [fp, #-1120]
	str	r1, [fp, #-1124]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #128
	str	r3, [fp, #-1084]
	mov	r3, #0
	str	r3, [fp, #-1080]
	mvn	r3, #8388608
	str	r3, [fp, #-1092]	@ float
	ldr	r3, .L56+4
	str	r3, [fp, #-1088]	@ float
	mov	r3, #0
	str	r3, [fp, #-1112]
	mov	r3, #0
	str	r3, [fp, #-1096]	@ float
	b	.L2
.L7:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-1092]	@ float
.L3:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-1088]	@ float
.L5:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L2:
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1124]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-1124]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r1, [fp, #-1088]	@ float
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-1076]	@ float
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L8
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1076]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L56+8
	bl	printf
.L8:
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L9
.L10:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-1028]
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-516]
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L9:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-1112]
	b	.L11
.L13:
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-1088]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-1104]
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	bge	.L12
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	add	r2, r3, #1
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-516]
.L12:
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L11:
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1124]
	cmp	r2, r3
	blt	.L13
	mov	r3, #1
	str	r3, [fp, #-1104]
	b	.L14
.L15:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-516]
	ldr	r3, [fp, #-1104]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-516]
	add	r2, r2, r3
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-516]
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L14:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L16
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L17
.L18:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r2, r3
	ldr	r1, [fp, #-1104]
	ldr	r0, .L56+12
	bl	printf
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L17:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L18
.L16:
	mov	r3, #1
	str	r3, [fp, #-1112]
	b	.L19
.L23:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L56+16
	ldr	r3, .L56+20
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L19:
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L23
	b	.L22
.L53:
	nop
.L22:
	mov	r3, #1
	str	r3, [fp, #-1108]
	b	.L24
.L28:
	ldr	r3, [fp, #-1108]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L56+24
	ldr	r3, .L56+28
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-1108]
	add	r3, r3, #1
	str	r3, [fp, #-1108]
.L24:
	ldr	r2, [fp, #-1108]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L28
	b	.L27
.L54:
	nop
.L27:
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L29
	ldr	r2, [fp, #-1108]
	ldr	r1, [fp, #-1112]
	ldr	r0, .L56+32
	bl	printf
.L29:
	ldr	r0, [fp, #-1112]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1088]	@ float
	ldr	r0, [fp, #-1108]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1092]	@ float
	ldr	r1, [fp, #-1088]	@ float
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-1076]	@ float
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1076]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1072]	@ float
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L30
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1076]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L56+8
	bl	printf
.L30:
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L31
.L35:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-1088]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-1072]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1112]
	cmp	r3, #0
	blt	.L55
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	bge	.L55
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	add	r2, r3, #1
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-1028]
	b	.L34
.L55:
	nop
.L34:
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L31:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1124]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L36
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L37
.L38:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	mov	r2, r3
	ldr	r1, [fp, #-1104]
	ldr	r0, .L56+12
	bl	printf
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L37:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L38
.L36:
	mov	r3, #0
	str	r3, [fp, #-1100]
	mov	r3, #1
	str	r3, [fp, #-1112]
	b	.L39
.L43:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1112]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	ble	.L40
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	ble	.L40
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L41
	ldr	r1, [fp, #-1112]
	ldr	r0, .L56+36
	bl	printf
.L41:
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1100]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	ble	.L40
.L42:
	ldr	r3, [fp, #-1112]
	str	r3, [fp, #-1100]
.L40:
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L39:
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1112]
	cmp	r2, r3
	blt	.L43
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L44
	ldr	r1, [fp, #-1100]
	ldr	r0, .L56+40
	bl	printf
.L44:
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1100]
	cmp	r2, r3
	bne	.L46
.L45:
	ldr	r3, .L56+44
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L56+48
	bl	fwrite
	ldr	r3, [fp, #-1096]	@ float
	b	.L49
.L46:
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1100]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L56+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1068]
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1100]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	add	r2, r2, r3
	ldr	r3, [fp, #-1100]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	ldr	r0, [fp, #-1100]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1072]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-1088]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1072]	@ float
	bl	__aeabi_f2d
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	bl	__aeabi_ddiv
	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
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L48
	ldr	r0, [fp, #-1072]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	ldr	r0, .L56+56
	bl	printf
.L48:
	ldr	r3, [fp, #-1096]	@ float
.L49:
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC7
	.word	2139095039
	.word	.LC0
	.word	.LC1
	.word	-755914244
	.word	1062232653
	.word	-652835029
	.word	1072691150
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stdout
	.word	.LC5
	.word	1071644672
	.word	.LC6
	.size	fimg_mode, .-fimg_mode
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hsmooth
	.syntax unified
	.arm
	.fpu softvfp
	.type	hsmooth, %function
hsmooth:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1056
	str	r0, [fp, #-1056]
	str	r1, [fp, #-1060]
	str	r2, [fp, #-1064]
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L59
.L60:
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1056]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-1028]	@ float
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L59:
	ldr	r3, [fp, #-1048]
	cmp	r3, #127
	ble	.L60
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L61
.L66:
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L62
.L63:
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]	@ float
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-516]	@ float
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L62:
	ldr	r3, [fp, #-1048]
	cmp	r3, #127
	ble	.L63
	mov	r3, #1
	str	r3, [fp, #-1048]
	b	.L64
.L65:
	ldr	r3, [fp, #-1048]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-516]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-516]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-516]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L70+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-1028]	@ float
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L64:
	ldr	r3, [fp, #-1048]
	cmp	r3, #126
	ble	.L65
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L61:
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	blt	.L66
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L67
.L68:
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L70+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-1048]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1056]
	add	r4, r2, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L67:
	ldr	r3, [fp, #-1048]
	cmp	r3, #127
	ble	.L68
	nop
	ldr	r3, .L70
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC8
	.word	1070596096
	.word	1071644672
	.size	hsmooth, .-hsmooth
	.section	.rodata
	.align	2
.LC9:
	.ascii	"peak at bin %d\011ordinate=%.2f\011%10d\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fimg_modetn
	.syntax unified
	.arm
	.fpu softvfp
	.type	fimg_modetn, %function
fimg_modetn:
	@ args = 0, pretend = 0, frame = 1112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #1136
	str	r0, [fp, #-1120]
	str	r1, [fp, #-1124]
	str	r2, [fp, #-1128]	@ float
	str	r3, [fp, #-1132]
	ldr	r3, .L129
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #128
	str	r3, [fp, #-1084]
	mov	r3, #0
	str	r3, [fp, #-1080]
	mvn	r3, #8388608
	str	r3, [fp, #-1092]	@ float
	ldr	r3, .L129+4
	str	r3, [fp, #-1088]	@ float
	mov	r3, #0
	str	r3, [fp, #-1112]
	mov	r3, #0
	str	r3, [fp, #-1096]	@ float
	b	.L73
.L78:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-1092]	@ float
.L74:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-1088]	@ float
.L76:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L73:
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1124]
	cmp	r2, r3
	blt	.L78
	ldr	r0, [fp, #-1124]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r1, [fp, #-1088]	@ float
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-1076]	@ float
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L79
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1076]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L129+8
	bl	printf
.L79:
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L80
.L81:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-1028]
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-516]
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L80:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L81
	mov	r3, #0
	str	r3, [fp, #-1112]
	b	.L82
.L84:
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-1088]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-1104]
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	bge	.L83
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	add	r2, r3, #1
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-516]
.L83:
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L82:
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1124]
	cmp	r2, r3
	blt	.L84
	mov	r3, #1
	str	r3, [fp, #-1104]
	b	.L85
.L86:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-516]
	ldr	r3, [fp, #-1104]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-516]
	add	r2, r2, r3
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-516]
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L85:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L86
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L87
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L88
.L89:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r2, r3
	ldr	r1, [fp, #-1104]
	ldr	r0, .L129+12
	bl	printf
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L88:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L89
.L87:
	mov	r3, #1
	str	r3, [fp, #-1112]
	b	.L90
.L94:
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L129+16
	ldr	r3, .L129+20
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L90:
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L94
	b	.L93
.L126:
	nop
.L93:
	mov	r3, #1
	str	r3, [fp, #-1108]
	b	.L95
.L99:
	ldr	r3, [fp, #-1108]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L129+24
	ldr	r3, .L129+28
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-1108]
	add	r3, r3, #1
	str	r3, [fp, #-1108]
.L95:
	ldr	r2, [fp, #-1108]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L99
	b	.L98
.L127:
	nop
.L98:
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L100
	ldr	r2, [fp, #-1108]
	ldr	r1, [fp, #-1112]
	ldr	r0, .L129+32
	bl	printf
.L100:
	ldr	r0, [fp, #-1112]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1088]	@ float
	ldr	r0, [fp, #-1108]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1092]	@ float
	ldr	r1, [fp, #-1088]	@ float
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-1076]	@ float
	ldr	r0, [fp, #-1084]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1076]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-1072]	@ float
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L101
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-1092]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1076]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L129+8
	bl	printf
.L101:
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L102
.L106:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1120]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-1088]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-1072]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1112]
	cmp	r3, #0
	blt	.L128
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	bge	.L128
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	add	r2, r3, #1
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-1028]
	b	.L105
.L128:
	nop
.L105:
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L102:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1124]
	cmp	r2, r3
	blt	.L106
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L107
	mov	r3, #0
	str	r3, [fp, #-1104]
	b	.L108
.L109:
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	mov	r2, r3
	ldr	r1, [fp, #-1104]
	ldr	r0, .L129+12
	bl	printf
	ldr	r3, [fp, #-1104]
	add	r3, r3, #1
	str	r3, [fp, #-1104]
.L108:
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	blt	.L109
.L107:
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1132]
	ldr	r1, [fp, #-1084]
	mov	r0, r3
	bl	hsmooth
	mov	r3, #0
	str	r3, [fp, #-1100]
	mov	r3, #1
	str	r3, [fp, #-1112]
	b	.L110
.L115:
	ldr	r0, [fp, #-1112]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1072]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1088]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1112]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	ble	.L111
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	ble	.L111
	ldr	r1, [fp, #-1128]	@ float
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L111
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L113
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_f2d
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-1112]
	ldr	r0, .L129+36
	bl	printf
.L113:
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-1112]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1100]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	ble	.L111
.L114:
	ldr	r3, [fp, #-1112]
	str	r3, [fp, #-1100]
.L111:
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L110:
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1112]
	cmp	r2, r3
	blt	.L115
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L116
	ldr	r1, [fp, #-1100]
	ldr	r0, .L129+40
	bl	printf
.L116:
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	beq	.L117
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1100]
	cmp	r2, r3
	bne	.L118
.L117:
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L129+48
	bl	fwrite
	ldr	r3, [fp, #-1096]	@ float
	b	.L121
.L118:
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1100]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L129+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1068]
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1100]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldr	r3, [fp, #-1100]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	add	r2, r2, r3
	ldr	r3, [fp, #-1100]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1060]
	str	r3, [fp, #-1056]
	ldr	r0, [fp, #-1100]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-1072]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-1088]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1072]	@ float
	bl	__aeabi_f2d
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	bl	__aeabi_ddiv
	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
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1096]	@ float
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L120
	ldr	r0, [fp, #-1072]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-1096]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1064]
	ldr	r0, .L129+56
	bl	printf
.L120:
	ldr	r3, [fp, #-1096]	@ float
.L121:
	ldr	r2, .L129
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L122
	bl	__stack_chk_fail
.L122:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L130:
	.align	2
.L129:
	.word	.LC10
	.word	2139095039
	.word	.LC0
	.word	.LC1
	.word	-755914244
	.word	1062232653
	.word	-652835029
	.word	1072691150
	.word	.LC2
	.word	.LC9
	.word	.LC4
	.word	stdout
	.word	.LC5
	.word	1071644672
	.word	.LC6
	.size	fimg_modetn, .-fimg_modetn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
