	.file	"3434.c"
	.intel_syntax noprefix
	.text
	.globl	time_lastcleanup
	.bss
	.align 4
	.type	time_lastcleanup, @object
	.size	time_lastcleanup, 4
time_lastcleanup:
	.zero	4
	.globl	verbosity
	.data
	.align 4
	.type	verbosity, @object
	.size	verbosity, 4
verbosity:
	.long	7
	.globl	ctrlsock
	.bss
	.align 4
	.type	ctrlsock, @object
	.size	ctrlsock, 4
ctrlsock:
	.zero	4
	.globl	commander_count
	.align 4
	.type	commander_count, @object
	.size	commander_count, 4
commander_count:
	.zero	4
	.globl	svc_count
	.align 4
	.type	svc_count, @object
	.size	svc_count, 4
svc_count:
	.zero	4
	.globl	svc_nextnum
	.align 4
	.type	svc_nextnum, @object
	.size	svc_nextnum, 4
svc_nextnum:
	.zero	4
	.globl	sockdir_fd
	.align 4
	.type	sockdir_fd, @object
	.size	sockdir_fd, 4
sockdir_fd:
	.zero	4
	.globl	pid_count
	.align 4
	.type	pid_count, @object
	.size	pid_count, 4
pid_count:
	.zero	4
	.globl	pid_nextnum
	.align 4
	.type	pid_nextnum, @object
	.size	pid_nextnum, 4
pid_nextnum:
	.zero	4
	.globl	ptrace_arg_attachservice_pid
	.align 4
	.type	ptrace_arg_attachservice_pid, @object
	.size	ptrace_arg_attachservice_pid, 4
ptrace_arg_attachservice_pid:
	.zero	4
	.globl	ptrace_arg_attachservice_svc
	.align 8
	.type	ptrace_arg_attachservice_svc, @object
	.size	ptrace_arg_attachservice_svc, 8
ptrace_arg_attachservice_svc:
	.zero	8
	.globl	ptrace_arg_detachservice
	.align 8
	.type	ptrace_arg_detachservice, @object
	.size	ptrace_arg_detachservice, 8
ptrace_arg_detachservice:
	.zero	8
	.globl	ptrace_ctrl_thread
	.align 8
	.type	ptrace_ctrl_thread, @object
	.size	ptrace_ctrl_thread, 8
ptrace_ctrl_thread:
	.zero	8
	.local	svcs
	.comm	svcs,221184,32
	.globl	tsearch_pid2svc_bt
	.align 8
	.type	tsearch_pid2svc_bt, @object
	.size	tsearch_pid2svc_bt, 8
tsearch_pid2svc_bt:
	.zero	8
	.globl	tsearch_pid2svc_mutex
	.align 32
	.type	tsearch_pid2svc_mutex, @object
	.size	tsearch_pid2svc_mutex, 40
tsearch_pid2svc_mutex:
	.zero	40
	.globl	hsearch_mutex
	.align 32
	.type	hsearch_mutex, @object
	.size	hsearch_mutex, 40
hsearch_mutex:
	.zero	40
	.globl	ptrace_mutex
	.align 32
	.type	ptrace_mutex, @object
	.size	ptrace_mutex, 40
ptrace_mutex:
	.zero	40
	.globl	ptrace_send_mutex
	.align 32
	.type	ptrace_send_mutex, @object
	.size	ptrace_send_mutex, 40
ptrace_send_mutex:
	.zero	40
	.globl	ptrace_mutex_cond
	.align 32
	.type	ptrace_mutex_cond, @object
	.size	ptrace_mutex_cond, 48
ptrace_mutex_cond:
	.zero	48
	.globl	item_pid2svc
	.align 32
	.type	item_pid2svc, @object
	.size	item_pid2svc, 1048576
item_pid2svc:
	.zero	1048576
	.text
	.globl	compar_pidsvc_pid
	.type	compar_pidsvc_pid, @function
compar_pidsvc_pid:
.LFB6:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compar_pidsvc_pid, .-compar_pidsvc_pid
	.section	.rodata
	.align 8
.LC0:
	.string	"There's no more space left to store information about PIDs (#0).\n"
	.align 8
.LC1:
	.string	"There's no more space left to store information about PIDs of service \"%s\".\n"
	.align 8
.LC2:
	.string	"The record for pid %d is already exist (the error appeared while working on \"%s\").\n"
	.align 8
.LC3:
	.string	"Registered a new pid: %d -> %s (%d).\n"
	.text
	.globl	pid_register
	.type	pid_register, @function
pid_register:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, DWORD PTR pid_count[rip]
	cmp	eax, 65535
	jle	.L4
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 65
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
.L5:
	mov	eax, 12
	jmp	.L6
.L4:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 200[rax]
	cmp	eax, 31
	jle	.L9
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L8:
	mov	eax, 12
	jmp	.L6
.L10:
	mov	eax, DWORD PTR pid_nextnum[rip]
	add	eax, 1
	mov	DWORD PTR pid_nextnum[rip], eax
	mov	eax, DWORD PTR pid_nextnum[rip]
	cmp	eax, 65535
	jle	.L9
	mov	DWORD PTR pid_nextnum[rip], 0
