version	U12.1.00
uid	patch.u1-1786032990-0
impl	error
global	2
	0,000005,patch,3
	1,000005,zot_patch,1

proc patch
	local	0,001000,from
	local	1,001000,diff
	local	2,001000,rev
	local	3,000020,c_diff
	local	4,000020,c_from
	local	5,000020,cnte
	local	6,000020,cnti
	local	7,000020,i
	local	8,000020,item
	local	9,000020,ldr
	local	10,000020,o
	local	11,000000,zot_patch
	con	0,002000,1,1
	con	1,002000,1,2
	con	2,002000,1,0
	con	3,010000,24,165,156,145,170,160,145,143,164,145,144,040,145,156,144,040,157,146,040,163,164,162,145,141,155
	declend
	filen	patch.icn
	line	38
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	pnull
	var	7
	int	0
	line	42
	colm	7
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	10
	int	1
	line	43
	colm	7
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	line	44
	colm	5
	synt	if
	mark0
	pnull
	var	2
	line	44
	colm	8
	synt	any
	nonnull
	unmark
	pnull
	var	7
	var	10
	line	45
	colm	9
	synt	any
	swap
	line	44
	colm	5
	synt	endif
	unmark
lab L6
	mark	L7
	pnull
	var	3
	goto	L10
lab L8
	pop
	mark	L9
	pnull
	var	1
	line	47
	colm	22
	synt	any
	bang
	line	47
	colm	15
	synt	any
	coret
	efail
lab L9
	cofail
	goto	L9
lab L10
	create	L8
	line	47
	colm	12
	synt	any
	asgn
	unmark
lab L7
	mark	L11
	pnull
	var	4
	goto	L14
lab L12
	pop
	mark	L13
	pnull
	var	0
	line	48
	colm	22
	synt	any
	bang
	line	48
	colm	15
	synt	any
	coret
	efail
lab L13
	cofail
	goto	L13
lab L14
	create	L12
	line	48
	colm	12
	synt	any
	asgn
	unmark
lab L11
	mark	L15
	pnull
	var	6
	pnull
	var	8
	int	2
	line	50
	colm	18
	synt	any
	asgn
	line	50
	colm	10
	synt	any
	asgn
	unmark
lab L15
	mark	L16
	pnull
	var	9
	pnull
	var	3
	line	51
	colm	13
	synt	any
	coact
	line	51
	colm	10
	synt	any
	asgn
	unmark
lab L16
	pnull
	var	5
	pnull
	pnull
	var	9
	var	7
	line	52
	colm	16
	synt	any
	subsc
	line	52
	colm	19
	synt	any
	field	pos
	line	52
	colm	10
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L17
lab L18
	line	55
	colm	3
	synt	repeat
	mark	L18
	mark	L21
lab L22
	line	57
	colm	5
	synt	while
	mark0
	mark	L25
	pnull
	var	9
	line	57
	colm	11
	synt	any
	null
	line	57
	colm	16
	synt	any
	esusp
	goto	L26
lab L25
	pnull
	var	6
	pnull
	var	5
	int	0
	line	57
	colm	29
	synt	any
	minus
	line	57
	colm	23
	synt	any
	numlt
lab L26
	unmark
	mark	L22
	mark	L27
	pnull
	var	6
	dup
	int	0
	line	58
	colm	12
	synt	any
	plus
	asgn
	unmark
lab L27
	line	59
	colm	7
	synt	ifelse
	mark	L28
	pnull
	var	8
	pnull
	var	4
	line	59
	colm	18
	synt	any
	coact
	line	59
	colm	15
	synt	any
	asgn
	unmark
	line	60
	colm	9
	synt	suspend
	mark0
	var	8
	line	60
	colm	9
	synt	any
	psusp
	pop
lab L30
	efail
lab L31
	line	60
	colm	9
	synt	endsuspend
	goto	L29
lab L28
	mark	L32
	pnull
	var	8
	line	62
	colm	17
	synt	any
	keywd	null
	line	62
	colm	14
	synt	any
	asgn
	unmark
lab L32
	unmark
	pnull
	goto	L24
lab L29
	line	59
	colm	7
	synt	endifelse
