	.file	"936551.c"
	.intel_syntax noprefix
	.text
	.globl	length
	.data
	.align 4
	.type	length, @object
	.size	length, 4
length:
	.long	300
	.globl	thumb
	.align 4
	.type	thumb, @object
	.size	thumb, 4
thumb:
	.long	100
	.globl	thickness
	.align 4
	.type	thickness, @object
	.size	thickness, 4
thickness:
	.long	20
	.globl	padding
	.align 4
	.type	padding, @object
	.size	padding, 4
padding:
	.long	5
	.globl	depth
	.align 4
	.type	depth, @object
	.size	depth, 4
depth:
	.long	2
	.globl	relief_frac
	.align 8
	.type	relief_frac, @object
	.size	relief_frac, 8
relief_frac:
	.long	-1717986918
	.long	1069128089
	.globl	trough
	.align 16
	.type	trough, @object
	.size	trough, 16
trough:
	.quad	0
	.value	-23645
	.value	-23645
	.value	-19533
	.byte	0
	.byte	0
	.globl	bg
	.align 16
	.type	bg, @object
	.size	bg, 16
bg:
	.quad	0
	.value	-14650
	.value	-14650
	.value	-10538
	.byte	0
	.byte	0
	.globl	fill
	.align 16
	.type	fill, @object
	.size	fill, 16
fill:
	.quad	0
	.value	-18762
	.value	12336
	.value	24672
	.byte	0
	.byte	0
	.globl	shade
	.align 8
	.type	shade, @object
	.size	shade, 8
shade:
	.long	-1223206686
	.long	1071644881
	.globl	prog_relief
	.align 4
	.type	prog_relief, @object
	.size	prog_relief, 4
prog_relief:
	.long	1
	.globl	sbar_relief
	.align 4
	.type	sbar_relief, @object
	.size	sbar_relief, 4
sbar_relief:
	.long	1
	.globl	slider_relief
	.bss
	.align 4
	.type	slider_relief, @object
	.size	slider_relief, 4
slider_relief:
	.zero	4
	.globl	arrow_relief
	.align 4
	.type	arrow_relief, @object
	.size	arrow_relief, 4
arrow_relief:
	.zero	4
	.globl	dimple_relief
	.data
	.align 4
	.type	dimple_relief, @object
	.size	dimple_relief, 4
dimple_relief:
	.long	1
	.globl	arrow_change
	.align 4
	.type	arrow_change, @object
	.size	arrow_change, 4
arrow_change:
	.long	1
	.globl	dimple
	.align 8
	.type	dimple, @object
	.size	dimple, 8
dimple:
	.long	-1587419913
	.long	1070806230
	.globl	font_frac
	.align 8
	.type	font_frac, @object
	.size	font_frac, 8
font_frac:
	.long	-364213227
	.long	1071854596
	.globl	fontname
	.section	.rodata
	.align 8
.LC0:
	.string	"-urw-nimbus sans l-regular-r-normal--%d-*-*-*-*-*-iso8859-1"
	.section	.data.rel.local,"aw"
	.align 8
	.type	fontname, @object
	.size	fontname, 8
fontname:
	.quad	.LC0
	.globl	cursor_id
	.data
	.align 4
	.type	cursor_id, @object
	.size	cursor_id, 4
cursor_id:
	.long	132
	.globl	initial_delay
	.align 4
	.type	initial_delay, @object
	.size	initial_delay, 4
initial_delay:
	.long	150000
	.globl	delay
	.align 4
	.type	delay, @object
	.size	delay, 4
delay:
	.long	50000
	.globl	accel
	.align 8
	.type	accel, @object
	.size	accel, 8
accel:
	.long	0
	.long	1071644672
	.globl	smooth_progress
	.bss
	.align 4
	.type	smooth_progress, @object
	.size	smooth_progress, 4
smooth_progress:
	.zero	4
	.globl	text_shading_style
	.data
	.align 4
	.type	text_shading_style, @object
	.size	text_shading_style, 4
text_shading_style:
	.long	1
	.globl	main_win
	.bss
	.align 8
	.type	main_win, @object
	.size	main_win, 8
main_win:
	.zero	8
	.globl	prog_win
	.align 8
	.type	prog_win, @object
	.size	prog_win, 8
prog_win:
	.zero	8
	.globl	sbar_win
	.align 8
	.type	sbar_win, @object
	.size	sbar_win, 8
sbar_win:
	.zero	8
	.globl	slider_win
	.align 8
	.type	slider_win, @object
	.size	slider_win, 8
slider_win:
	.zero	8
	.globl	lt_win
	.align 8
	.type	lt_win, @object
	.size	lt_win, 8
lt_win:
	.zero	8
	.globl	rt_win
	.align 8
	.type	rt_win, @object
	.size	rt_win, 8
rt_win:
	.zero	8
	.globl	trough_gc
	.align 8
	.type	trough_gc, @object
	.size	trough_gc, 8
trough_gc:
	.zero	8
	.globl	bg_gc
	.align 8
	.type	bg_gc, @object
	.size	bg_gc, 8
bg_gc:
	.zero	8
	.globl	fill_gc
	.align 8
	.type	fill_gc, @object
	.size	fill_gc, 8
fill_gc:
	.zero	8
	.globl	hilite_gc
	.align 8
	.type	hilite_gc, @object
	.size	hilite_gc, 8
hilite_gc:
	.zero	8
	.globl	shadow_gc
	.align 8
	.type	shadow_gc, @object
	.size	shadow_gc, 8
shadow_gc:
	.zero	8
	.globl	frac
	.align 8
	.type	frac, @object
	.size	frac, 8
frac:
	.zero	8
	.globl	dpy
	.align 8
	.type	dpy, @object
	.size	dpy, 8
dpy:
	.zero	8
	.globl	cmap
	.align 8
	.type	cmap, @object
	.size	cmap, 8
cmap:
	.zero	8
	.globl	shadow
	.align 16
	.type	shadow, @object
	.size	shadow, 16
shadow:
	.zero	16
	.globl	hilite
	.align 16
	.type	hilite, @object
	.size	hilite, 16
hilite:
	.zero	16
	.globl	delete_atom
	.align 8
	.type	delete_atom, @object
	.size	delete_atom, 8
delete_atom:
	.zero	8
	.globl	fontsize
	.align 4
	.type	fontsize, @object
	.size	fontsize, 4
fontsize:
	.zero	4
	.globl	font
	.align 8
	.type	font, @object
	.size	font, 8
font:
	.zero	8
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 256
buf:
	.zero	256
	.globl	total_wd
	.align 4
	.type	total_wd, @object
	.size	total_wd, 4
total_wd:
	.zero	4
	.globl	base_wd
	.align 4
	.type	base_wd, @object
	.size	base_wd, 4
base_wd:
	.zero	4
	.globl	total_ht
	.align 4
	.type	total_ht, @object
	.size	total_ht, 4
total_ht:
	.zero	4
	.globl	base_ht
	.align 4
	.type	base_ht, @object
	.size	base_ht, 4
base_ht:
	.zero	4
	.globl	inner_thick
	.align 4
	.type	inner_thick, @object
	.size	inner_thick, 4
inner_thick:
	.zero	4
	.globl	slider_pos
	.align 4
	.type	slider_pos, @object
	.size	slider_pos, 4
slider_pos:
	.zero	4
	.globl	pos_min
	.align 4
	.type	pos_min, @object
	.size	pos_min, 4
pos_min:
	.zero	4
	.globl	pos_max
	.align 4
	.type	pos_max, @object
	.size	pos_max, 4
pos_max:
	.zero	4
	.globl	lt_state
	.align 4
	.type	lt_state, @object
	.size	lt_state, 4
lt_state:
	.zero	4
	.globl	rt_state
	.align 4
	.type	rt_state, @object
	.size	rt_state, 4
rt_state:
	.zero	4
	.globl	text_wd
	.align 4
	.type	text_wd, @object
	.size	text_wd, 4
text_wd:
	.zero	4
	.globl	text_x
	.align 4
	.type	text_x, @object
	.size	text_x, 4
text_x:
	.zero	4
	.globl	text_baseline
	.align 4
	.type	text_baseline, @object
	.size	text_baseline, 4
text_baseline:
	.zero	4
	.globl	prog_pixmap
	.align 8
	.type	prog_pixmap, @object
	.size	prog_pixmap, 8
prog_pixmap:
	.zero	8
	.globl	font_height
	.align 4
	.type	font_height, @object
	.size	font_height, 4
font_height:
	.zero	4
	.text
	.globl	away
	.type	away, @function
away:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L15
	mov	eax, 1
	jmp	.L4
.L15:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L16
	mov	eax, -1
	jmp	.L4
.L16:
	mov	eax, 0
