	.file	"596910.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"CLIPBOARD"
	.text
	.type	_clipboard_atom, @function
_clipboard_atom:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_clipboard_atom, .-_clipboard_atom
	.type	_primary_atom, @function
_primary_atom:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	_primary_atom, .-_primary_atom
	.type	_seconary_atom, @function
_seconary_atom:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 2
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	_seconary_atom, .-_seconary_atom
	.section	.rodata
.LC1:
	.string	"UTF8_STRING"
	.text
	.type	_utf8_string_atom, @function
_utf8_string_atom:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L10
.L8:
	mov	eax, 31
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	_utf8_string_atom, .-_utf8_string_atom
	.type	_get_timestamp, @function
_get_timestamp:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rsi, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR -216[rbp]
	push	0
	push	0
	mov	r9d, 2
	mov	r8d, 8
	mov	ecx, 31
	mov	edx, 39
	mov	rdi, rax
	call	XChangeProperty@PLT
	add	rsp, 16
.L14:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, 28
	jne	.L14
	mov	rax, QWORD PTR -160[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	_get_timestamp, .-_get_timestamp
	.type	_wait_selection, @function
_wait_selection:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -264[rbp], rdi
	mov	QWORD PTR -272[rbp], rsi
	mov	QWORD PTR -280[rbp], rdx
	mov	QWORD PTR -288[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -216[rbp], 0
	mov	DWORD PTR -252[rbp], 1
	jmp	.L18
.L25:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, 31
	jne	.L28
	mov	rax, QWORD PTR -168[rbp]
	cmp	QWORD PTR -280[rbp], rax
	je	.L20
	jmp	.L18
.L20:
	mov	rax, QWORD PTR -152[rbp]
	test	rax, rax
	jne	.L21
	mov	QWORD PTR -224[rbp], 0
	mov	DWORD PTR -252[rbp], 0
	jmp	.L18
.L21:
	mov	rdx, QWORD PTR -152[rbp]
	mov	rsi, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -184[rbp]
	lea	rcx, -224[rbp]
	push	rcx
	lea	rcx, -240[rbp]
	push	rcx
	lea	rcx, -232[rbp]
	push	rcx
	lea	rcx, -256[rbp]
	push	rcx
	lea	rcx, -248[rbp]
	push	rcx
	push	0
	mov	r9d, 0
	mov	r8d, 1000000
	mov	ecx, 0
	mov	rdi, rax
	call	XGetWindowProperty@PLT
	add	rsp, 48
	mov	rax, QWORD PTR -248[rbp]
	cmp	QWORD PTR -288[rbp], rax
	je	.L23
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -216[rbp], 0
	mov	DWORD PTR -252[rbp], 0
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	XFree@PLT
	mov	DWORD PTR -252[rbp], 0
.L24:
	mov	rdx, QWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XDeleteProperty@PLT
	jmp	.L18
.L28:
	nop
.L18:
	cmp	DWORD PTR -252[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	_wait_selection, .-_wait_selection
	.section	.rodata
.LC2:
	.string	"XSEL_DATA"
	.text
	.type	_get_selection, @function
_get_selection:
.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, 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	QWORD PTR -56[rbp], r8
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	r8, QWORD PTR -56[rbp]
	mov	rdi, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	XConvertSelection@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	_wait_selection
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	_get_selection, .-_get_selection
	.type	_get_selection_text, @function
_get_selection_text:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	_get_timestamp
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	_utf8_string_atom
	mov	rcx, rax
	mov	rdi, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	_get_selection
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L32
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rcx
	mov	ecx, 31
	mov	rdi, rax
	call	_get_selection
	mov	QWORD PTR -16[rbp], rax
.L32:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	_get_selection_text, .-_get_selection_text
	.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	"596910.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"CLIPBOARD\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_clipboard_atom, %function
_clipboard_atom:
	@ 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	r2, #0
	ldr	r1, .L3
	ldr	r0, [fp, #-8]
	bl	XInternAtom
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	_clipboard_atom, .-_clipboard_atom
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_primary_atom, %function
_primary_atom:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_primary_atom, .-_primary_atom
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_seconary_atom, %function
_seconary_atom:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_seconary_atom, .-_seconary_atom
	.section	.rodata
	.align	2
.LC1:
	.ascii	"UTF8_STRING\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_utf8_string_atom, %function
_utf8_string_atom:
	@ 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	r2, #1
	ldr	r1, .L13
	ldr	r0, [fp, #-16]
	bl	XInternAtom
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	b	.L12
.L10:
	mov	r3, #31
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.size	_utf8_string_atom, .-_utf8_string_atom
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_get_timestamp, %function
_get_timestamp:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #2
	str	r3, [sp, #4]
	mov	r3, #8
	str	r3, [sp]
	mov	r3, #31
	mov	r2, #39
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	XChangeProperty
.L18:
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	XNextEvent
	ldr	r3, [fp, #-104]
	cmp	r3, #28
	bne	.L18
	ldr	r3, [fp, #-80]
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC2
	.size	_get_timestamp, .-_get_timestamp
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_wait_selection, %function
_wait_selection:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	str	r3, [fp, #-148]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #1
	str	r3, [fp, #-108]
	b	.L24
.L31:
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	XNextEvent
	ldr	r3, [fp, #-104]
	cmp	r3, #31
	bne	.L34
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	beq	.L26
	b	.L24
.L26:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L27
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L24
.L27:
	ldr	r0, [fp, #-92]
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-76]
	sub	r3, fp, #116
	str	r3, [sp, #28]
	sub	r3, fp, #124
	str	r3, [sp, #24]
	sub	r3, fp, #120
	str	r3, [sp, #20]
	sub	r3, fp, #128
	str	r3, [sp, #16]
	sub	r3, fp, #132
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, .L35+4
	str	r3, [sp]
	mov	r3, #0
	bl	XGetWindowProperty
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	beq	.L29
	ldr	r0, [fp, #-112]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L30
.L29:
	ldr	r3, [fp, #-116]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-116]
	mov	r0, r3
	bl	XFree
	mov	r3, #0
	str	r3, [fp, #-108]
.L30:
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-76]
	mov	r0, r3
	bl	XDeleteProperty
	b	.L24
.L34:
	nop
.L24:
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-112]
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC3
	.word	1000000
	.size	_wait_selection, .-_wait_selection
	.section	.rodata
	.align	2
.LC4:
	.ascii	"XSEL_DATA\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_get_selection, %function
_get_selection:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r2, #0
	ldr	r1, .L39
	ldr	r0, [fp, #-16]
	bl	XInternAtom
	str	r0, [fp, #-8]
	ldr	r3, [fp, #4]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	XConvertSelection
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	XSync
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	_wait_selection
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC4
	.size	_get_selection, .-_get_selection
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_get_selection_text, %function
_get_selection_text:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	_get_timestamp
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	_utf8_string_atom
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	_get_selection
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	mov	r3, #31
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	_get_selection
	str	r0, [fp, #-12]
.L42:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	_get_selection_text, .-_get_selection_text
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