lab L23
	unmark
	goto	L22
lab L24
	line	57
	colm	5
	synt	endwhile
	unmark
lab L21
	mark	L33
	line	67
	colm	5
	synt	if
	mark0
	pnull
	var	9
	line	67
	colm	8
	synt	any
	nonnull
	unmark
	mark	L34
	line	68
	colm	7
	synt	every
	mark0
	pnull
	int	0
	pnull
	pnull
	pnull
	var	9
	var	7
	line	68
	colm	22
	synt	any
	subsc
	line	68
	colm	25
	synt	any
	field	diffs
	line	68
	colm	18
	synt	any
	size
	push1
	line	68
	colm	15
	synt	any
	toby
	pop
	mark0
	mark	L37
	pnull
	var	6
	dup
	int	0
	line	69
	colm	14
	synt	any
	plus
	asgn
	unmark
lab L37
	mark	L38
	pnull
	var	4
	line	70
	colm	9
	synt	any
	coact
	line	70
	colm	17
	synt	any
	esusp
	goto	L39
lab L38
	var	11
	str	3
	line	70
	colm	28
	synt	any
	invoke	1
lab L39
	unmark
lab L35
	efail
lab L36
	line	68
	colm	7
	synt	endevery
	unmark
lab L34
	mark	L40
	line	73
	colm	7
	synt	if
	mark0
	pnull
	pnull
	pnull
	pnull
	var	9
	var	10
	line	73
	colm	14
	synt	any
	subsc
	line	73
	colm	17
	synt	any
	field	diffs
	line	73
	colm	10
	synt	any
	size
	int	2
	line	73
	colm	24
	synt	any
	numgt
	unmark
	line	74
	colm	9
	synt	suspend
	mark0
	pnull
	pnull
	pnull
	var	9
	var	10
	line	74
	colm	21
	synt	any
	subsc
	line	74
	colm	24
	synt	any
	field	diffs
	line	74
	colm	17
	synt	any
	bang
	line	74
	colm	9
	synt	any
	psusp
	pop
lab L41
	efail
lab L42
	line	74
	colm	9
	synt	endsuspend
	line	73
	colm	7
	synt	endif
	unmark
lab L40
	line	76
	colm	7
	synt	ifelse
	mark	L43
	pnull
	var	9
	pnull
	var	3
	line	76
	colm	17
	synt	any
	coact
	line	76
	colm	14
	synt	any
	asgn
	unmark
	pnull
	var	5
	pnull
	pnull
	var	9
	var	7
	line	77
	colm	20
	synt	any
	subsc
	line	77
	colm	23
	synt	any
	field	pos
	line	77
	colm	14
	synt	any
	asgn
	goto	L44
lab L43
	pnull
	var	9
	line	79
	colm	16
	synt	any
	keywd	null
	line	79
	colm	13
	synt	any
	asgn
lab L44
	line	76
	colm	7
	synt	endifelse
	line	67
	colm	5
	synt	endif
	unmark
lab L33
	line	82
	colm	5
	synt	if
	mark0
	pnull
	var	8
	line	82
	colm	8
	synt	any
	null
	pop
	pnull
	var	9
	line	82
	colm	16
	synt	any
	null
	unmark
	line	83
	colm	7
	synt	any
	pfail
	line	82
	colm	5
	synt	endif
lab L19
	unmark
	goto	L18
lab L20
	line	55
	colm	3
	synt	endrepeat
	unmark
lab L17
	pnull
	line	86
	colm	1
	synt	any
	pfail
	end
proc zot_patch
	local	0,001000,msg
	local	1,000000,write
	local	2,000000,exit
	con	0,010000,7,160,141,164,143,150,072,040
	con	1,002000,1,1
	declend
	line	89
	colm	11
	synt	any
	mark	L1
	var	1
	line	90
	colm	9
	synt	any
	keywd	errout
	str	0
	var	0
	line	90
	colm	8
	synt	any
	invoke	3
	unmark
lab L1
	mark	L2
	var	2
	int	1
	line	91
	colm	7
	synt	any
	invoke	1
	unmark
lab L2
	pnull
	line	92
	colm	1
	synt	any
	pfail
	end