.L4:
	movsd	xmm0, QWORD PTR -8[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L17
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L10
.L17:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
.L10:
	movsd	xmm1, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	imul	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	away, .-away
	.globl	draw_slope_poly
	.type	draw_slope_poly, @function
draw_slope_poly:
.LFB7:
	.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, 216
	.cfi_offset 3, -24
	mov	QWORD PTR -184[rbp], rdi
	mov	DWORD PTR -188[rbp], esi
	mov	DWORD PTR -192[rbp], edx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	DWORD PTR -212[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -188[rbp], 1
	jle	.L19
	mov	eax, DWORD PTR -188[rbp]
	xor	eax, 3
	mov	esi, eax
	mov	r8d, DWORD PTR -212[rbp]
	mov	rdi, QWORD PTR -208[rbp]
	mov	rcx, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -192[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	r9d, r8d
	mov	r8, rdi
	mov	rdi, rax
	call	draw_slope_poly
	and	DWORD PTR -188[rbp], 1
	mov	eax, DWORD PTR -192[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -192[rbp], eax
	mov	QWORD PTR -200[rbp], 0
.L19:
	cmp	DWORD PTR -188[rbp], 0
	je	.L20
	mov	rax, QWORD PTR shadow_gc[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR hilite_gc[rip]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L21
.L20:
	mov	rax, QWORD PTR hilite_gc[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR shadow_gc[rip]
	mov	QWORD PTR -144[rbp], rax
.L21:
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -172[rbp], 0
	jmp	.L22
.L50:
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -212[rbp]
	mov	DWORD PTR -160[rbp], edx
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 2
	cdq
	idiv	DWORD PTR -212[rbp]
	mov	DWORD PTR -156[rbp], edx
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	cwde
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	cwde
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movsd	QWORD PTR -136[rbp], xmm0
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	cwde
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	cwde
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movsd	QWORD PTR -128[rbp], xmm0
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	cwde
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	cwde
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movsd	QWORD PTR -120[rbp], xmm0
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	cwde
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	cwde
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR -136[rbp]
	comisd	xmm0, QWORD PTR -128[rbp]
	jbe	.L67
	mov	rax, QWORD PTR -152[rbp]
	jmp	.L25
.L67:
	movsd	xmm0, QWORD PTR -128[rbp]
	comisd	xmm0, QWORD PTR -136[rbp]
	jbe	.L68
	mov	rax, QWORD PTR -144[rbp]
	jmp	.L25
.L68:
	movsd	xmm0, QWORD PTR -136[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L69
	mov	rax, QWORD PTR -152[rbp]
	jmp	.L25
.L69:
	mov	rax, QWORD PTR -144[rbp]
.L25:
	mov	edx, DWORD PTR -172[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -104[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rdx], rax
	movsd	xmm0, QWORD PTR -136[rbp]
	mulsd	xmm0, QWORD PTR -112[rbp]
	movsd	xmm1, QWORD PTR -128[rbp]
	mulsd	xmm1, QWORD PTR -120[rbp]
	comisd	xmm0, xmm1
	jbe	.L70
	movsd	xmm0, QWORD PTR -136[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -128[rbp], xmm0
	jmp	.L34
.L70:
	movsd	xmm0, QWORD PTR -120[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
.L34:
	movsd	xmm0, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -136[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	hypot@PLT
	movq	rax, xmm0
	mov	QWORD PTR -88[rbp], rax
	movsd	xmm0, QWORD PTR -136[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	hypot@PLT
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	movsd	xmm0, QWORD PTR -120[rbp]
	divsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	divsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR -136[rbp]
	addsd	xmm0, QWORD PTR -120[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	addsd	xmm0, QWORD PTR -112[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L71
	movsd	xmm0, QWORD PTR -72[rbp]
	jmp	.L37
.L71:
	movsd	xmm0, QWORD PTR -72[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
.L37:
	movsd	xmm1, QWORD PTR -64[rbp]
	pxor	xmm2, xmm2
	comisd	xmm1, xmm2
	jb	.L72
	movsd	xmm1, QWORD PTR -64[rbp]
	jmp	.L40
.L72:
	movsd	xmm1, QWORD PTR -64[rbp]
	movq	xmm2, QWORD PTR .LC2[rip]
	xorpd	xmm1, xmm2
.L40:
	comisd	xmm0, xmm1
	jb	.L73
	movsd	xmm0, QWORD PTR -72[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L74
	movsd	xmm0, QWORD PTR -72[rbp]
	jmp	.L46
.L74:
	movsd	xmm0, QWORD PTR -72[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	jmp	.L46
.L73:
	movsd	xmm0, QWORD PTR -64[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L75
	movsd	xmm0, QWORD PTR -64[rbp]
	jmp	.L46
.L75:
	movsd	xmm0, QWORD PTR -64[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
.L46:
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	divsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	divsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	ebx, eax
	mov	eax, DWORD PTR -192[rbp]
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -72[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	away
	lea	edx, [rbx+rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rcx
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	mov	ebx, eax
	mov	eax, DWORD PTR -192[rbp]
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -64[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	away
	lea	edx, [rbx+rax]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rcx
	mov	WORD PTR 2[rax], dx
	add	DWORD PTR -172[rbp], 1
.L22:
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L50
	cmp	QWORD PTR -200[rbp], 0
	je	.L51
	mov	rax, QWORD PTR dpy[rip]
	mov	edi, DWORD PTR -212[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -200[rbp]
	mov	rsi, QWORD PTR -184[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 1
	mov	r8d, edi
	mov	rdi, rax
	call	XFillPolygon@PLT
	add	rsp, 16
.L51:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -212[rbp]
	mov	DWORD PTR -164[rbp], edx
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR dpy[rip]
	lea	rcx, -48[rbp]
	mov	rsi, QWORD PTR -184[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 2
	mov	r8d, 4
	mov	rdi, rax
	call	XFillPolygon@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	edi, ax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	r9d, ax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	r8d, ax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	ecx, ax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, QWORD PTR -184[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	XDrawLine@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	edi, ax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	r9d, ax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	r8d, ax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	ecx, ax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, QWORD PTR -184[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	XDrawLine@PLT
	add	rsp, 16
	add	DWORD PTR -172[rbp], 1
.L52:
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L53
	mov	DWORD PTR -172[rbp], 0
	jmp	.L54
.L56:
	mov	eax, DWORD PTR -172[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -212[rbp]
	mov	DWORD PTR -168[rbp], edx
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L55
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	edi, ax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	r9d, ax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	r8d, ax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	ecx, ax
	mov	rdx, QWORD PTR bg_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, QWORD PTR -184[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	XDrawLine@PLT
	add	rsp, 16
.L55:
	add	DWORD PTR -172[rbp], 1
.L54:
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L56
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	draw_slope_poly, .-draw_slope_poly
	.globl	draw_slope
	.type	draw_slope, @function
draw_slope:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	mov	DWORD PTR -56[rbp], r8d
	mov	DWORD PTR -60[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -44[rbp]
	mov	WORD PTR -32[rbp], ax
	mov	eax, DWORD PTR -48[rbp]
	mov	WORD PTR -30[rbp], ax
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	sub	eax, 1
	mov	WORD PTR -28[rbp], ax
	mov	eax, DWORD PTR -48[rbp]
	mov	WORD PTR -26[rbp], ax
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	sub	eax, 1
	mov	WORD PTR -24[rbp], ax
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	sub	eax, 1
	mov	WORD PTR -22[rbp], ax
	mov	eax, DWORD PTR -44[rbp]
	mov	WORD PTR -20[rbp], ax
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	sub	eax, 1
	mov	WORD PTR -18[rbp], ax
	mov	edx, DWORD PTR depth[rip]
	lea	rcx, -32[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9d, 4
	mov	r8, rcx
	mov	ecx, 0
	mov	rdi, rax
	call	draw_slope_poly
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	draw_slope, .-draw_slope
	.globl	paint_arrow
	.type	paint_arrow, @function
paint_arrow:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	DWORD PTR -68[rbp], ecx
	mov	DWORD PTR -72[rbp], r8d
	mov	DWORD PTR -76[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, 1
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	cdqe
	mov	eax, DWORD PTR -32[rbp+rax*4]
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	mov	WORD PTR -44[rbp], ax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -32[rbp+rax*4]
	mov	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	mov	WORD PTR -42[rbp], ax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 1
	test	eax, eax
	setne	dl
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 2
	test	eax, eax
	sete	al
	xor	eax, edx
	test	al, al
	je	.L79
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	WORD PTR -40[rbp], ax
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	WORD PTR -38[rbp], ax
	jmp	.L80
.L79:
	mov	eax, DWORD PTR -60[rbp]
	mov	WORD PTR -40[rbp], ax
	mov	eax, DWORD PTR -64[rbp]
	mov	WORD PTR -38[rbp], ax
.L80:
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 2
	test	eax, eax
	je	.L81
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	WORD PTR -36[rbp], ax
	mov	eax, DWORD PTR -64[rbp]
	mov	WORD PTR -34[rbp], ax
	jmp	.L82
.L81:
	mov	eax, DWORD PTR -60[rbp]
	mov	WORD PTR -36[rbp], ax
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	WORD PTR -34[rbp], ax
.L82:
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 1
	test	eax, eax
	je	.L83
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -36[rbp], eax
.L83:
	mov	rcx, QWORD PTR bg_gc[rip]
	mov	edx, DWORD PTR depth[rip]
	lea	rdi, -44[rbp]
	mov	esi, DWORD PTR -76[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r9d, 3
	mov	r8, rdi
	mov	rdi, rax
	call	draw_slope_poly
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	paint_arrow, .-paint_arrow
	.globl	paint_slope_circle
	.type	paint_slope_circle, @function
paint_slope_circle:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	DWORD PTR -68[rbp], ecx
	mov	DWORD PTR -72[rbp], r8d
	mov	DWORD PTR -76[rbp], r9d
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	and	eax, 1
	test	eax, eax
	je	.L86
	mov	rax, QWORD PTR shadow_gc[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR hilite_gc[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L87
.L86:
	mov	rax, QWORD PTR hilite_gc[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR shadow_gc[rip]
	mov	QWORD PTR -8[rbp], rax
.L87:
	mov	edi, DWORD PTR -68[rbp]
	mov	r9d, DWORD PTR -68[rbp]
	mov	rdx, QWORD PTR bg_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	23040
	push	0
	push	rdi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -68[rbp]
	mov	r9d, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	2240
	push	rdi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -68[rbp]
	mov	r9d, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	2240
	push	rdi
	mov	rdi, rax
	call	XDrawArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -32[rbp]
	mov	r9d, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	2240
	push	rdi
	mov	rdi, rax
	call	XDrawArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -68[rbp]
	mov	r9d, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	13760
	push	rdi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -68[rbp]
	mov	r9d, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	13760
	push	rdi
	mov	rdi, rax
	call	XDrawArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -32[rbp]
	mov	r9d, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	13760
	push	rdi
	mov	rdi, rax
	call	XDrawArc@PLT
	add	rsp, 32
	mov	eax, DWORD PTR -76[rbp]
	and	eax, 2
	test	eax, eax
	je	.L88
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	edi, DWORD PTR -20[rbp]
	mov	r9d, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	2240
	push	rdi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
	mov	edi, DWORD PTR -20[rbp]
	mov	r9d, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	10240
	push	13760
	push	rdi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
.L88:
	mov	edi, DWORD PTR -32[rbp]
	mov	r9d, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR bg_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	23040
	push	0
	push	rdi
	mov	rdi, rax
	call	XFillArc@PLT
	add	rsp, 32
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	paint_slope_circle, .-paint_slope_circle
	.globl	paint_shaded_text
	.type	paint_shaded_text, @function
paint_shaded_text:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	rax, QWORD PTR shadow_gc[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR hilite_gc[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR text_shading_style[rip]
	test	eax, eax
	je	.L90
	mov	eax, DWORD PTR -32[rbp]
	lea	r10d, 1[rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	r9, r8
	mov	r8d, r10d
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
.L90:
	mov	eax, DWORD PTR -32[rbp]
	lea	r10d, 1[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	r9, r8
	mov	r8d, r10d
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9, QWORD PTR -40[rbp]
	mov	r8d, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
	mov	eax, DWORD PTR text_shading_style[rip]
	test	eax, eax
	je	.L91
	mov	eax, DWORD PTR -32[rbp]
	lea	r10d, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	r9, r8
	mov	r8d, r10d
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
.L91:
	mov	eax, DWORD PTR -32[rbp]
	lea	r10d, -1[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	r9, r8
	mov	r8d, r10d
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9, QWORD PTR -40[rbp]
	mov	r8d, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
	mov	rdx, QWORD PTR bg_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9, QWORD PTR -40[rbp]
	mov	r8d, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -44[rbp]
	push	rdi
	mov	rdi, rax
	call	XDrawText@PLT
	add	rsp, 16
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	paint_shaded_text, .-paint_shaded_text
	.section	.rodata
.LC6:
	.string	"%d%%"
	.text
	.globl	prog_update
	.type	prog_update, @function
prog_update:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	movsd	QWORD PTR -184[rbp], xmm0
	mov	DWORD PTR -188[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR frac[rip]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR -184[rbp]
	movsd	QWORD PTR frac[rip], xmm0
	movsd	xmm1, QWORD PTR frac[rip]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	lea	rax, -13[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -160[rbp], 0
	jmp	.L93
.L94:
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 96
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 104
	mov	DWORD PTR [rax], 1
	lea	rdx, -13[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 112
	mov	QWORD PTR [rax], rcx
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 100
	mov	DWORD PTR [rax], 1
	add	DWORD PTR -160[rbp], 1
.L93:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	movzx	eax, BYTE PTR -13[rbp+rax]
	test	al, al
	jne	.L94
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 49
	jne	.L95
	mov	eax, DWORD PTR font_height[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	sub	eax, edx
	mov	DWORD PTR -76[rbp], eax
.L95:
	mov	eax, DWORD PTR length[rip]
	mov	edx, DWORD PTR depth[rip]
	add	edx, edx
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR frac[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	eax, DWORD PTR depth[rip]
	add	eax, edx
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -188[rbp], 0
	je	.L96
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR length[rip]
	mov	edx, DWORD PTR depth[rip]
	add	edx, edx
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -120[rbp]
	cvttsd2si	edx, xmm0
	mov	eax, DWORD PTR depth[rip]
	add	eax, edx
	mov	DWORD PTR -164[rbp], eax
	mov	DWORD PTR -152[rbp], 0
	mov	edx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR -164[rbp]
	cmp	edx, eax
	jle	.L97
	lea	rax, -168[rbp]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, -164[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L98
.L97:
	lea	rax, -164[rbp]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, -168[rbp]
	mov	QWORD PTR -136[rbp], rax
.L98:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR text_x[rip]
	cmp	edx, eax
	jl	.L99
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR text_x[rip]
	mov	edx, DWORD PTR text_wd[rip]
	add	edx, ecx
	cmp	eax, edx
	jge	.L99
	mov	edx, DWORD PTR text_x[rip]
	mov	eax, DWORD PTR text_wd[rip]
	add	eax, edx
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -152[rbp], 1
.L99:
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR text_x[rip]
	cmp	edx, eax
	jl	.L100
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR text_x[rip]
	mov	edx, DWORD PTR text_wd[rip]
	add	edx, ecx
	cmp	eax, edx
	jge	.L100
	mov	edx, DWORD PTR text_x[rip]
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -152[rbp], 1
.L100:
	cmp	DWORD PTR -152[rbp], 2
	je	.L109
	mov	edx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR -164[rbp]
	cmp	edx, eax
	jle	.L102
	mov	eax, DWORD PTR smooth_progress[rip]
	test	eax, eax
	je	.L103
	mov	eax, DWORD PTR -164[rbp]
	mov	DWORD PTR -156[rbp], eax
	jmp	.L104
.L105:
	mov	eax, DWORD PTR thickness[rip]
	mov	edx, DWORD PTR depth[rip]
	sub	eax, edx
	lea	edi, -1[rax]
	mov	r8d, DWORD PTR depth[rip]
	mov	rdx, QWORD PTR fill_gc[rip]
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9d, DWORD PTR -156[rbp]
	mov	ecx, DWORD PTR -156[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	XDrawLine@PLT
	add	rsp, 16
	add	DWORD PTR -156[rbp], 1
.L104:
	mov	eax, DWORD PTR -168[rbp]
	cmp	DWORD PTR -156[rbp], eax
	jl	.L105
	jmp	.L109
.L103:
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r8d, eax
	mov	eax, DWORD PTR -168[rbp]
	mov	edx, DWORD PTR -164[rbp]
	sub	eax, edx
	mov	r9d, eax
	mov	edi, DWORD PTR depth[rip]
	mov	ecx, DWORD PTR -164[rbp]
	mov	rdx, QWORD PTR fill_gc[rip]
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	sub	rsp, 8
	push	r8
	mov	r8d, edi
	mov	rdi, rax
	call	XFillRectangle@PLT
	add	rsp, 16
	jmp	.L109
.L102:
	mov	edx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR -164[rbp]
	cmp	edx, eax
	jge	.L109
	mov	eax, DWORD PTR smooth_progress[rip]
	test	eax, eax
	je	.L106
	mov	eax, DWORD PTR -164[rbp]
	sub	eax, 1
	mov	DWORD PTR -156[rbp], eax
	jmp	.L107
.L108:
	mov	eax, DWORD PTR thickness[rip]
	mov	edx, DWORD PTR depth[rip]
	sub	eax, edx
	lea	edi, -1[rax]
	mov	r8d, DWORD PTR depth[rip]
	mov	rdx, QWORD PTR trough_gc[rip]
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9d, DWORD PTR -156[rbp]
	mov	ecx, DWORD PTR -156[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	XDrawLine@PLT
	add	rsp, 16
	sub	DWORD PTR -156[rbp], 1
.L107:
	mov	eax, DWORD PTR -168[rbp]
	cmp	DWORD PTR -156[rbp], eax
	jge	.L108
	jmp	.L109
.L106:
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r8d, eax
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, DWORD PTR -168[rbp]
	sub	eax, edx
	mov	r9d, eax
	mov	edi, DWORD PTR depth[rip]
	mov	ecx, DWORD PTR -168[rbp]
	mov	rdx, QWORD PTR trough_gc[rip]
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	sub	rsp, 8
	push	r8
	mov	r8d, edi
	mov	rdi, rax
	call	XFillRectangle@PLT
	add	rsp, 16
	jmp	.L109
.L96:
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r8d, eax
	mov	edx, DWORD PTR depth[rip]
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, edx
	mov	r9d, eax
	mov	edi, DWORD PTR depth[rip]
	mov	ecx, DWORD PTR depth[rip]
	mov	rdx, QWORD PTR fill_gc[rip]
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	sub	rsp, 8
	push	r8
	mov	r8d, edi
	mov	rdi, rax
	call	XFillRectangle@PLT
	add	rsp, 16
.L109:
	mov	edx, DWORD PTR text_x[rip]
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, edx
	test	eax, eax
	js	.L110
	mov	ecx, DWORD PTR text_x[rip]
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR text_wd[rip]
	cmp	edx, eax
	cmovle	eax, edx
	jmp	.L111
.L110:
	mov	eax, 0
.L111:
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -144[rbp], 0
	jle	.L112
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edi, eax
	mov	ecx, DWORD PTR -144[rbp]
	mov	rdx, QWORD PTR fill_gc[rip]
	mov	rsi, QWORD PTR prog_pixmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	sub	rsp, 8
	push	rdi
	mov	r9d, ecx
	mov	r8d, 0
	mov	ecx, 0
	mov	rdi, rax
	call	XFillRectangle@PLT
	add	rsp, 16
.L112:
	mov	eax, DWORD PTR text_wd[rip]
	cmp	DWORD PTR -144[rbp], eax
	jge	.L113
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edi, eax
	mov	eax, DWORD PTR text_wd[rip]
	sub	eax, DWORD PTR -144[rbp]
	mov	r8d, eax
	mov	rdx, QWORD PTR trough_gc[rip]
	mov	rsi, QWORD PTR prog_pixmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	ecx, DWORD PTR -144[rbp]
	sub	rsp, 8
	push	rdi
	mov	r9d, r8d
	mov	r8d, 0
	mov	rdi, rax
	call	XFillRectangle@PLT
	add	rsp, 16
.L113:
	mov	rax, QWORD PTR font[rip]
	mov	edx, DWORD PTR -160[rbp]
	lea	rcx, -13[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XTextWidth@PLT
	mov	DWORD PTR -140[rbp], eax
	mov	edx, DWORD PTR text_baseline[rip]
	mov	eax, DWORD PTR text_wd[rip]
	sub	eax, DWORD PTR -140[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	lea	esi, 1[rax]
	mov	rax, QWORD PTR prog_pixmap[rip]
	mov	edi, DWORD PTR -160[rbp]
	lea	rcx, -112[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	paint_shaded_text
	mov	r8d, DWORD PTR depth[rip]
	mov	edi, DWORD PTR text_x[rip]
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r10d, eax
	mov	eax, DWORD PTR text_wd[rip]
	mov	r9d, eax
	mov	rcx, QWORD PTR bg_gc[rip]
	mov	rdx, QWORD PTR prog_win[rip]
	mov	rsi, QWORD PTR prog_pixmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	push	r8
	push	rdi
	push	r10
	push	r9
	mov	r9d, 0
	mov	r8d, 0
	mov	rdi, rax
	call	XCopyArea@PLT
	add	rsp, 32
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L114
	call	__stack_chk_fail@PLT
.L114:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	prog_update, .-prog_update
	.globl	slider_update
	.type	slider_update, @function
slider_update:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	movsd	QWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -76[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR slider_pos[rip]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR slider_pos[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR pos_min[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	comisd	xmm0, xmm1
	jbe	.L126
	mov	eax, DWORD PTR pos_min[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	cvttsd2si	eax, xmm0
	jmp	.L118
.L126:
	mov	eax, DWORD PTR slider_pos[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR pos_max[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	comisd	xmm0, xmm1
	jbe	.L127
	mov	eax, DWORD PTR pos_max[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	cvttsd2si	eax, xmm0
	jmp	.L118
.L127:
	mov	eax, DWORD PTR slider_pos[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, QWORD PTR -72[rbp]
	cvttsd2si	eax, xmm0
.L118:
	mov	DWORD PTR slider_pos[rip], eax
	cmp	DWORD PTR -76[rbp], 0
	je	.L122
	mov	eax, DWORD PTR slider_pos[rip]
	sub	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR dpy[rip]
	sub	rsp, 8
	push	0
	push	rdx
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	XWarpPointer@PLT
	add	rsp, 32
.L122:
	mov	eax, DWORD PTR slider_pos[rip]
	mov	DWORD PTR -48[rbp], eax
	mov	rsi, QWORD PTR slider_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	XConfigureWindow@PLT
	mov	eax, DWORD PTR slider_pos[rip]
	mov	edx, DWORD PTR pos_min[rip]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR pos_max[rip]
	mov	edx, DWORD PTR pos_min[rip]
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movq	rax, xmm0
	mov	edi, 1
	movq	xmm0, rax
	call	prog_update
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L123
	call	__stack_chk_fail@PLT
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	slider_update, .-slider_update
	.section	.rodata
.LC8:
	.string	"Raw X Widgets (C Xlib)"
.LC9:
	.string	"widgets"
.LC10:
	.string	"WM_DELETE_WINDOW"
.LC11:
	.string	"100%"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 432
	mov	DWORD PTR -420[rbp], edi
	mov	QWORD PTR -432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR dpy[rip], rax
	mov	rax, QWORD PTR dpy[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR cmap[rip], rax
	movzx	eax, WORD PTR bg[rip+8]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR shade[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	WORD PTR shadow[rip+8], ax
	movzx	eax, WORD PTR bg[rip+10]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR shade[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	WORD PTR shadow[rip+10], ax
	movzx	eax, WORD PTR bg[rip+12]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR shade[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	WORD PTR shadow[rip+12], ax
	movzx	eax, WORD PTR bg[rip+8]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR shade[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	not	eax
	mov	WORD PTR hilite[rip+8], ax
	movzx	eax, WORD PTR bg[rip+10]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR shade[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	not	eax
	mov	WORD PTR hilite[rip+10], ax
	movzx	eax, WORD PTR bg[rip+12]
	movzx	eax, ax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR shade[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	not	eax
	mov	WORD PTR hilite[rip+12], ax
	mov	rcx, QWORD PTR cmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, bg[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XAllocColor@PLT
	mov	rcx, QWORD PTR cmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, trough[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XAllocColor@PLT
	mov	rcx, QWORD PTR cmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, shadow[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XAllocColor@PLT
	mov	rcx, QWORD PTR cmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, hilite[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XAllocColor@PLT
	mov	rcx, QWORD PTR cmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, fill[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XAllocColor@PLT
	mov	eax, DWORD PTR thickness[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR font_frac[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR fontsize[rip], eax
	mov	edx, DWORD PTR fontsize[rip]
	mov	rax, QWORD PTR fontname[rip]
	mov	rsi, rax
	lea	rdi, buf[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR dpy[rip]
	lea	rsi, buf[rip]
	mov	rdi, rax
	call	XLoadQueryFont@PLT
	mov	QWORD PTR font[rip], rax
	mov	eax, DWORD PTR padding[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR length[rip]
	add	eax, edx
	mov	DWORD PTR total_wd[rip], eax
	mov	edx, DWORD PTR padding[rip]
	mov	eax, DWORD PTR depth[rip]
	add	eax, edx
	add	eax, 2
	add	eax, eax
	mov	DWORD PTR base_wd[rip], eax
	mov	edx, DWORD PTR padding[rip]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR thickness[rip]
	add	eax, eax
	add	eax, edx
	mov	DWORD PTR total_ht[rip], eax
	mov	edx, DWORD PTR padding[rip]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR depth[rip]
	sal	eax, 2
	add	eax, edx
	add	eax, 3
	mov	DWORD PTR base_ht[rip], eax
	mov	eax, DWORD PTR cursor_id[rip]
	mov	edx, eax
	mov	rax, QWORD PTR dpy[rip]
	mov	esi, edx
	mov	rdi, rax
	call	XCreateFontCursor@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR bg[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -184[rbp], 131072
	mov	eax, DWORD PTR total_ht[rip]
	mov	edi, eax
	mov	eax, DWORD PTR total_wd[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR dpy[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -256[rbp]
	push	rdx
	push	18434
	push	0
	push	0
	push	0
	push	0
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR main_win[rip], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -416[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -408[rbp], rax
	mov	eax, DWORD PTR base_wd[rip]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR base_ht[rip]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -96[rbp], 3
	mov	DWORD PTR -92[rbp], 2
	mov	DWORD PTR -88[rbp], 1000
	mov	DWORD PTR -84[rbp], 1
	mov	QWORD PTR -144[rbp], 408
	mov	DWORD PTR -312[rbp], 1
	mov	DWORD PTR -308[rbp], 1
	mov	QWORD PTR -320[rbp], 3
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -400[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -392[rbp], rax
	lea	rdx, -384[rbp]
	lea	rax, -416[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	XStringListToTextProperty@PLT
	lea	rdx, -352[rbp]
	lea	rax, -408[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	XStringListToTextProperty@PLT
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9d, DWORD PTR -420[rbp]
	mov	r8, QWORD PTR -432[rbp]
	lea	rcx, -352[rbp]
	lea	rdx, -384[rbp]
	sub	rsp, 8
	lea	rdi, -400[rbp]
	push	rdi
	lea	rdi, -320[rbp]
	push	rdi
	lea	rdi, -144[rbp]
	push	rdi
	mov	rdi, rax
	call	XSetWMProperties@PLT
	add	rsp, 32
	mov	rax, QWORD PTR dpy[rip]
	mov	edx, 0
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR delete_atom[rip], rax
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	ecx, 1
	lea	rdx, delete_atom[rip]
	mov	rdi, rax
	call	XSetWMProtocols@PLT
	mov	rax, QWORD PTR trough[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -184[rbp], 32768
	mov	eax, DWORD PTR thickness[rip]
	mov	r9d, eax
	mov	eax, DWORD PTR length[rip]
	mov	r8d, eax
	mov	ecx, DWORD PTR padding[rip]
	mov	edx, DWORD PTR padding[rip]
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdi, -256[rbp]
	push	rdi
	push	2050
	push	0
	push	0
	push	0
	push	0
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR prog_win[rip], rax
	mov	rax, QWORD PTR trough[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -184[rbp], 32768
	mov	eax, DWORD PTR thickness[rip]
	mov	r9d, eax
	mov	eax, DWORD PTR length[rip]
	mov	r8d, eax
	mov	eax, DWORD PTR padding[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR thickness[rip]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR padding[rip]
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdi, -256[rbp]
	push	rdi
	push	2050
	push	0
	push	0
	push	0
	push	0
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR sbar_win[rip], rax
	mov	rax, QWORD PTR bg[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -144[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR bg_gc[rip], rax
	mov	rax, QWORD PTR shadow[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -144[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR shadow_gc[rip], rax
	mov	rax, QWORD PTR hilite[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -144[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR hilite_gc[rip], rax
	mov	eax, DWORD PTR thickness[rip]
	mov	edx, DWORD PTR depth[rip]
	add	edx, edx
	sub	eax, edx
	mov	DWORD PTR inner_thick[rip], eax
	mov	eax, DWORD PTR depth[rip]
	mov	DWORD PTR slider_pos[rip], eax
	mov	eax, DWORD PTR depth[rip]
	mov	DWORD PTR pos_min[rip], eax
	mov	eax, DWORD PTR length[rip]
	mov	edx, DWORD PTR thumb[rip]
	sub	eax, edx
	mov	ecx, DWORD PTR depth[rip]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	ecx, [rax+rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR pos_max[rip], eax
	mov	rax, QWORD PTR bg[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -184[rbp], 41092
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r9d, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR thumb[rip]
	add	eax, edx
	mov	r8d, eax
	mov	ecx, DWORD PTR depth[rip]
	mov	edx, DWORD PTR slider_pos[rip]
	mov	rsi, QWORD PTR sbar_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdi, -256[rbp]
	push	rdi
	push	2050
	push	0
	push	0
	push	0
	push	0
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR slider_win[rip], rax
	mov	rax, QWORD PTR trough[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -184[rbp], 32780
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edi, eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	mov	rsi, QWORD PTR slider_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -256[rbp]
	push	rdx
	push	2050
	push	0
	push	0
	push	0
	push	0
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR lt_win[rip], rax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r8d, eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edi, eax
	mov	edx, DWORD PTR thumb[rip]
	mov	eax, DWORD PTR inner_thick[rip]
	add	edx, eax
	mov	rsi, QWORD PTR slider_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rcx, -256[rbp]
	push	rcx
	push	2050
	push	0
	push	0
	push	0
	push	0
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, 0
	mov	rdi, rax
	call	XCreateWindow@PLT
	add	rsp, 48
	mov	QWORD PTR rt_win[rip], rax
	mov	DWORD PTR rt_state[rip], 0
	mov	eax, DWORD PTR rt_state[rip]
	mov	DWORD PTR lt_state[rip], eax
	mov	rdx, QWORD PTR lt_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rdx, QWORD PTR rt_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rdx, QWORD PTR slider_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rax, QWORD PTR font[rip]
	mov	edx, 4
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	XTextWidth@PLT
	add	eax, 6
	mov	DWORD PTR text_wd[rip], eax
	mov	eax, DWORD PTR length[rip]
	mov	edx, DWORD PTR text_wd[rip]
	sub	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR text_x[rip], eax
	mov	rax, QWORD PTR font[rip]
	mov	edx, DWORD PTR 88[rax]
	mov	eax, DWORD PTR thickness[rip]
	add	edx, eax
	mov	rax, QWORD PTR font[rip]
	mov	ecx, DWORD PTR 92[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, DWORD PTR depth[rip]
	sub	eax, edx
	mov	DWORD PTR text_baseline[rip], eax
	mov	rax, QWORD PTR dpy[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	mov	edi, eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR text_wd[rip]
	mov	edx, eax
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, edi
	mov	rdi, rax
	call	XCreatePixmap@PLT
	mov	QWORD PTR prog_pixmap[rip], rax
	mov	rax, QWORD PTR trough[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR font[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -144[rbp]
	mov	rcx, rdx
	mov	edx, 16388
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR trough_gc[rip], rax
	mov	rax, QWORD PTR fill[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rsi, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -144[rbp]
	mov	rcx, rdx
	mov	edx, 16388
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR fill_gc[rip], rax
	mov	rax, QWORD PTR font[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR shadow_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetFont@PLT
	mov	rax, QWORD PTR font[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR hilite_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetFont@PLT
	mov	rax, QWORD PTR font[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR bg_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetFont@PLT
	mov	rax, QWORD PTR font[rip]
	mov	edx, DWORD PTR 88[rax]
	mov	rax, QWORD PTR font[rip]
	mov	eax, DWORD PTR 92[rax]
	add	eax, edx
	mov	DWORD PTR font_height[rip], eax
	mov	rdx, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rdx, QWORD PTR sbar_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rdx, QWORD PTR main_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	call	mainloop
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L130
	call	__stack_chk_fail@PLT
.L130:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.globl	mainloop
	.type	mainloop, @function
mainloop:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 512
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -496[rbp], -1
	mov	DWORD PTR -492[rbp], 0
	mov	DWORD PTR -488[rbp], 0
	mov	DWORD PTR -484[rbp], 0
	mov	DWORD PTR -480[rbp], 0
	mov	DWORD PTR -476[rbp], 0
	mov	DWORD PTR -472[rbp], 0
	mov	rax, QWORD PTR dpy[rip]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -468[rbp], eax
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -336[rbp]
	mov	rdi, rdx
#APP
# 510 "the_stack_data/936551.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -464[rbp], edx
	mov	DWORD PTR -460[rbp], eax
	mov	eax, DWORD PTR -468[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -336[rbp+rax*8]
	mov	eax, DWORD PTR -468[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -336[rbp+rax*8], rdx
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
.L181:
	mov	rax, QWORD PTR -408[rbp]
	test	rax, rax
	je	.L132
	mov	rax, QWORD PTR dpy[rip]
	mov	rdi, rax
	call	XFlush@PLT
	jmp	.L133
.L142:
	mov	eax, DWORD PTR -468[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -336[rbp+rax*8]
	mov	eax, DWORD PTR -468[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -336[rbp+rax*8], rdx
	mov	rax, QWORD PTR -448[rbp]
	mov	edi, 1
	movq	xmm0, rax
	call	slider_update
	movsd	xmm0, QWORD PTR -448[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L187
	movsd	xmm0, QWORD PTR .LC12[rip]
	jmp	.L136
.L187:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -448[rbp]
	jbe	.L188
	movsd	xmm0, QWORD PTR .LC13[rip]
	jmp	.L136
.L188:
	pxor	xmm0, xmm0
.L136:
	movsd	xmm1, QWORD PTR accel[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -448[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -448[rbp], xmm0
	mov	edx, DWORD PTR slider_pos[rip]
	mov	eax, DWORD PTR pos_min[rip]
	cmp	edx, eax
	je	.L140
	mov	edx, DWORD PTR slider_pos[rip]
	mov	eax, DWORD PTR pos_max[rip]
	cmp	edx, eax
	jne	.L141
.L140:
	mov	QWORD PTR -408[rbp], 0
	mov	rax, QWORD PTR -408[rbp]
	mov	QWORD PTR -416[rbp], rax
	jmp	.L132
.L141:
	mov	QWORD PTR -416[rbp], 0
	mov	eax, DWORD PTR delay[rip]
	cdqe
	mov	QWORD PTR -408[rbp], rax
	mov	rax, QWORD PTR dpy[rip]
	mov	rdi, rax
	call	XFlush@PLT
.L133:
	mov	eax, DWORD PTR -468[rbp]
	lea	edi, 1[rax]
	lea	rdx, -416[rbp]
	lea	rax, -336[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	test	eax, eax
	je	.L142
.L132:
	mov	eax, DWORD PTR -468[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -336[rbp+rax*8]
	mov	eax, DWORD PTR -468[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -336[rbp+rax*8], rdx
	mov	rax, QWORD PTR dpy[rip]
	mov	rdi, rax
	call	XFlush@PLT
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 1000
	mov	eax, DWORD PTR -468[rbp]
	lea	edi, 1[rax]
	lea	rdx, -400[rbp]
	lea	rax, -336[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	test	eax, eax
	jne	.L143
	cmp	DWORD PTR -472[rbp], 0
	je	.L144
	mov	DWORD PTR -472[rbp], 0
	mov	edx, DWORD PTR total_ht[rip]
	mov	eax, DWORD PTR base_ht[rip]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR total_ht[rip], eax
	mov	eax, DWORD PTR total_wd[rip]
	mov	edx, DWORD PTR padding[rip]
	add	edx, edx
	sub	eax, edx
	mov	DWORD PTR length[rip], eax
	mov	eax, DWORD PTR padding[rip]
	mov	edx, eax
	sal	eax, 2
	sub	edx, eax
	mov	eax, DWORD PTR total_ht[rip]
	add	eax, edx
	add	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR thickness[rip], eax
	movsd	xmm0, QWORD PTR relief_frac[rip]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L185
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L145
.L185:
	mov	eax, DWORD PTR thickness[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR relief_frac[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR depth[rip], eax
.L145:
	mov	eax, DWORD PTR thickness[rip]
	mov	edx, DWORD PTR depth[rip]
	add	edx, edx
	sub	eax, edx
	mov	DWORD PTR inner_thick[rip], eax
	mov	eax, DWORD PTR length[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR thumb[rip], eax
	mov	eax, DWORD PTR thickness[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR length[rip]
	mov	edx, eax
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rdi, rax
	call	XResizeWindow@PLT
	mov	eax, DWORD PTR thickness[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR font_frac[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR fontsize[rip], eax
	mov	rdx, QWORD PTR font[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XFreeFont@PLT
	mov	edx, DWORD PTR fontsize[rip]
	mov	rax, QWORD PTR fontname[rip]
	mov	rsi, rax
	lea	rdi, buf[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR dpy[rip]
	lea	rsi, buf[rip]
	mov	rdi, rax
	call	XLoadQueryFont@PLT
	mov	QWORD PTR font[rip], rax
	mov	rax, QWORD PTR font[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR bg_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetFont@PLT
	mov	rax, QWORD PTR font[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR hilite_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetFont@PLT
	mov	rax, QWORD PTR font[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR shadow_gc[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetFont@PLT
	mov	rax, QWORD PTR font[rip]
	mov	edx, 4
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	XTextWidth@PLT
	add	eax, 6
	mov	DWORD PTR text_wd[rip], eax
	mov	eax, DWORD PTR length[rip]
	mov	edx, DWORD PTR text_wd[rip]
	sub	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR text_x[rip], eax
	mov	rax, QWORD PTR font[rip]
	mov	edx, DWORD PTR 88[rax]
	mov	eax, DWORD PTR thickness[rip]
	add	edx, eax
	mov	rax, QWORD PTR font[rip]
	mov	ecx, DWORD PTR 92[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, DWORD PTR depth[rip]
	sub	eax, edx
	mov	DWORD PTR text_baseline[rip], eax
	mov	rax, QWORD PTR font[rip]
	mov	edx, DWORD PTR 88[rax]
	mov	rax, QWORD PTR font[rip]
	mov	eax, DWORD PTR 92[rax]
	add	eax, edx
	mov	DWORD PTR font_height[rip], eax
	mov	rdx, QWORD PTR prog_pixmap[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XFreePixmap@PLT
	mov	rax, QWORD PTR dpy[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	eax, DWORD PTR 56[rax]
	mov	edi, eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR text_wd[rip]
	mov	edx, eax
	mov	rsi, QWORD PTR prog_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r8d, edi
	mov	rdi, rax
	call	XCreatePixmap@PLT
	mov	QWORD PTR prog_pixmap[rip], rax
	mov	eax, DWORD PTR padding[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR thickness[rip]
	add	eax, edx
	mov	DWORD PTR -380[rbp], eax
	mov	eax, DWORD PTR length[rip]
	mov	DWORD PTR -376[rbp], eax
	mov	eax, DWORD PTR thickness[rip]
	mov	DWORD PTR -372[rbp], eax
	mov	rsi, QWORD PTR sbar_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -384[rbp]
	mov	rcx, rdx
	mov	edx, 14
	mov	rdi, rax
	call	XConfigureWindow@PLT
	mov	eax, DWORD PTR depth[rip]
	mov	DWORD PTR pos_min[rip], eax
	mov	eax, DWORD PTR length[rip]
	mov	edx, DWORD PTR thumb[rip]
	sub	eax, edx
	mov	ecx, DWORD PTR depth[rip]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	ecx, [rax+rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR pos_max[rip], eax
	mov	eax, DWORD PTR pos_max[rip]
	mov	edx, DWORD PTR pos_min[rip]
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR frac[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	eax, DWORD PTR pos_min[rip]
	add	eax, edx
	mov	DWORD PTR slider_pos[rip], eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	r8d, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR thumb[rip]
	add	eax, edx
	mov	edi, eax
	mov	ecx, DWORD PTR depth[rip]
	mov	edx, DWORD PTR slider_pos[rip]
	mov	rsi, QWORD PTR slider_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	XMoveResizeWindow@PLT
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edx, eax
	mov	rsi, QWORD PTR lt_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	mov	rdi, rax
	call	XResizeWindow@PLT
	mov	edx, DWORD PTR thumb[rip]
	mov	eax, DWORD PTR inner_thick[rip]
	add	eax, edx
	mov	DWORD PTR -384[rbp], eax
	mov	eax, DWORD PTR inner_thick[rip]
	mov	DWORD PTR -372[rbp], eax
	mov	eax, DWORD PTR -372[rbp]
	mov	DWORD PTR -376[rbp], eax
	mov	rsi, QWORD PTR rt_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -384[rbp]
	mov	rcx, rdx
	mov	edx, 13
	mov	rdi, rax
	call	XConfigureWindow@PLT
.L144:
	cmp	DWORD PTR -492[rbp], 0
	je	.L147
	mov	esi, DWORD PTR prog_relief[rip]
	mov	ecx, DWORD PTR thickness[rip]
	mov	edx, DWORD PTR length[rip]
	mov	rax, QWORD PTR prog_win[rip]
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	draw_slope
	mov	rax, QWORD PTR frac[rip]
	mov	edi, 0
	movq	xmm0, rax
	call	prog_update
	mov	DWORD PTR -492[rbp], 0
.L147:
	cmp	DWORD PTR -488[rbp], 0
	je	.L148
	mov	esi, DWORD PTR sbar_relief[rip]
	mov	ecx, DWORD PTR thickness[rip]
	mov	edx, DWORD PTR length[rip]
	mov	rax, QWORD PTR sbar_win[rip]
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	draw_slope
	mov	DWORD PTR -488[rbp], 0
.L148:
	cmp	DWORD PTR -484[rbp], 0
	je	.L149
	mov	edi, DWORD PTR slider_relief[rip]
	mov	ecx, DWORD PTR inner_thick[rip]
	mov	edx, DWORD PTR thumb[rip]
	mov	esi, DWORD PTR inner_thick[rip]
	mov	rax, QWORD PTR slider_win[rip]
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	draw_slope
	movsd	xmm0, QWORD PTR dimple[rip]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L186
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L150
.L186:
	mov	r8d, DWORD PTR dimple_relief[rip]
	mov	edi, DWORD PTR depth[rip]
	mov	eax, DWORD PTR inner_thick[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR dimple[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	ecx, xmm0
	movsd	xmm2, QWORD PTR dimple[rip]
	movsd	xmm0, QWORD PTR .LC12[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	eax, DWORD PTR inner_thick[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	eax, DWORD PTR thumb[rip]
	mov	esi, eax
	shr	esi, 31
	add	eax, esi
	sar	eax
	mov	esi, eax
	movsd	xmm1, QWORD PTR dimple[rip]
	movsd	xmm0, QWORD PTR .LC4[rip]
	subsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC4[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	eax, DWORD PTR inner_thick[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	esi, eax
	mov	rax, QWORD PTR slider_win[rip]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	paint_slope_circle
.L150:
	mov	DWORD PTR -484[rbp], 0
.L149:
	cmp	DWORD PTR -480[rbp], 0
	je	.L152
	mov	edx, DWORD PTR arrow_relief[rip]
	mov	eax, DWORD PTR lt_state[rip]
	mov	ecx, edx
	xor	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR lt_win[rip]
	mov	r9d, ecx
	mov	r8d, 3
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	paint_arrow
	mov	DWORD PTR -480[rbp], 0
.L152:
	cmp	DWORD PTR -476[rbp], 0
	je	.L143
	mov	edx, DWORD PTR arrow_relief[rip]
	mov	eax, DWORD PTR rt_state[rip]
	mov	ecx, edx
	xor	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR rt_win[rip]
	mov	r9d, ecx
	mov	r8d, 1
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	paint_arrow
	mov	DWORD PTR -476[rbp], 0
.L143:
	mov	rax, QWORD PTR dpy[rip]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -208[rbp]
	sub	eax, 4
	cmp	eax, 29
	ja	.L181
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L155[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L155[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L155:
	.long	.L160-.L155
	.long	.L159-.L155
	.long	.L158-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L157-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L156-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L181-.L155
	.long	.L154-.L155
	.text
.L154:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR delete_atom[rip]
	cmp	rax, rdx
	jne	.L189
	mov	edi, 0
	call	exit@PLT
.L156:
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR -456[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -452[rbp], eax
	mov	eax, DWORD PTR total_wd[rip]
	cmp	DWORD PTR -456[rbp], eax
	jne	.L162
	mov	eax, DWORD PTR total_ht[rip]
	cmp	DWORD PTR -452[rbp], eax
	je	.L190
.L162:
	add	DWORD PTR -472[rbp], 1
	mov	eax, DWORD PTR -456[rbp]
	mov	DWORD PTR total_wd[rip], eax
	mov	eax, DWORD PTR -452[rbp]
	mov	DWORD PTR total_ht[rip], eax
	jmp	.L190
.L157:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -440[rbp], rax
	mov	rax, QWORD PTR sbar_win[rip]
	cmp	QWORD PTR -440[rbp], rax
	jne	.L164
	mov	edx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR depth[rip]
	cmp	edx, eax
	jl	.L165
	mov	edx, DWORD PTR -164[rbp]
	mov	eax, DWORD PTR depth[rip]
	cmp	edx, eax
	jl	.L165
	mov	edx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR -160[rbp]
	add	edx, eax
	mov	eax, DWORD PTR length[rip]
	mov	ecx, DWORD PTR depth[rip]
	sub	eax, ecx
	cmp	edx, eax
	jg	.L165
	mov	edx, DWORD PTR -164[rbp]
	mov	eax, DWORD PTR -156[rbp]
	add	edx, eax
	mov	eax, DWORD PTR thickness[rip]
	mov	ecx, DWORD PTR depth[rip]
	sub	eax, ecx
	cmp	edx, eax
	jle	.L191
.L165:
	add	DWORD PTR -488[rbp], 1
	jmp	.L191
.L164:
	mov	rax, QWORD PTR prog_win[rip]
	cmp	QWORD PTR -440[rbp], rax
	jne	.L167
	add	DWORD PTR -492[rbp], 1
	jmp	.L191
.L167:
	mov	rax, QWORD PTR slider_win[rip]
	cmp	QWORD PTR -440[rbp], rax
	jne	.L168
	add	DWORD PTR -484[rbp], 1
	jmp	.L191
.L168:
	mov	rax, QWORD PTR lt_win[rip]
	cmp	QWORD PTR -440[rbp], rax
	jne	.L169
	add	DWORD PTR -480[rbp], 1
	jmp	.L191
.L169:
	mov	rax, QWORD PTR rt_win[rip]
	cmp	QWORD PTR -440[rbp], rax
	jne	.L191
	add	DWORD PTR -476[rbp], 1
	jmp	.L191
.L160:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -424[rbp], rax
	mov	rax, QWORD PTR slider_win[rip]
	cmp	QWORD PTR -424[rbp], rax
	jne	.L170
	mov	eax, DWORD PTR slider_pos[rip]
	mov	DWORD PTR -500[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -496[rbp], eax
	jmp	.L192
.L170:
	mov	rax, QWORD PTR lt_win[rip]
	cmp	QWORD PTR -424[rbp], rax
	jne	.L172
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	neg	eax
	add	eax, edx
	test	eax, eax
	js	.L173
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	neg	eax
	add	eax, edx
	add	eax, eax
	jmp	.L174
.L173:
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, DWORD PTR -140[rbp]
	sub	eax, edx
	add	eax, eax
.L174:
	mov	edx, DWORD PTR -144[rbp]
	cmp	eax, edx
	jg	.L192
	mov	eax, DWORD PTR arrow_change[rip]
	mov	DWORD PTR lt_state[rip], eax
	mov	rax, QWORD PTR .LC13[rip]
	mov	edi, 1
	movq	xmm0, rax
	call	slider_update
	mov	edx, DWORD PTR arrow_relief[rip]
	mov	eax, DWORD PTR lt_state[rip]
	mov	ecx, edx
	xor	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR lt_win[rip]
	mov	r9d, ecx
	mov	r8d, 3
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	paint_arrow
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -448[rbp], xmm0
	mov	QWORD PTR -416[rbp], 0
	mov	eax, DWORD PTR initial_delay[rip]
	cdqe
	mov	QWORD PTR -408[rbp], rax
	jmp	.L192
.L172:
	mov	rax, QWORD PTR rt_win[rip]
	cmp	QWORD PTR -424[rbp], rax
	jne	.L192
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	neg	eax
	add	eax, edx
	test	eax, eax
	js	.L175
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR inner_thick[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	neg	eax
	add	eax, edx
	add	eax, eax
	jmp	.L176
.L175:
	mov	eax, DWORD PTR inner_thick[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, DWORD PTR -140[rbp]
	sub	eax, edx
	add	eax, eax
.L176:
	mov	edx, DWORD PTR inner_thick[rip]
	mov	ecx, DWORD PTR -144[rbp]
	sub	edx, ecx
	cmp	eax, edx
	jg	.L192
	mov	eax, DWORD PTR arrow_change[rip]
	mov	DWORD PTR rt_state[rip], eax
	mov	rax, QWORD PTR .LC12[rip]
	mov	edi, 1
	movq	xmm0, rax
	call	slider_update
	mov	edx, DWORD PTR arrow_relief[rip]
	mov	eax, DWORD PTR rt_state[rip]
	mov	ecx, edx
	xor	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR rt_win[rip]
	mov	r9d, ecx
	mov	r8d, 1
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	paint_arrow
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -448[rbp], xmm0
	mov	QWORD PTR -416[rbp], 0
	mov	eax, DWORD PTR initial_delay[rip]
	cdqe
	mov	QWORD PTR -408[rbp], rax
	jmp	.L192
.L158:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR slider_win[rip]
	cmp	rdx, rax
	jne	.L193
	cmp	DWORD PTR -496[rbp], -1
	je	.L193
	mov	rsi, QWORD PTR slider_win[rip]
	mov	rax, QWORD PTR dpy[rip]
	lea	r9, -508[rbp]
	lea	r8, -504[rbp]
	lea	rcx, -384[rbp]
	lea	rdx, -384[rbp]
	sub	rsp, 8
	lea	rdi, -508[rbp]
	push	rdi
	lea	rdi, -508[rbp]
	push	rdi
	lea	rdi, -508[rbp]
	push	rdi
	mov	rdi, rax
	call	XQueryPointer@PLT
	add	rsp, 32
	mov	eax, DWORD PTR -504[rbp]
	sub	eax, DWORD PTR -496[rbp]
	add	DWORD PTR -500[rbp], eax
	mov	edx, DWORD PTR slider_pos[rip]
	mov	eax, DWORD PTR -500[rbp]
	sub	eax, edx
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movq	rax, xmm3
	mov	edi, 0
	movq	xmm0, rax
	call	slider_update
	mov	eax, DWORD PTR -504[rbp]
	mov	DWORD PTR -496[rbp], eax
	jmp	.L193
.L159:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -432[rbp], rax
	mov	rax, QWORD PTR slider_win[rip]
	cmp	QWORD PTR -432[rbp], rax
	jne	.L178
	cmp	DWORD PTR -496[rbp], -1
	je	.L178
	mov	eax, DWORD PTR -136[rbp]
	sub	eax, DWORD PTR -496[rbp]
	pxor	xmm4, xmm4
	cvtsi2sd	xmm4, eax
	movq	rax, xmm4
	mov	edi, 0
	movq	xmm0, rax
	call	slider_update
	mov	DWORD PTR -496[rbp], -1
	jmp	.L194
.L178:
	mov	rax, QWORD PTR lt_win[rip]
	cmp	QWORD PTR -432[rbp], rax
	jne	.L180
	mov	DWORD PTR lt_state[rip], 0
	mov	edx, DWORD PTR arrow_relief[rip]
	mov	eax, DWORD PTR lt_state[rip]
	mov	ecx, edx
	xor	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR lt_win[rip]
	mov	r9d, ecx
	mov	r8d, 3
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	paint_arrow
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	jmp	.L194
.L180:
	mov	rax, QWORD PTR rt_win[rip]
	cmp	QWORD PTR -432[rbp], rax
	jne	.L194
	mov	DWORD PTR rt_state[rip], 0
	mov	edx, DWORD PTR arrow_relief[rip]
	mov	eax, DWORD PTR rt_state[rip]
	mov	ecx, edx
	xor	ecx, eax
	mov	eax, DWORD PTR inner_thick[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR rt_win[rip]
	mov	r9d, ecx
	mov	r8d, 1
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	paint_arrow
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	jmp	.L194
.L189:
	nop
	jmp	.L181
.L190:
	nop
	jmp	.L181
.L191:
	nop
	jmp	.L181
.L192:
	nop
	jmp	.L181
.L193:
	nop
	jmp	.L181
.L194:
	nop
	jmp	.L181
	.cfi_endproc
.LFE15:
	.size	mainloop, .-mainloop
	.section	.rodata
	.align 16
.LC2:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC3:
	.long	1223206686
	.long	1072693038
	.align 8
.LC4:
	.long	0
	.long	1073741824
	.align 8
.LC5:
	.long	0
	.long	1079574528
	.align 8
.LC7:
	.long	0
	.long	1089470432
	.align 8
.LC12:
	.long	0
	.long	1072693248
	.align 8
.LC13:
	.long	0
	.long	-1074790400
	.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	"936551.c"
	.text
	.global	length
	.data
	.align	2
	.type	length, %object
	.size	length, 4
length:
	.word	300
	.global	thumb
	.align	2
	.type	thumb, %object
	.size	thumb, 4
thumb:
	.word	100
	.global	thickness
	.align	2
	.type	thickness, %object
	.size	thickness, 4
thickness:
	.word	20
	.global	padding
	.align	2
	.type	padding, %object
	.size	padding, 4
padding:
	.word	5
	.global	depth
	.align	2
	.type	depth, %object
	.size	depth, 4
depth:
	.word	2
	.global	relief_frac
	.align	3
	.type	relief_frac, %object
	.size	relief_frac, 8
relief_frac:
	.word	2576980378
	.word	1069128089
	.global	trough
	.align	2
	.type	trough, %object
	.size	trough, 12
trough:
	.word	0
	.short	-23645
	.short	-23645
	.short	-19533
	.byte	0
	.byte	0
	.global	bg
	.align	2
	.type	bg, %object
	.size	bg, 12
bg:
	.word	0
	.short	-14650
	.short	-14650
	.short	-10538
	.byte	0
	.byte	0
	.global	fill
	.align	2
	.type	fill, %object
	.size	fill, 12
fill:
	.word	0
	.short	-18762
	.short	12336
	.short	24672
	.byte	0
	.byte	0
	.global	shade
	.align	3
	.type	shade, %object
	.size	shade, 8
shade:
	.word	3071760610
	.word	1071644881
	.global	prog_relief
	.align	2
	.type	prog_relief, %object
	.size	prog_relief, 4
prog_relief:
	.word	1
	.global	sbar_relief
	.align	2
	.type	sbar_relief, %object
	.size	sbar_relief, 4
sbar_relief:
	.word	1
	.global	slider_relief
	.bss
	.align	2
	.type	slider_relief, %object
	.size	slider_relief, 4
slider_relief:
	.space	4
	.global	arrow_relief
	.align	2
	.type	arrow_relief, %object
	.size	arrow_relief, 4
arrow_relief:
	.space	4
	.global	dimple_relief
	.data
	.align	2
	.type	dimple_relief, %object
	.size	dimple_relief, 4
dimple_relief:
	.word	1
	.global	arrow_change
	.align	2
	.type	arrow_change, %object
	.size	arrow_change, 4
arrow_change:
	.word	1
	.global	dimple
	.align	3
	.type	dimple, %object
	.size	dimple, 8
dimple:
	.word	2707547383
	.word	1070806230
	.global	font_frac
	.align	3
	.type	font_frac, %object
	.size	font_frac, 8
font_frac:
	.word	3930754069
	.word	1071854596
	.global	fontname
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-urw-nimbus sans l-regular-r-normal--%d-*-*-*-*-*-i"
	.ascii	"so8859-1\000"
	.data
	.align	2
	.type	fontname, %object
	.size	fontname, 4
fontname:
	.word	.LC0
	.global	cursor_id
	.align	2
	.type	cursor_id, %object
	.size	cursor_id, 4
cursor_id:
	.word	132
	.global	initial_delay
	.align	2
	.type	initial_delay, %object
	.size	initial_delay, 4
initial_delay:
	.word	150000
	.global	delay
	.align	2
	.type	delay, %object
	.size	delay, 4
delay:
	.word	50000
	.global	accel
	.align	3
	.type	accel, %object
	.size	accel, 8
accel:
	.word	0
	.word	1071644672
	.global	smooth_progress
	.bss
	.align	2
	.type	smooth_progress, %object
	.size	smooth_progress, 4
smooth_progress:
	.space	4
	.global	text_shading_style
	.data
	.align	2
	.type	text_shading_style, %object
	.size	text_shading_style, 4
text_shading_style:
	.word	1
	.comm	main_win,4,4
	.comm	prog_win,4,4
	.comm	sbar_win,4,4
	.comm	slider_win,4,4
	.comm	lt_win,4,4
	.comm	rt_win,4,4
	.comm	trough_gc,4,4
	.comm	bg_gc,4,4
	.comm	fill_gc,4,4
	.comm	hilite_gc,4,4
	.comm	shadow_gc,4,4
	.global	frac
	.bss
	.align	3
	.type	frac, %object
	.size	frac, 8
frac:
	.space	8
	.comm	dpy,4,4
	.comm	cmap,4,4
	.comm	shadow,12,4
	.comm	hilite,12,4
	.comm	delete_atom,4,4
	.comm	fontsize,4,4
	.comm	font,4,4
	.comm	buf,256,4
	.comm	total_wd,4,4
	.comm	base_wd,4,4
	.comm	total_ht,4,4
	.comm	base_ht,4,4
	.comm	inner_thick,4,4
	.comm	slider_pos,4,4
	.comm	pos_min,4,4
	.comm	pos_max,4,4
	.comm	lt_state,4,4
	.comm	rt_state,4,4
	.comm	text_wd,4,4
	.comm	text_x,4,4
	.comm	text_baseline,4,4
	.comm	prog_pixmap,4,4
	.comm	font_height,4,4
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpge
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.text
	.align	2
	.global	away
	.syntax unified
	.arm
	.fpu softvfp
	.type	away, %function
away:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	mov	r6, #1
	b	.L4
.L15:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	mvn	r6, #0
	b	.L4
.L16:
	mov	r6, #0
.L4:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	sub	r5, fp, #28
	ldmia	r5, {r4-r5}
	b	.L10
.L17:
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	eor	r5, r3, #-2147483648
.L10:
	ldr	r2, .L18
	ldr	r3, .L18+4
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mul	r3, r6, r3
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L19:
	.align	2
.L18:
	.word	1223206686
	.word	1072693038
	.size	away, .-away
	.global	__aeabi_idivmod
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	draw_slope_poly
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_slope_poly, %function
draw_slope_poly:
	@ args = 8, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #216
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	str	r2, [fp, #-176]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-184]
	ldr	r3, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, [fp, #-172]
	cmp	r3, #1
	ble	.L21
	ldr	r3, [fp, #-172]
	eor	r1, r3, #3
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-184]
	str	r3, [sp]
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-176]
	ldr	r0, [fp, #-168]
	bl	draw_slope_poly
	ldr	r3, [fp, #-172]
	and	r3, r3, #1
	str	r3, [fp, #-172]
	ldr	r2, [fp, #-176]
	lsr	r3, r2, #31
	add	r3, r3, r2
	asr	r3, r3, #1
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-180]
.L21:
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L78+4
	ldr	r3, [r3]
	str	r3, [fp, #-160]
	ldr	r3, .L78+8
	ldr	r3, [r3]
	str	r3, [fp, #-156]
	b	.L23
.L22:
	ldr	r3, .L78+8
	ldr	r3, [r3]
	str	r3, [fp, #-160]
	ldr	r3, .L78+4
	ldr	r3, [r3]
	str	r3, [fp, #-156]
.L23:
	ldr	r3, [fp, #8]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #8]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L24
.L52:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	ldr	r1, [fp, #8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-152]
	add	r3, r3, #2
	ldr	r1, [fp, #8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-152]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3, #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-152]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3, #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-128]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-128]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3, #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3, #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	ldr	r1, [fp, #-160]
	b	.L27
.L69:
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	ldr	r1, [fp, #-156]
	b	.L27
.L70:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L71
	ldr	r1, [fp, #-160]
	b	.L27
.L71:
	ldr	r1, [fp, #-156]
.L27:
	ldr	r3, [fp, #-152]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	str	r1, [r3]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-120]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-200]
	sub	r4, fp, #204
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-124]
	str	r4, [fp, #-120]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-112]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-208]
	sub	r4, fp, #212
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-116]
	str	r4, [fp, #-112]
	b	.L36
.L72:
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-104]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-216]
	sub	r4, fp, #220
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-108]
	str	r4, [fp, #-104]
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-96]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-224]
	sub	r4, fp, #228
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
.L36:
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	hypot
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	hypot
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L73
	sub	r9, fp, #76
	ldmia	r9, {r8-r9}
	b	.L39
.L73:
	ldr	r8, [fp, #-76]
	ldr	r3, [fp, #-72]
	eor	r9, r3, #-2147483648
.L39:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	sub	r4, fp, #68
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-196]
	str	r4, [fp, #-192]
	b	.L42
.L74:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-64]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-192]
.L42:
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	sub	r7, fp, #76
	ldmia	r7, {r6-r7}
	b	.L48
.L76:
	ldr	r6, [fp, #-76]
	ldr	r3, [fp, #-72]
	eor	r7, r3, #-2147483648
	b	.L48
.L75:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L77
	sub	r7, fp, #68
	ldmia	r7, {r6-r7}
	b	.L48
.L77:
	ldr	r6, [fp, #-68]
	ldr	r3, [fp, #-64]
	eor	r7, r3, #-2147483648
.L48:
	str	r6, [fp, #-60]
	str	r7, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r4, r3, #16
	ldr	r3, [fp, #-176]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	away
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r4, r3
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-144]
	add	r2, r3, r2
	lsl	r3, r1, #16
	asr	r3, r3, #16
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-184]
	add	r3, r3, r2
	ldrsh	r3, [r3, #2]
	lsl	r3, r3, #16
	lsr	r4, r3, #16
	ldr	r3, [fp, #-176]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	away
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r4, r3
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r3, [fp, #-132]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-144]
	add	r2, r3, r2
	lsl	r3, r1, #16
	asr	r3, r3, #16
	strh	r3, [r2, #2]	@ movhi
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L24:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L52
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L78+12
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, [fp, #8]
	str	r3, [sp]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-168]
	bl	XFillPolygon
.L53:
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L54
.L55:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	ldr	r1, [fp, #8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r2, r2, r3
	sub	r3, fp, #48
	mov	r1, r2
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r2, r2, r3
	sub	r3, fp, #44
	mov	r1, r2
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r2, r2, r3
	sub	r3, fp, #40
	mov	r1, r2
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r2, r2, r3
	sub	r3, fp, #36
	mov	r1, r2
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L78+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #48
	mov	r1, #0
	str	r1, [sp, #8]
	mov	r1, #2
	str	r1, [sp, #4]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-168]
	bl	XFillPolygon
	ldr	r3, .L78+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r4, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	mov	ip, r3
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	lr, r3
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	str	r3, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	mov	r3, r4
	mov	r2, r1
	ldr	r1, [fp, #-168]
	bl	XDrawLine
	ldr	r3, .L78+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r4, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	mov	ip, r3
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	lr, r3
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	str	r3, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	mov	r3, r4
	mov	r2, r1
	ldr	r1, [fp, #-168]
	bl	XDrawLine
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L54:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L55
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L56
.L58:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	ldr	r1, [fp, #8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-148]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L57
	ldr	r3, .L78+12
	ldr	r0, [r3]
	ldr	r3, .L78+16
	ldr	r1, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r4, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	mov	ip, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	lr, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	str	r3, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	mov	r3, r4
	mov	r2, r1
	ldr	r1, [fp, #-168]
	bl	XDrawLine
.L57:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L56:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L58
	ldr	r0, [fp, #-148]
	bl	free
	ldr	r0, [fp, #-144]
	bl	free
	nop
	ldr	r3, .L78
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC1
	.word	shadow_gc
	.word	hilite_gc
	.word	dpy
	.word	bg_gc
	.size	draw_slope_poly, .-draw_slope_poly
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	draw_slope
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_slope, %function
draw_slope:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-24]	@ movhi
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-20]	@ movhi
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-18]	@ movhi
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-16]	@ movhi
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, .L82+4
	ldr	r2, [r3]
	mov	r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-32]
	bl	draw_slope_poly
	nop
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC2
	.word	depth
	.size	draw_slope, .-draw_slope
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	paint_arrow
	.syntax unified
	.arm
	.fpu softvfp
	.type	paint_arrow, %function
paint_arrow:
	@ args = 8, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-60]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-60]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-36]	@ movhi
	ldr	r3, [fp, #4]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-34]	@ movhi
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #4]
	and	r3, r3, #2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	eor	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-32]	@ movhi
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-30]	@ movhi
	b	.L86
.L85:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-32]	@ movhi
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-30]	@ movhi
.L86:
	ldr	r3, [fp, #4]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L87
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	b	.L88
.L87:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
.L88:
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L89
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
.L89:
	ldr	r3, .L91+4
	ldr	r2, [r3]
	ldr	r3, .L91+8
	ldr	r1, [r3]
	mov	r3, #3
	str	r3, [sp, #4]
	sub	r3, fp, #36
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-48]
	bl	draw_slope_poly
	nop
	ldr	r3, .L91
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L90
	bl	__stack_chk_fail
.L90:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC3
	.word	depth
	.word	bg_gc
	.size	paint_arrow, .-paint_arrow
	.align	2
	.global	paint_slope_circle
	.syntax unified
	.arm
	.fpu softvfp
	.type	paint_slope_circle, %function
paint_slope_circle:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #8]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L94
	ldr	r3, .L97
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, .L97+4
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L95
.L94:
	ldr	r3, .L97+4
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, .L97
	ldr	r3, [r3]
	str	r3, [fp, #-32]
.L95:
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, .L97+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mov	ip, #23040
	str	ip, [sp, #16]
	mov	ip, #0
	str	ip, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	mov	r2, r1
	ldr	r1, [fp, #-40]
	bl	XFillArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #2240
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	bl	XFillArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #2240
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	bl	XDrawArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #2240
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	bl	XDrawArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #13760
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-40]
	bl	XFillArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #13760
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-40]
	bl	XDrawArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #13760
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-40]
	bl	XDrawArc
	ldr	r3, [fp, #8]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L96
	ldr	r3, [fp, #4]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #4]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #2240
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-40]
	bl	XFillArc
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r1, #10240
	str	r1, [sp, #16]
	mov	r1, #13760
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	bl	XFillArc
.L96:
	ldr	r3, .L97+8
	ldr	r0, [r3]
	ldr	r3, .L97+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	mov	ip, #23040
	str	ip, [sp, #16]
	mov	ip, #0
	str	ip, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	mov	r2, r1
	ldr	r1, [fp, #-40]
	bl	XFillArc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L98:
	.align	2
.L97:
	.word	shadow_gc
	.word	hilite_gc
	.word	dpy
	.word	bg_gc
	.size	paint_slope_circle, .-paint_slope_circle
	.align	2
	.global	paint_shaded_text
	.syntax unified
	.arm
	.fpu softvfp
	.type	paint_shaded_text, %function
paint_shaded_text:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L102
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L102+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L102+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L100
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #4]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-28]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	bl	XDrawText
.L100:
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #4]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-28]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	bl	XDrawText
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	ldr	r3, [fp, #4]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	bl	XDrawText
	ldr	r3, .L102+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L101
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r1, r3, #1
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #4]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-28]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	bl	XDrawText
.L101:
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #4]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-28]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	bl	XDrawText
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	ldr	r3, [fp, #4]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	bl	XDrawText
	ldr	r3, .L102+12
	ldr	r0, [r3]
	ldr	r3, .L102+16
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	bl	XDrawText
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L103:
	.align	2
.L102:
	.word	shadow_gc
	.word	hilite_gc
	.word	text_shading_style
	.word	dpy
	.word	bg_gc
	.size	paint_shaded_text, .-paint_shaded_text
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%d%%\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prog_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	prog_update, %function
prog_update:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #168
	str	r0, [fp, #-148]
	str	r1, [fp, #-144]
	str	r2, [fp, #-152]
	ldr	r3, .L127
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L127+4
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r1, .L127+4
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L127+4
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L127+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	sub	r3, fp, #24
	ldr	r1, .L127+12
	mov	r0, r3
	bl	sprintf
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L105
.L106:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #4
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-64]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #4
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-72]
	sub	r2, fp, #24
	ldr	r3, [fp, #-132]
	add	r2, r2, r3
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #4
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-76]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #4
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-68]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L105:
	sub	r2, fp, #24
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L106
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L107
	ldr	r3, .L127+16
	ldr	r3, [r3]
	ldr	r2, .L127+20
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r3, r2
	str	r3, [fp, #-64]
.L107:
	ldr	r3, .L127+24
	ldr	r2, [r3]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L127+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r3, .L127+28
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	beq	.L108
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-140]
	ldr	r3, .L127+24
	ldr	r2, [r3]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r3, .L127+28
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-116]
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	ble	.L109
	sub	r3, fp, #140
	str	r3, [fp, #-120]
	sub	r3, fp, #136
	str	r3, [fp, #-124]
	b	.L110
.L109:
	sub	r3, fp, #136
	str	r3, [fp, #-120]
	sub	r3, fp, #140
	str	r3, [fp, #-124]
.L110:
	ldr	r3, [fp, #-124]
	ldr	r2, [r3]
	ldr	r3, .L127+32
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L111
	ldr	r3, [fp, #-124]
	ldr	r2, [r3]
	ldr	r3, .L127+32
	ldr	r1, [r3]
	ldr	r3, .L127+36
	ldr	r3, [r3]
	add	r3, r1, r3
	cmp	r2, r3
	bge	.L111
	ldr	r3, .L127+32
	ldr	r2, [r3]
	ldr	r3, .L127+36
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L111:
	ldr	r3, [fp, #-120]
	ldr	r2, [r3]
	ldr	r3, .L127+32
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L112
	ldr	r3, [fp, #-120]
	ldr	r2, [r3]
	ldr	r3, .L127+32
	ldr	r1, [r3]
	ldr	r3, .L127+36
	ldr	r3, [r3]
	add	r3, r1, r3
	cmp	r2, r3
	bge	.L112
	ldr	r3, .L127+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L112:
	ldr	r3, [fp, #-116]
	cmp	r3, #2
	beq	.L121
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	ble	.L114
	ldr	r3, .L127+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-128]
	b	.L116
.L117:
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+48
	ldr	ip, [r3]
	ldr	r3, .L127+52
	ldr	lr, [r3]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	ldr	r2, .L127+56
	ldr	r1, [r2]
	ldr	r2, .L127+28
	ldr	r2, [r2]
	sub	r2, r1, r2
	sub	r2, r2, #1
	str	r2, [sp, #8]
	ldr	r2, [fp, #-128]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-128]
	mov	r2, lr
	mov	r1, ip
	bl	XDrawLine
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L116:
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	blt	.L117
	b	.L121
.L115:
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+48
	ldr	ip, [r3]
	ldr	r3, .L127+52
	ldr	lr, [r3]
	ldr	r4, [fp, #-136]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	ldr	r1, [fp, #-140]
	ldr	r2, [fp, #-136]
	sub	r2, r1, r2
	mov	r1, r2
	ldr	r2, .L127+60
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r1, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	XFillRectangle
	b	.L121
.L114:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bge	.L121
	ldr	r3, .L127+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L118
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
	b	.L119
.L120:
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+48
	ldr	ip, [r3]
	ldr	r3, .L127+64
	ldr	lr, [r3]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	ldr	r2, .L127+56
	ldr	r1, [r2]
	ldr	r2, .L127+28
	ldr	r2, [r2]
	sub	r2, r1, r2
	sub	r2, r2, #1
	str	r2, [sp, #8]
	ldr	r2, [fp, #-128]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-128]
	mov	r2, lr
	mov	r1, ip
	bl	XDrawLine
	ldr	r3, [fp, #-128]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
.L119:
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	bge	.L120
	b	.L121
.L118:
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+48
	ldr	ip, [r3]
	ldr	r3, .L127+64
	ldr	lr, [r3]
	ldr	r4, [fp, #-140]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	ldr	r1, [fp, #-136]
	ldr	r2, [fp, #-140]
	sub	r2, r1, r2
	mov	r1, r2
	ldr	r2, .L127+60
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r1, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	XFillRectangle
	b	.L121
.L108:
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+48
	ldr	ip, [r3]
	ldr	r3, .L127+52
	ldr	lr, [r3]
	ldr	r3, .L127+28
	ldr	r4, [r3]
	ldr	r3, .L127+28
	ldr	r3, [r3]
	ldr	r2, .L127+28
	ldr	r2, [r2]
	ldr	r1, [fp, #-112]
	sub	r2, r1, r2
	mov	r1, r2
	ldr	r2, .L127+60
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r1, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	bl	XFillRectangle
.L121:
	ldr	r3, .L127+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L122
	ldr	r3, .L127+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	sub	r2, r2, r3
	ldr	r3, .L127+36
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	b	.L123
.L122:
	mov	r3, #0
.L123:
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	ble	.L124
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+68
	ldr	r1, [r3]
	ldr	r3, .L127+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	ldr	ip, .L127+60
	ldr	ip, [ip]
	str	ip, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	bl	XFillRectangle
.L124:
	ldr	r3, .L127+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	bge	.L125
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+68
	ldr	r1, [r3]
	ldr	r3, .L127+64
	ldr	ip, [r3]
	ldr	r3, .L127+36
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L127+60
	ldr	r3, [r3]
	str	r3, [sp, #8]
	str	r2, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-108]
	mov	r2, ip
	bl	XFillRectangle
.L125:
	ldr	r3, .L127+72
	ldr	r3, [r3]
	sub	r1, fp, #24
	ldr	r2, [fp, #-132]
	mov	r0, r3
	bl	XTextWidth
	str	r0, [fp, #-104]
	ldr	r3, .L127+68
	ldr	r0, [r3]
	ldr	r3, .L127+36
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r1, r3, #1
	ldr	r3, .L127+76
	ldr	r2, [r3]
	sub	ip, fp, #88
	ldr	r3, [fp, #-132]
	str	r3, [sp]
	mov	r3, ip
	bl	paint_shaded_text
	ldr	r3, .L127+44
	ldr	r0, [r3]
	ldr	r3, .L127+68
	ldr	r1, [r3]
	ldr	r3, .L127+48
	ldr	ip, [r3]
	ldr	r3, .L127+80
	ldr	lr, [r3]
	ldr	r3, .L127+36
	ldr	r3, [r3]
	mov	r4, r3
	ldr	r3, .L127+60
	ldr	r3, [r3]
	mov	r5, r3
	ldr	r3, .L127+32
	ldr	r3, [r3]
	ldr	r2, .L127+28
	ldr	r2, [r2]
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	str	r5, [sp, #12]
	str	r4, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	XCopyArea
	nop
	ldr	r3, .L127
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L126
	bl	__stack_chk_fail
.L126:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L128:
	.align	2
.L127:
	.word	.LC5
	.word	frac
	.word	1079574528
	.word	.LC4
	.word	font_height
	.word	1717986919
	.word	length
	.word	depth
	.word	text_x
	.word	text_wd
	.word	smooth_progress
	.word	dpy
	.word	prog_win
	.word	fill_gc
	.word	thickness
	.word	inner_thick
	.word	trough_gc
	.word	prog_pixmap
	.word	font
	.word	text_baseline
	.word	bg_gc
	.size	prog_update, .-prog_update
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	slider_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	slider_update, %function
slider_update:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	str	r2, [fp, #-64]
	ldr	r3, .L142
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L142+4
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L142+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L140
	ldr	r3, .L142+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L132
.L140:
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L141
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L132
.L141:
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
.L132:
	ldr	r2, .L142+4
	str	r3, [r2]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L136
	ldr	r3, .L142+16
	ldr	r0, [r3]
	ldr	r3, .L142+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	mov	r2, #0
	str	r2, [sp, #16]
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	bl	XWarpPointer
.L136:
	ldr	r3, .L142+4
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, .L142+16
	ldr	r0, [r3]
	ldr	r3, .L142+20
	ldr	r1, [r3]
	sub	r3, fp, #44
	mov	r2, #1
	bl	XConfigureWindow
	ldr	r3, .L142+4
	ldr	r2, [r3]
	ldr	r3, .L142+8
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L142+12
	ldr	r2, [r3]
	ldr	r3, .L142+8
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #1
	bl	prog_update
	nop
	ldr	r3, .L142
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L137
	bl	__stack_chk_fail
.L137:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L143:
	.align	2
.L142:
	.word	.LC6
	.word	slider_pos
	.word	pos_min
	.word	pos_max
	.word	dpy
	.word	slider_win
	.size	slider_update, .-slider_update
	.global	__aeabi_ui2d
	.global	__aeabi_d2uiz
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Raw X Widgets (C Xlib)\000"
	.align	2
.LC8:
	.ascii	"widgets\000"
	.align	2
.LC9:
	.ascii	"WM_DELETE_WINDOW\000"
	.align	2
.LC10:
	.ascii	"100%\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #284
	str	r0, [fp, #-256]
	str	r1, [fp, #-260]
	ldr	r3, .L147
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	XOpenDisplay
	mov	r3, r0
	ldr	r2, .L147+4
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #48]
	ldr	r2, .L147+8
	str	r3, [r2]
	ldr	r3, .L147+12
	ldrh	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_ui2d
	ldr	r3, .L147+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L147+20
	strh	r3, [r2, #4]	@ movhi
	ldr	r3, .L147+12
	ldrh	r3, [r3, #6]
	mov	r0, r3
	bl	__aeabi_ui2d
	ldr	r3, .L147+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L147+20
	strh	r3, [r2, #6]	@ movhi
	ldr	r3, .L147+12
	ldrh	r3, [r3, #8]
	mov	r0, r3
	bl	__aeabi_ui2d
	ldr	r3, .L147+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L147+20
	strh	r3, [r2, #8]	@ movhi
	ldr	r3, .L147+12
	ldrh	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L147+24
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L147+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L147+28
	strh	r3, [r2, #4]	@ movhi
	ldr	r3, .L147+12
	ldrh	r3, [r3, #6]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L147+24
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L147+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L147+28
	strh	r3, [r2, #6]	@ movhi
	ldr	r3, .L147+12
	ldrh	r3, [r3, #8]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L147+24
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L147+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L147+28
	strh	r3, [r2, #8]	@ movhi
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+8
	ldr	r1, [r2]
	ldr	r2, .L147+12
	mov	r0, r3
	bl	XAllocColor
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+8
	ldr	r1, [r2]
	ldr	r2, .L147+32
	mov	r0, r3
	bl	XAllocColor
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+8
	ldr	r1, [r2]
	ldr	r2, .L147+20
	mov	r0, r3
	bl	XAllocColor
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+8
	ldr	r1, [r2]
	ldr	r2, .L147+28
	mov	r0, r3
	bl	XAllocColor
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+8
	ldr	r1, [r2]
	ldr	r2, .L147+36
	mov	r0, r3
	bl	XAllocColor
	ldr	r3, .L147+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L147+44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L147+48
	str	r3, [r2]
	ldr	r3, .L147+52
	ldr	r3, [r3]
	ldr	r2, .L147+48
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L147+56
	bl	sprintf
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r1, .L147+56
	mov	r0, r3
	bl	XLoadQueryFont
	mov	r3, r0
	ldr	r2, .L147+60
	str	r3, [r2]
	ldr	r3, .L147+64
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, .L147+68
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L147+72
	str	r3, [r2]
	ldr	r3, .L147+64
	ldr	r2, [r3]
	ldr	r3, .L147+76
	ldr	r3, [r3]
	add	r3, r2, r3
	add	r3, r3, #2
	lsl	r3, r3, #1
	ldr	r2, .L147+80
	str	r3, [r2]
	ldr	r3, .L147+64
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r3, .L147+40
	ldr	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldr	r2, .L147+84
	str	r3, [r2]
	ldr	r3, .L147+64
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r3, .L147+76
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #3
	ldr	r2, .L147+88
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+92
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XCreateFontCursor
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r3, .L147+12
	ldr	r3, [r3]
	str	r3, [fp, #-164]
	mov	r3, #131072
	str	r3, [fp, #-128]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #8]
	ldr	r3, .L147+72
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L147+84
	ldr	r3, [r3]
	mov	ip, r3
	sub	r3, fp, #168
	str	r3, [sp, #28]
	ldr	r3, .L147+96
	str	r3, [sp, #24]
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	ip, [sp, #4]
	str	r2, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	XCreateWindow
	mov	r3, r0
	ldr	r2, .L147+100
	str	r3, [r2]
	ldr	r3, .L147+104
	str	r3, [fp, #-252]
	ldr	r3, .L147+108
	str	r3, [fp, #-248]
	ldr	r3, .L147+80
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-88]
	ldr	r3, .L147+88
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-84]
	mov	r3, #3
	str	r3, [fp, #-64]
	mov	r3, #2
	str	r3, [fp, #-60]
	mov	r3, #1000
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-52]
	mov	r3, #408
	str	r3, [fp, #-108]
	mov	r3, #1
	str	r3, [fp, #-200]
	mov	r3, #1
	str	r3, [fp, #-196]
	mov	r3, #3
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-260]
	ldr	r3, [r3]
	str	r3, [fp, #-244]
	ldr	r3, .L147+108
	str	r3, [fp, #-240]
	sub	r2, fp, #236
	sub	r3, fp, #252
	mov	r1, #1
	mov	r0, r3
	bl	XStringListToTextProperty
	sub	r2, fp, #220
	sub	r3, fp, #248
	mov	r1, #1
	mov	r0, r3
	bl	XStringListToTextProperty
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	sub	ip, fp, #220
	sub	r2, fp, #236
	sub	r3, fp, #244
	str	r3, [sp, #16]
	sub	r3, fp, #204
	str	r3, [sp, #12]
	sub	r3, fp, #108
	str	r3, [sp, #8]
	ldr	r3, [fp, #-256]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-260]
	str	r3, [sp]
	mov	r3, ip
	bl	XSetWMProperties
	ldr	r3, .L147+4
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L147+112
	mov	r0, r3
	bl	XInternAtom
	mov	r3, r0
	ldr	r2, .L147+116
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	mov	r3, #1
	ldr	r2, .L147+116
	bl	XSetWMProtocols
	ldr	r3, .L147+32
	ldr	r3, [r3]
	str	r3, [fp, #-164]
	mov	r3, #32768
	str	r3, [fp, #-128]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	ldr	r3, .L147+64
	ldr	r2, [r3]
	ldr	r3, .L147+64
	ldr	ip, [r3]
	ldr	r3, .L147+68
	ldr	r3, [r3]
	mov	lr, r3
	ldr	r3, .L147+40
	ldr	r3, [r3]
	mov	r4, r3
	sub	r3, fp, #168
	str	r3, [sp, #28]
	ldr	r3, .L147+120
	str	r3, [sp, #24]
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	str	lr, [sp]
	mov	r3, ip
	bl	XCreateWindow
	mov	r3, r0
	ldr	r2, .L147+124
	str	r3, [r2]
	ldr	r3, .L147+32
	ldr	r3, [r3]
	str	r3, [fp, #-164]
	mov	r3, #32768
	str	r3, [fp, #-128]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	ldr	r3, .L147+64
	ldr	ip, [r3]
	ldr	r3, .L147+64
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, .L147+40
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L147+68
	ldr	r3, [r3]
	mov	lr, r3
	ldr	r3, .L147+40
	ldr	r3, [r3]
	mov	r4, r3
	sub	r3, fp, #168
	str	r3, [sp, #28]
	ldr	r3, .L147+120
	str	r3, [sp, #24]
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	str	lr, [sp]
	mov	r3, r2
	mov	r2, ip
	bl	XCreateWindow
	mov	r3, r0
	ldr	r2, .L147+128
	str	r3, [r2]
	ldr	r3, .L147+12
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	sub	r3, fp, #108
	mov	r2, #4
	bl	XCreateGC
	mov	r3, r0
	ldr	r2, .L147+132
	str	r3, [r2]
	ldr	r3, .L147+20
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	sub	r3, fp, #108
	mov	r2, #4
	bl	XCreateGC
	mov	r3, r0
	ldr	r2, .L147+136
	str	r3, [r2]
	ldr	r3, .L147+28
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	sub	r3, fp, #108
	mov	r2, #4
	bl	XCreateGC
	mov	r3, r0
	ldr	r2, .L147+140
	str	r3, [r2]
	ldr	r3, .L147+40
	ldr	r2, [r3]
	ldr	r3, .L147+76
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, .L147+144
	str	r3, [r2]
	ldr	r3, .L147+76
	ldr	r3, [r3]
	ldr	r2, .L147+148
	str	r3, [r2]
	ldr	r3, .L147+76
	ldr	r3, [r3]
	ldr	r2, .L147+152
	str	r3, [r2]
	ldr	r3, .L147+68
	ldr	r2, [r3]
	ldr	r3, .L147+156
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L147+76
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L147+144
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, .L147+160
	str	r3, [r2]
	ldr	r3, .L147+12
	ldr	r3, [r3]
	str	r3, [fp, #-164]
	ldr	r3, .L147+164
	str	r3, [fp, #-128]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+128
	ldr	r1, [r3]
	ldr	r3, .L147+148
	ldr	ip, [r3]
	ldr	r3, .L147+76
	ldr	lr, [r3]
	ldr	r3, .L147+144
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, .L147+156
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L147+144
	ldr	r3, [r3]
	mov	r4, r3
	sub	r3, fp, #168
	str	r3, [sp, #28]
	ldr	r3, .L147+120
	str	r3, [sp, #24]
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	XCreateWindow
	mov	r3, r0
	ldr	r2, .L147+168
	str	r3, [r2]
	ldr	r3, .L147+32
	ldr	r3, [r3]
	str	r3, [fp, #-164]
	ldr	r3, .L147+172
	str	r3, [fp, #-128]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+168
	ldr	r1, [r3]
	ldr	r3, .L147+144
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L147+144
	ldr	r3, [r3]
	mov	ip, r3
	sub	r3, fp, #168
	str	r3, [sp, #28]
	ldr	r3, .L147+120
	str	r3, [sp, #24]
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	ip, [sp, #4]
	str	r2, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	XCreateWindow
	mov	r3, r0
	ldr	r2, .L147+176
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+168
	ldr	r1, [r3]
	ldr	r3, .L147+156
	ldr	r2, [r3]
	ldr	r3, .L147+144
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L147+144
	ldr	r3, [r3]
	mov	ip, r3
	ldr	r3, .L147+144
	ldr	r3, [r3]
	mov	lr, r3
	sub	r3, fp, #168
	str	r3, [sp, #28]
	ldr	r3, .L147+120
	str	r3, [sp, #24]
	mov	r3, #0
	str	r3, [sp, #20]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	mov	r3, #0
	bl	XCreateWindow
	mov	r3, r0
	ldr	r2, .L147+180
	str	r3, [r2]
	ldr	r3, .L147+184
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L147+184
	ldr	r3, [r3]
	ldr	r2, .L147+188
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+176
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+180
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+168
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	ldr	r3, .L147+60
	ldr	r3, [r3]
	mov	r2, #4
	ldr	r1, .L147+192
	mov	r0, r3
	bl	XTextWidth
	mov	r3, r0
	add	r3, r3, #6
	ldr	r2, .L147+196
	str	r3, [r2]
	ldr	r3, .L147+68
	ldr	r2, [r3]
	ldr	r3, .L147+196
	ldr	r3, [r3]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L147+200
	str	r2, [r3]
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r2, [r3, #72]
	ldr	r3, .L147+40
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r3, [r3, #76]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L147+76
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L147+204
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+124
	ldr	r1, [r3]
	ldr	r3, .L147+196
	ldr	r3, [r3]
	mov	lr, r3
	ldr	r3, .L147+144
	ldr	r3, [r3]
	mov	r4, r3
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r3, [r3, #132]
	mov	ip, r3
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #36]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	bl	XCreatePixmap
	mov	r3, r0
	ldr	r2, .L147+208
	str	r3, [r2]
	ldr	r3, .L147+32
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-48]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	sub	r3, fp, #108
	ldr	r2, .L147+212
	bl	XCreateGC
	mov	r3, r0
	ldr	r2, .L147+216
	str	r3, [r2]
	ldr	r3, .L147+36
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+100
	ldr	r1, [r3]
	sub	r3, fp, #108
	ldr	r2, .L147+212
	bl	XCreateGC
	mov	r3, r0
	ldr	r2, .L147+220
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+136
	ldr	r1, [r3]
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	XSetFont
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+140
	ldr	r1, [r3]
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	XSetFont
	ldr	r3, .L147+4
	ldr	r0, [r3]
	ldr	r3, .L147+132
	ldr	r1, [r3]
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	XSetFont
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r2, [r3, #72]
	ldr	r3, .L147+60
	ldr	r3, [r3]
	ldr	r3, [r3, #76]
	add	r3, r2, r3
	ldr	r2, .L147+224
	str	r3, [r2]
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+124
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+128
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	ldr	r3, .L147+4
	ldr	r3, [r3]
	ldr	r2, .L147+100
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	bl	mainloop
	mov	r3, #0
	ldr	r2, .L147
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L146
	bl	__stack_chk_fail
.L146:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L148:
	.align	2
.L147:
	.word	.LC11
	.word	dpy
	.word	cmap
	.word	bg
	.word	shade
	.word	shadow
	.word	1089470432
	.word	hilite
	.word	trough
	.word	fill
	.word	thickness
	.word	font_frac
	.word	fontsize
	.word	fontname
	.word	buf
	.word	font
	.word	padding
	.word	length
	.word	total_wd
	.word	depth
	.word	base_wd
	.word	total_ht
	.word	base_ht
	.word	cursor_id
	.word	18434
	.word	main_win
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	delete_atom
	.word	2050
	.word	prog_win
	.word	sbar_win
	.word	bg_gc
	.word	shadow_gc
	.word	hilite_gc
	.word	inner_thick
	.word	slider_pos
	.word	pos_min
	.word	thumb
	.word	pos_max
	.word	41092
	.word	slider_win
	.word	32780
	.word	lt_win
	.word	rt_win
	.word	rt_state
	.word	lt_state
	.word	.LC10
	.word	text_wd
	.word	text_x
	.word	text_baseline
	.word	prog_pixmap
	.word	16388
	.word	trough_gc
	.word	fill_gc
	.word	font_height
	.size	main, .-main
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mainloop
	.syntax unified
	.arm
	.fpu softvfp
	.type	mainloop, %function
mainloop:
	@ args = 0, pretend = 0, frame = 352
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #376
	ldr	r3, .L215
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-340]
	mov	r3, #0
	str	r3, [fp, #-336]
	ldr	r3, .L215+4
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-328]
	sub	r3, fp, #152
	str	r3, [fp, #-324]
	mov	r3, #0
	str	r3, [fp, #-332]
	b	.L150
.L151:
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-332]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-332]
	add	r3, r3, #1
	str	r3, [fp, #-332]
.L150:
	ldr	r3, [fp, #-332]
	cmp	r3, #31
	bls	.L151
	ldr	r3, [fp, #-328]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-328]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	str	r1, [r3, #-132]
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #0
	str	r3, [fp, #-288]
.L201:
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	beq	.L152
	ldr	r3, .L215+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	XFlush
	b	.L153
.L162:
	ldr	r3, [fp, #-328]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-328]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	str	r1, [r3, #-132]
	mov	r2, #1
	sub	r1, fp, #300
	ldmia	r1, {r0-r1}
	bl	slider_update
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #300
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L207
	mov	r0, #0
	ldr	r1, .L215+164
	b	.L156
.L207:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #300
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L208
	mov	r0, #0
	ldr	r1, .L215+8
	b	.L156
.L208:
	mov	r0, #0
	mov	r1, #0
.L156:
	ldr	r3, .L215+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #300
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-300]
	str	r3, [fp, #-296]
	ldr	r3, .L215+176
	ldr	r2, [r3]
	ldr	r3, .L215+16
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L160
	ldr	r3, .L215+176
	ldr	r2, [r3]
	ldr	r3, .L215+20
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L161
.L160:
	mov	r3, #0
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-288]
	str	r3, [fp, #-292]
	b	.L152
.L161:
	mov	r3, #0
	str	r3, [fp, #-292]
	ldr	r3, .L215+24
	ldr	r3, [r3]
	str	r3, [fp, #-288]
	ldr	r3, .L215+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	XFlush
.L153:
	ldr	r3, [fp, #-328]
	add	r0, r3, #1
	sub	r1, fp, #152
	sub	r3, fp, #292
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	cmp	r3, #0
	beq	.L162
.L152:
	ldr	r3, [fp, #-328]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-328]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, .L215+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	XFlush
	mov	r3, #0
	str	r3, [fp, #-284]
	mov	r3, #1000
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-328]
	add	r0, r3, #1
	sub	r1, fp, #152
	sub	r3, fp, #284
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	cmp	r3, #0
	bne	.L163
	ldr	r3, [fp, #-336]
	cmp	r3, #0
	beq	.L164
	mov	r3, #0
	str	r3, [fp, #-336]
	ldr	r3, .L215+28
	ldr	r2, [r3]
	ldr	r3, .L215+32
	ldr	r3, [r3]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	ldr	r2, .L215+28
	str	r3, [r2]
	ldr	r3, .L215+36
	ldr	r2, [r3]
	ldr	r3, .L215+40
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, .L215+44
	str	r3, [r2]
	ldr	r3, .L215+40
	ldr	r3, [r3]
	mov	r2, r3
	lsl	r3, r3, #2
	sub	r2, r2, r3
	ldr	r3, .L215+28
	ldr	r3, [r3]
	add	r3, r2, r3
	add	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L215+48
	str	r2, [r3]
	ldr	r3, .L215+52
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L165
	ldr	r3, .L215+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L215+52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L215+56
	str	r3, [r2]
.L165:
	ldr	r3, .L215+48
	ldr	r2, [r3]
	ldr	r3, .L215+56
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, .L215+196
	str	r3, [r2]
	ldr	r3, .L215+44
	ldr	r3, [r3]
	ldr	r2, .L215+60
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, .L215+64
	str	r3, [r2]
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+68
	ldr	r1, [r3]
	ldr	r3, .L215+44
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L215+48
	ldr	r3, [r3]
	bl	XResizeWindow
	ldr	r3, .L215+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L215+72
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L215+76
	str	r3, [r2]
	ldr	r3, .L215+4
	ldr	r3, [r3]
	ldr	r2, .L215+80
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XFreeFont
	ldr	r3, .L215+84
	ldr	r3, [r3]
	ldr	r2, .L215+76
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L215+88
	bl	sprintf
	ldr	r3, .L215+4
	ldr	r3, [r3]
	ldr	r1, .L215+88
	mov	r0, r3
	bl	XLoadQueryFont
	mov	r3, r0
	ldr	r2, .L215+80
	str	r3, [r2]
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+92
	ldr	r1, [r3]
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	XSetFont
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+96
	ldr	r1, [r3]
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	XSetFont
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+100
	ldr	r1, [r3]
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	XSetFont
	ldr	r3, .L215+80
	ldr	r3, [r3]
	mov	r2, #4
	ldr	r1, .L215+104
	mov	r0, r3
	bl	XTextWidth
	mov	r3, r0
	add	r3, r3, #6
	ldr	r2, .L215+108
	str	r3, [r2]
	ldr	r3, .L215+44
	ldr	r2, [r3]
	ldr	r3, .L215+108
	ldr	r3, [r3]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L215+112
	str	r2, [r3]
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r2, [r3, #72]
	ldr	r3, .L215+48
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r3, [r3, #76]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L215+56
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L215+116
	str	r3, [r2]
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r2, [r3, #72]
	ldr	r3, .L215+80
	ldr	r3, [r3]
	ldr	r3, [r3, #76]
	add	r3, r2, r3
	ldr	r2, .L215+120
	str	r3, [r2]
	ldr	r3, .L215+4
	ldr	r3, [r3]
	ldr	r2, .L215+124
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XFreePixmap
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+68
	ldr	r1, [r3]
	ldr	r3, .L215+108
	ldr	r3, [r3]
	mov	lr, r3
	ldr	r3, .L215+196
	ldr	r3, [r3]
	mov	r4, r3
	ldr	r3, .L215+4
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L215+4
	ldr	r3, [r3]
	ldr	r3, [r3, #132]
	mov	ip, r3
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #36]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	bl	XCreatePixmap
	mov	r3, r0
	ldr	r2, .L215+124
	str	r3, [r2]
	ldr	r3, .L215+40
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, .L215+48
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-272]
	ldr	r3, .L215+44
	ldr	r3, [r3]
	str	r3, [fp, #-268]
	ldr	r3, .L215+48
	ldr	r3, [r3]
	str	r3, [fp, #-264]
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+128
	ldr	r1, [r3]
	sub	r3, fp, #276
	mov	r2, #14
	bl	XConfigureWindow
	ldr	r3, .L215+56
	ldr	r3, [r3]
	ldr	r2, .L215+16
	str	r3, [r2]
	ldr	r3, .L215+44
	ldr	r2, [r3]
	ldr	r3, .L215+64
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L215+56
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, .L215+20
	str	r3, [r2]
	ldr	r3, .L215+20
	ldr	r2, [r3]
	ldr	r3, .L215+16
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L215+132
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r3, .L215+16
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L215+176
	str	r3, [r2]
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+180
	ldr	r1, [r3]
	ldr	r3, .L215+176
	ldr	ip, [r3]
	ldr	r3, .L215+56
	ldr	lr, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, .L215+64
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L215+196
	ldr	r3, [r3]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	XMoveResizeWindow
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+184
	ldr	r1, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L215+196
	ldr	r3, [r3]
	bl	XResizeWindow
	ldr	r3, .L215+64
	ldr	r2, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-276]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-268]
	ldr	r3, .L215+4
	ldr	r0, [r3]
	ldr	r3, .L215+192
	ldr	r1, [r3]
	sub	r3, fp, #276
	mov	r2, #13
	bl	XConfigureWindow
.L164:
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L167
	ldr	r3, .L215+68
	ldr	r0, [r3]
	ldr	r3, .L215+44
	ldr	r1, [r3]
	ldr	r3, .L215+48
	ldr	r3, [r3]
	ldr	r2, .L215+136
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	draw_slope
	ldr	r3, .L215+132
	ldmia	r3, {r0-r1}
	mov	r2, #0
	bl	prog_update
	mov	r3, #0
	str	r3, [fp, #-356]
.L167:
	ldr	r3, [fp, #-352]
	cmp	r3, #0
	beq	.L168
	ldr	r3, .L215+128
	ldr	r0, [r3]
	ldr	r3, .L215+44
	ldr	r1, [r3]
	ldr	r3, .L215+48
	ldr	r3, [r3]
	ldr	r2, .L215+140
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	draw_slope
	mov	r3, #0
	str	r3, [fp, #-352]
.L168:
	ldr	r3, [fp, #-348]
	cmp	r3, #0
	beq	.L169
	ldr	r3, .L215+180
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r1, [r3]
	ldr	r3, .L215+64
	ldr	ip, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	ldr	r2, .L215+144
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, #0
	bl	draw_slope
	ldr	r3, .L215+148
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L170
	ldr	r3, .L215+180
	ldr	r4, [r3]
	ldr	r3, .L215+64
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r5, r3
	ldr	r3, .L215+148
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #1073741824
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L215+196
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r5, r5, r3
	ldr	r3, .L215+148
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L215+164
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L215+196
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r6, r0
	ldr	r3, .L215+196
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L215+148
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r1, r0
	ldr	r3, .L215+56
	ldr	r3, [r3]
	ldr	r2, .L215+152
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	paint_slope_circle
.L170:
	mov	r3, #0
	str	r3, [fp, #-348]
.L169:
	ldr	r3, [fp, #-344]
	cmp	r3, #0
	beq	.L172
	ldr	r3, .L215+184
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L215+200
	ldr	r2, [r3]
	ldr	r3, .L215+188
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #3
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	paint_arrow
	mov	r3, #0
	str	r3, [fp, #-344]
.L172:
	ldr	r3, [fp, #-340]
	cmp	r3, #0
	beq	.L163
	ldr	r3, .L215+192
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L215+200
	ldr	r2, [r3]
	ldr	r3, .L215+204
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	paint_arrow
	mov	r3, #0
	str	r3, [fp, #-340]
.L163:
	ldr	r3, .L215+4
	ldr	r3, [r3]
	sub	r2, fp, #248
	mov	r1, r2
	mov	r0, r3
	bl	XNextEvent
	ldr	r3, [fp, #-248]
	sub	r3, r3, #4
	cmp	r3, #29
	ldrls	pc, [pc, r3, asl #2]
	b	.L201
.L175:
	.word	.L180
	.word	.L179
	.word	.L178
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L177
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L176
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L201
	.word	.L174
.L174:
	ldr	r3, [fp, #-220]
	ldr	r2, .L215+156
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L209
	mov	r0, #0
	bl	exit
.L176:
	ldr	r3, [fp, #-216]
	str	r3, [fp, #-320]
	ldr	r3, [fp, #-212]
	str	r3, [fp, #-316]
	ldr	r3, .L215+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	bne	.L182
	ldr	r3, .L215+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-316]
	cmp	r2, r3
	beq	.L210
.L182:
	ldr	r3, [fp, #-336]
	add	r3, r3, #1
	str	r3, [fp, #-336]
	ldr	r2, .L215+36
	ldr	r3, [fp, #-320]
	str	r3, [r2]
	ldr	r2, .L215+28
	ldr	r3, [fp, #-316]
	str	r3, [r2]
	b	.L210
.L177:
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-312]
	ldr	r3, .L215+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	bne	.L184
	ldr	r2, [fp, #-228]
	ldr	r3, .L215+56
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L185
	ldr	r2, [fp, #-224]
	ldr	r3, .L215+56
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L185
	ldr	r2, [fp, #-228]
	ldr	r3, [fp, #-220]
	add	r2, r2, r3
	ldr	r3, .L215+44
	ldr	r1, [r3]
	ldr	r3, .L215+56
	ldr	r3, [r3]
	sub	r3, r1, r3
	cmp	r2, r3
	bgt	.L185
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-216]
	add	r2, r2, r3
	ldr	r3, .L215+48
	ldr	r1, [r3]
	ldr	r3, .L215+56
	ldr	r3, [r3]
	sub	r3, r1, r3
	cmp	r2, r3
	ble	.L211
.L185:
	ldr	r3, [fp, #-352]
	add	r3, r3, #1
	str	r3, [fp, #-352]
	b	.L211
.L184:
	ldr	r3, .L215+68
	ldr	r3, [r3]
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	bne	.L187
	ldr	r3, [fp, #-356]
	add	r3, r3, #1
	str	r3, [fp, #-356]
	b	.L211
.L187:
	ldr	r3, .L215+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	bne	.L188
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
	b	.L211
.L188:
	ldr	r3, .L215+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	bne	.L189
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	str	r3, [fp, #-344]
	b	.L211
.L189:
	ldr	r3, .L215+192
	ldr	r3, [r3]
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	bne	.L211
	ldr	r3, [fp, #-340]
	add	r3, r3, #1
	str	r3, [fp, #-340]
	b	.L211
.L180:
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-304]
	ldr	r3, .L215+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-304]
	cmp	r2, r3
	bne	.L190
	ldr	r3, .L215+176
	ldr	r3, [r3]
	str	r3, [fp, #-364]
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-360]
	b	.L212
.L190:
	ldr	r3, .L215+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-304]
	cmp	r2, r3
	bne	.L192
	ldr	r2, [fp, #-212]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	add	r3, r2, r3
	cmp	r3, #0
	blt	.L193
	ldr	r2, [fp, #-212]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	add	r3, r2, r3
	lsl	r3, r3, #1
	b	.L194
.L193:
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-212]
	sub	r3, r2, r3
	lsl	r3, r3, #1
.L194:
	ldr	r2, [fp, #-216]
	cmp	r3, r2
	bgt	.L212
	ldr	r3, .L215+160
	ldr	r3, [r3]
	ldr	r2, .L215+188
	str	r3, [r2]
	mov	r2, #1
	mov	r0, #0
	ldr	r1, .L215+8
	bl	slider_update
	ldr	r3, .L215+184
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L215+200
	ldr	r2, [r3]
	ldr	r3, .L215+188
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #3
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	paint_arrow
	mov	r2, #0
	ldr	r3, .L215+8
	str	r2, [fp, #-300]
	str	r3, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-292]
	ldr	r3, .L215+168
	ldr	r3, [r3]
	str	r3, [fp, #-288]
	b	.L212
.L216:
	.align	2
.L215:
	.word	.LC12
	.word	dpy
	.word	-1074790400
	.word	accel
	.word	pos_min
	.word	pos_max
	.word	delay
	.word	total_ht
	.word	base_ht
	.word	total_wd
	.word	padding
	.word	length
	.word	thickness
	.word	relief_frac
	.word	depth
	.word	1431655766
	.word	thumb
	.word	prog_win
	.word	font_frac
	.word	fontsize
	.word	font
	.word	fontname
	.word	buf
	.word	bg_gc
	.word	hilite_gc
	.word	shadow_gc
	.word	.LC10
	.word	text_wd
	.word	text_x
	.word	text_baseline
	.word	font_height
	.word	prog_pixmap
	.word	sbar_win
	.word	frac
	.word	prog_relief
	.word	sbar_relief
	.word	slider_relief
	.word	dimple
	.word	dimple_relief
	.word	delete_atom
	.word	arrow_change
	.word	1072693248
	.word	initial_delay
	.word	dpy
	.word	slider_pos
	.word	slider_win
	.word	lt_win
	.word	lt_state
	.word	rt_win
	.word	inner_thick
	.word	arrow_relief
	.word	rt_state
.L192:
	ldr	r3, .L215+192
	ldr	r3, [r3]
	ldr	r2, [fp, #-304]
	cmp	r2, r3
	bne	.L212
	ldr	r2, [fp, #-212]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	add	r3, r2, r3
	cmp	r3, #0
	blt	.L195
	ldr	r2, [fp, #-212]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	add	r3, r2, r3
	lsl	r3, r3, #1
	b	.L196
.L195:
	ldr	r3, .L215+196
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-212]
	sub	r3, r2, r3
	lsl	r3, r3, #1
.L196:
	ldr	r2, .L215+196
	ldr	r1, [r2]
	ldr	r2, [fp, #-216]
	sub	r2, r1, r2
	cmp	r3, r2
	bgt	.L212
	ldr	r3, .L215+160
	ldr	r3, [r3]
	ldr	r2, .L215+204
	str	r3, [r2]
	mov	r2, #1
	mov	r0, #0
	ldr	r1, .L215+164
	bl	slider_update
	ldr	r3, .L215+192
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L215+200
	ldr	r2, [r3]
	ldr	r3, .L215+204
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	paint_arrow
	mov	r2, #0
	ldr	r3, .L215+164
	str	r2, [fp, #-300]
	str	r3, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-292]
	ldr	r3, .L215+168
	ldr	r3, [r3]
	str	r3, [fp, #-288]
	b	.L212
.L178:
	ldr	r2, [fp, #-232]
	ldr	r3, .L215+180
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L213
	ldr	r3, [fp, #-360]
	cmn	r3, #1
	beq	.L213
	ldr	r3, .L215+172
	ldr	r0, [r3]
	ldr	r3, .L215+180
	ldr	r1, [r3]
	sub	ip, fp, #276
	sub	r2, fp, #276
	sub	r3, fp, #372
	str	r3, [sp, #16]
	sub	r3, fp, #372
	str	r3, [sp, #12]
	sub	r3, fp, #372
	str	r3, [sp, #8]
	sub	r3, fp, #372
	str	r3, [sp, #4]
	sub	r3, fp, #368
	str	r3, [sp]
	mov	r3, ip
	bl	XQueryPointer
	ldr	r2, [fp, #-368]
	ldr	r3, [fp, #-360]
	sub	r3, r2, r3
	ldr	r2, [fp, #-364]
	add	r3, r2, r3
	str	r3, [fp, #-364]
	ldr	r3, .L215+176
	ldr	r3, [r3]
	ldr	r2, [fp, #-364]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	bl	slider_update
	ldr	r3, [fp, #-368]
	str	r3, [fp, #-360]
	b	.L213
.L179:
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-308]
	ldr	r3, .L215+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-308]
	cmp	r2, r3
	bne	.L198
	ldr	r3, [fp, #-360]
	cmn	r3, #1
	beq	.L198
	ldr	r2, [fp, #-208]
	ldr	r3, [fp, #-360]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	bl	slider_update
	mvn	r3, #0
	str	r3, [fp, #-360]
	b	.L214
.L198:
	ldr	r3, .L215+184
	ldr	r3, [r3]
	ldr	r2, [fp, #-308]
	cmp	r2, r3
	bne	.L200
	ldr	r3, .L215+188
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L215+184
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L215+200
	ldr	r2, [r3]
	ldr	r3, .L215+188
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #3
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	paint_arrow
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #0
	str	r3, [fp, #-288]
	b	.L214
.L200:
	ldr	r3, .L215+192
	ldr	r3, [r3]
	ldr	r2, [fp, #-308]
	cmp	r2, r3
	bne	.L214
	ldr	r3, .L215+204
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L215+192
	ldr	r0, [r3]
	ldr	r3, .L215+196
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L215+200
	ldr	r2, [r3]
	ldr	r3, .L215+204
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	bl	paint_arrow
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #0
	str	r3, [fp, #-288]
	b	.L214
.L209:
	nop
	b	.L201
.L210:
	nop
	b	.L201
.L211:
	nop
	b	.L201
.L212:
	nop
	b	.L201
.L213:
	nop
	b	.L201
.L214:
	nop
	b	.L201
	.size	mainloop, .-mainloop
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