.L9:
	mov	eax, DWORD PTR pid_nextnum[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, item_pid2svc[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR pid_nextnum[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, item_pid2svc[rip]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, compar_pidsvc_pid[rip]
	lea	rsi, tsearch_pid2svc_bt[rip]
	mov	rdi, rax
	call	tsearch@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -16[rbp], rax
	je	.L11
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -20[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, 17
	jmp	.L6
.L11:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR 200[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	r8d, esi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 200[rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	DWORD PTR 200[rdx], ecx
	mov	rdx, QWORD PTR -32[rbp]
	cdqe
	lea	rcx, 16[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rdx+rcx*4], eax
	mov	eax, DWORD PTR pid_count[rip]
	add	eax, 1
	mov	DWORD PTR pid_count[rip], eax
	mov	eax, 0
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pid_register, .-pid_register
	.section	.rodata
	.align 8
.LC4:
	.string	"Cannot find pid %d in internal list. (#0)\n"
	.align 8
.LC5:
	.string	"Unregistered the pid: %d -> %s (%d).\n"
	.align 8
.LC6:
	.string	"Error: Cannot find pid %d in list of \"%s\".\n"
	.text
	.globl	pid_unregister
	.type	pid_unregister, @function
pid_unregister:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -32[rbp], eax
	lea	rax, -32[rbp]
	lea	rdx, compar_pidsvc_pid[rip]
	lea	rsi, tsearch_pid2svc_bt[rip]
	mov	rdi, rax
	call	tfind@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L15
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -68[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L16:
	mov	eax, 3
	jmp	.L23
.L15:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -32[rbp]
	lea	rdx, compar_pidsvc_pid[rip]
	lea	rsi, tsearch_pid2svc_bt[rip]
	mov	rdi, rax
	call	tdelete@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR pid_count[rip]
	sub	eax, 1
	mov	DWORD PTR pid_count[rip], eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L18
.L21:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	DWORD PTR -68[rbp], eax
	jne	.L19
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 200[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR 200[rax], edx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR 200[rax]
	mov	rax, QWORD PTR -80[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	movsx	rcx, ecx
	add	rcx, 16
	mov	DWORD PTR 8[rax+rcx*4], edx
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR 200[rax]
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -68[rbp]
	mov	r8d, esi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L20:
	mov	eax, 0
	jmp	.L23
.L19:
	add	DWORD PTR -52[rbp], 1
.L18:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 200[rax]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L21
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 2
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L22
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -68[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L22:
	mov	eax, 3
.L23:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pid_unregister, .-pid_unregister
	.section	.rodata
	.align 8
.LC7:
	.string	"Unregistering all pids of \"%s\"\n"
	.align 8
.LC8:
	.string	"There's no pids attached to \"%s\". (#0)\n"
	.align 8
.LC9:
	.string	"Cannot find pid %d in internal list. Service \"%s\".\n"
	.text
	.globl	pid_unregister_service
	.type	pid_unregister_service, @function
pid_unregister_service:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L26
	mov	eax, 22
	jmp	.L27
.L26:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L28:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 200[rax]
	test	eax, eax
	jne	.L31
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L30
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L30:
	mov	eax, 0
	jmp	.L27
.L34:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR 200[rax]
	mov	rax, QWORD PTR -56[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -32[rbp], eax
	lea	rax, -32[rbp]
	lea	rdx, compar_pidsvc_pid[rip]
	lea	rsi, tsearch_pid2svc_bt[rip]
	mov	rdi, rax
	call	tfind@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L32
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L31
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR 200[rax]
	mov	rax, QWORD PTR -56[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -32[rbp]
	lea	rdx, compar_pidsvc_pid[rip]
	lea	rsi, tsearch_pid2svc_bt[rip]
	mov	rdi, rax
	call	tdelete@PLT
	mov	eax, DWORD PTR pid_count[rip]
	sub	eax, 1
	mov	DWORD PTR pid_count[rip], eax
.L31:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 200[rax]
	lea	ecx, -1[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	DWORD PTR 200[rdx], ecx
	test	eax, eax
	jne	.L34
	mov	eax, 0
.L27:
	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
.LFE9:
	.size	pid_unregister_service, .-pid_unregister_service
	.section	.rodata
	.align 8
.LC10:
	.string	"Got error while ptrace(request, %i, ...): %s. (#0)\n"
	.text
	.globl	ptrace_error
	.type	ptrace_error, @function
ptrace_error:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L37
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L37:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	service_exit
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ptrace_error, .-ptrace_error
	.section	.rodata
.LC11:
	.string	"Service \"%s\" exited.\n"
	.text
	.globl	ptrace_serviceexit
	.type	ptrace_serviceexit, @function
ptrace_serviceexit:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L40:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ptrace_serviceexit, .-ptrace_serviceexit
	.globl	ptrace_postattach
	.type	ptrace_postattach, @function
ptrace_postattach:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	pid_register
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, 66
	mov	edx, 0
	mov	esi, eax
	mov	edi, 16896
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L43
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L43
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L44
.L43:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
	sar	eax, 8
	movzx	edx, al
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	esi, eax
	mov	edi, 7
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L45
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L45
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L44
.L45:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	ptrace_postattach, .-ptrace_postattach
	.globl	ptrace_detach
	.type	ptrace_detach, @function
ptrace_detach:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L47
.L50:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	ecx, 18
	mov	edx, 0
	mov	esi, eax
	mov	edi, 7
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L48
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L48
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
.L48:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	esi, eax
	mov	edi, 17
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L49
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L49
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
.L49:
	add	DWORD PTR -4[rbp], 1
.L47:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 200[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L50
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	pid_unregister_service
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	ptrace_detach, .-ptrace_detach
	.globl	ptrace_ctrl_sigpoll
	.type	ptrace_ctrl_sigpoll, @function
ptrace_ctrl_sigpoll:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	ptrace_ctrl_sigpoll, .-ptrace_ctrl_sigpoll
	.section	.rodata
	.align 8
.LC12:
	.string	"ptrace_ctrl(): Waiting for event.\n"
	.align 8
.LC13:
	.string	"Got error while waitpid(): %s. Exit.\n"
	.align 8
.LC14:
	.string	"There're no children, but waitpid() was been called. Resetting svc_count to zero.\n"
	.align 8
.LC15:
	.string	"ptrace_ctrl(): Waiting for children.\n"
	.align 8
.LC16:
	.string	"ptrace_ctrl(): Hooray! New child: %d.\n"
	.align 8
.LC17:
	.string	"Cannot find service by pid %d in internal list.\n"
	.align 8
.LC18:
	.string	"ptrace_ctrl(): Recieved an event from \"%s\" (pid: %d).\n"
.LC19:
	.string	"attaching to %d\n"
	.align 8
.LC20:
	.string	"ptrace_ctrl(): Got error on waitpid() while attaching to new service: %s\n"
	.align 8
.LC21:
	.string	"ptrace_ctrl(): child_pid (%i) <= 0.\n"
	.align 8
.LC22:
	.string	"ptrace_ctrl(): \"%s\": Got a signal #%i\n"
	.align 8
.LC23:
	.string	"ptrace_ctrl(): \"%s\": a fork(): %d\n"
	.align 8
.LC24:
	.string	"ptrace_ctrl(): \"%s\" fork()-ed: %d -> %d\n"
	.align 8
.LC25:
	.string	"ptrace_ctrl(): \"%s\" closed the pid %d. pids left: %d.\n"
	.align 8
.LC26:
	.string	"ptrace_ctrl(): \"%s\": Got an event %i\n"
	.text
	.globl	ptrace_ctrl
	.type	ptrace_ctrl, @function
ptrace_ctrl:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	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, 1
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 15
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	pthread_sigmask@PLT
	test	eax, eax
	je	.L55
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L92
.L55:
	lea	rsi, ptrace_ctrl_sigpoll[rip]
	mov	edi, 29
	call	signal@PLT
.L91:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
.L57:
	lea	rax, -176[rbp]
	mov	edx, 1073741824
	mov	rsi, rax
	mov	edi, -1
	call	waitpid@PLT
	mov	DWORD PTR -172[rbp], eax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -168[rbp], eax
	cmp	DWORD PTR -172[rbp], -1
	jne	.L94
	cmp	DWORD PTR -168[rbp], 10
	je	.L95
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L60
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L60:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L94:
	nop
	jmp	.L58
.L95:
	nop
.L58:
	cmp	DWORD PTR -168[rbp], 10
	jne	.L61
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L62
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 82
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
.L62:
	mov	DWORD PTR svc_count[rip], 0
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L63
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
.L63:
	lea	rsi, ptrace_mutex[rip]
	lea	rdi, ptrace_mutex_cond[rip]
	call	pthread_cond_wait@PLT
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L64
	mov	edx, DWORD PTR ptrace_arg_attachservice_pid[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L64
.L61:
	mov	eax, DWORD PTR -172[rbp]
	mov	edi, eax
	call	service_bypid
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L65
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L96
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -172[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L96
.L65:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L64
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -172[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L64:
	mov	eax, DWORD PTR ptrace_arg_attachservice_pid[rip]
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L69
	mov	edx, DWORD PTR ptrace_arg_attachservice_pid[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L69:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR ptrace_arg_attachservice_pid[rip]
	mov	esi, eax
	mov	edi, 16
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L70
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L70
	mov	edx, DWORD PTR ptrace_arg_attachservice_pid[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L92
.L70:
	mov	eax, DWORD PTR ptrace_arg_attachservice_pid[rip]
	lea	rcx, -176[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	cmp	eax, -1
	jne	.L71
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L71
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L72
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L72:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	service_exit
	jmp	.L90
.L71:
	mov	edx, DWORD PTR ptrace_arg_attachservice_pid[rip]
	mov	rax, QWORD PTR ptrace_arg_attachservice_svc[rip]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_postattach
	mov	DWORD PTR ptrace_arg_attachservice_pid[rip], 0
	mov	QWORD PTR ptrace_arg_attachservice_svc[rip], 0
	lea	rdi, ptrace_mutex_cond[rip]
	call	pthread_cond_broadcast@PLT
.L68:
	mov	rax, QWORD PTR ptrace_arg_detachservice[rip]
	test	rax, rax
	je	.L73
	mov	rax, QWORD PTR ptrace_arg_detachservice[rip]
	mov	rdi, rax
	call	ptrace_detach
	mov	QWORD PTR ptrace_arg_detachservice[rip], 0
	lea	rdi, ptrace_mutex_cond[rip]
	call	pthread_cond_broadcast@PLT
.L73:
	cmp	DWORD PTR -172[rbp], 0
	jg	.L74
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L97
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -172[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L97
.L74:
	mov	eax, DWORD PTR -176[rbp]
	sar	eax, 16
	cmp	eax, 6
	je	.L76
	cmp	eax, 6
	jg	.L77
	test	eax, eax
	je	.L78
	cmp	eax, 1
	je	.L79
	jmp	.L77
.L78:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L98
	mov	eax, DWORD PTR -172[rbp]
	sar	eax, 8
	movzx	edx, al
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L98
.L79:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L82
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -172[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L82:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -172[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	esi, eax
	mov	edi, 16897
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L83
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L83
	mov	edx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
	jmp	.L91
.L83:
	mov	rax, QWORD PTR -160[rbp]
	mov	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L84
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -164[rbp]
	mov	edx, DWORD PTR -172[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L84:
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	pid_register
	mov	eax, DWORD PTR -164[rbp]
	mov	ecx, 18
	mov	edx, 0
	mov	esi, eax
	mov	edi, 7
	mov	eax, 0
	call	ptrace@PLT
	jmp	.L81
.L76:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -172[rbp]
	mov	ecx, 18
	mov	edx, 0
	mov	esi, eax
	mov	edi, 7
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L85
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L85
	mov	edx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
	jmp	.L90
.L85:
	lea	rcx, -176[rbp]
	mov	eax, DWORD PTR -172[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L86
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 200[rax]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -172[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L86:
	mov	rdx, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR -172[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	pid_unregister
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 200[rax]
	test	eax, eax
	jne	.L99
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	ptrace_serviceexit
	jmp	.L99
.L77:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L100
	mov	eax, DWORD PTR -176[rbp]
	sar	eax, 16
	mov	ecx, eax
	mov	rax, QWORD PTR -152[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L100
.L98:
	nop
	jmp	.L81
.L100:
	nop
.L81:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -172[rbp]
	mov	ecx, 18
	mov	edx, 0
	mov	esi, eax
	mov	edi, 7
	mov	eax, 0
	call	ptrace@PLT
	cmp	rax, -1
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L91
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cdqe
	test	rax, rax
	je	.L91
	mov	edx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_error
	jmp	.L90
.L96:
	nop
	jmp	.L91
.L97:
	nop
	jmp	.L91
.L99:
	nop
.L90:
	jmp	.L91
.L92:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L93
	call	__stack_chk_fail@PLT
.L93:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	ptrace_ctrl, .-ptrace_ctrl
	.type	ptrace_ctrl_cmdnotify, @function
ptrace_ctrl_cmdnotify:
.LFB16:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, ptrace_mutex_cond[rip]
	call	pthread_cond_broadcast@PLT
	mov	rax, QWORD PTR ptrace_ctrl_thread[rip]
	mov	esi, 29
	mov	rdi, rax
	call	pthread_kill@PLT
	lea	rsi, ptrace_mutex[rip]
	lea	rdi, ptrace_mutex_cond[rip]
	call	pthread_cond_wait@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	ptrace_ctrl_cmdnotify, .-ptrace_ctrl_cmdnotify
	.globl	ptrace_ctrl_attachservice
	.type	ptrace_ctrl_attachservice, @function
ptrace_ctrl_attachservice:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	lea	rdi, ptrace_send_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR ptrace_arg_attachservice_pid[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR ptrace_arg_attachservice_svc[rip], rax
	mov	eax, 0
	call	ptrace_ctrl_cmdnotify
	lea	rdi, ptrace_send_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	ptrace_ctrl_attachservice, .-ptrace_ctrl_attachservice
	.globl	ptrace_ctrl_detachservice
	.type	ptrace_ctrl_detachservice, @function
ptrace_ctrl_detachservice:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, ptrace_send_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR ptrace_arg_detachservice[rip], rax
	mov	eax, 0
	call	ptrace_ctrl_cmdnotify
	lea	rdi, ptrace_send_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	ptrace_ctrl_detachservice, .-ptrace_ctrl_detachservice
	.type	hsearch_safe, @function
hsearch_safe:
.LFB19:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rcx, rdi
	mov	rax, rsi
	mov	rbx, rax
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	mov	DWORD PTR -52[rbp], edx
	lea	rdi, hsearch_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rcx
	mov	rsi, rax
	call	hsearch@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, hsearch_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	hsearch_safe, .-hsearch_safe
	.globl	sock_prepare
	.type	sock_prepare, @function
sock_prepare:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -128[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	WORD PTR -128[rbp], 1
	mov	rax, QWORD PTR -152[rbp]
	lea	rdx, -128[rbp]
	add	rdx, 2
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rax, -128[rbp]
	add	rax, 2
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 2
	mov	QWORD PTR -136[rbp], rax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -140[rbp], eax
	cmp	DWORD PTR -140[rbp], -1
	jne	.L110
	mov	eax, -1
	jmp	.L114
.L110:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	unlink@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, eax
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L112
	mov	eax, -1
	jmp	.L114
.L112:
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L113
	mov	eax, -1
	jmp	.L114
.L113:
	mov	eax, DWORD PTR -140[rbp]
.L114:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L115
	call	__stack_chk_fail@PLT
.L115:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	sock_prepare, .-sock_prepare
	.section	.rodata
.LC27:
	.string	"sock_ctrl(): %i\n"
.LC28:
	.string	"sock_ctrl() exit\n"
	.text
	.globl	sock_ctrl
	.type	sock_ctrl, @function
sock_ctrl:
.LFB21:
	.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	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L118
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR 204[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L118
.L122:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 558 "the_stack_data/3434.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -160[rbp], edx
	mov	DWORD PTR -156[rbp], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 204[rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 204[rax]
	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 -144[rbp+rax*8], rdx
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 204[rax]
	lea	edi, 1[rax]
	lea	rax, -144[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], 0
	js	.L126
	cmp	DWORD PTR -152[rbp], 0
	jne	.L121
	jmp	.L118
.L121:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 204[rax]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	close@PLT
.L118:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 204[rax]
	test	eax, eax
	jne	.L122
	jmp	.L120
.L126:
	nop
.L120:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L123
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
.L123:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L125
	call	__stack_chk_fail@PLT
.L125:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	sock_ctrl, .-sock_ctrl
	.section	.rodata
.LC29:
	.string	"Detaching all pids of \"%s\"\n"
	.align 8
.LC30:
	.string	"There's no pids attached to \"%s\". (#1)\n"
	.text
	.globl	service_detach
	.type	service_detach, @function
service_detach:
.LFB22:
	.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	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L128
	mov	eax, 22
	jmp	.L129
.L128:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L130
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L130:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 200[rax]
	test	eax, eax
	jne	.L131
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L132
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L132:
	mov	eax, 0
	jmp	.L129
.L131:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ptrace_ctrl_detachservice
.L129:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	service_detach, .-service_detach
	.section	.rodata
.LC31:
	.string	"Removing the socket of \"%s\"\n"
	.text
	.type	service_cleanup, @function
service_cleanup:
.LFB23:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 204[rax]
	test	eax, eax
	je	.L137
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L135
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L135:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 204[rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rdi, rax
	call	unlink@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 204[rax], 0
	nop
.L137:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	service_cleanup, .-service_cleanup
	.section	.rodata
.LC32:
	.string	"exit: %s\n"
	.text
	.globl	service_exit
	.type	service_exit, @function
service_exit:
.LFB24:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L144
	cmp	eax, 3
	je	.L144
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	service_detach
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	service_cleanup
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], 3
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 6
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L142
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L142:
	mov	eax, DWORD PTR svc_count[rip]
	sub	eax, 1
	mov	DWORD PTR svc_count[rip], eax
	jmp	.L141
.L144:
	nop
.L141:
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	service_exit, .-service_exit
	.section	.rodata
	.align 8
.LC33:
	.string	"There's no more space left to store information about running services (#0).\n"
	.align 8
.LC34:
	.string	"There's no more space left to store information about running services (#1).\n"
	.text
	.globl	service_new
	.type	service_new, @function
service_new:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR time_lastcleanup[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, rdx
	cmp	rax, 60
	setg	al
	mov	BYTE PTR -77[rbp], al
	mov	eax, DWORD PTR svc_nextnum[rip]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR svc_count[rip]
	cmp	eax, 1023
	jle	.L149
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L147
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 77
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
.L147:
	mov	eax, 0
	jmp	.L148
.L155:
	mov	eax, DWORD PTR svc_nextnum[rip]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, svcs[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 3
	jne	.L150
	mov	eax, DWORD PTR svc_nextnum[rip]
	sub	eax, 1
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, svcs[rip]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rdi, rcx
	mov	rsi, rax
	call	hsearch_safe
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, svcs[rip+208]
	mov	rax, QWORD PTR [rdx+rax]
	lea	rdx, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 216
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L151
.L150:
	mov	eax, DWORD PTR svc_nextnum[rip]
	cmp	eax, 1023
	jle	.L152
	mov	DWORD PTR svc_nextnum[rip], 0
.L152:
	mov	eax, DWORD PTR svc_nextnum[rip]
	cmp	DWORD PTR -76[rbp], eax
	jne	.L149
	cmp	BYTE PTR -77[rbp], 0
	je	.L153
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR time_lastcleanup[rip], eax
	mov	BYTE PTR -77[rbp], 0
	jmp	.L149
.L153:
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L154
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 77
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
.L154:
	mov	eax, 0
	jmp	.L148
.L149:
	mov	eax, DWORD PTR svc_nextnum[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR svc_nextnum[rip], edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, svcs[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L155
	cmp	BYTE PTR -77[rbp], 0
	jne	.L155
.L151:
	mov	eax, DWORD PTR svc_nextnum[rip]
	sub	eax, 1
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, svcs[rip]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -68[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 64
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rdi, rcx
	mov	rsi, rax
	call	hsearch_safe
	mov	eax, DWORD PTR svc_count[rip]
	add	eax, 1
	mov	DWORD PTR svc_count[rip], eax
	mov	rax, QWORD PTR -40[rbp]
.L148:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L156
	call	__stack_chk_fail@PLT
.L156:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	service_new, .-service_new
	.section	.rodata
	.align 8
.LC35:
	.string	"Cannot create/listen an UNIX socket by path \"%s\" (the last chdir() was to \"/run/openrc/sockrund\"): %s.\n"
	.align 8
.LC36:
	.string	"Cannot create a thread to control the socket: %s.\n"
	.text
	.globl	service_attach
	.type	service_attach, @function
service_attach:
.LFB26:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	service_new
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L158
	mov	eax, -1
	jmp	.L159
.L158:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sock_prepare
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR 204[rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 204[rax]
	cmp	eax, -1
	jne	.L160
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L161
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L161:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	service_exit
	jmp	.L159
.L160:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 208[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	lea	rdx, sock_ctrl[rip]
	mov	esi, 0
	call	pthread_create@PLT
	test	eax, eax
	je	.L162
	mov	eax, DWORD PTR verbosity[rip]
	test	eax, eax
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L163
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L163:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	service_exit
	jmp	.L159
.L162:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ptrace_ctrl_attachservice
.L159:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	service_attach, .-service_attach
	.globl	service_run
	.type	service_run, @function
service_run:
.LFB27:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L165
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L166
.L165:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L167
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	ptrace@PLT
	add	QWORD PTR -32[rbp], 8
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L166
.L167:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	service_attach
.L166:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	service_run, .-service_run
	.globl	service_byname
	.type	service_byname, @function
service_byname:
.LFB28:
	.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 -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	rdi, rcx
	mov	rsi, rax
	call	hsearch_safe
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L169
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 3
	mov	eax, 0
	jmp	.L172
.L169:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L171
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 3
.L171:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
.L172:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	service_byname, .-service_byname
	.globl	service_bypid
	.type	service_bypid, @function
service_bypid:
.LFB29:
	.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	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -32[rbp], eax
	lea	rax, -32[rbp]
	lea	rdx, compar_pidsvc_pid[rip]
	lea	rsi, tsearch_pid2svc_bt[rip]
	mov	rdi, rax
	call	tfind@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L174
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 3
	mov	eax, 0
	jmp	.L176
.L174:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
.L176:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L177
	call	__stack_chk_fail@PLT
.L177:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	service_bypid, .-service_bypid
	.globl	service_finish
	.type	service_finish, @function
service_finish:
.LFB30:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 72[rax]
	mov	esi, 15
	mov	edi, eax
	call	kill@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	service_finish, .-service_finish
	.globl	service_down
	.type	service_down, @function
service_down:
.LFB31:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	service_byname
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L181
	mov	eax, 22
	jmp	.L182
.L181:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	service_finish
.L182:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	service_down, .-service_down
	.section	.rodata
.LC37:
	.string	"/run/openrc/sockrund/sockrund"
	.text
	.globl	cleanup
	.type	cleanup, @function
cleanup:
.LFB32:
	.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 ctrlsock[rip]
	cdqe
	test	rax, rax
	je	.L186
	mov	eax, DWORD PTR ctrlsock[rip]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC37[rip]
	call	unlink@PLT
	mov	DWORD PTR ctrlsock[rip], 0
	nop
.L186:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	cleanup, .-cleanup
	.globl	main_term
	.type	main_term, @function
main_term:
.LFB33:
	.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	DWORD PTR -4[rbp], edi
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE33:
	.size	main_term, .-main_term
	.section	.rodata
.LC38:
	.string	"%u"
.LC39:
	.string	"Error: %i\n"
.LC40:
	.string	"Unknown command: %s\n"
	.text
	.globl	commander_ctrl
	.type	commander_ctrl, @function
commander_ctrl:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 224
	mov	QWORD PTR -8408[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -8408[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8392[rbp], eax
	jmp	.L189
.L205:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -8336[rbp]
	mov	rdi, rdx
#APP
# 811 "the_stack_data/3434.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -8388[rbp], edx
	mov	DWORD PTR -8384[rbp], eax
	mov	eax, DWORD PTR -8392[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -8336[rbp+rax*8]
	mov	eax, DWORD PTR -8392[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 -8336[rbp+rax*8], rdx
	mov	eax, DWORD PTR -8392[rbp]
	lea	edi, 1[rax]
	lea	rax, -8336[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -8380[rbp], eax
	cmp	DWORD PTR -8380[rbp], 0
	js	.L208
	cmp	DWORD PTR -8380[rbp], 0
	je	.L209
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8392[rbp]
	mov	edx, 8193
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -8360[rbp], rax
	cmp	QWORD PTR -8360[rbp], 0
	je	.L210
	cmp	QWORD PTR -8360[rbp], 8192
	ja	.L211
	lea	rdx, -8208[rbp]
	mov	rax, QWORD PTR -8360[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rax, -8208[rbp]
	add	rax, 1
	mov	QWORD PTR -8368[rbp], rax
	movzx	eax, BYTE PTR -8208[rbp]
	movsx	eax, al
	cmp	eax, 97
	je	.L196
	cmp	eax, 100
	je	.L197
	jmp	.L198
.L196:
	lea	rdx, -8396[rbp]
	mov	rax, QWORD PTR -8368[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	jle	.L212
	nop
.L200:
	mov	rax, QWORD PTR -8368[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8368[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jg	.L200
	mov	rax, QWORD PTR -8368[rbp]
	mov	QWORD PTR -8344[rbp], rax
	mov	edx, DWORD PTR -8396[rbp]
	mov	rax, QWORD PTR -8344[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	service_attach
	mov	DWORD PTR -8372[rbp], eax
	cmp	DWORD PTR -8372[rbp], 0
	je	.L213
	mov	edx, DWORD PTR -8372[rbp]
	mov	eax, DWORD PTR -8392[rbp]
	lea	rsi, .LC39[rip]
	mov	edi, eax
	mov	eax, 0
	call	dprintf@PLT
	jmp	.L189
.L197:
	mov	rax, QWORD PTR -8368[rbp]
	mov	QWORD PTR -8352[rbp], rax
	mov	rax, QWORD PTR -8352[rbp]
	mov	rdi, rax
	call	service_down
	mov	DWORD PTR -8376[rbp], eax
	cmp	DWORD PTR -8376[rbp], 0
	je	.L198
	mov	edx, DWORD PTR -8376[rbp]
	mov	eax, DWORD PTR -8392[rbp]
	lea	rsi, .LC39[rip]
	mov	edi, eax
	mov	eax, 0
	call	dprintf@PLT
.L198:
	mov	eax, DWORD PTR verbosity[rip]
	cmp	eax, 4
	setg	al
	movzx	eax, al
	test	rax, rax
	je	.L214
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -8208[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L214
.L213:
	nop
	jmp	.L189
.L214:
	nop
	jmp	.L189
.L209:
	nop
	jmp	.L189
.L212:
	nop
.L189:
	cmp	DWORD PTR -8392[rbp], 0
	jne	.L205
	jmp	.L204
.L208:
	nop
	jmp	.L204
.L210:
	nop
	jmp	.L204
.L211:
	nop
.L204:
	mov	eax, DWORD PTR -8392[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -8408[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L207
	call	__stack_chk_fail@PLT
.L207:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	commander_ctrl, .-commander_ctrl
	.section	.rodata
	.align 8
.LC41:
	.string	"Got error while atexit(): %s.\n"
.LC42:
	.string	"/run/openrc/sockrund"
	.align 8
.LC43:
	.string	"Cannot create directory \"/run/openrc/sockrund\": %s.\n"
	.align 8
.LC44:
	.string	"Cannot open() directory \"/run/openrc/sockrund\": %s.\n"
.LC45:
	.string	"pthread_create() error: %s.\n"
	.align 8
.LC46:
	.string	"Cannot create/listen an UNIX socket by path \"/run/openrc/sockrund/sockrund\": %s.\n"
	.align 8
.LC47:
	.string	"Cannot create a thread to control the cmd-socket: %s.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, cleanup[rip]
	call	atexit@PLT
	test	eax, eax
	je	.L216
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L217
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L217:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L216:
	lea	rsi, main_term[rip]
	mov	edi, 15
	call	signal@PLT
	lea	rsi, main_term[rip]
	mov	edi, 6
	call	signal@PLT
	lea	rsi, main_term[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, main_term[rip]
	mov	edi, 3
	call	signal@PLT
	mov	edx, 24
	mov	esi, 11
	mov	edi, 0
	call	openlog@PLT
	mov	esi, 448
	lea	rdi, .LC42[rip]
	call	mkdir@PLT
	test	eax, eax
	je	.L218
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 17
	je	.L218
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L219
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L219:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L218:
	lea	rdi, .LC42[rip]
	call	chdir@PLT
	cmp	eax, -1
	jne	.L220
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L221
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L221:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L220:
	mov	edi, 2048
	call	hcreate@PLT
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR time_lastcleanup[rip], eax
	mov	ecx, 0
	lea	rdx, ptrace_ctrl[rip]
	mov	esi, 0
	lea	rdi, ptrace_ctrl_thread[rip]
	call	pthread_create@PLT
	test	eax, eax
	je	.L222
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L223
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L223:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L222:
	lea	rdi, .LC37[rip]
	call	sock_prepare
	mov	DWORD PTR ctrlsock[rip], eax
	mov	eax, DWORD PTR ctrlsock[rip]
	cmp	eax, -1
	jne	.L226
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L225
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L225:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L238:
	lea	rdx, -144[rbp]
	mov	eax, 0
	mov	ecx, 16
	mov	rdi, rdx
	rep stosq
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -272[rbp]
	mov	rdi, rdx
#APP
# 921 "the_stack_data/3434.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -292[rbp], edx
	mov	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR ctrlsock[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -272[rbp+rax*8]
	mov	eax, DWORD PTR ctrlsock[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	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -272[rbp+rax*8], rdx
	mov	eax, DWORD PTR ctrlsock[rip]
	lea	edi, 1[rax]
	lea	rax, -272[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], 0
	js	.L240
	cmp	DWORD PTR -284[rbp], 0
	je	.L241
	mov	DWORD PTR -296[rbp], 0
	jmp	.L231
.L234:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	test	rax, rax
	je	.L232
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_kill@PLT
	cmp	eax, 3
	jne	.L233
.L232:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	lea	rdx, -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR commander_count[rip]
	sub	eax, 1
	mov	DWORD PTR commander_count[rip], eax
	mov	eax, DWORD PTR commander_count[rip]
	lea	rdx, -144[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rcx, -144[rbp]
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
.L233:
	add	DWORD PTR -296[rbp], 1
.L231:
	mov	eax, DWORD PTR commander_count[rip]
	cmp	DWORD PTR -296[rbp], eax
	jl	.L234
	mov	eax, DWORD PTR ctrlsock[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR commander_count[rip]
	cmp	eax, 15
	jle	.L235
	mov	eax, DWORD PTR -280[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L226
.L235:
	mov	eax, DWORD PTR commander_count[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR commander_count[rip], edx
	lea	rdx, -144[rbp]
	cdqe
	sal	rax, 3
	lea	rdi, [rdx+rax]
	lea	rax, -280[rbp]
	mov	rcx, rax
	lea	rdx, commander_ctrl[rip]
	mov	esi, 0
	call	pthread_create@PLT
	cdqe
	test	rax, rax
	je	.L226
	mov	eax, DWORD PTR verbosity[rip]
	not	eax
	shr	eax, 31
	movzx	eax, al
	test	rax, rax
	je	.L237
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L237:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L241:
	nop
.L226:
	mov	eax, DWORD PTR ctrlsock[rip]
	test	eax, eax
	jne	.L238
	jmp	.L228
.L240:
	nop
.L228:
	call	hdestroy@PLT
	call	closelog@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.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	"3434.c"
	.text
	.global	time_lastcleanup
	.bss
	.align	2
	.type	time_lastcleanup, %object
	.size	time_lastcleanup, 4
time_lastcleanup:
	.space	4
	.global	verbosity
	.data
	.align	2
	.type	verbosity, %object
	.size	verbosity, 4
verbosity:
	.word	7
	.global	ctrlsock
	.bss
	.align	2
	.type	ctrlsock, %object
	.size	ctrlsock, 4
ctrlsock:
	.space	4
	.global	commander_count
	.align	2
	.type	commander_count, %object
	.size	commander_count, 4
commander_count:
	.space	4
	.global	svc_count
	.align	2
	.type	svc_count, %object
	.size	svc_count, 4
svc_count:
	.space	4
	.global	svc_nextnum
	.align	2
	.type	svc_nextnum, %object
	.size	svc_nextnum, 4
svc_nextnum:
	.space	4
	.global	sockdir_fd
	.align	2
	.type	sockdir_fd, %object
	.size	sockdir_fd, 4
sockdir_fd:
	.space	4
	.global	pid_count
	.align	2
	.type	pid_count, %object
	.size	pid_count, 4
pid_count:
	.space	4
	.global	pid_nextnum
	.align	2
	.type	pid_nextnum, %object
	.size	pid_nextnum, 4
pid_nextnum:
	.space	4
	.global	ptrace_arg_attachservice_pid
	.align	2
	.type	ptrace_arg_attachservice_pid, %object
	.size	ptrace_arg_attachservice_pid, 4
ptrace_arg_attachservice_pid:
	.space	4
	.global	ptrace_arg_attachservice_svc
	.align	2
	.type	ptrace_arg_attachservice_svc, %object
	.size	ptrace_arg_attachservice_svc, 4
ptrace_arg_attachservice_svc:
	.space	4
	.global	ptrace_arg_detachservice
	.align	2
	.type	ptrace_arg_detachservice, %object
	.size	ptrace_arg_detachservice, 4
ptrace_arg_detachservice:
	.space	4
	.global	ptrace_ctrl_thread
	.align	2
	.type	ptrace_ctrl_thread, %object
	.size	ptrace_ctrl_thread, 4
ptrace_ctrl_thread:
	.space	4
	.local	svcs
	.comm	svcs,217088,4
	.global	tsearch_pid2svc_bt
	.align	2
	.type	tsearch_pid2svc_bt, %object
	.size	tsearch_pid2svc_bt, 4
tsearch_pid2svc_bt:
	.space	4
	.global	tsearch_pid2svc_mutex
	.align	2
	.type	tsearch_pid2svc_mutex, %object
	.size	tsearch_pid2svc_mutex, 24
tsearch_pid2svc_mutex:
	.space	24
	.global	hsearch_mutex
	.align	2
	.type	hsearch_mutex, %object
	.size	hsearch_mutex, 24
hsearch_mutex:
	.space	24
	.global	ptrace_mutex
	.align	2
	.type	ptrace_mutex, %object
	.size	ptrace_mutex, 24
ptrace_mutex:
	.space	24
	.global	ptrace_send_mutex
	.align	2
	.type	ptrace_send_mutex, %object
	.size	ptrace_send_mutex, 24
ptrace_send_mutex:
	.space	24
	.global	ptrace_mutex_cond
	.align	3
	.type	ptrace_mutex_cond, %object
	.size	ptrace_mutex_cond, 48
ptrace_mutex_cond:
	.space	48
	.global	item_pid2svc
	.align	2
	.type	item_pid2svc, %object
	.size	item_pid2svc, 524288
item_pid2svc:
	.space	524288
	.text
	.align	2
	.global	compar_pidsvc_pid
	.syntax unified
	.arm
	.fpu softvfp
	.type	compar_pidsvc_pid, %function
compar_pidsvc_pid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	compar_pidsvc_pid, .-compar_pidsvc_pid
	.section	.rodata
	.align	2
.LC0:
	.ascii	"There's no more space left to store information abo"
	.ascii	"ut PIDs (#0).\012\000"
	.align	2
.LC1:
	.ascii	"There's no more space left to store information abo"
	.ascii	"ut PIDs of service \"%s\".\012\000"
	.align	2
.LC2:
	.ascii	"The record for pid %d is already exist (the error a"
	.ascii	"ppeared while working on \"%s\").\012\000"
	.align	2
.LC3:
	.ascii	"Registered a new pid: %d -> %s (%d).\012\000"
	.text
	.align	2
	.global	pid_register
	.syntax unified
	.arm
	.fpu softvfp
	.type	pid_register, %function
pid_register:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #65536
	blt	.L4
	ldr	r3, .L14+4
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r2, #65
	mov	r1, #1
	ldr	r0, .L14+12
	bl	fwrite
.L5:
	mov	r3, #12
	b	.L6
.L4:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #200]
	cmp	r3, #31
	ble	.L9
	ldr	r3, .L14+4
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L14+16
	bl	fprintf
.L8:
	mov	r3, #12
	b	.L6
.L10:
	ldr	r3, .L14+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+20
	str	r3, [r2]
	ldr	r3, .L14+20
	ldr	r3, [r3]
	cmp	r3, #65536
	blt	.L9
	ldr	r3, .L14+20
	mov	r2, #0
	str	r2, [r3]
.L9:
	ldr	r3, .L14+20
	ldr	r3, [r3]
	ldr	r2, .L14+24
	ldr	r3, [r2, r3, lsl #3]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L14+20
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L14+24
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r2, .L14+28
	ldr	r1, .L14+32
	ldr	r0, [fp, #-12]
	bl	tsearch
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L11
	ldr	r3, .L14+4
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r2, [fp, #-16]
	ldr	r1, .L14+36
	bl	fprintf
.L12:
	mov	r2, #8
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	memset
	mov	r3, #17
	b	.L6
.L11:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #8
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #200]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-16]
	ldr	r1, .L14+40
	bl	fprintf
.L13:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #200]
	add	r1, r3, #1
	ldr	r2, [fp, #-20]
	str	r1, [r2, #200]
	ldr	r2, [fp, #-20]
	add	r3, r3, #18
	ldr	r1, [fp, #-16]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14
	str	r3, [r2]
	mov	r3, #0
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	pid_count
	.word	verbosity
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	pid_nextnum
	.word	item_pid2svc
	.word	compar_pidsvc_pid
	.word	tsearch_pid2svc_bt
	.word	.LC2
	.word	.LC3
	.size	pid_register, .-pid_register
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Cannot find pid %d in internal list. (#0)\012\000"
	.align	2
.LC5:
	.ascii	"Unregistered the pid: %d -> %s (%d).\012\000"
	.align	2
.LC6:
	.ascii	"Error: Cannot find pid %d in list of \"%s\".\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pid_unregister
	.syntax unified
	.arm
	.fpu softvfp
	.type	pid_unregister, %function
pid_unregister:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	ldr	r2, .L27+4
	ldr	r1, .L27+8
	mov	r0, r3
	bl	tfind
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L27+12
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L27+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L27+20
	mov	r0, r3
	bl	fprintf
.L18:
	mov	r3, #3
	b	.L25
.L17:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	ldr	r2, .L27+4
	ldr	r1, .L27+8
	mov	r0, r3
	bl	tdelete
	mov	r2, #8
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	memset
	ldr	r3, .L27+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L27+24
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L20
.L23:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	add	r2, r2, #18
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L21
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #200]
	sub	r2, r3, #1
	ldr	r3, [fp, #-36]
	str	r2, [r3, #200]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #200]
	ldr	r3, [fp, #-36]
	add	r2, r2, #18
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	add	r2, r2, #18
	str	r1, [r3, r2, lsl #2]
	ldr	r3, .L27+12
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L27+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #8
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #200]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, .L27+28
	bl	fprintf
.L22:
	mov	r3, #0
	b	.L25
.L21:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L20:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #200]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L23
	ldr	r3, .L27+12
	ldr	r3, [r3]
	cmp	r3, #2
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L27+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r2, [fp, #-32]
	ldr	r1, .L27+32
	bl	fprintf
.L24:
	mov	r3, #3
.L25:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC7
	.word	compar_pidsvc_pid
	.word	tsearch_pid2svc_bt
	.word	verbosity
	.word	stderr
	.word	.LC4
	.word	pid_count
	.word	.LC5
	.word	.LC6
	.size	pid_unregister, .-pid_unregister
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Unregistering all pids of \"%s\"\012\000"
	.align	2
.LC9:
	.ascii	"There's no pids attached to \"%s\". (#0)\012\000"
	.align	2
.LC10:
	.ascii	"Cannot find pid %d in internal list. Service \"%s\""
	.ascii	".\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pid_unregister_service
	.syntax unified
	.arm
	.fpu softvfp
	.type	pid_unregister_service, %function
pid_unregister_service:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L30
	mov	r3, #22
	b	.L31
.L30:
	ldr	r3, .L40+4
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L40+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L40+12
	bl	fprintf
.L32:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #200]
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L40+4
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L40+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L40+16
	bl	fprintf
.L34:
	mov	r3, #0
	b	.L31
.L38:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #200]
	ldr	r3, [fp, #-32]
	add	r2, r2, #18
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	ldr	r2, .L40+20
	ldr	r1, .L40+24
	mov	r0, r3
	bl	tfind
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L40+4
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L40+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #200]
	ldr	r3, [fp, #-32]
	add	r2, r2, #18
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldr	r1, .L40+28
	bl	fprintf
	b	.L35
.L36:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	mov	r2, #8
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	memset
	sub	r3, fp, #16
	ldr	r2, .L40+20
	ldr	r1, .L40+24
	mov	r0, r3
	bl	tdelete
	ldr	r3, .L40+32
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L40+32
	str	r3, [r2]
.L35:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #200]
	sub	r1, r3, #1
	ldr	r2, [fp, #-32]
	str	r1, [r2, #200]
	cmp	r3, #0
	bne	.L38
	mov	r3, #0
.L31:
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC11
	.word	verbosity
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	compar_pidsvc_pid
	.word	tsearch_pid2svc_bt
	.word	.LC10
	.word	pid_count
	.size	pid_unregister_service, .-pid_unregister_service
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Got error while ptrace(request, %i, ...): %s. (#0)\012"
	.ascii	"\000"
	.text
	.align	2
	.global	ptrace_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_error, %function
ptrace_error:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L45
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L45+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-20]
	ldr	r1, .L45+8
	mov	r0, r4
	bl	fprintf
.L43:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	service_exit
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L46:
	.align	2
.L45:
	.word	verbosity
	.word	stderr
	.word	.LC12
	.size	ptrace_error, .-ptrace_error
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Service \"%s\" exited.\012\000"
	.text
	.align	2
	.global	ptrace_serviceexit
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_serviceexit, %function
ptrace_serviceexit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L50
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L48
	ldr	r3, .L50+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L50+8
	bl	fprintf
.L48:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	verbosity
	.word	stderr
	.word	.LC13
	.size	ptrace_serviceexit, .-ptrace_serviceexit
	.align	2
	.global	ptrace_postattach
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_postattach, %function
ptrace_postattach:
	@ 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	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	pid_register
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #66
	mov	r2, #0
	ldr	r1, [fp, #-20]
	mov	r0, #16896
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L53
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L53
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	ptrace_error
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L54
.L53:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	asr	r3, r3, #8
	and	r3, r3, #255
	mov	r2, #0
	ldr	r1, [fp, #-20]
	mov	r0, #7
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L55
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L55
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	ptrace_error
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L54
.L55:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
.L54:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ptrace_postattach, .-ptrace_postattach
	.align	2
	.global	ptrace_detach
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_detach, %function
ptrace_detach:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L57
.L60:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #18
	ldr	r1, [r3, r2, lsl #2]
	mov	r3, #18
	mov	r2, #0
	mov	r0, #7
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L58
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #18
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	ptrace_error
.L58:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #18
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	mov	r0, #17
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L59
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #18
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	ptrace_error
.L59:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L57:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #200]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L60
	ldr	r0, [fp, #-16]
	bl	pid_unregister_service
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ptrace_detach, .-ptrace_detach
	.align	2
	.global	ptrace_ctrl_sigpoll
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_ctrl_sigpoll, %function
ptrace_ctrl_sigpoll:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ptrace_ctrl_sigpoll, .-ptrace_ctrl_sigpoll
	.section	.rodata
	.align	2
.LC14:
	.ascii	"ptrace_ctrl(): Waiting for event.\012\000"
	.align	2
.LC15:
	.ascii	"Got error while waitpid(): %s. Exit.\012\000"
	.align	2
.LC16:
	.ascii	"There're no children, but waitpid() was been called"
	.ascii	". Resetting svc_count to zero.\012\000"
	.align	2
.LC17:
	.ascii	"ptrace_ctrl(): Waiting for children.\012\000"
	.align	2
.LC18:
	.ascii	"ptrace_ctrl(): Hooray! New child: %d.\012\000"
	.align	2
.LC19:
	.ascii	"Cannot find service by pid %d in internal list.\012"
	.ascii	"\000"
	.align	2
.LC20:
	.ascii	"ptrace_ctrl(): Recieved an event from \"%s\" (pid: "
	.ascii	"%d).\012\000"
	.align	2
.LC21:
	.ascii	"attaching to %d\012\000"
	.align	2
.LC22:
	.ascii	"ptrace_ctrl(): Got error on waitpid() while attachi"
	.ascii	"ng to new service: %s\012\000"
	.align	2
.LC23:
	.ascii	"ptrace_ctrl(): child_pid (%i) <= 0.\012\000"
	.align	2
.LC24:
	.ascii	"ptrace_ctrl(): \"%s\": Got a signal #%i\012\000"
	.align	2
.LC25:
	.ascii	"ptrace_ctrl(): \"%s\": a fork(): %d\012\000"
	.align	2
.LC26:
	.ascii	"ptrace_ctrl(): \"%s\" fork()-ed: %d -> %d\012\000"
	.align	2
.LC27:
	.ascii	"ptrace_ctrl(): \"%s\" closed the pid %d. pids left:"
	.ascii	" %d.\012\000"
	.align	2
.LC28:
	.ascii	"ptrace_ctrl(): \"%s\": Got an event %i\012\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ptrace_ctrl
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_ctrl, %function
ptrace_ctrl:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #180
	str	r0, [fp, #-176]
	ldr	r3, .L111
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #144
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #144
	mov	r1, #14
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #144
	mov	r1, #1
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #144
	mov	r1, #15
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #144
	mov	r1, #2
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #144
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	pthread_sigmask
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L102
.L65:
	ldr	r1, .L111+4
	mov	r0, #29
	bl	signal
.L101:
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L111+12
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L111+16
	bl	fwrite
.L67:
	sub	r3, fp, #168
	mov	r2, #1073741824
	mov	r1, r3
	mvn	r0, #0
	bl	waitpid
	str	r0, [fp, #-156]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-156]
	cmn	r3, #1
	bne	.L104
	ldr	r3, [fp, #-152]
	cmp	r3, #10
	beq	.L105
	ldr	r3, .L111+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L70
	ldr	r3, .L111+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+20
	mov	r0, r4
	bl	fprintf
.L70:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L104:
	nop
	b	.L68
.L105:
	nop
.L68:
	ldr	r3, [fp, #-152]
	cmp	r3, #10
	bne	.L71
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L72
	ldr	r3, .L111+12
	ldr	r3, [r3]
	mov	r2, #82
	mov	r1, #1
	ldr	r0, .L111+24
	bl	fwrite
.L72:
	ldr	r3, .L111+28
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L111+12
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L111+32
	bl	fwrite
.L73:
	ldr	r1, .L111+36
	ldr	r0, .L111+40
	bl	pthread_cond_wait
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L111+12
	ldr	r3, [r3]
	ldr	r2, .L111+44
	ldr	r2, [r2]
	ldr	r1, .L111+48
	mov	r0, r3
	bl	fprintf
	b	.L74
.L71:
	ldr	r0, [fp, #-156]
	bl	service_bypid
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bne	.L75
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L106
	ldr	r3, .L111+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-156]
	ldr	r1, .L111+52
	mov	r0, r3
	bl	fprintf
	b	.L106
.L75:
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L111+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-156]
	ldr	r1, .L111+56
	bl	fprintf
.L74:
	ldr	r3, .L111+44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L78
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L79
	ldr	r3, .L111+12
	ldr	r3, [r3]
	ldr	r2, .L111+44
	ldr	r2, [r2]
	ldr	r1, .L111+60
	mov	r0, r3
	bl	fprintf
.L79:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+44
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #16
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L80
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L80
	ldr	r3, .L111+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	ptrace_error
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L102
.L80:
	ldr	r3, .L111+44
	ldr	r3, [r3]
	sub	r1, fp, #168
	mov	r2, #0
	mov	r0, r3
	bl	waitpid
	mov	r3, r0
	cmn	r3, #1
	bne	.L81
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L81
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L82
	ldr	r3, .L111+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+64
	mov	r0, r4
	bl	fprintf
.L82:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	service_exit
	b	.L100
.L81:
	ldr	r3, .L111+68
	ldr	r3, [r3]
	ldr	r2, .L111+44
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	ptrace_postattach
	ldr	r3, .L111+44
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L111+68
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L111+40
	bl	pthread_cond_broadcast
.L78:
	ldr	r3, .L111+72
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L83
	ldr	r3, .L111+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	ptrace_detach
	ldr	r3, .L111+72
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L111+40
	bl	pthread_cond_broadcast
.L83:
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	bgt	.L84
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L107
	ldr	r3, .L111+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-156]
	ldr	r1, .L111+76
	mov	r0, r3
	bl	fprintf
	b	.L107
.L84:
	ldr	r3, [fp, #-168]
	asr	r3, r3, #16
	cmp	r3, #6
	beq	.L86
	cmp	r3, #6
	bgt	.L87
	cmp	r3, #0
	beq	.L88
	cmp	r3, #1
	beq	.L89
	b	.L87
.L88:
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L108
	ldr	r3, .L111+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-156]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, .L111+80
	bl	fprintf
	b	.L108
.L89:
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L92
	ldr	r3, .L111+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-156]
	ldr	r1, .L111+84
	bl	fprintf
.L92:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #164
	mov	r2, #0
	ldr	r1, [fp, #-156]
	ldr	r0, .L111+88
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L93
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L93
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-160]
	bl	ptrace_error
	b	.L101
.L93:
	ldr	r3, [fp, #-164]
	str	r3, [fp, #-148]
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L94
	ldr	r3, .L111+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-148]
	str	r3, [sp]
	ldr	r3, [fp, #-156]
	ldr	r1, .L111+92
	bl	fprintf
.L94:
	ldr	r1, [fp, #-160]
	ldr	r0, [fp, #-148]
	bl	pid_register
	mov	r3, #18
	mov	r2, #0
	ldr	r1, [fp, #-148]
	mov	r0, #7
	bl	ptrace
	b	.L91
.L86:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #18
	mov	r2, #0
	ldr	r1, [fp, #-156]
	mov	r0, #7
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L95
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L95
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-160]
	bl	ptrace_error
	b	.L100
.L95:
	sub	r3, fp, #168
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-156]
	bl	waitpid
	str	r0, [fp, #-156]
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L96
	ldr	r3, .L111+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #200]
	sub	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-156]
	ldr	r1, .L111+96
	bl	fprintf
.L96:
	ldr	r1, [fp, #-160]
	ldr	r0, [fp, #-156]
	bl	pid_unregister
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #200]
	cmp	r3, #0
	bne	.L109
	ldr	r0, [fp, #-160]
	bl	ptrace_serviceexit
	b	.L109
.L87:
	ldr	r3, .L111+8
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L110
	ldr	r3, .L111+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-168]
	asr	r3, r3, #16
	ldr	r1, .L111+100
	bl	fprintf
	b	.L110
.L108:
	nop
	b	.L91
.L110:
	nop
.L91:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #18
	mov	r2, #0
	ldr	r1, [fp, #-156]
	mov	r0, #7
	bl	ptrace
	mov	r3, r0
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L101
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L101
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-160]
	bl	ptrace_error
	b	.L100
.L106:
	nop
	b	.L101
.L107:
	nop
	b	.L101
.L109:
	nop
.L100:
	b	.L101
.L102:
	ldr	r2, .L111
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L103
	bl	__stack_chk_fail
.L103:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC29
	.word	ptrace_ctrl_sigpoll
	.word	verbosity
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	svc_count
	.word	.LC17
	.word	ptrace_mutex
	.word	ptrace_mutex_cond
	.word	ptrace_arg_attachservice_pid
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	ptrace_arg_attachservice_svc
	.word	ptrace_arg_detachservice
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	16897
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	ptrace_ctrl, .-ptrace_ctrl
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_ctrl_cmdnotify, %function
ptrace_ctrl_cmdnotify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L115
	bl	pthread_cond_broadcast
	ldr	r3, .L115+4
	ldr	r3, [r3]
	mov	r1, #29
	mov	r0, r3
	bl	pthread_kill
	ldr	r1, .L115+8
	ldr	r0, .L115
	bl	pthread_cond_wait
	nop
	pop	{fp, pc}
.L116:
	.align	2
.L115:
	.word	ptrace_mutex_cond
	.word	ptrace_ctrl_thread
	.word	ptrace_mutex
	.size	ptrace_ctrl_cmdnotify, .-ptrace_ctrl_cmdnotify
	.align	2
	.global	ptrace_ctrl_attachservice
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_ctrl_attachservice, %function
ptrace_ctrl_attachservice:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, .L119
	bl	pthread_mutex_lock
	ldr	r2, .L119+4
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r2, .L119+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	bl	ptrace_ctrl_cmdnotify
	ldr	r0, .L119
	bl	pthread_mutex_unlock
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L120:
	.align	2
.L119:
	.word	ptrace_send_mutex
	.word	ptrace_arg_attachservice_pid
	.word	ptrace_arg_attachservice_svc
	.size	ptrace_ctrl_attachservice, .-ptrace_ctrl_attachservice
	.align	2
	.global	ptrace_ctrl_detachservice
	.syntax unified
	.arm
	.fpu softvfp
	.type	ptrace_ctrl_detachservice, %function
ptrace_ctrl_detachservice:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L123
	bl	pthread_mutex_lock
	ldr	r2, .L123+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	bl	ptrace_ctrl_cmdnotify
	ldr	r0, .L123
	bl	pthread_mutex_unlock
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	ptrace_send_mutex
	.word	ptrace_arg_detachservice
	.size	ptrace_ctrl_detachservice, .-ptrace_ctrl_detachservice
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hsearch_safe, %function
hsearch_safe:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	sub	r3, fp, #20
	stm	r3, {r0, r1}
	str	r2, [fp, #-24]
	ldr	r0, .L127
	bl	pthread_mutex_lock
	ldr	r2, [fp, #-24]
	sub	r3, fp, #20
	ldm	r3, {r0, r1}
	bl	hsearch
	str	r0, [fp, #-8]
	ldr	r0, .L127
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L128:
	.align	2
.L127:
	.word	hsearch_mutex
	.size	hsearch_safe, .-hsearch_safe
	.section	.rodata
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sock_prepare
	.syntax unified
	.arm
	.fpu softvfp
	.type	sock_prepare, %function
sock_prepare:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	ldr	r3, .L136
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	sub	r3, fp, #120
	add	r3, r3, #2
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #120
	add	r3, r3, #2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #2
	str	r3, [fp, #-128]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmn	r3, #1
	bne	.L130
	mvn	r3, #0
	b	.L134
.L130:
	ldr	r0, [fp, #-136]
	bl	unlink
	sub	r3, fp, #120
	ldr	r2, [fp, #-128]
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L132
	mvn	r3, #0
	b	.L134
.L132:
	mov	r1, #5
	ldr	r0, [fp, #-124]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L133
	mvn	r3, #0
	b	.L134
.L133:
	ldr	r3, [fp, #-124]
.L134:
	ldr	r2, .L136
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L135
	bl	__stack_chk_fail
.L135:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L137:
	.align	2
.L136:
	.word	.LC30
	.size	sock_prepare, .-sock_prepare
	.section	.rodata
	.align	2
.LC31:
	.ascii	"sock_ctrl(): %i\012\000"
	.align	2
.LC32:
	.ascii	"sock_ctrl() exit\012\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sock_ctrl
	.syntax unified
	.arm
	.fpu softvfp
	.type	sock_ctrl, %function
sock_ctrl:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-160]
	ldr	r3, .L151
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L151+4
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L140
	ldr	r3, .L151+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #204]
	mov	r2, r3
	ldr	r1, .L151+12
	bl	fprintf
	b	.L140
.L146:
	sub	r3, fp, #136
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L141
.L142:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-152]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L141:
	ldr	r3, [fp, #-152]
	cmp	r3, #31
	bls	.L142
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #204]
	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, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #204]
	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, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #204]
	add	r0, r3, #1
	sub	r1, fp, #136
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	blt	.L150
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L145
	b	.L140
.L145:
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #204]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	accept
	str	r0, [fp, #-140]
	ldr	r0, [fp, #-140]
	bl	close
.L140:
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #204]
	cmp	r3, #0
	bne	.L146
	b	.L144
.L150:
	nop
.L144:
	ldr	r3, .L151+4
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L147
	ldr	r3, .L151+8
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L151+16
	bl	fwrite
.L147:
	mov	r3, #0
	ldr	r2, .L151
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L149
	bl	__stack_chk_fail
.L149:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L152:
	.align	2
.L151:
	.word	.LC33
	.word	verbosity
	.word	stderr
	.word	.LC31
	.word	.LC32
	.size	sock_ctrl, .-sock_ctrl
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Detaching all pids of \"%s\"\012\000"
	.align	2
.LC35:
	.ascii	"There's no pids attached to \"%s\". (#1)\012\000"
	.text
	.align	2
	.global	service_detach
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_detach, %function
service_detach:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L154
	mov	r3, #22
	b	.L155
.L154:
	ldr	r3, .L159
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L156
	ldr	r3, .L159+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L159+8
	bl	fprintf
.L156:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #200]
	cmp	r3, #0
	bne	.L157
	ldr	r3, .L159
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L158
	ldr	r3, .L159+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L159+12
	bl	fprintf
.L158:
	mov	r3, #0
	b	.L155
.L157:
	ldr	r0, [fp, #-8]
	bl	ptrace_ctrl_detachservice
	mov	r3, r0
.L155:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L160:
	.align	2
.L159:
	.word	verbosity
	.word	stderr
	.word	.LC34
	.word	.LC35
	.size	service_detach, .-service_detach
	.section	.rodata
	.align	2
.LC36:
	.ascii	"Removing the socket of \"%s\"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_cleanup, %function
service_cleanup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #204]
	cmp	r3, #0
	beq	.L165
	ldr	r3, .L166
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L163
	ldr	r3, .L166+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L166+8
	bl	fprintf
.L163:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #204]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r0, r3
	bl	unlink
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #204]
	nop
.L165:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L167:
	.align	2
.L166:
	.word	verbosity
	.word	stderr
	.word	.LC36
	.size	service_cleanup, .-service_cleanup
	.section	.rodata
	.align	2
.LC37:
	.ascii	"exit: %s\012\000"
	.text
	.align	2
	.global	service_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_exit, %function
service_exit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L174
	cmp	r3, #3
	beq	.L174
	ldr	r0, [fp, #-16]
	bl	service_detach
	ldr	r0, [fp, #-16]
	bl	service_cleanup
	ldr	r3, [fp, #-16]
	mov	r2, #3
	str	r2, [r3, #4]
	ldr	r3, .L175
	ldr	r3, [r3]
	cmp	r3, #6
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L172
	ldr	r3, .L175+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-20]
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L175+8
	mov	r0, r4
	bl	fprintf
.L172:
	ldr	r3, .L175+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L175+12
	str	r3, [r2]
	b	.L171
.L174:
	nop
.L171:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L176:
	.align	2
.L175:
	.word	verbosity
	.word	stderr
	.word	.LC37
	.word	svc_count
	.size	service_exit, .-service_exit
	.section	.rodata
	.align	2
.LC38:
	.ascii	"There's no more space left to store information abo"
	.ascii	"ut running services (#0).\012\000"
	.align	2
.LC39:
	.ascii	"There's no more space left to store information abo"
	.ascii	"ut running services (#1).\012\000"
	.align	2
.LC40:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	service_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_new, %function
service_new:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L189
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	str	r0, [fp, #-40]
	ldr	r3, .L189+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	cmp	r3, #60
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-45]
	ldr	r3, .L189+8
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, .L189+12
	ldr	r3, [r3]
	cmp	r3, #1024
	blt	.L181
	ldr	r3, .L189+16
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L179
	ldr	r3, .L189+20
	ldr	r3, [r3]
	mov	r2, #77
	mov	r1, #1
	ldr	r0, .L189+24
	bl	fwrite
.L179:
	mov	r3, #0
	b	.L180
.L187:
	ldr	r3, .L189+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L189+28
	mov	r1, #212
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L182
	ldr	r3, .L189+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	mov	r2, #212
	mul	r3, r2, r3
	ldr	r2, .L189+28
	add	r3, r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r2, #1
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	hsearch_safe
	ldr	r2, .L189+28
	ldr	r3, [fp, #-32]
	mov	r1, #212
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #208
	ldr	r3, [r3]
	sub	r2, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r2, #212
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	memset
	b	.L183
.L182:
	ldr	r3, .L189+8
	ldr	r3, [r3]
	cmp	r3, #1024
	blt	.L184
	ldr	r3, .L189+8
	mov	r2, #0
	str	r2, [r3]
.L184:
	ldr	r3, .L189+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L181
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L185
	ldr	r2, .L189+4
	ldr	r3, [fp, #-40]
	str	r3, [r2]
	mov	r3, #0
	strb	r3, [fp, #-45]
	b	.L181
.L185:
	ldr	r3, .L189+16
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L186
	ldr	r3, .L189+20
	ldr	r3, [r3]
	mov	r2, #77
	mov	r1, #1
	ldr	r0, .L189+32
	bl	fwrite
.L186:
	mov	r3, #0
	b	.L180
.L181:
	ldr	r3, .L189+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L189+8
	str	r2, [r1]
	ldr	r2, .L189+28
	mov	r1, #212
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L187
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L187
.L183:
	ldr	r3, .L189+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, #212
	mul	r3, r2, r3
	ldr	r2, .L189+28
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-56]
	add	r3, r3, #64
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	mov	r2, #1
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	hsearch_safe
	ldr	r3, .L189+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L189+12
	str	r3, [r2]
	ldr	r3, [fp, #-20]
.L180:
	ldr	r2, .L189
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L188
	bl	__stack_chk_fail
.L188:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L190:
	.align	2
.L189:
	.word	.LC40
	.word	time_lastcleanup
	.word	svc_nextnum
	.word	svc_count
	.word	verbosity
	.word	stderr
	.word	.LC38
	.word	svcs
	.word	.LC39
	.size	service_new, .-service_new
	.section	.rodata
	.align	2
.LC41:
	.ascii	"Cannot create/listen an UNIX socket by path \"%s\" "
	.ascii	"(the last chdir() was to \"/run/openrc/sockrund\"):"
	.ascii	" %s.\012\000"
	.align	2
.LC42:
	.ascii	"Cannot create a thread to control the socket: %s.\012"
	.ascii	"\000"
	.text
	.align	2
	.global	service_attach
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_attach, %function
service_attach:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	service_new
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L192
	mvn	r3, #0
	b	.L193
.L192:
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	mov	r0, r3
	bl	sock_prepare
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #204]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #204]
	cmn	r3, #1
	bne	.L194
	ldr	r3, .L198
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L195
	ldr	r3, .L198+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-16]
	add	r5, r3, #8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L198+8
	mov	r0, r4
	bl	fprintf
.L195:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	service_exit
	mov	r3, r0
	b	.L193
.L194:
	ldr	r3, [fp, #-16]
	add	r0, r3, #208
	ldr	r3, [fp, #-16]
	ldr	r2, .L198+12
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L196
	ldr	r3, .L198
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L197
	ldr	r3, .L198+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L198+16
	mov	r0, r4
	bl	fprintf
.L197:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	service_exit
	mov	r3, r0
	b	.L193
.L196:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	ptrace_ctrl_attachservice
	mov	r3, r0
.L193:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L199:
	.align	2
.L198:
	.word	verbosity
	.word	stderr
	.word	.LC41
	.word	sock_ctrl
	.word	.LC42
	.size	service_attach, .-service_attach
	.align	2
	.global	service_run
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_run, %function
service_run:
	@ 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]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L201
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L202
.L201:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L203
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	ptrace
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	execvp
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L202
.L203:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	service_attach
	mov	r3, r0
.L202:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	service_run, .-service_run
	.align	2
	.global	service_byname
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_byname, %function
service_byname:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r2, #0
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	bl	hsearch_safe
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L205
	bl	__errno_location
	mov	r3, r0
	mov	r2, #3
	str	r2, [r3]
	mov	r3, #0
	b	.L208
.L205:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L207
	bl	__errno_location
	mov	r3, r0
	mov	r2, #3
	str	r2, [r3]
.L207:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
.L208:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	service_byname, .-service_byname
	.section	.rodata
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	service_bypid
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_bypid, %function
service_bypid:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L214
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	ldr	r2, .L214+4
	ldr	r1, .L214+8
	mov	r0, r3
	bl	tfind
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L210
	bl	__errno_location
	mov	r3, r0
	mov	r2, #3
	str	r2, [r3]
	mov	r3, #0
	b	.L212
.L210:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
.L212:
	ldr	r2, .L214
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L213
	bl	__stack_chk_fail
.L213:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L215:
	.align	2
.L214:
	.word	.LC43
	.word	compar_pidsvc_pid
	.word	tsearch_pid2svc_bt
	.size	service_bypid, .-service_bypid
	.align	2
	.global	service_finish
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_finish, %function
service_finish:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #72]
	mov	r1, #15
	mov	r0, r3
	bl	kill
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	service_finish, .-service_finish
	.align	2
	.global	service_down
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_down, %function
service_down:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	service_byname
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L219
	mov	r3, #22
	b	.L220
.L219:
	ldr	r0, [fp, #-8]
	bl	service_finish
	mov	r3, r0
.L220:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	service_down, .-service_down
	.section	.rodata
	.align	2
.LC44:
	.ascii	"/run/openrc/sockrund/sockrund\000"
	.text
	.align	2
	.global	cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup, %function
cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L225
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L224
	ldr	r3, .L225
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r0, .L225+4
	bl	unlink
	ldr	r3, .L225
	mov	r2, #0
	str	r2, [r3]
	nop
.L224:
	nop
	pop	{fp, pc}
.L226:
	.align	2
.L225:
	.word	ctrlsock
	.word	.LC44
	.size	cleanup, .-cleanup
	.align	2
	.global	main_term
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_term, %function
main_term:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #0
	bl	exit
	.size	main_term, .-main_term
	.section	.rodata
	.align	2
.LC45:
	.ascii	"%u\000"
	.align	2
.LC46:
	.ascii	"Error: %i\012\000"
	.align	2
.LC47:
	.ascii	"Unknown command: %s\012\000"
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	commander_ctrl
	.syntax unified
	.arm
	.fpu softvfp
	.type	commander_ctrl, %function
commander_ctrl:
	@ args = 0, pretend = 0, frame = 8384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8384
	sub	sp, sp, #12
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-188]
	ldr	r3, .L257
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	ldr	r3, [r3]
	str	r3, [r2, #-168]
	b	.L229
.L247:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [r2, #-164]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-172]
	b	.L230
.L231:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-172]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	add	r3, r3, #1
	str	r3, [r2, #-172]
.L230:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	cmp	r3, #31
	bls	.L231
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-136]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	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
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-136]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	add	r0, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8320
	sub	r1, r1, #12
	sub	r1, r1, #8
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [r4, #-160]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	cmp	r3, #0
	blt	.L250
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	cmp	r3, #0
	beq	.L251
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r2, .L257+4
	mov	r1, r3
	ldr	r0, [r0, #-168]
	bl	read
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-156]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	cmp	r3, #0
	beq	.L252
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	cmp	r3, #8192
	bhi	.L253
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	add	r3, r2, r3
	sub	r3, r3, #8
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r3, r3, #1
	str	r3, [r2, #-176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-8]	@ zero_extendqisi2
	cmp	r3, #97
	beq	.L238
	cmp	r3, #100
	beq	.L239
	b	.L240
.L238:
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L257+8
	ldr	r0, [r0, #-176]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	ble	.L254
	nop
.L242:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-176]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bhi	.L242
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	str	r3, [r2, #-144]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-144]
	bl	service_attach
	str	r0, [r4, #-140]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-140]
	cmp	r3, #0
	beq	.L255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-140]
	ldr	r1, .L257+12
	ldr	r0, [r3, #-168]
	bl	dprintf
	b	.L229
.L239:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	str	r3, [r2, #-152]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-152]
	bl	service_down
	str	r0, [r4, #-148]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-148]
	cmp	r3, #0
	beq	.L240
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-148]
	ldr	r1, .L257+12
	ldr	r0, [r3, #-168]
	bl	dprintf
.L240:
	ldr	r3, .L257+16
	ldr	r3, [r3]
	cmp	r3, #4
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L256
	ldr	r3, .L257+20
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L257+24
	bl	fprintf
	b	.L256
.L255:
	nop
	b	.L229
.L256:
	nop
	b	.L229
.L251:
	nop
	b	.L229
.L254:
	nop
.L229:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #0
	bne	.L247
	b	.L246
.L250:
	nop
	b	.L246
.L252:
	nop
	b	.L246
.L253:
	nop
.L246:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-168]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	ldr	r2, .L257
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L249
	bl	__stack_chk_fail
.L249:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L258:
	.align	2
.L257:
	.word	.LC48
	.word	8193
	.word	.LC45
	.word	.LC46
	.word	verbosity
	.word	stderr
	.word	.LC47
	.size	commander_ctrl, .-commander_ctrl
	.section	.rodata
	.align	2
.LC49:
	.ascii	"Got error while atexit(): %s.\012\000"
	.align	2
.LC50:
	.ascii	"/run/openrc/sockrund\000"
	.align	2
.LC51:
	.ascii	"Cannot create directory \"/run/openrc/sockrund\": %"
	.ascii	"s.\012\000"
	.align	2
.LC52:
	.ascii	"Cannot open() directory \"/run/openrc/sockrund\": %"
	.ascii	"s.\012\000"
	.align	2
.LC53:
	.ascii	"pthread_create() error: %s.\012\000"
	.align	2
.LC54:
	.ascii	"Cannot create/listen an UNIX socket by path \"/run/"
	.ascii	"openrc/sockrund/sockrund\": %s.\012\000"
	.align	2
.LC55:
	.ascii	"Cannot create a thread to control the cmd-socket: %"
	.ascii	"s.\012\000"
	.align	2
.LC56:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #236
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L288
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L288+4
	bl	atexit
	mov	r3, r0
	cmp	r3, #0
	beq	.L260
	ldr	r3, .L288+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L261
	ldr	r3, .L288+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L288+16
	mov	r0, r4
	bl	fprintf
.L261:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L260:
	ldr	r1, .L288+20
	mov	r0, #15
	bl	signal
	ldr	r1, .L288+20
	mov	r0, #6
	bl	signal
	ldr	r1, .L288+20
	mov	r0, #2
	bl	signal
	ldr	r1, .L288+20
	mov	r0, #3
	bl	signal
	mov	r2, #24
	mov	r1, #11
	mov	r0, #0
	bl	openlog
	mov	r1, #448
	ldr	r0, .L288+24
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L262
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #17
	beq	.L262
	ldr	r3, .L288+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L263
	ldr	r3, .L288+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L288+28
	mov	r0, r4
	bl	fprintf
.L263:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L262:
	ldr	r0, .L288+24
	bl	chdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L264
	ldr	r3, .L288+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L265
	ldr	r3, .L288+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L288+32
	mov	r0, r4
	bl	fprintf
.L265:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L264:
	mov	r0, #2048
	bl	hcreate
	mov	r0, #0
	bl	time
	mov	r3, r0
	ldr	r2, .L288+36
	str	r3, [r2]
	mov	r3, #0
	ldr	r2, .L288+40
	mov	r1, #0
	ldr	r0, .L288+44
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L266
	ldr	r3, .L288+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L267
	ldr	r3, .L288+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L288+48
	mov	r0, r4
	bl	fprintf
.L267:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L266:
	ldr	r0, .L288+52
	bl	sock_prepare
	mov	r3, r0
	ldr	r2, .L288+56
	str	r3, [r2]
	ldr	r3, .L288+56
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L270
	ldr	r3, .L288+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L269
	ldr	r3, .L288+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L288+60
	mov	r0, r4
	bl	fprintf
.L269:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L284:
	sub	r3, fp, #208
	mov	r2, #64
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #144
	str	r3, [fp, #-216]
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L271
.L272:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-220]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L271:
	ldr	r3, [fp, #-220]
	cmp	r3, #31
	bls	.L272
	ldr	r3, .L288+56
	ldr	r3, [r3]
	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, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, .L288+56
	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
	lsl	r3, r2, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, .L288+56
	ldr	r3, [r3]
	add	r0, r3, #1
	sub	r1, fp, #144
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	blt	.L286
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	beq	.L287
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L277
.L280:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	beq	.L278
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_kill
	mov	r3, r0
	cmp	r3, #3
	bne	.L279
.L278:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	sub	r2, fp, #228
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	sub	r2, fp, #208
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, .L288+64
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L288+64
	str	r3, [r2]
	ldr	r3, .L288+64
	ldr	r3, [r3]
	sub	r2, fp, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #4
	mov	r1, r3
	bl	memcpy
.L279:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L277:
	ldr	r3, .L288+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-224]
	cmp	r2, r3
	blt	.L280
	ldr	r3, .L288+56
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	accept
	mov	r3, r0
	str	r3, [fp, #-228]
	ldr	r3, .L288+64
	ldr	r3, [r3]
	cmp	r3, #15
	ble	.L281
	ldr	r3, [fp, #-228]
	mov	r0, r3
	bl	close
	b	.L270
.L281:
	ldr	r3, .L288+64
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L288+64
	str	r2, [r1]
	sub	r2, fp, #208
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r3, fp, #228
	ldr	r2, .L288+68
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L270
	ldr	r3, .L288+8
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L283
	ldr	r3, .L288+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L288+72
	mov	r0, r4
	bl	fprintf
.L283:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L287:
	nop
.L270:
	ldr	r3, .L288+56
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L284
	b	.L274
.L286:
	nop
.L274:
	bl	hdestroy
	bl	closelog
	mov	r0, #0
	bl	exit
.L289:
	.align	2
.L288:
	.word	.LC56
	.word	cleanup
	.word	verbosity
	.word	stderr
	.word	.LC49
	.word	main_term
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	time_lastcleanup
	.word	ptrace_ctrl
	.word	ptrace_ctrl_thread
	.word	.LC53
	.word	.LC44
	.word	ctrlsock
	.word	.LC54
	.word	commander_count
	.word	commander_ctrl
	.word	.LC55
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
