version	U12.1.00
uid	sem.u1-1786350439-0
record	ipc__Sem__state,3
	0,__s
	1,__m
	2,id
record	ipc__Sem__methods,10
	0,set_value
	1,get_value
	2,wait
	3,attempt
	4,signal
	5,semop
	6,semop_nowait
	7,semop_poll
	8,remove
	9,get_id
impl	local
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/error.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/format.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/stringbuff.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/cltable.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/comparator.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/md5.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/notification.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/listener.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/connectable.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/setfields.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/timezone.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/time.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/mapbytes.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/money.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/pushback.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/qsort.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/args.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/blockread.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/notifier.u
global	18
	0,000005,ipc__Sem_set_value,2
	1,000005,ipc__Sem_get_value,1
	2,000005,ipc__Sem_wait,1
	3,000005,ipc__Sem_attempt,1
	4,000005,ipc__Sem_signal,1
	5,000005,ipc__Sem_semop,2
	6,000005,ipc__Sem_semop_nowait,2
	7,000005,ipc__Sem_semop_poll,3
	8,000005,ipc__Sem_remove,1
	9,000005,ipc__Sem_get_id,1
	10,000011,ipc__Sem__state,3
	11,000011,ipc__Sem__methods,10
	12,000001,ipc__Sem__oprec,0
	13,000005,ipc__Sem,1
	14,000005,ipc__Seminitialize,0
	15,000005,ipc__open_public_sem,1
	16,000005,ipc__create_public_sem,2
	17,000005,ipc__create_private_sem,1

proc ipc__Sem_set_value
	local	0,001000,self
	local	1,001000,x
	local	2,000040,f
	local	3,000000,loadfunc
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,13,163,145,155,137,163,145,164,137,166,141,154,165,145
	declend
	filen	sem.icn
	line	26
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	2
	var	3
	str	0
	str	1
	line	29
	colm	25
	synt	any
	invoke	2
	line	29
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	var	2
	pnull
	var	0
	line	31
	colm	13
	synt	any
	field	id
	var	1
	line	31
	colm	8
	synt	any
	invoke	2
	unmark
lab L4
	pnull
	line	32
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_get_value
	local	0,001000,self
	local	1,000040,f
	local	2,000000,loadfunc
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,13,163,145,155,137,147,145,164,137,166,141,154,165,145
	declend
	line	37
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	1
	var	2
	str	0
	str	1
	line	40
	colm	25
	synt	any
	invoke	2
	line	40
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	mark	L5
	var	1
	pnull
	var	0
	line	42
	colm	20
	synt	any
	field	id
	line	42
	colm	15
	synt	any
	invoke	1
	line	42
	colm	7
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	43
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_wait
	local	0,001000,self
	con	0,002000,1,1
	declend
	line	48
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	line	49
	colm	11
	synt	any
	field	semop
	pnull
	int	0
	line	49
	colm	18
	synt	any
	neg
	line	49
	colm	17
	synt	any
	invoke	1
	unmark
lab L1
	pnull
	line	50
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_attempt
	local	0,001000,self
	con	0,002000,1,1
	declend
	line	55
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	var	0
	line	56
	colm	18
	synt	any
	field	semop_nowait
	pnull
	int	0
	line	56
	colm	32
	synt	any
	neg
	line	56
	colm	31
	synt	any
	invoke	1
	line	56
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	57
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_signal
	local	0,001000,self
	con	0,002000,1,1
	declend
	line	62
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	line	63
	colm	11
	synt	any
	field	semop
	int	0
	line	63
	colm	17
	synt	any
	invoke	1
	unmark
lab L1
	pnull
	line	64
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_semop
	local	0,001000,self
	local	1,001000,n
	local	2,000040,f
	local	3,000000,loadfunc
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,9,163,145,155,137,163,145,155,157,160
	declend
	line	72
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	2
	var	3
	str	0
	str	1
	line	75
	colm	25
	synt	any
	invoke	2
	line	75
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	var	2
	pnull
	var	0
	line	77
	colm	13
	synt	any
	field	id
	var	1
	line	77
	colm	8
	synt	any
	invoke	2
	unmark
lab L4
	pnull
	line	78
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_semop_nowait
	local	0,001000,self
	local	1,001000,n
	local	2,000040,f
	local	3,000000,loadfunc
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,16,163,145,155,137,163,145,155,157,160,137,156,157,167,141,151,164
	declend
	line	84
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	2
	var	3
	str	0
	str	1
	line	87
	colm	25
	synt	any
	invoke	2
	line	87
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	mark	L5
	var	2
	pnull
	var	0
	line	89
	colm	20
	synt	any
	field	id
	var	1
	line	89
	colm	15
	synt	any
	invoke	2
	line	89
	colm	7
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	90
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_semop_poll
	local	0,001000,self
	local	1,001000,n
	local	2,001000,t
	local	3,000020,c
	local	4,000000,util__milliseconds
	local	5,000000,util__sleep
	con	0,002000,2,50
	declend
	line	99
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	var	4
	line	101
	colm	30
	synt	any
	invoke	0
	line	101
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
lab L3
	line	102
	colm	7
	synt	repeat
	mark	L3
	mark	L6
	line	103
	colm	10
	synt	if
	mark0
	pnull
	var	0
	line	103
	colm	17
	synt	any
	field	semop_nowait
	var	1
	line	103
	colm	30
	synt	any
	invoke	1
	unmark
	mark	L7
	pnull
	line	104
	colm	13
	synt	any
	pret
lab L7
	synt	any
	pfail
	line	103
	colm	10
	synt	endif
	unmark
