	.file	"921847.c"
	.intel_syntax noprefix
	.text
	.globl	input_filename
	.bss
	.align 8
	.type	input_filename, @object
	.size	input_filename, 8
input_filename:
	.zero	8
	.globl	output_filename
	.align 8
	.type	output_filename, @object
	.size	output_filename, 8
output_filename:
	.zero	8
	.globl	output_fnstring
	.align 32
	.type	output_fnstring, @object
	.size	output_fnstring, 64
output_fnstring:
	.zero	64
	.globl	logarithmic_scale
	.align 4
	.type	logarithmic_scale, @object
	.size	logarithmic_scale, 4
logarithmic_scale:
	.zero	4
	.globl	do_min
	.align 4
	.type	do_min, @object
	.size	do_min, 4
do_min:
	.zero	4
	.globl	do_max
	.align 4
	.type	do_max, @object
	.size	do_max, 4
do_max:
	.zero	4
	.globl	minimum_value
	.align 4
	.type	minimum_value, @object
	.size	minimum_value, 4
minimum_value:
	.zero	4
	.globl	maximum_value
	.align 4
	.type	maximum_value, @object
	.size	maximum_value, 4
maximum_value:
	.zero	4
	.globl	gaussian_sigma
	.align 4
	.type	gaussian_sigma, @object
	.size	gaussian_sigma, 4
gaussian_sigma:
	.zero	4
	.text
	.globl	gaussian_blur
	.type	gaussian_blur, @function
