	.file	"190212.c"
	.intel_syntax noprefix
	.text
	.globl	messocket
	.bss
	.align 4
	.type	messocket, @object
	.size	messocket, 4
messocket:
	.zero	4
	.globl	messname
	.align 16
	.type	messname, @object
	.size	messname, 16
messname:
	.zero	16
	.globl	Acqdebug
	.align 4
	.type	Acqdebug, @object
	.size	Acqdebug, 4
Acqdebug:
	.zero	4
	.globl	LocalAcqHost
	.align 32
	.type	LocalAcqHost, @object
	.size	LocalAcqHost, 256
LocalAcqHost:
	.zero	256
	.globl	LocalAcqPid
	.align 4
	.type	LocalAcqPid, @object
	.size	LocalAcqPid, 4
LocalAcqPid:
	.zero	4
	.globl	vnmrsystem
	.align 32
	.type	vnmrsystem, @object
	.size	vnmrsystem, 128
vnmrsystem:
	.zero	128
	.globl	this_hp
	.align 8
	.type	this_hp, @object
	.size	this_hp, 8
this_hp:
	.zero	8
	.section	.rodata
.LC0:
	.string	"-debug"
.LC1:
	.string	"r"
.LC2:
	.string	"/dev/null"
.LC3:
	.string	"a"
.LC4:
	.string	"/dev/console"
.LC5:
	.string	"vnmrsystem"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jle	.L2
	mov	DWORD PTR -12[rbp], 1
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	DWORD PTR Acqdebug[rip], 1
	jmp	.L2
.L4:
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L5
.L2:
	mov	eax, DWORD PTR Acqdebug[rip]
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	freopen@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	freopen@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	freopen@PLT
.L6:
	lea	rdi, .LC5[rip]
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, vnmrsystem[rip]
	call	strcpy@PLT
	jmp	.L8
.L7:
	mov	DWORD PTR vnmrsystem[rip], 1835955759
	mov	WORD PTR vnmrsystem[rip+4], 114
.L8:
	mov	eax, 0
	call	initregqueue@PLT
	mov	eax, 0
	call	initsocket
	mov	eax, 0
	call	setup_sigio
	mov	eax, 0
	call	setuppipehandler
	mov	eax, 0
	call	setupquithandler
	mov	eax, 0
	call	wrtacqinfo
	mov	eax, 0
	call	initinfo@PLT
	lea	rdi, LocalAcqHost[rip]
	call	gethostbyname@PLT
	mov	QWORD PTR this_hp[rip], rax
	mov	eax, 0
	call	acqinfo_svc@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	" msge ports = %d\n"
.LC7:
	.string	"%d %s %d %d %d"
	.align 8
.LC8:
	.string	"Could Not Open Acquisition Info File: '%s'\n"
	.align 8
.LC9:
	.string	"Could Not Write Acquisition Info File: '%s'\n"
	.text
	.globl	wrtacqinfo
	.type	wrtacqinfo, @function