lab L6
	mark	L8
	line	105
	colm	10
	synt	if
	mark0
	pnull
	pnull
	var	4
	line	105
	colm	31
	synt	any
	invoke	0
	var	3
	line	105
	colm	34
	synt	any
	minus
	var	2
	line	105
	colm	38
	synt	any
	numgt
	unmark
	line	106
	colm	13
	synt	any
	pfail
	line	105
	colm	10
	synt	endif
	unmark
lab L8
	var	5
	int	0
	line	107
	colm	21
	synt	any
	invoke	1
lab L4
	unmark
	goto	L3
lab L5
	line	102
	colm	7
	synt	endrepeat
	unmark
lab L2
	pnull
	line	109
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_remove
	local	0,001000,self
	local	1,000040,f
	local	2,000000,loadfunc
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,10,163,145,155,137,162,145,155,157,166,145
	declend
	line	115
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	1
	var	2
	str	0
	str	1
	line	118
	colm	25
	synt	any
	invoke	2
	line	118
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	var	1
	pnull
	var	0
	line	120
	colm	13
	synt	any
	field	id
	line	120
	colm	8
	synt	any
	invoke	1
	unmark
lab L4
	pnull
	line	121
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem_get_id
	local	0,001000,self
	declend
	line	126
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	var	0
	line	127
	colm	18
	synt	any
	field	id
	line	127
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	128
	colm	1
	synt	any
	pfail
	end
proc ipc__Sem
	local	0,001000,id
	local	1,000020,self
	local	2,000020,clone
	local	3,000000,ipc__Sem__oprec
	local	4,000000,ipc__Seminitialize
	local	5,000000,ipc__Sem__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	3
	line	8
	colm	6
	synt	any
	null
	unmark
	var	4
	line	8
	colm	46
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	var	1
	var	5
	line	10
	colm	27
	synt	any
	keywd	null
	var	3
	var	0
	line	10
	colm	26
	synt	any
	invoke	3
	line	10
	colm	8
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	pnull
	var	1
	line	11
	colm	7
	synt	any
	field	__s
	var	1
	line	11
	colm	12
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	mark	L7
	var	1
	line	12
	colm	3
	synt	any
	pret
lab L7
	synt	any
	pfail
	unmark
lab L6
	pnull
	line	13
	colm	1
	synt	any
	pfail
	end
proc ipc__Seminitialize
	local	0,000000,ipc__Sem__oprec
	local	1,000000,ipc__Sem__methods
	local	2,000000,ipc__Sem_set_value
	local	3,000000,ipc__Sem_get_value
	local	4,000000,ipc__Sem_wait
	local	5,000000,ipc__Sem_attempt
	local	6,000000,ipc__Sem_signal
	local	7,000000,ipc__Sem_semop
	local	8,000000,ipc__Sem_semop_nowait
	local	9,000000,ipc__Sem_semop_poll
	local	10,000000,ipc__Sem_remove
	local	11,000000,ipc__Sem_get_id
	declend
	line	15
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	var	7
	var	8
	var	9
	var	10
	var	11
	line	16
	colm	47
	synt	any
	invoke	10
	line	16
	colm	27
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	17
	colm	1
	synt	any
	pfail
	end
proc ipc__open_public_sem
	local	0,001000,key
	local	1,000040,f
	local	2,000000,loadfunc
	local	3,000000,ipc__Sem
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,15,163,145,155,137,157,160,145,156,137,160,165,142,154,151,143
	declend
	filen	sem.icn
	line	135
	colm	12
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	1
	var	2
	str	0
	str	1
	line	138
	colm	22
	synt	any
	invoke	2
	line	138
	colm	9
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	mark	L5
	var	3
	var	1
	var	0
	line	140
	colm	21
	synt	any
	invoke	1
	line	140
	colm	19
	synt	any
	invoke	1
	line	140
	colm	4
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	141
	colm	1
	synt	any
	pfail
	end
proc ipc__create_public_sem
	local	0,001000,key
	local	1,001000,val
	local	2,000040,f
	local	3,000000,loadfunc
	local	4,000000,ipc__Sem
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,17,163,145,155,137,143,162,145,141,164,145,137,160,165,142,154,151,143
	con	2,002000,1,1
	declend
	line	146
	colm	12
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	2
	var	3
	str	0
	str	1
	line	149
	colm	22
	synt	any
	invoke	2
	line	149
	colm	9
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	pnull
	var	1
	line	151
	colm	4
	synt	any
	null
	int	2
	line	151
	colm	9
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	mark	L6
	var	4
	var	2
	var	0
	var	1
	line	152
	colm	21
	synt	any
	invoke	2
	line	152
	colm	19
	synt	any
	invoke	1
	line	152
	colm	4
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	153
	colm	1
	synt	any
	pfail
	end
proc ipc__create_private_sem
	local	0,001000,val
	local	1,000040,f
	local	2,000000,loadfunc
	local	3,000000,ipc__Sem
	con	0,010000,12,165,156,151,151,160,143,154,151,142,056,163,157
	con	1,010000,18,163,145,155,137,143,162,145,141,164,145,137,160,162,151,166,141,164,145
	con	2,002000,1,1
	declend
	line	158
	colm	12
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	1
	var	2
	str	0
	str	1
	line	161
	colm	22
	synt	any
	invoke	2
	line	161
	colm	9
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	pnull
	var	0
	line	163
	colm	4
	synt	any
	null
	int	2
	line	163
	colm	9
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	mark	L6
	var	3
	var	1
	var	0
	line	164
	colm	21
	synt	any
	invoke	1
	line	164
	colm	19
	synt	any
	invoke	1
	line	164
	colm	4
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	165
	colm	1
	synt	any
	pfail
	end
