	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPushSelectionToManagerX11 ## -- Begin function _glfwPushSelectionToManagerX11
	.p2align	4, 0x90
__glfwPushSelectionToManagerX11:        ## @_glfwPushSelectionToManagerX11
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__glfw@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	4(%r14), %edi
	movl	12(%r14), %esi
	movq	_None@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	8(%r14), %r8d
	movq	_CurrentTime@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	callq	_XConvertSelection
	movq	_isSelectionEvent@GOTPCREL(%rip), %r15
	leaq	-32(%rbp), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_handleSelectionClear
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14), %edi
	movl	(%r15), %edx
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_XCheckIfEvent
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-32(%rbp), %eax
	cmpl	$130, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$129, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_handleSelectionRequest
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-28(%rbp), %eax
	cmpl	(%r14), %eax
	jne	LBB0_1
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	callq	_waitForEvent
	jmp	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,16,2                     ## @_glfw
	.comm	_None,4,2                       ## @None
	.comm	_CurrentTime,4,2                ## @CurrentTime
	.comm	_isSelectionEvent,4,2           ## @isSelectionEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPushSelectionToManagerX11 ; -- Begin function _glfwPushSelectionToManagerX11
	.p2align	2
__glfwPushSelectionToManagerX11:        ; @_glfwPushSelectionToManagerX11
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, __glfw@GOTPAGE
Lloh1:
	ldr	x19, [x19, __glfw@GOTPAGEOFF]
	ldp	w2, w0, [x19]
Lloh2:
	adrp	x8, _None@GOTPAGE
Lloh3:
	ldr	x8, [x8, _None@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	ldp	w4, w1, [x19, #8]
Lloh5:
	adrp	x8, _CurrentTime@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CurrentTime@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	bl	_XConvertSelection
Lloh8:
	adrp	x20, _isSelectionEvent@GOTPAGE
Lloh9:
	ldr	x20, [x20, _isSelectionEvent@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	bl	_handleSelectionClear
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	ldr	w2, [x20]
	add	x1, sp, #8
	mov	x3, #0
	bl	_XCheckIfEvent
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #130
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	bl	_handleSelectionRequest
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_2
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	bl	_waitForEvent
	b	LBB0_2
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,16,2                     ; @_glfw
	.comm	_None,4,2                       ; @None
	.comm	_CurrentTime,4,2                ; @CurrentTime
	.comm	_isSelectionEvent,4,2           ; @isSelectionEvent
.subsections_via_symbols
