version	U12.1.00
uid	partit.u1-1786032990-0
impl	error
link	fastfncs.u
link	numbers.u
global	4
	0,000005,partit,4
	1,000005,partcount,3
	2,000005,partitret,4
	3,000005,fibpart,1

proc partit
	local	0,001000,i
	local	1,001000,min
	local	2,001000,max
	local	3,001000,k
	local	4,000020,j
	local	5,000000,integer
	local	6,000000,stop
	local	7,000000,push
	local	8,000000,partit
	con	0,002000,1,0
	con	1,010000,33,052,052,052,040,151,154,154,145,147,141,154,040,141,162,147,165,155,145,156,164,040,164,157,040,160,141,162,164,151,164,050,151,051
	con	2,002000,1,1
	declend
	filen	partit.icn
	line	34
	colm	11
	synt	any
	mark	L1
	line	37
	colm	4
	synt	if
	mark0
	mark	L2
	mark	L4
	var	5
	var	0
	line	37
	colm	18
	synt	any
	invoke	1
	unmark
	efail
lab L4
	pnull
	line	37
	colm	23
	synt	any
	esusp
	goto	L3
lab L2
	mark	L5
	pnull
	var	0
	int	0
	line	37
	colm	28
	synt	any
	numlt
	line	37
	colm	33
	synt	any
	esusp
	goto	L6
lab L5
	pnull
	pnull
	var	1
	line	37
	colm	36
	synt	any
	nonnull
	pnull
	var	2
	line	37
	colm	43
	synt	any
	nonnull
	line	37
	colm	41
	synt	any
	numgt
lab L6
lab L3
	unmark
	var	6
	str	1
	line	38
	colm	11
	synt	any
	invoke	1
	line	37
	colm	4
	synt	endif
	unmark
lab L1
	mark	L7
	pnull
	pnull
	var	1
	line	40
	colm	4
	synt	any
	null
	int	2
	line	40
	colm	9
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	pnull
	var	2
	line	41
	colm	4
	synt	any
	null
	var	0
	line	41
	colm	9
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	var	2
	dup
	var	0
	line	42
	colm	8
	synt	any
	numgt
	asgn
	unmark
lab L9
	mark	L10
	pnull
	pnull
	var	3
	line	43
	colm	4
	synt	any
	null
	var	0
	line	43
	colm	7
	synt	any
	asgn
	unmark
lab L10
	mark	L11
	pnull
	var	3
	dup
	var	2
	line	44
	colm	6
	synt	any
	numgt
	asgn
	unmark
lab L11
	mark	L12
	pnull
	var	3
	dup
	var	0
	line	45
	colm	6
	synt	any
	numgt
	asgn
	unmark
lab L12
	mark	L13
	line	47
	colm	4
	synt	if
	mark0
	pnull
	var	0
	int	0
	line	47
	colm	9
	synt	any
	numeq
	unmark
	mark	L14
	pnull
	line	47
	colm	25
	synt	any
	llist	0
	line	47
	colm	18
	synt	any
	pret
lab L14
	synt	any
	pfail
	line	47
	colm	4
	synt	endif
	unmark
lab L13
	mark	L15
	line	49
	colm	4
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	3
	var	1
	pnull
	int	2
	line	49
	colm	27
	synt	any
	neg
	line	49
	colm	17
	synt	any
	toby
	line	49
	colm	12
	synt	any
	asgn
	pop
	mark0
	line	50
	colm	7
	synt	suspend
	mark0
	var	7
	var	8
	pnull
	var	0
	var	4
	line	50
	colm	29
	synt	any
	minus
	var	1
	var	2
	var	4
	line	50
	colm	26
	synt	any
	invoke	4
	var	4
	line	50
	colm	19
	synt	any
	invoke	2
	line	50
	colm	7
	synt	any
	psusp
	pop
lab L18
	efail
lab L19
	line	50
	colm	7
	synt	endsuspend
	unmark
lab L16
	efail
lab L17
	line	49
	colm	4
	synt	endevery
	unmark
lab L15
	pnull
	line	53
	colm	1
	synt	any
	pfail
	end
proc partcount
	local	0,001000,i
	local	1,001000,min
	local	2,001000,max
	local	3,000020,count
	local	4,000000,partitret
	con	0,002000,1,0
	con	1,002000,1,1
	declend
	line	55
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	int	0
	line	58
	colm	10
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	60
	colm	4
	synt	every
	mark0
	var	4
	var	0
	var	1
	var	2
	line	60
	colm	19
	synt	any
	invoke	3
	pop
	mark0
	pnull
	var	3
	dup
	int	1
	line	61
	colm	13
	synt	any
	plus
	asgn
	unmark
lab L3
	efail
lab L4
	line	60
	colm	4
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	3
	line	63
	colm	4
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	65
	colm	1
	synt	any
	pfail
	end