wrtacqinfo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 544
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	DWORD PTR -540[rbp], eax
	mov	eax, DWORD PTR -540[rbp]
	mov	DWORD PTR LocalAcqPid[rip], eax
	mov	esi, 256
	lea	rdi, LocalAcqHost[rip]
	call	gethostname@PLT
	mov	eax, DWORD PTR Acqdebug[rip]
	test	eax, eax
	je	.L11
	movzx	eax, WORD PTR messname[rip+2]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L11:
	movzx	eax, WORD PTR messname[rip+2]
	movzx	ecx, ax
	mov	edx, DWORD PTR -540[rbp]
	lea	rax, -272[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, -9
	mov	r8d, -9
	lea	rcx, LocalAcqHost[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	lea	rax, -528[rbp]
	lea	rsi, vnmrsystem[rip]
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -528[rbp]
	add	rax, rdx
	movabs	rsi, 8459296605179437359
	movabs	rdi, 7380952775026356069
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	WORD PTR 16[rax], 111
	lea	rax, -528[rbp]
	mov	edx, 438
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -536[rbp], eax
	cmp	DWORD PTR -536[rbp], -1
	jne	.L12
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -528[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -536[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -532[rbp], eax
	cmp	DWORD PTR -532[rbp], -1
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -528[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	eax, DWORD PTR -536[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wrtacqinfo, .-wrtacqinfo
	.section	.rodata
.LC10:
	.string	"INITSOCKET(): socket error"
	.align 8
.LC11:
	.string	"INITSOCKET(): async sockets: %d  created\n"
	.align 8
.LC12:
	.string	"INITSOCKET(): messocket bind error"
.LC13:
	.string	"INITSOCKET(): bind:worked\n"
	.align 8
.LC14:
	.string	"INITSOCKET(): listen:queue set up async \n"
	.text
	.type	initsocket, @function
initsocket:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	make_a_socket@PLT
	mov	DWORD PTR messocket[rip], eax
	mov	eax, DWORD PTR messocket[rip]
	cmp	eax, -1
	jne	.L16
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR messocket[rip]
	mov	edi, eax
	mov	eax, 0
	call	setup_a_socket@PLT
	mov	eax, DWORD PTR messocket[rip]
	mov	edi, eax
	mov	eax, 0
	call	render_socket_async@PLT
	mov	eax, DWORD PTR Acqdebug[rip]
	test	eax, eax
	je	.L17
	mov	edx, DWORD PTR messocket[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L17:
	mov	edx, 16
	mov	esi, 0
	lea	rdi, messname[rip]
	call	memset@PLT
	mov	WORD PTR messname[rip], 2
	mov	edi, 0
	call	htons@PLT
	mov	WORD PTR messname[rip+2], ax
	mov	DWORD PTR messname[rip+4], 0
	mov	eax, DWORD PTR messocket[rip]
	mov	edx, 16
	lea	rsi, messname[rip]
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L18
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR messocket[rip]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR Acqdebug[rip]
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
.L19:
	mov	DWORD PTR -12[rbp], 16
	mov	eax, DWORD PTR messocket[rip]
	lea	rdx, -12[rbp]
	lea	rsi, messname[rip]
	mov	edi, eax
	call	getsockname@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	initsocket, .-initsocket
	.type	make_fd_rmask, @function
make_fd_rmask:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, 0
	mov	ecx, 16
	mov	rdi, rdx
#APP
# 246 "the_stack_data/190212.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -8[rbp], edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR messocket[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, esi
	mov	rdi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR messocket[rip]
	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	rcx, rdi
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, esi
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR messocket[rip]
	cmp	edx, eax
	jge	.L22
	mov	edx, DWORD PTR messocket[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
.L22:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	make_fd_rmask, .-make_fd_rmask
	.section	.rodata
.LC15:
	.string	"select error"
	.text
	.type	sigio_irpt, @function
sigio_irpt:
.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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
.L27:
	lea	rdx, -144[rbp]
	lea	rax, -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	make_fd_rmask
	mov	eax, DWORD PTR -168[rbp]
	add	eax, 1
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rsi, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	select@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L25
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L26
	lea	rdi, .LC15[rip]
	call	perror@PLT
	jmp	.L26
.L25:
	mov	eax, DWORD PTR messocket[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR messocket[rip]
	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
	and	rax, rsi
	test	rax, rax
	je	.L26
	mov	eax, 0
	call	Smessage@PLT
.L26:
	cmp	DWORD PTR -164[rbp], 0
	jne	.L27
	mov	eax, 0
	call	setup_sigio
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	sigio_irpt, .-sigio_irpt
	.type	setup_sigio, @function
setup_sigio:
.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -288[rbp]
	mov	esi, 14
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -288[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -288[rbp]
	mov	esi, 29
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, sigio_irpt[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	QWORD PTR -144[rbp], rdx
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	QWORD PTR -128[rbp], rdx
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	QWORD PTR -112[rbp], rdx
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -96[rbp], rdx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], rdx
	mov	rax, QWORD PTR -208[rbp]
	mov	rdx, QWORD PTR -200[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], rdx
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 29
	call	sigaction@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	setup_sigio, .-setup_sigio
	.section	.rodata
	.align 8
.LC16:
	.string	"DONTDIE(): write to a closed pipe occured\n"
	.text
	.type	dontdie, @function
dontdie:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR Acqdebug[rip]
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
.L33:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	dontdie, .-dontdie
	.globl	setuppipehandler
	.type	setuppipehandler, @function
setuppipehandler:
.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -288[rbp]
	mov	esi, 13
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, dontdie[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	QWORD PTR -144[rbp], rdx
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	QWORD PTR -128[rbp], rdx
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	QWORD PTR -112[rbp], rdx
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -96[rbp], rdx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], rdx
	mov	rax, QWORD PTR -208[rbp]
	mov	rdx, QWORD PTR -200[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], rdx
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 13
	call	sigaction@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	setuppipehandler, .-setuppipehandler
	.type	terminated, @function
terminated:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	close_rpc@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE14:
	.size	terminated, .-terminated
	.type	SigQuit, @function
SigQuit:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	close_rpc@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE15:
	.size	SigQuit, .-SigQuit
	.globl	setupquithandler
	.type	setupquithandler, @function
setupquithandler:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -448[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, terminated[rip]
	mov	QWORD PTR -320[rbp], rax
	mov	rax, QWORD PTR -448[rbp]
	mov	rdx, QWORD PTR -440[rbp]
	mov	QWORD PTR -312[rbp], rax
	mov	QWORD PTR -304[rbp], rdx
	mov	rax, QWORD PTR -432[rbp]
	mov	rdx, QWORD PTR -424[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	QWORD PTR -288[rbp], rdx
	mov	rax, QWORD PTR -416[rbp]
	mov	rdx, QWORD PTR -408[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	QWORD PTR -272[rbp], rdx
	mov	rax, QWORD PTR -400[rbp]
	mov	rdx, QWORD PTR -392[rbp]
	mov	QWORD PTR -264[rbp], rax
	mov	QWORD PTR -256[rbp], rdx
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR -376[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -240[rbp], rdx
	mov	rax, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR -360[rbp]
	mov	QWORD PTR -232[rbp], rax
	mov	QWORD PTR -224[rbp], rdx
	mov	rax, QWORD PTR -352[rbp]
	mov	rdx, QWORD PTR -344[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	QWORD PTR -208[rbp], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rdx, QWORD PTR -328[rbp]
	mov	QWORD PTR -200[rbp], rax
	mov	QWORD PTR -192[rbp], rdx
	mov	DWORD PTR -184[rbp], 0
	lea	rax, -320[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -448[rbp]
	mov	esi, 15
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, terminated[rip]
	mov	QWORD PTR -320[rbp], rax
	mov	rax, QWORD PTR -448[rbp]
	mov	rdx, QWORD PTR -440[rbp]
	mov	QWORD PTR -312[rbp], rax
	mov	QWORD PTR -304[rbp], rdx
	mov	rax, QWORD PTR -432[rbp]
	mov	rdx, QWORD PTR -424[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	QWORD PTR -288[rbp], rdx
	mov	rax, QWORD PTR -416[rbp]
	mov	rdx, QWORD PTR -408[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	QWORD PTR -272[rbp], rdx
	mov	rax, QWORD PTR -400[rbp]
	mov	rdx, QWORD PTR -392[rbp]
	mov	QWORD PTR -264[rbp], rax
	mov	QWORD PTR -256[rbp], rdx
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR -376[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	QWORD PTR -240[rbp], rdx
	mov	rax, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR -360[rbp]
	mov	QWORD PTR -232[rbp], rax
	mov	QWORD PTR -224[rbp], rdx
	mov	rax, QWORD PTR -352[rbp]
	mov	rdx, QWORD PTR -344[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	QWORD PTR -208[rbp], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rdx, QWORD PTR -328[rbp]
	mov	QWORD PTR -200[rbp], rax
	mov	QWORD PTR -192[rbp], rdx
	mov	DWORD PTR -184[rbp], 0
	lea	rax, -320[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -448[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, SigQuit[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -448[rbp]
	mov	rdx, QWORD PTR -440[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	QWORD PTR -144[rbp], rdx
	mov	rax, QWORD PTR -432[rbp]
	mov	rdx, QWORD PTR -424[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	QWORD PTR -128[rbp], rdx
	mov	rax, QWORD PTR -416[rbp]
	mov	rdx, QWORD PTR -408[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	QWORD PTR -112[rbp], rdx
	mov	rax, QWORD PTR -400[rbp]
	mov	rdx, QWORD PTR -392[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -96[rbp], rdx
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR -376[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], rdx
	mov	rax, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR -360[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], rdx
	mov	rax, QWORD PTR -352[rbp]
	mov	rdx, QWORD PTR -344[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -336[rbp]
	mov	rdx, QWORD PTR -328[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 3
	call	sigaction@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	setupquithandler, .-setupquithandler
	.globl	block_signals
	.type	block_signals, @function
block_signals:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -144[rbp]
	mov	esi, 14
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 29
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 12
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	block_signals, .-block_signals
	.globl	unblock_signals
	.type	unblock_signals, @function
unblock_signals:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -144[rbp]
	mov	esi, 14
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 29
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 12
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	unblock_signals, .-unblock_signals
	.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	"190212.c"
	.text
	.comm	messocket,4,4
	.comm	messname,16,4
	.global	Acqdebug
	.bss
	.align	2
	.type	Acqdebug, %object
	.size	Acqdebug, 4
Acqdebug:
	.space	4
	.comm	LocalAcqHost,256,4
	.comm	LocalAcqPid,4,4
	.comm	vnmrsystem,128,4
	.comm	this_hp,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-debug\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"/dev/null\000"
	.align	2
.LC3:
	.ascii	"a\000"
	.align	2
.LC4:
	.ascii	"/dev/console\000"
	.align	2
.LC5:
	.ascii	"vnmrsystem\000"
	.align	2
.LC6:
	.ascii	"/vnmr\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L2
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L3
.L5:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L10
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L10+4
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L4:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L5
.L2:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L10+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L10+12
	ldr	r0, .L10+16
	bl	freopen
	ldr	r3, .L10+20
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L10+24
	ldr	r0, .L10+28
	bl	freopen
	ldr	r3, .L10+32
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L10+24
	ldr	r0, .L10+28
	bl	freopen
.L6:
	ldr	r0, .L10+36
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r1, [fp, #-8]
	ldr	r0, .L10+40
	bl	strcpy
	b	.L8
.L7:
	ldr	r2, .L10+40
	ldr	r3, .L10+44
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
.L8:
	bl	initregqueue
	bl	initsocket
	bl	setup_sigio
	bl	setuppipehandler
	bl	setupquithandler
	bl	wrtacqinfo
	bl	initinfo
	ldr	r0, .L10+48
	bl	gethostbyname
	mov	r3, r0
	ldr	r2, .L10+52
	str	r3, [r2]
	bl	acqinfo_svc
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	Acqdebug
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	stdout
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	vnmrsystem
	.word	.LC6
	.word	LocalAcqHost
	.word	this_hp
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	" msge ports = %d\012\000"
	.align	2
.LC8:
	.ascii	"%d %s %d %d %d\000"
	.align	2
.LC9:
	.ascii	"/acqqueue/acqinfo\000"
	.align	2
.LC10:
	.ascii	"Could Not Open Acquisition Info File: '%s'\012\000"
	.align	2
.LC11:
	.ascii	"Could Not Write Acquisition Info File: '%s'\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wrtacqinfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrtacqinfo, %function
wrtacqinfo:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #544
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	str	r0, [fp, #-532]
	ldr	r2, .L17+4
	ldr	r3, [fp, #-532]
	str	r3, [r2]
	mov	r1, #256
	ldr	r0, .L17+8
	bl	gethostname
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L17+16
	ldr	r3, [r3]
	ldr	r2, .L17+20
	ldrh	r2, [r2, #2]
	ldr	r1, .L17+24
	mov	r0, r3
	bl	fprintf
.L13:
	ldr	r3, .L17+20
	ldrh	r3, [r3, #2]
	sub	r0, fp, #264
	str	r3, [sp, #8]
	mvn	r3, #8
	str	r3, [sp, #4]
	mvn	r3, #8
	str	r3, [sp]
	ldr	r3, .L17+8
	ldr	r2, [fp, #-532]
	ldr	r1, .L17+28
	bl	sprintf
	sub	r3, fp, #520
	ldr	r1, .L17+32
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #520
	add	r3, r3, r2
	ldr	r2, .L17+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #18
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #520
	ldr	r2, .L17+40
	ldr	r1, .L17+44
	mov	r0, r3
	bl	open
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmn	r3, #1
	bne	.L14
	ldr	r3, .L17+16
	ldr	r3, [r3]
	sub	r2, fp, #520
	ldr	r1, .L17+48
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-528]
	bl	write
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmn	r3, #1
	bne	.L15
	ldr	r3, .L17+16
	ldr	r3, [r3]
	sub	r2, fp, #520
	ldr	r1, .L17+52
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	ldr	r0, [fp, #-528]
	bl	close
	nop
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC12
	.word	LocalAcqPid
	.word	LocalAcqHost
	.word	Acqdebug
	.word	stderr
	.word	messname
	.word	.LC7
	.word	.LC8
	.word	vnmrsystem
	.word	.LC9
	.word	438
	.word	577
	.word	.LC10
	.word	.LC11
	.size	wrtacqinfo, .-wrtacqinfo
	.section	.rodata
	.align	2
.LC13:
	.ascii	"INITSOCKET(): socket error\000"
	.align	2
.LC14:
	.ascii	"INITSOCKET(): async sockets: %d  created\012\000"
	.align	2
.LC15:
	.ascii	"INITSOCKET(): messocket bind error\000"
	.align	2
.LC16:
	.ascii	"INITSOCKET(): bind:worked\012\000"
	.align	2
.LC17:
	.ascii	"INITSOCKET(): listen:queue set up async \012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initsocket, %function
initsocket:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	make_a_socket
	mov	r3, r0
	ldr	r2, .L25+4
	str	r3, [r2]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L25+8
	bl	perror
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	setup_a_socket
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	render_socket_async
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	ldr	r1, .L25+20
	mov	r0, r3
	bl	fprintf
.L21:
	mov	r2, #16
	mov	r1, #0
	ldr	r0, .L25+24
	bl	memset
	ldr	r3, .L25+24
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+24
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L25+24
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #16
	ldr	r1, .L25+24
	mov	r0, r3
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L25+28
	bl	perror
	mov	r0, #1
	bl	exit
.L22:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r1, #5
	mov	r0, r3
	bl	listen
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L25+32
	bl	fwrite
	ldr	r3, .L25+16
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L25+36
	bl	fwrite
.L23:
	mov	r3, #16
	str	r3, [fp, #-12]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, fp, #12
	ldr	r1, .L25+24
	mov	r0, r3
	bl	getsockname
	nop
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC18
	.word	messocket
	.word	.LC13
	.word	Acqdebug
	.word	stderr
	.word	.LC14
	.word	messname
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	initsocket, .-initsocket
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_fd_rmask, %function
make_fd_rmask:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L29:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r3, [fp, #-12]
	cmp	r3, #31
	bls	.L29
	ldr	r3, .L32
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, .L32
	ldr	r3, [r3]
	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
	ldr	r3, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, .L32
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L30
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L30:
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L33:
	.align	2
.L32:
	.word	messocket
	.size	make_fd_rmask, .-make_fd_rmask
	.section	.rodata
	.align	2
.LC19:
	.ascii	"select error\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigio_irpt, %function
sigio_irpt:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
.L37:
	sub	r2, fp, #136
	sub	r3, fp, #152
	mov	r1, r2
	mov	r0, r3
	bl	make_fd_rmask
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
	ldr	r0, [fp, #-152]
	sub	r1, fp, #136
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L35
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L36
	ldr	r0, .L39+4
	bl	perror
	b	.L36
.L35:
	ldr	r3, .L39+8
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, .L39+8
	ldr	r3, [r3]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L36
	bl	Smessage
.L36:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L37
	bl	setup_sigio
	nop
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC20
	.word	.LC19
	.word	messocket
	.size	sigio_irpt, .-sigio_irpt
	.section	.rodata
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_sigio, %function
setup_sigio:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #276
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #276
	mov	r1, #14
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #276
	mov	r1, #17
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #276
	mov	r1, #29
	mov	r0, r3
	bl	sigaddset
	ldr	r3, .L43+4
	str	r3, [fp, #-148]
	sub	r3, fp, #144
	sub	r1, fp, #276
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #29
	bl	sigaction
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC21
	.word	sigio_irpt
	.size	setup_sigio, .-setup_sigio
	.section	.rodata
	.align	2
.LC22:
	.ascii	"DONTDIE(): write to a closed pipe occured\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dontdie, %function
dontdie:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L48+4
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L48+8
	bl	fwrite
.L47:
	nop
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	Acqdebug
	.word	stderr
	.word	.LC22
	.size	dontdie, .-dontdie
	.section	.rodata
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	setuppipehandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	setuppipehandler, %function
setuppipehandler:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #276
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #276
	mov	r1, #13
	mov	r0, r3
	bl	sigaddset
	ldr	r3, .L52+4
	str	r3, [fp, #-148]
	sub	r3, fp, #144
	sub	r1, fp, #276
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #13
	bl	sigaction
	nop
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC23
	.word	dontdie
	.size	setuppipehandler, .-setuppipehandler
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	terminated, %function
terminated:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	close_rpc
	mov	r0, #1
	bl	exit
	.size	terminated, .-terminated
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SigQuit, %function
SigQuit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	close_rpc
	mov	r0, #1
	bl	exit
	.size	SigQuit, .-SigQuit
	.section	.rodata
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	setupquithandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	setupquithandler, %function
setupquithandler:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #416
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #416
	mov	r1, #2
	mov	r0, r3
	bl	sigaddset
	ldr	r3, .L58+4
	str	r3, [fp, #-288]
	sub	r3, fp, #284
	sub	r1, fp, #416
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-156]
	sub	r3, fp, #288
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	sub	r3, fp, #416
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #416
	mov	r1, #15
	mov	r0, r3
	bl	sigaddset
	ldr	r3, .L58+4
	str	r3, [fp, #-288]
	sub	r3, fp, #284
	sub	r1, fp, #416
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-156]
	sub	r3, fp, #288
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	sub	r3, fp, #416
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #416
	mov	r1, #3
	mov	r0, r3
	bl	sigaddset
	ldr	r3, .L58+8
	str	r3, [fp, #-148]
	sub	r3, fp, #144
	sub	r1, fp, #416
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #3
	bl	sigaction
	nop
	ldr	r2, .L58
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC24
	.word	terminated
	.word	SigQuit
	.size	setupquithandler, .-setupquithandler
	.section	.rodata
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	block_signals
	.syntax unified
	.arm
	.fpu softvfp
	.type	block_signals, %function
block_signals:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #136
	mov	r1, #14
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r1, #17
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r1, #29
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r1, #12
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	nop
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC25
	.size	block_signals, .-block_signals
	.section	.rodata
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unblock_signals
	.syntax unified
	.arm
	.fpu softvfp
	.type	unblock_signals, %function
unblock_signals:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #136
	mov	r1, #14
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r1, #17
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r1, #29
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r1, #12
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	nop
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC26
	.size	unblock_signals, .-unblock_signals
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
