	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetClipboardString ## -- Begin function _glfwPlatformSetClipboardString
	.p2align	4, 0x90
__glfwPlatformSetClipboardString:       ## @_glfwPlatformSetClipboardString
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	__glfw@GOTPCREL(%rip), %rbx
	movl	16(%rbx), %edi
	callq	_free
	movq	%r14, %rdi
	callq	__glfw_strdup
	movl	%eax, 16(%rbx)
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	movq	_CurrentTime@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_XSetSelectionOwner
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_XGetSelectionOwner
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,24,3                     ## @_glfw
	.comm	_CurrentTime,4,2                ## @CurrentTime
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X11: Failed to become owner of clipboard selection"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetClipboardString ; -- Begin function _glfwPlatformSetClipboardString
	.p2align	2
__glfwPlatformSetClipboardString:       ; @_glfwPlatformSetClipboardString
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, __glfw@GOTPAGE
Lloh1:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	ldr	w0, [x20, #16]
	bl	_free
	mov	x0, x19
	bl	__glfw_strdup
	str	w0, [x20, #16]
	ldp	w1, w0, [x20, #8]
	ldr	x2, [x20]
Lloh2:
	adrp	x8, _CurrentTime@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CurrentTime@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_XSetSelectionOwner
	ldp	w1, w0, [x20, #8]
	bl	_XGetSelectionOwner
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__glfwInputError
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,24,3                     ; @_glfw
	.comm	_CurrentTime,4,2                ; @CurrentTime
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X11: Failed to become owner of clipboard selection"

.subsections_via_symbols