gaussian_blur:
.LFB6:
	.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 -24[rbp], rdi
	movss	DWORD PTR -28[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	imul	eax, edx
	mov	DWORD PTR -8[rbp], eax
	movss	xmm0, DWORD PTR -28[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	gaussian_blur, .-gaussian_blur
	.section	.rodata
.LC2:
	.string	"rb"
.LC3:
	.string	"size mismatch in %s\n"
.LC4:
	.string	"error opening %s\n"
	.text
	.globl	open_mapfile
	.type	open_mapfile, @function
open_mapfile:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L5
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 16
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -52[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 2
	cmp	rdx, rax
	jne	.L6
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	movss	xmm0, DWORD PTR gaussian_sigma[rip]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	ja	.L13
	jmp	.L9
.L6:
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L11
.L5:
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L11
.L13:
	mov	edx, DWORD PTR gaussian_sigma[rip]
	mov	rax, QWORD PTR -80[rbp]
	movd	xmm0, edx
	mov	rdi, rax
	call	gaussian_blur
.L9:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	open_mapfile, .-open_mapfile
	.section	.rodata
.LC5:
	.string	"log "
.LC6:
	.string	"Min: %f Max: %f\n"
.LC7:
	.string	"wb"
.LC8:
	.string	"error creating %s\n"
	.text
	.globl	save_bmp
	.type	save_bmp, @function
save_bmp:
.LFB8:
	.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, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 12[rax]
	imul	eax, edx
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	edx, eax
	mov	eax, 4
	sub	eax, edx
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	add	DWORD PTR -112[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR -112[rbp]
	imul	eax, edx
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR logarithmic_scale[rip]
	cmp	eax, 1
	jne	.L15
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -132[rbp], 0
	jmp	.L16
.L17:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	call	log10@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -132[rbp], 1
.L16:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L17
.L15:
	mov	eax, DWORD PTR do_min[rip]
	cmp	eax, 1
	jne	.L18
	movss	xmm0, DWORD PTR minimum_value[rip]
	movss	DWORD PTR -124[rbp], xmm0
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -124[rbp], xmm0
	mov	DWORD PTR -132[rbp], 1
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	min
	movd	eax, xmm0
	mov	DWORD PTR -124[rbp], eax
	add	DWORD PTR -132[rbp], 1
.L20:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L21
.L19:
	mov	eax, DWORD PTR do_max[rip]
	cmp	eax, 1
	jne	.L22
	movss	xmm0, DWORD PTR maximum_value[rip]
	movss	DWORD PTR -120[rbp], xmm0
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -120[rbp], xmm0
	mov	DWORD PTR -132[rbp], 1
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	max
	movd	eax, xmm0
	mov	DWORD PTR -120[rbp], eax
	add	DWORD PTR -132[rbp], 1
.L24:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L25
.L23:
	movss	xmm0, DWORD PTR -120[rbp]
	subss	xmm0, DWORD PTR -124[rbp]
	movss	DWORD PTR -104[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -120[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -124[rbp]
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 2
	call	printf@PLT
	mov	DWORD PTR -132[rbp], 0
	jmp	.L26
.L29:
	mov	DWORD PTR -128[rbp], 0
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 8[rax]
	imul	eax, DWORD PTR -132[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -128[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -124[rbp]
	movss	DWORD PTR -100[rbp], xmm0
	movss	xmm0, DWORD PTR -100[rbp]
	divss	xmm0, DWORD PTR -104[rbp]
	movss	DWORD PTR -100[rbp], xmm0
	mov	eax, DWORD PTR -112[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -96[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -100[rbp]
	movd	xmm0, eax
	call	heatmap_blue
	mov	BYTE PTR [rbx], al
	mov	eax, DWORD PTR -112[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, ecx
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -96[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -100[rbp]
	movd	xmm0, eax
	call	heatmap_green
	mov	BYTE PTR [rbx], al
	mov	eax, DWORD PTR -112[rbp]
	imul	eax, DWORD PTR -132[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, ecx
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -96[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -100[rbp]
	movd	xmm0, eax
	call	heatmap_red
	mov	BYTE PTR [rbx], al
	add	DWORD PTR -128[rbp], 1
.L27:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L28
	add	DWORD PTR -132[rbp], 1
.L26:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	DWORD PTR -132[rbp], eax
	jl	.L29
	mov	WORD PTR -78[rbp], 19778
	mov	eax, DWORD PTR -108[rbp]
	add	eax, 54
	mov	DWORD PTR -76[rbp], eax
	mov	WORD PTR -72[rbp], 0
	mov	WORD PTR -70[rbp], 0
	mov	DWORD PTR -68[rbp], 54
	mov	DWORD PTR -64[rbp], 40
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -56[rbp], eax
	mov	WORD PTR -52[rbp], 1
	mov	WORD PTR -50[rbp], 24
	mov	DWORD PTR -48[rbp], 0
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	je	.L30
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -78[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 14
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 40
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -108[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L33
.L30:
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
.L33:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	save_bmp, .-save_bmp
	.section	.rodata
.LC9:
	.string	"Usage: %s <map.dat>\n"
.LC10:
	.string	"options:"
	.align 8
.LC11:
	.string	"\t-log <0/1>\t logarithmic scale (default 0)"
	.align 8
.LC12:
	.string	"\t-min <minimum>\t minimum value (default auto)"
	.align 8
.LC13:
	.string	"\t-max <maximum>\t maximum value (default auto)"
	.align 8
.LC14:
	.string	"\t-out <filename>\t output file (default input.bmp)"
.LC15:
	.string	"%s, %ix%i"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	parse_args
	cmp	eax, 1
	jne	.L36
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L40
.L36:
	mov	rax, QWORD PTR input_filename[rip]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	open_mapfile
	cmp	eax, 1
	jne	.L38
	mov	eax, 1
	jmp	.L40
.L38:
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR input_filename[rip]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR output_filename[rip]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	save_bmp
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	DWORD PTR -36[rbp], 1
	jne	.L39
	mov	eax, 1
	jmp	.L40
.L39:
	mov	eax, 0
.L40:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
.LC16:
	.string	"-log"
.LC17:
	.string	"%i"
.LC18:
	.string	"-min"
.LC19:
	.string	"%f"
.LC20:
	.string	"-max"
.LC21:
	.string	"-out"
.LC22:
	.string	"-gau"
.LC23:
	.string	"unrecognized command: %s\n"
	.text
	.globl	parse_args
	.type	parse_args, @function
parse_args:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 1
	jmp	.L43
.L52:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, logarithmic_scale[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L45
.L44:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L46
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, minimum_value[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR do_min[rip], 1
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L47
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, maximum_value[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR do_max[rip], 1
	jmp	.L45
.L47:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L48
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR output_filename[rip], rax
	jmp	.L45
.L48:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, gaussian_sigma[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L45
.L49:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L50
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L51
.L50:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR input_filename[rip], rax
.L45:
	add	DWORD PTR -4[rbp], 1
.L43:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L52
	mov	rax, QWORD PTR input_filename[rip]
	test	rax, rax
	jne	.L53
	mov	eax, 1
	jmp	.L51
.L53:
	mov	rax, QWORD PTR output_filename[rip]
	test	rax, rax
	jne	.L54
	mov	rax, QWORD PTR input_filename[rip]
	mov	rsi, rax
	lea	rdi, output_fnstring[rip]
	call	strcpy@PLT
	lea	rdi, output_fnstring[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, output_fnstring[rip]
	add	rax, rdx
	mov	DWORD PTR [rax], 1886216750
	mov	BYTE PTR 4[rax], 0
	lea	rax, output_fnstring[rip]
	mov	QWORD PTR output_filename[rip], rax
.L54:
	mov	eax, 0
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parse_args, .-parse_args
	.globl	min
	.type	min, @function
min:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L60
	movss	xmm0, DWORD PTR -4[rbp]
	jmp	.L58
.L60:
	movss	xmm0, DWORD PTR -8[rbp]
.L58:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	min, .-min
	.globl	max
	.type	max, @function
max:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -4[rbp]
	comiss	xmm0, DWORD PTR -8[rbp]
	jbe	.L66
	movss	xmm0, DWORD PTR -4[rbp]
	jmp	.L64
.L66:
	movss	xmm0, DWORD PTR -8[rbp]
.L64:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	max, .-max
	.globl	heatmap_red
	.type	heatmap_red, @function
heatmap_red:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L75
	mov	eax, 0
	jmp	.L70
.L75:
	movss	xmm0, DWORD PTR .LC24[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L76
	movss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR .LC25[rip]
	mulss	xmm0, xmm1
	movss	xmm2, DWORD PTR .LC26[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC27[rip]
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L70
.L76:
	mov	eax, -1
.L70:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	heatmap_red, .-heatmap_red
	.globl	heatmap_green
	.type	heatmap_green, @function
heatmap_green:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L91
	mov	eax, 0
	jmp	.L80
.L91:
	movss	xmm0, DWORD PTR .LC28[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L92
	movss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR .LC29[rip]
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L80
.L92:
	movss	xmm0, DWORD PTR .LC24[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L93
	mov	eax, -1
	jmp	.L80
.L93:
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC30[rip]
	comiss	xmm0, xmm1
	jbe	.L94
	mov	eax, 0
	jmp	.L80
.L94:
	movss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR .LC25[rip]
	movaps	xmm2, xmm1
	mulss	xmm2, xmm0
	movss	xmm0, DWORD PTR .LC25[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC27[rip]
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
.L80:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	heatmap_green, .-heatmap_green
	.globl	heatmap_blue
	.type	heatmap_blue, @function
heatmap_blue:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR .LC28[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L103
	mov	eax, -1
	jmp	.L98
.L103:
	movss	xmm0, DWORD PTR .LC0[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L104
	movss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR .LC25[rip]
	movaps	xmm2, xmm1
	mulss	xmm2, xmm0
	movss	xmm0, DWORD PTR .LC26[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC27[rip]
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L98
.L104:
	mov	eax, 0
.L98:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	heatmap_blue, .-heatmap_blue
	.section	.rodata
	.align 4
.LC0:
	.long	1056964608
	.align 4
.LC24:
	.long	1061158912
	.align 4
.LC25:
	.long	1082130432
	.align 4
.LC26:
	.long	1073741824
	.align 4
.LC27:
	.long	1132396544
	.align 4
.LC28:
	.long	1048576000
	.align 4
.LC29:
	.long	1149173760
	.align 4
.LC30:
	.long	1065353216
	.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	"921847.c"
	.text
	.global	input_filename
	.bss
	.align	2
	.type	input_filename, %object
	.size	input_filename, 4
input_filename:
	.space	4
	.global	output_filename
	.align	2
	.type	output_filename, %object
	.size	output_filename, 4
output_filename:
	.space	4
	.comm	output_fnstring,64,4
	.global	logarithmic_scale
	.align	2
	.type	logarithmic_scale, %object
	.size	logarithmic_scale, 4
logarithmic_scale:
	.space	4
	.global	do_min
	.align	2
	.type	do_min, %object
	.size	do_min, 4
do_min:
	.space	4
	.global	do_max
	.align	2
	.type	do_max, %object
	.size	do_max, 4
do_max:
	.space	4
	.comm	minimum_value,4,4
	.comm	maximum_value,4,4
	.global	gaussian_sigma
	.align	2
	.type	gaussian_sigma, %object
	.size	gaussian_sigma, 4
gaussian_sigma:
	.space	4
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.text
	.align	2
	.global	gaussian_blur
	.syntax unified
	.arm
	.fpu softvfp
	.type	gaussian_blur, %function
gaussian_blur:
	@ args = 0, 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, #-24]
	str	r1, [fp, #-28]	@ float
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #8]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1056964608
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gaussian_blur, .-gaussian_blur
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.ascii	"size mismatch in %s\012\000"
	.align	2
.LC2:
	.ascii	"error opening %s\012\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	open_mapfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_mapfile, %function
open_mapfile:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L14+4
	ldr	r0, [fp, #-48]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L5
	sub	r0, fp, #24
	ldr	r3, [fp, #-36]
	mov	r2, #1
	mov	r1, #16
	bl	fread
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-28]
	sub	r0, fp, #40
	ldr	r3, [fp, #-36]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	cmp	r3, r2
	bne	.L6
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-52]
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	mov	r2, #1
	bl	fread
	ldr	r3, .L14+8
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	b	.L9
.L6:
	ldr	r1, [fp, #-48]
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #1
	b	.L11
.L5:
	ldr	r1, [fp, #-48]
	ldr	r0, .L14+16
	bl	printf
	mov	r3, #1
	b	.L11
.L13:
	ldr	r3, .L14+8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	gaussian_blur
.L9:
	ldr	r0, [fp, #-36]
	bl	fclose
	mov	r3, #0
.L11:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	.LC0
	.word	gaussian_sigma
	.word	.LC1
	.word	.LC2
	.size	open_mapfile, .-open_mapfile
	.section	.rodata
	.align	2
.LC4:
	.ascii	"log \000"
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.global	__aeabi_fsub
	.align	2
.LC5:
	.ascii	"Min: %f Max: %f\012\000"
	.align	2
.LC6:
	.ascii	"wb\000"
	.align	2
.LC7:
	.ascii	"error creating %s\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	save_bmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_bmp, %function
save_bmp:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-120]
	ldr	r2, [r2, #8]
	mul	r3, r2, r3
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-120]
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	rsb	r3, r3, #4
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-120]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-96]
	mul	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r3, .L37+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L17
	ldr	r0, .L37+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L18
.L19:
	ldr	r3, [fp, #-120]
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log10
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-120]
	ldr	r0, [r1]
	ldr	r1, [fp, #-116]
	lsl	r1, r1, #2
	add	r4, r0, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L18:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	blt	.L19
.L17:
	ldr	r3, .L37+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L20
	ldr	r3, .L37+16
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-108]	@ float
	b	.L21
.L20:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-108]	@ float
	mov	r3, #1
	str	r3, [fp, #-116]
	b	.L22
.L23:
	ldr	r3, [fp, #-120]
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-108]	@ float
	bl	min
	str	r0, [fp, #-108]	@ float
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L22:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	blt	.L23
.L21:
	ldr	r3, .L37+20
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L24
	ldr	r3, .L37+24
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-104]	@ float
	b	.L25
.L24:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-104]	@ float
	mov	r3, #1
	str	r3, [fp, #-116]
	b	.L26
.L27:
	ldr	r3, [fp, #-120]
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-104]	@ float
	bl	max
	str	r0, [fp, #-104]	@ float
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L26:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	blt	.L27
.L25:
	ldr	r1, [fp, #-108]	@ float
	ldr	r0, [fp, #-104]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-84]	@ float
	ldr	r0, [fp, #-108]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-104]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L37+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L28
.L31:
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L29
.L30:
	ldr	r3, [fp, #-120]
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-112]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-108]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-76]	@ float
	ldr	r1, [fp, #-84]	@ float
	ldr	r0, [fp, #-76]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-76]	@ float
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-116]
	mul	r1, r2, r3
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r4, r3, r2
	ldr	r0, [fp, #-76]	@ float
	bl	heatmap_blue
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-116]
	mul	r1, r2, r3
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	add	r4, r2, r3
	ldr	r0, [fp, #-76]	@ float
	bl	heatmap_green
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-116]
	mul	r1, r2, r3
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r4, r2, r3
	ldr	r0, [fp, #-76]	@ float
	bl	heatmap_red
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L29:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L28:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L37+32
	strh	r3, [fp, #-72]	@ movhi
	ldr	r3, [fp, #-92]
	add	r2, r3, #54
	lsl	r3, r2, #16
	lsr	r3, r3, #16
	mov	r1, #0
	orr	r3, r1, r3
	strh	r3, [fp, #-70]	@ movhi
	lsr	r3, r2, #16
	mov	r2, #0
	orr	r3, r2, r3
	strh	r3, [fp, #-68]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-66]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-64]	@ movhi
	mov	r3, #0
	orr	r3, r3, #54
	strh	r3, [fp, #-62]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-60]	@ movhi
	mov	r3, #40
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-48]
	mov	r3, #1
	strh	r3, [fp, #-44]	@ movhi
	mov	r3, #24
	strh	r3, [fp, #-42]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r1, .L37+36
	ldr	r0, [fp, #-124]
	bl	fopen
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L32
	sub	r0, fp, #72
	ldr	r3, [fp, #-80]
	mov	r2, #1
	mov	r1, #14
	bl	fwrite
	sub	r0, fp, #56
	ldr	r3, [fp, #-80]
	mov	r2, #1
	mov	r1, #40
	bl	fwrite
	ldr	r1, [fp, #-92]
	ldr	r3, [fp, #-80]
	mov	r2, #1
	ldr	r0, [fp, #-88]
	bl	fwrite
	ldr	r0, [fp, #-80]
	bl	fclose
	ldr	r0, [fp, #-88]
	bl	free
	mov	r3, #0
	b	.L35
.L32:
	ldr	r1, [fp, #-124]
	ldr	r0, .L37+40
	bl	printf
	mov	r3, #1
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC8
	.word	logarithmic_scale
	.word	.LC4
	.word	do_min
	.word	minimum_value
	.word	do_max
	.word	maximum_value
	.word	.LC5
	.word	19778
	.word	.LC6
	.word	.LC7
	.size	save_bmp, .-save_bmp
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Usage: %s <map.dat>\012\000"
	.align	2
.LC10:
	.ascii	"options:\000"
	.align	2
.LC11:
	.ascii	"\011-log <0/1>\011 logarithmic scale (default 0)\000"
	.align	2
.LC12:
	.ascii	"\011-min <minimum>\011 minimum value (default auto)"
	.ascii	"\000"
	.align	2
.LC13:
	.ascii	"\011-max <maximum>\011 maximum value (default auto)"
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	"\011-out <filename>\011 output file (default input."
	.ascii	"bmp)\000"
	.align	2
.LC15:
	.ascii	"%s, %ix%i\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	parse_args
	mov	r3, r0
	cmp	r3, #1
	bne	.L40
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L46+4
	bl	printf
	ldr	r0, .L46+8
	bl	puts
	ldr	r0, .L46+12
	bl	puts
	ldr	r0, .L46+16
	bl	puts
	ldr	r0, .L46+20
	bl	puts
	ldr	r0, .L46+24
	bl	puts
	mov	r3, #1
	b	.L44
.L40:
	ldr	r3, .L46+28
	ldr	r3, [r3]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	open_mapfile
	mov	r3, r0
	cmp	r3, #1
	bne	.L42
	mov	r3, #1
	b	.L44
.L42:
	ldr	r3, .L46+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r0, .L46+32
	bl	printf
	ldr	r3, .L46+36
	ldr	r2, [r3]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	save_bmp
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L43
	mov	r3, #1
	b	.L44
.L43:
	mov	r3, #0
.L44:
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC16
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	input_filename
	.word	.LC15
	.word	output_filename
	.size	main, .-main
	.section	.rodata
	.align	2
.LC17:
	.ascii	"-log\000"
	.align	2
.LC18:
	.ascii	"%i\000"
	.align	2
.LC19:
	.ascii	"-min\000"
	.align	2
.LC20:
	.ascii	"%f\000"
	.align	2
.LC21:
	.ascii	"-max\000"
	.align	2
.LC22:
	.ascii	"-out\000"
	.align	2
.LC23:
	.ascii	"-gau\000"
	.align	2
.LC24:
	.ascii	"unrecognized command: %s\012\000"
	.align	2
.LC25:
	.ascii	".bmp\000"
	.text
	.align	2
	.global	parse_args
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_args, %function
parse_args:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L49
.L58:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+4
	ldr	r1, .L61+8
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L51
.L50:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+16
	ldr	r1, .L61+20
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, .L61+24
	mov	r2, #1
	str	r2, [r3]
	b	.L51
.L52:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+32
	ldr	r1, .L61+20
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, .L61+36
	mov	r2, #1
	str	r2, [r3]
	b	.L51
.L53:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+44
	str	r3, [r2]
	b	.L51
.L54:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+52
	ldr	r1, .L61+20
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L51
.L55:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L56
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+56
	bl	printf
	mov	r3, #1
	b	.L57
.L56:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+60
	str	r3, [r2]
.L51:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L49:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L58
	ldr	r3, .L61+60
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L59
	mov	r3, #1
	b	.L57
.L59:
	ldr	r3, .L61+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L61+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+64
	bl	strcpy
	ldr	r0, .L61+64
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L61+64
	add	r3, r2, r3
	ldr	r2, .L61+68
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L61+44
	ldr	r2, .L61+64
	str	r2, [r3]
.L60:
	mov	r3, #0
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC17
	.word	logarithmic_scale
	.word	.LC18
	.word	.LC19
	.word	minimum_value
	.word	.LC20
	.word	do_min
	.word	.LC21
	.word	maximum_value
	.word	do_max
	.word	.LC22
	.word	output_filename
	.word	.LC23
	.word	gaussian_sigma
	.word	.LC24
	.word	input_filename
	.word	output_fnstring
	.word	.LC25
	.size	parse_args, .-parse_args
	.global	__aeabi_fcmplt
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L68
	ldr	r3, [fp, #-8]	@ float
	b	.L66
.L68:
	ldr	r3, [fp, #-12]	@ float
.L66:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	min, .-min
	.align	2
	.global	max
	.syntax unified
	.arm
	.fpu softvfp
	.type	max, %function
max:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-8]	@ float
	b	.L72
.L74:
	ldr	r3, [fp, #-12]	@ float
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	max, .-max
	.global	__aeabi_f2uiz
	.align	2
	.global	heatmap_red
	.syntax unified
	.arm
	.fpu softvfp
	.type	heatmap_red, %function
heatmap_red:
	@ 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]	@ float
	mov	r1, #1056964608
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	mov	r3, #0
	b	.L78
.L83:
	mov	r1, #1061158912
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L84
	ldr	r1, .L85
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L85+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	and	r3, r3, #255
	b	.L78
.L84:
	mov	r3, #255
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	1082130432
	.word	1132396544
	.size	heatmap_red, .-heatmap_red
	.align	2
	.global	heatmap_green
	.syntax unified
	.arm
	.fpu softvfp
	.type	heatmap_green, %function
heatmap_green:
	@ 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]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	mov	r3, #0
	b	.L90
.L101:
	mov	r1, #1048576000
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L102
	ldr	r1, .L105
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	and	r3, r3, #255
	b	.L90
.L102:
	mov	r1, #1061158912
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L103
	mov	r3, #255
	b	.L90
.L103:
	mov	r1, #1065353216
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L104
	mov	r3, #0
	b	.L90
.L104:
	ldr	r1, .L105+4
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L105+4
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L105+8
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	and	r3, r3, #255
.L90:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	1149173760
	.word	1082130432
	.word	1132396544
	.size	heatmap_green, .-heatmap_green
	.align	2
	.global	heatmap_blue
	.syntax unified
	.arm
	.fpu softvfp
	.type	heatmap_blue, %function
heatmap_blue:
	@ 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]	@ float
	mov	r1, #1048576000
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	mov	r3, #255
	b	.L110
.L115:
	mov	r1, #1056964608
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L116
	ldr	r1, .L117
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1073741824
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L117+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	and	r3, r3, #255
	b	.L110
.L116:
	mov	r3, #0
.L110:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	1082130432
	.word	1132396544
	.size	heatmap_blue, .-heatmap_blue
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
