	.file	"48823.c"
	.intel_syntax noprefix
	.text
	.local	registryProperty
	.comm	registryProperty,8,8
	.local	commProperty
	.comm	commProperty,8,8
	.local	commWindow
	.comm	commWindow,8,8
	.local	got_x_error
	.comm	got_x_error,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"no registered server named %s\n"
.LC1:
	.string	"%c%c%c-n %s%c-s %s"
.LC2:
	.string	"%c-r %x %d"
	.align 8
.LC3:
	.string	"Failed to send command to the destination program\n"
	.text
	.globl	sendToVim
	.type	sendToVim, @function
sendToVim:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 840
	.cfi_offset 3, -24
	mov	QWORD PTR -808[rbp], rdi
	mov	QWORD PTR -816[rbp], rsi
	mov	QWORD PTR -824[rbp], rdx
	mov	DWORD PTR -828[rbp], ecx
	mov	QWORD PTR -840[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -720[rbp]
	mov	QWORD PTR -768[rbp], rax
	mov	QWORD PTR -784[rbp], 0
	mov	rax, QWORD PTR commProperty[rip]
	test	rax, rax
	jne	.L2
	cmp	QWORD PTR -808[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	SendInit
	test	eax, eax
	jns	.L2
	mov	eax, 0
	jmp	.L26
.L2:
	lea	rdi, x_error_check[rip]
	call	XSetErrorHandler@PLT
	mov	QWORD PTR -760[rbp], rax
.L8:
	mov	DWORD PTR got_x_error[rip], 0
	lea	rdx, -784[rbp]
	mov	rsi, QWORD PTR -816[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	LookupName
	mov	QWORD PTR -752[rbp], rax
	cmp	QWORD PTR -752[rbp], 0
	je	.L29
	lea	rdx, -800[rbp]
	mov	rcx, QWORD PTR -752[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XListProperties@PLT
	mov	QWORD PTR -744[rbp], rax
	mov	rax, QWORD PTR -808[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	cmp	QWORD PTR -744[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -744[rbp]
	mov	rdi, rax
	call	XFree@PLT
.L5:
	mov	eax, DWORD PTR got_x_error[rip]
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR -784[rbp]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -784[rbp]
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -816[rbp]
.L7:
	mov	rdi, QWORD PTR -808[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	rsi, rax
	call	LookupName
	jmp	.L8
.L29:
	nop
	cmp	QWORD PTR -752[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -816[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L26
.L9:
	mov	rax, QWORD PTR -784[rbp]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -784[rbp]
	mov	QWORD PTR -816[rbp], rax
.L10:
	mov	rax, QWORD PTR -816[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -824[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, ebx
	add	eax, 10
	mov	DWORD PTR -796[rbp], eax
	cmp	DWORD PTR -796[rbp], 500
	jg	.L11
	lea	rax, -528[rbp]
	mov	QWORD PTR -776[rbp], rax
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -796[rbp]
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -776[rbp], rax
.L12:
	mov	eax, DWORD PTR serial.0[rip]
	add	eax, 1
	mov	DWORD PTR serial.0[rip], eax
	cmp	DWORD PTR -828[rbp], 0
	je	.L13
	mov	ecx, 107
	jmp	.L14
.L13:
	mov	ecx, 99
.L14:
	mov	rdx, QWORD PTR -816[rbp]
	mov	rax, QWORD PTR -776[rbp]
	push	QWORD PTR -824[rbp]
	push	0
	mov	r9, rdx
	mov	r8d, 0
	mov	edx, 0
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -784[rbp]
	cmp	QWORD PTR -816[rbp], rax
	jne	.L15
	mov	rax, QWORD PTR -784[rbp]
	mov	rdi, rax
	call	free@PLT
.L15:
	cmp	DWORD PTR -828[rbp], 0
	jne	.L16
	mov	edx, DWORD PTR serial.0[rip]
	mov	rax, QWORD PTR commWindow[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR -796[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -776[rbp]
	add	rax, rsi
	mov	r8d, edx
	mov	edx, 0
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -796[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -776[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -796[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -796[rbp], eax
.L16:
	mov	eax, DWORD PTR -796[rbp]
	lea	edi, 1[rax]
	mov	rdx, QWORD PTR commProperty[rip]
	mov	rcx, QWORD PTR -776[rbp]
	mov	rsi, QWORD PTR -752[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	AppendPropCarefully
	mov	DWORD PTR -800[rbp], eax
	cmp	DWORD PTR -796[rbp], 500
	jle	.L17
	mov	rax, QWORD PTR -776[rbp]
	mov	rdi, rax
	call	free@PLT
.L17:
	mov	eax, DWORD PTR -800[rbp]
	test	eax, eax
	jns	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 50
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L26
.L18:
	cmp	DWORD PTR -828[rbp], 0
	je	.L19
	mov	eax, 0
	jmp	.L26
.L19:
	lea	rax, -792[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	time@PLT
	jmp	.L20
.L25:
	mov	rax, QWORD PTR -808[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -728[rbp], eax
	mov	WORD PTR -724[rbp], 1
	lea	rax, -728[rbp]
	mov	edx, 50
	mov	esi, 1
	mov	rdi, rax
	call	poll@PLT
	test	eax, eax
	js	.L30
	jmp	.L23
.L24:
	lea	rdx, -720[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -720[rbp]
	cmp	eax, 28
	jne	.L23
	mov	rax, QWORD PTR -768[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR commWindow[rip]
	cmp	rdx, rax
	jne	.L23
	mov	edx, DWORD PTR serial.0[rip]
	mov	rcx, QWORD PTR -840[rbp]
	lea	rsi, -720[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	SendEventProc
	mov	QWORD PTR -736[rbp], rax
	cmp	QWORD PTR -736[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -736[rbp]
	jmp	.L26
.L23:
	mov	rax, QWORD PTR -808[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	XEventsQueued@PLT
	test	eax, eax
	jg	.L24
.L20:
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	rdx, QWORD PTR -792[rbp]
	sub	rax, rdx
	cmp	rax, 59
	jle	.L25
	jmp	.L22
.L30:
	nop
.L22:
	mov	eax, 0
.L26:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sendToVim, .-sendToVim
	.section	.rodata
.LC4:
	.string	"Comm"
.LC5:
	.string	"VimRegistry"
	.text
	.type	SendInit, @function
SendInit:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -56[rbp], rdi
	lea	rdi, x_error_check[rip]
	call	XSetErrorHandler@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR got_x_error[rip], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR commProperty[rip], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR registryProperty[rip], rax
	mov	rax, QWORD PTR commWindow[rip]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	r12, QWORD PTR 88[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rbx, QWORD PTR 88[rax]
	mov	eax, 0
	call	getpid@PLT
	mov	r13d, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	XDefaultRootWindow@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	r12
	push	rbx
	push	0
	mov	r9d, 10
	mov	r8d, 10
	mov	ecx, 0
	mov	edx, r13d
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR commWindow[rip], rax
	mov	rcx, QWORD PTR commWindow[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 4194304
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
.L32:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	XSetErrorHandler@PLT
	mov	eax, DWORD PTR got_x_error[rip]
	test	eax, eax
	je	.L33
	mov	eax, -1
	jmp	.L35
.L33:
	mov	eax, 0
.L35:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	SendInit, .-SendInit
	.section	.rodata
.LC6:
	.string	"%x"
	.text
	.type	LookupName, @function
LookupName:
.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, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	QWORD PTR -112[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	rdx, QWORD PTR registryProperty[rip]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 232[rax]
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, -64[rbp]
	push	rcx
	lea	rcx, -48[rbp]
	push	rcx
	lea	rcx, -56[rbp]
	push	rcx
	lea	rcx, -76[rbp]
	push	rcx
	lea	rcx, -40[rbp]
	push	rcx
	push	31
	mov	r9d, 0
	mov	r8d, 100000
	mov	ecx, 0
	mov	rdi, rax
	call	XGetWindowProperty@PLT
	add	rsp, 48
	mov	DWORD PTR -72[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	jne	.L37
	mov	eax, 0
	jmp	.L64
.L37:
	cmp	DWORD PTR -72[rbp], 0
	jne	.L39
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 8
	jne	.L39
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, 31
	je	.L40
.L39:
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L41
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	XFree@PLT
.L41:
	mov	rdx, QWORD PTR registryProperty[rip]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 232[rax]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XDeleteProperty@PLT
	mov	eax, 0
	jmp	.L64
.L40:
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L42
.L50:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L43
.L45:
	add	QWORD PTR -16[rbp], 1
.L43:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L44
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	isspace@PLT
	test	eax, eax
	je	.L45
.L44:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L48
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L48
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L47
.L49:
	add	QWORD PTR -16[rbp], 1
.L48:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L49
	add	QWORD PTR -16[rbp], 1
.L42:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	rdx, rax
	jb	.L50
.L47:
	cmp	QWORD PTR -112[rbp], 0
	je	.L51
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L51
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	IsSerialName
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L52
.L59:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L53
.L55:
	add	QWORD PTR -16[rbp], 1
.L53:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L54
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	isspace@PLT
	test	eax, eax
	je	.L55
.L54:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L57
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	rdi, rax
	call	IsSerialName
	test	eax, eax
	je	.L57
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L57
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L51
.L58:
	add	QWORD PTR -16[rbp], 1
.L57:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L58
	add	QWORD PTR -16[rbp], 1
.L52:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	rdx, rax
	jb	.L59
.L51:
	cmp	DWORD PTR -100[rbp], 0
	je	.L60
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L60
	jmp	.L61
.L62:
	add	QWORD PTR -16[rbp], 1
.L61:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L62
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	ecx, eax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, rdx
	mov	edx, eax
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	jle	.L63
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L63:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	edi, eax
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR registryProperty[rip]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 232[rax]
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	push	rdi
	push	rcx
	mov	r9d, 0
	mov	r8d, 8
	mov	ecx, 31
	mov	rdi, rax
	call	XChangeProperty@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
.L60:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	XFree@PLT
	mov	rax, QWORD PTR -32[rbp]
.L64:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	LookupName, .-LookupName
	.section	.rodata
.LC7:
	.string	""
.LC8:
	.string	" %d"
	.text
	.type	SendEventProc, @function
SendEventProc:
.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, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	QWORD PTR -112[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR commProperty[rip]
	cmp	rdx, rax
	jne	.L97
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	jne	.L97
	mov	QWORD PTR -56[rbp], 0
	mov	rdx, QWORD PTR commProperty[rip]
	mov	rsi, QWORD PTR commWindow[rip]
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, -56[rbp]
	push	rcx
	lea	rcx, -40[rbp]
	push	rcx
	lea	rcx, -48[rbp]
	push	rcx
	lea	rcx, -76[rbp]
	push	rcx
	lea	rcx, -32[rbp]
	push	rcx
	push	31
	mov	r9d, 1
	mov	r8d, 100000
	mov	ecx, 0
	mov	rdi, rax
	call	XGetWindowProperty@PLT
	add	rsp, 48
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L70
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, 31
	jne	.L70
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 8
	je	.L71
.L70:
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	je	.L98
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	XFree@PLT
	jmp	.L98
.L71:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L73
.L94:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	add	QWORD PTR -24[rbp], 1
	jmp	.L73
.L74:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	jne	.L92
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L92
	add	QWORD PTR -24[rbp], 2
	mov	DWORD PTR -64[rbp], 0
	lea	rax, .LC7[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L76
.L86:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	eax, 115
	je	.L77
	cmp	eax, 115
	jg	.L83
	cmp	eax, 99
	je	.L79
	cmp	eax, 114
	jne	.L83
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L99
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 3
	mov	QWORD PTR -16[rbp], rax
	jmp	.L99
.L77:
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 2[rax]
	lea	rax, -68[rbp]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L100
	mov	DWORD PTR -64[rbp], 1
	jmp	.L100
.L79:
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 2[rax]
	lea	rax, -72[rbp]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L101
	mov	DWORD PTR -72[rbp], 0
	jmp	.L101
.L99:
	nop
	jmp	.L83
.L100:
	nop
	jmp	.L83
.L101:
	nop
	jmp	.L83
.L84:
	add	QWORD PTR -24[rbp], 1
.L83:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L84
	add	QWORD PTR -24[rbp], 1
.L76:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	rdx, rax
	jnb	.L85
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L86
.L85:
	cmp	DWORD PTR -64[rbp], 0
	jne	.L87
	jmp	.L73
.L87:
	cmp	QWORD PTR -112[rbp], 0
	je	.L88
	mov	edx, DWORD PTR -72[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	DWORD PTR [rax], edx
.L88:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -100[rbp], eax
	jne	.L89
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strdup@PLT
	jmp	.L66
.L89:
	mov	eax, 0
	jmp	.L66
.L93:
	add	QWORD PTR -24[rbp], 1
.L92:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L93
	add	QWORD PTR -24[rbp], 1
.L73:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	cmp	rdx, rax
	jb	.L94
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	XFree@PLT
	jmp	.L66
.L97:
	nop
	jmp	.L95
.L98:
	nop
.L95:
.L66:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L96
	call	__stack_chk_fail@PLT
.L96:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	SendEventProc, .-SendEventProc
	.type	AppendPropCarefully, @function
AppendPropCarefully:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -52[rbp], r8d
	lea	rdi, x_error_check[rip]
	call	XSetErrorHandler@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR got_x_error[rip], 0
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	push	rcx
	push	QWORD PTR -48[rbp]
	mov	r9d, 2
	mov	r8d, 8
	mov	ecx, 31
	mov	rdi, rax
	call	XChangeProperty@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	XSetErrorHandler@PLT
	mov	eax, DWORD PTR got_x_error[rip]
	test	eax, eax
	je	.L103
	mov	eax, -1
	jmp	.L105
.L103:
	mov	eax, 0
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	AppendPropCarefully, .-AppendPropCarefully
	.type	x_error_check, @function
x_error_check:
.LFB11:
	.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	DWORD PTR got_x_error[rip], 1
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	x_error_check, .-x_error_check
	.type	IsSerialName, @function
IsSerialName:
.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jle	.L109
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cmp	eax, 9
	ja	.L109
	mov	eax, 1
	jmp	.L111
.L109:
	mov	eax, 0
.L111:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	IsSerialName, .-IsSerialName
	.local	serial.0
	.comm	serial.0,4,4
	.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	"48823.c"
	.text
	.local	registryProperty
	.comm	registryProperty,4,4
	.local	commProperty
	.comm	commProperty,4,4
	.local	commWindow
	.comm	commWindow,4,4
	.local	got_x_error
	.comm	got_x_error,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"no registered server named %s\012\000"
	.align	2
.LC1:
	.ascii	"%c%c%c-n %s%c-s %s\000"
	.align	2
.LC2:
	.ascii	"%c-r %x %d\000"
	.align	2
.LC3:
	.ascii	"Failed to send command to the destination program\012"
	.ascii	"\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sendToVim
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendToVim, %function
sendToVim:
	@ args = 4, pretend = 0, frame = 672
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #692
	str	r0, [fp, #-664]
	str	r1, [fp, #-668]
	str	r2, [fp, #-672]
	str	r3, [fp, #-676]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-680]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #612
	str	r3, [fp, #-640]
	mov	r3, #0
	str	r3, [fp, #-652]
	ldr	r3, .L31+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-664]
	cmp	r3, #0
	beq	.L2
	ldr	r0, [fp, #-664]
	bl	SendInit
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	mov	r3, #0
	b	.L26
.L2:
	ldr	r0, .L31+8
	bl	XSetErrorHandler
	str	r0, [fp, #-636]
.L8:
	ldr	r3, .L31+12
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #652
	mov	r2, #0
	ldr	r1, [fp, #-668]
	ldr	r0, [fp, #-664]
	bl	LookupName
	str	r0, [fp, #-632]
	ldr	r3, [fp, #-632]
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #660
	mov	r2, r3
	ldr	r1, [fp, #-632]
	ldr	r0, [fp, #-664]
	bl	XListProperties
	str	r0, [fp, #-628]
	mov	r1, #0
	ldr	r0, [fp, #-664]
	bl	XSync
	ldr	r3, [fp, #-628]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [fp, #-628]
	bl	XFree
.L5:
	ldr	r3, .L31+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-652]
	cmp	r3, #0
	beq	.L6
	ldr	r1, [fp, #-652]
	b	.L7
.L6:
	ldr	r1, [fp, #-668]
.L7:
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-664]
	bl	LookupName
	b	.L8
.L29:
	nop
	ldr	r3, [fp, #-632]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L31+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-668]
	ldr	r1, .L31+20
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L26
.L9:
	ldr	r3, [fp, #-652]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-652]
	str	r3, [fp, #-668]
.L10:
	ldr	r0, [fp, #-668]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-672]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #10
	str	r3, [fp, #-644]
	ldr	r3, [fp, #-644]
	cmp	r3, #500
	bgt	.L11
	sub	r3, fp, #516
	str	r3, [fp, #-648]
	b	.L12
.L11:
	ldr	r3, [fp, #-644]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-648]
.L12:
	ldr	r3, .L31+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L31+24
	str	r3, [r2]
	ldr	r3, [fp, #-676]
	cmp	r3, #0
	beq	.L13
	mov	r2, #107
	b	.L14
.L13:
	mov	r2, #99
.L14:
	ldr	r3, [fp, #-672]
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, [fp, #-668]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	ldr	r1, .L31+28
	ldr	r0, [fp, #-648]
	bl	sprintf
	ldr	r3, [fp, #-652]
	ldr	r2, [fp, #-668]
	cmp	r2, r3
	bne	.L15
	ldr	r3, [fp, #-652]
	mov	r0, r3
	bl	free
.L15:
	ldr	r3, [fp, #-676]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-644]
	ldr	r2, [fp, #-648]
	add	r0, r2, r3
	ldr	r3, .L31+32
	ldr	r2, [r3]
	ldr	r3, .L31+24
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	ldr	r1, .L31+36
	bl	sprintf
	ldr	r3, [fp, #-644]
	add	r3, r3, #1
	ldr	r2, [fp, #-648]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-644]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-644]
.L16:
	ldr	r3, .L31+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-644]
	add	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-648]
	ldr	r1, [fp, #-632]
	ldr	r0, [fp, #-664]
	bl	AppendPropCarefully
	mov	r3, r0
	str	r3, [fp, #-660]
	ldr	r3, [fp, #-644]
	cmp	r3, #500
	ble	.L17
	ldr	r0, [fp, #-648]
	bl	free
.L17:
	ldr	r3, [fp, #-660]
	cmp	r3, #0
	bge	.L18
	ldr	r3, .L31+16
	ldr	r3, [r3]
	mov	r2, #50
	mov	r1, #1
	ldr	r0, .L31+40
	bl	fwrite
	mov	r3, #0
	b	.L26
.L18:
	ldr	r3, [fp, #-676]
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	b	.L26
.L19:
	sub	r3, fp, #656
	mov	r0, r3
	bl	time
	b	.L20
.L25:
	ldr	r3, [fp, #-664]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-620]
	sub	r3, fp, #12
	sub	r3, r3, #608
	mov	r2, #1
	strh	r2, [r3, #4]	@ movhi
	sub	r3, fp, #620
	mov	r2, #50
	mov	r1, #1
	mov	r0, r3
	bl	poll
	mov	r3, r0
	cmp	r3, #0
	blt	.L30
	b	.L23
.L24:
	sub	r3, fp, #612
	mov	r1, r3
	ldr	r0, [fp, #-664]
	bl	XNextEvent
	ldr	r3, [fp, #-612]
	cmp	r3, #28
	bne	.L23
	ldr	r3, [fp, #-640]
	ldr	r2, [r3, #16]
	ldr	r3, .L31+32
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L23
	ldr	r3, .L31+24
	ldr	r2, [r3]
	sub	r1, fp, #612
	ldr	r3, [fp, #-680]
	ldr	r0, [fp, #-664]
	bl	SendEventProc
	str	r0, [fp, #-624]
	ldr	r3, [fp, #-624]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-624]
	b	.L26
.L23:
	mov	r1, #1
	ldr	r0, [fp, #-664]
	bl	XEventsQueued
	mov	r3, r0
	cmp	r3, #0
	bgt	.L24
.L20:
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, [fp, #-656]
	sub	r3, r2, r3
	cmp	r3, #59
	ble	.L25
	b	.L22
.L30:
	nop
.L22:
	mov	r3, #0
.L26:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC4
	.word	commProperty
	.word	x_error_check
	.word	got_x_error
	.word	stderr
	.word	.LC0
	.word	serial.9954
	.word	.LC1
	.word	commWindow
	.word	.LC2
	.word	.LC3
	.size	sendToVim, .-sendToVim
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Comm\000"
	.align	2
.LC6:
	.ascii	"VimRegistry\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SendInit, %function
SendInit:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-24]
	ldr	r0, .L38
	bl	XSetErrorHandler
	str	r0, [fp, #-16]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3]
	mov	r2, #0
	ldr	r1, .L38+8
	ldr	r0, [fp, #-24]
	bl	XInternAtom
	mov	r3, r0
	ldr	r2, .L38+12
	str	r3, [r2]
	mov	r2, #0
	ldr	r1, .L38+16
	ldr	r0, [fp, #-24]
	bl	XInternAtom
	mov	r3, r0
	ldr	r2, .L38+20
	str	r3, [r2]
	ldr	r3, .L38+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L34
	ldr	r0, [fp, #-24]
	bl	XDefaultRootWindow
	mov	r4, r0
	bl	getpid
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #140]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #132]
	mov	ip, r3
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #52]
	str	r3, [sp, #16]
	str	r2, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	mov	r3, #0
	mov	r2, r0
	mov	r1, r4
	ldr	r0, [fp, #-24]
	bl	XCreateSimpleWindow
	mov	r3, r0
	ldr	r2, .L38+24
	str	r3, [r2]
	ldr	r3, .L38+24
	ldr	r3, [r3]
	mov	r2, #4194304
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	XSelectInput
.L34:
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	XSync
	ldr	r0, [fp, #-16]
	bl	XSetErrorHandler
	ldr	r3, .L38+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	mvn	r3, #0
	b	.L37
.L35:
	mov	r3, #0
.L37:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L39:
	.align	2
.L38:
	.word	x_error_check
	.word	got_x_error
	.word	.LC5
	.word	commProperty
	.word	.LC6
	.word	registryProperty
	.word	commWindow
	.size	SendInit, .-SendInit
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%x\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LookupName, %function
LookupName:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #100
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #140]
	ldr	r1, [r3, #8]
	ldr	r3, .L70+4
	ldr	r2, [r3]
	sub	r3, fp, #56
	str	r3, [sp, #28]
	sub	r3, fp, #44
	str	r3, [sp, #24]
	sub	r3, fp, #48
	str	r3, [sp, #20]
	sub	r3, fp, #52
	str	r3, [sp, #16]
	sub	r3, fp, #40
	str	r3, [sp, #12]
	mov	r3, #31
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, .L70+8
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-64]
	bl	XGetWindowProperty
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L41
	mov	r3, #0
	b	.L68
.L41:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-52]
	cmp	r3, #8
	bne	.L43
	ldr	r3, [fp, #-40]
	cmp	r3, #31
	beq	.L44
.L43:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	XFree
.L45:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #140]
	ldr	r3, [r3, #8]
	ldr	r2, .L70+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	XDeleteProperty
	mov	r3, #0
	b	.L68
.L44:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	b	.L46
.L54:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
	b	.L47
.L49:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L47:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isspace
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
.L48:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, .L70+12
	ldr	r0, [fp, #-32]
	bl	__isoc99_sscanf
	b	.L51
.L53:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L52:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L46:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L54
.L51:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L55
	ldr	r0, [fp, #-68]
	bl	IsSerialName
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	b	.L56
.L63:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
	b	.L57
.L59:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L57:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isspace
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
.L58:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r0, r3
	bl	IsSerialName
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-28]
	add	r4, r3, #1
	ldr	r0, [fp, #-68]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-68]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, .L70+12
	ldr	r0, [fp, #-32]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	b	.L55
.L62:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L61:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L56:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L63
.L55:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L64
	b	.L65
.L66:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L65:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-28]
	sub	r2, r1, r2
	sub	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L67
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	memcpy
.L67:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #140]
	ldr	ip, [r3, #8]
	ldr	r3, .L70+4
	ldr	lr, [r3]
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-48]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-32]
	sub	r1, r0, r1
	sub	r2, r2, r1
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #8
	str	r3, [sp]
	mov	r3, #31
	mov	r2, lr
	mov	r1, ip
	ldr	r0, [fp, #-64]
	bl	XChangeProperty
	mov	r1, #0
	ldr	r0, [fp, #-64]
	bl	XSync
.L64:
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	XFree
	ldr	r3, [fp, #-36]
.L68:
	ldr	r2, .L70
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC8
	.word	registryProperty
	.word	100000
	.word	.LC7
	.size	LookupName, .-LookupName
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	" %d\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SendEventProc, %function
SendEventProc:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L108
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-60]
	ldr	r2, [r3, #20]
	ldr	r3, .L108+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L103
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L103
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, .L108+8
	ldr	r1, [r3]
	ldr	r3, .L108+4
	ldr	r2, [r3]
	sub	r3, fp, #52
	str	r3, [sp, #28]
	sub	r3, fp, #36
	str	r3, [sp, #24]
	sub	r3, fp, #40
	str	r3, [sp, #20]
	sub	r3, fp, #48
	str	r3, [sp, #16]
	sub	r3, fp, #32
	str	r3, [sp, #12]
	mov	r3, #31
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, .L108+12
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-56]
	bl	XGetWindowProperty
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L76
	ldr	r3, [fp, #-32]
	cmp	r3, #31
	bne	.L76
	ldr	r3, [fp, #-48]
	cmp	r3, #8
	beq	.L77
.L76:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L104
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	XFree
	b	.L104
.L77:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-24]
	b	.L79
.L100:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L79
.L80:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L98
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L98
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L108+16
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L82
.L92:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L83
	cmp	r3, #115
	bgt	.L89
	cmp	r3, #99
	beq	.L85
	cmp	r3, #114
	bne	.L89
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L105
	ldr	r3, [fp, #-24]
	add	r3, r3, #3
	str	r3, [fp, #-16]
	b	.L105
.L83:
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	sub	r2, fp, #28
	ldr	r1, .L108+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L106
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L106
.L85:
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	sub	r2, fp, #44
	ldr	r1, .L108+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L107
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L107
.L105:
	nop
	b	.L89
.L106:
	nop
	b	.L89
.L107:
	nop
	b	.L89
.L90:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L89:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L82:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcs	.L91
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L92
.L91:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L93
	b	.L79
.L93:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L94
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-68]
	str	r2, [r3]
.L94:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bne	.L95
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	b	.L72
.L95:
	mov	r3, #0
	b	.L72
.L99:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L98:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L99
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L79:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L100
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	XFree
	b	.L72
.L103:
	nop
	b	.L101
.L104:
	nop
.L101:
.L72:
	ldr	r2, .L108
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L102
	bl	__stack_chk_fail
.L102:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	.LC11
	.word	commProperty
	.word	commWindow
	.word	100000
	.word	.LC9
	.word	.LC10
	.size	SendEventProc, .-SendEventProc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AppendPropCarefully, %function
AppendPropCarefully:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r0, .L114
	bl	XSetErrorHandler
	str	r0, [fp, #-8]
	ldr	r3, .L114+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #4]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #8]
	mov	r3, #2
	str	r3, [sp, #4]
	mov	r3, #8
	str	r3, [sp]
	mov	r3, #31
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	XChangeProperty
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	XSync
	ldr	r0, [fp, #-8]
	bl	XSetErrorHandler
	ldr	r3, .L114+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L111
	mvn	r3, #0
	b	.L113
.L111:
	mov	r3, #0
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	x_error_check
	.word	got_x_error
	.size	AppendPropCarefully, .-AppendPropCarefully
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	x_error_check, %function
x_error_check:
	@ 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, .L118
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L119:
	.align	2
.L118:
	.word	got_x_error
	.size	x_error_check, .-x_error_check
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsSerialName, %function
IsSerialName:
	@ 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	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L121
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #9
	bhi	.L121
	mov	r3, #1
	b	.L123
.L121:
	mov	r3, #0
.L123:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	IsSerialName, .-IsSerialName
	.local	serial.9954
	.comm	serial.9954,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
