	.file	"extr_x11_window.c__glfwPlatformSetClipboardString.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"X11: Failed to become owner of clipboard selection"
	.text
	.p2align 4
	.globl	_glfwPlatformSetClipboardString
	.type	_glfwPlatformSetClipboardString, @function
_glfwPlatformSetClipboardString:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR _glfw[rip+8]
	call	free@PLT
	mov	rdi, rbp
	call	strdup@PLT
	mov	esi, DWORD PTR _glfw[rip]
	mov	edi, DWORD PTR _glfw[rip+4]
	mov	ecx, DWORD PTR CurrentTime[rip]
	mov	rdx, QWORD PTR [rbx]
	mov	DWORD PTR _glfw[rip+8], eax
	call	XSetSelectionOwner@PLT
	mov	esi, DWORD PTR _glfw[rip]
	mov	edi, DWORD PTR _glfw[rip+4]
	call	XGetSelectionOwner@PLT
	cmp	rax, QWORD PTR [rbx]
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR GLFW_PLATFORM_ERROR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	_glfwInputError@PLT
	.cfi_endproc
.LFE0:
	.size	_glfwPlatformSetClipboardString, .-_glfwPlatformSetClipboardString
	.comm	_glfw,12,8
	.comm	GLFW_PLATFORM_ERROR,4,4
	.comm	CurrentTime,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_x11_window.c__glfwPlatformSetClipboardString.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"X11: Failed to become owner of clipboard selection\000"
	.text
	.align	2
	.global	_glfwPlatformSetClipboardString
	.syntax unified
	.arm
	.fpu softvfp
	.type	_glfwPlatformSetClipboardString, %function
_glfwPlatformSetClipboardString:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	ldr	r4, .L5
	mov	r5, r0
	ldr	r0, [r4, #8]
	bl	free
	mov	r0, r6
	bl	strdup
	mov	ip, r0
	ldr	r3, .L5+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	str	ip, [r4, #8]
	bl	XSetSelectionOwner
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	XGetSelectionOwner
	ldr	r3, [r5]
	cmp	r0, r3
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L5+8
	ldr	r1, .L5+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, lr}
	b	_glfwInputError
.L6:
	.align	2
.L5:
	.word	_glfw
	.word	CurrentTime
	.word	GLFW_PLATFORM_ERROR
	.word	.LC0
	.size	_glfwPlatformSetClipboardString, .-_glfwPlatformSetClipboardString
	.comm	_glfw,12,4
	.comm	GLFW_PLATFORM_ERROR,4,4
	.comm	CurrentTime,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