proc partitret
	local	0,001000,i
	local	1,001000,min
	local	2,001000,max
	local	3,001000,k
	local	4,000020,j
	local	5,000000,partitret
	con	0,002000,1,1
	con	1,002000,1,0
	declend
	line	70
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	1
	line	73
	colm	4
	synt	any
	null
	int	0
	line	73
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	2
	line	74
	colm	4
	synt	any
	null
	var	0
	line	74
	colm	9
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	var	2
	dup
	var	0
	line	75
	colm	8
	synt	any
	numgt
	asgn
	unmark
lab L3
	mark	L4
	pnull
	pnull
	var	3
	line	76
	colm	4
	synt	any
	null
	var	0
	line	76
	colm	7
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	3
	dup
	var	2
	line	77
	colm	6
	synt	any
	numgt
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	3
	dup
	var	0
	line	78
	colm	6
	synt	any
	numgt
	asgn
	unmark
lab L6
	mark	L7
	line	80
	colm	4
	synt	if
	mark0
	pnull
	var	0
	int	1
	line	80
	colm	9
	synt	any
	numeq
	unmark
	mark	L8
	pnull
	line	80
	colm	18
	synt	any
	pret
lab L8
	synt	any
	pfail
	line	80
	colm	4
	synt	endif
	unmark
lab L7
	mark	L9
	line	82
	colm	4
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	3
	var	1
	pnull
	int	0
	line	82
	colm	27
	synt	any
	neg
	line	82
	colm	17
	synt	any
	toby
	line	82
	colm	12
	synt	any
	asgn
	pop
	mark0
	line	83
	colm	7
	synt	suspend
	mark0
	var	5
	pnull
	var	0
	var	4
	line	83
	colm	27
	synt	any
	minus
	var	1
	var	2
	var	4
	line	83
	colm	24
	synt	any
	invoke	4
	line	83
	colm	7
	synt	any
	psusp
	pop
lab L12
	efail
lab L13
	line	83
	colm	7
	synt	endsuspend
	unmark
lab L10
	efail
lab L11
	line	82
	colm	4
	synt	endevery
	unmark
lab L9
	pnull
	line	86
	colm	1
	synt	any
	pfail
	end
proc fibpart
	local	0,001000,i
	local	1,000020,partl
	local	2,000020,n
	local	3,000040,m
	local	4,000000,log
	local	5,000000,sqrt
	local	6,000000,push
	local	7,000000,fib
	local	8,000000,ceil
	con	0,002000,1,1
	con	1,002000,1,5
	con	2,002000,1,2
	con	3,002000,1,0
	declend
	line	90
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	3
	pnull
	int	0
	var	4
	pnull
	pnull
	int	0
	var	5
	int	1
	line	94
	colm	38
	synt	any
	invoke	1
	line	94
	colm	32
	synt	any
	plus
	int	2
	line	94
	colm	43
	synt	any
	div
	line	94
	colm	27
	synt	any
	invoke	1
	line	94
	colm	22
	synt	any
	div
	line	94
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	var	1
	pnull
	line	96
	colm	13
	synt	any
	llist	0
	line	96
	colm	10
	synt	any
	asgn
	unmark
lab L4
	mark	L5
lab L6
	line	98
	colm	4
	synt	while
	mark0
	pnull
	var	0
	int	2
	line	98
	colm	12
	synt	any
	numgt
	unmark
	mark	L6
	mark	L9
	var	6
	var	1
	pnull
	var	2
	var	7
	var	8
	pnull
	var	4
	var	0
	line	99
	colm	36
	synt	any
	invoke	1
	var	3
	line	99
	colm	40
	synt	any
	mult
	line	99
	colm	32
	synt	any
	invoke	1
	line	99
	colm	27
	synt	any
	invoke	1
	line	99
	colm	21
	synt	any
	asgn
	line	99
	colm	11
	synt	any
	invoke	2
	unmark
lab L9
	pnull
	var	0
	dup
	var	2
	line	100
	colm	9
	synt	any
	minus
	asgn
lab L7
	unmark
	goto	L6
lab L8
	line	98
	colm	4
	synt	endwhile
	unmark
lab L5
	mark	L10
	line	103
	colm	4
	synt	if
	mark0
	pnull
	var	0
	int	3
	line	103
	colm	9
	synt	any
	numgt
	unmark
	var	6
	var	1
	var	0
	line	103
	colm	22
	synt	any
	invoke	2
	line	103
	colm	4
	synt	endif
	unmark
lab L10
	mark	L11
	mark	L12
	var	1
	line	105
	colm	4
	synt	any
	pret
lab L12
	synt	any
	pfail
	unmark
lab L11
	pnull
	line	107
	colm	1
	synt	any
	pfail
	end
