	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lockPointer
_lockPointer:                           ## @lockPointer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	__glfw@GOTPCREL(%rip), %r12
	movl	12(%r12), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	4(%r12), %esi
	callq	_zwp_relative_pointer_manager_v1_get_relative_pointer
	movq	%rax, %r14
	movq	_relativePointerListener@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_zwp_relative_pointer_v1_add_listener
	movl	4(%r12), %edx
	movl	8(%r12), %edi
	movl	16(%rbx), %esi
	movq	_ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ecx, %ecx
	callq	_zwp_pointer_constraints_v1_lock_pointer
	movq	%rax, %r15
	movq	_lockedPointerListener@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_zwp_locked_pointer_v1_add_listener
	movq	%r14, 8(%rbx)
	movq	%r15, (%rbx)
	movl	(%r12), %esi
	movl	4(%r12), %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl_pointer_set_cursor          ## TAILCALL
LBB0_1:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,16,2                     ## @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wayland: no relative pointer manager"

	.comm	_relativePointerListener,4,2    ## @relativePointerListener
	.comm	_ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT,4,2 ## @ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT
	.comm	_lockedPointerListener,4,2      ## @lockedPointerListener
	.no_dead_strip	_lockPointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lockPointer
_lockPointer:                           ; @lockPointer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x22, __glfw@GOTPAGE
Lloh1:
	ldr	x22, [x22, __glfw@GOTPAGEOFF]
	ldr	w0, [x22, #12]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x22, #4]
	bl	_zwp_relative_pointer_manager_v1_get_relative_pointer
	mov	x20, x0
Lloh2:
	adrp	x1, _relativePointerListener@GOTPAGE
Lloh3:
	ldr	x1, [x1, _relativePointerListener@GOTPAGEOFF]
	mov	x2, x19
	bl	_zwp_relative_pointer_v1_add_listener
	ldr	w1, [x19, #16]
	ldp	w2, w0, [x22, #4]
Lloh4:
	adrp	x8, _ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
	mov	x3, #0
	bl	_zwp_pointer_constraints_v1_lock_pointer
	mov	x21, x0
Lloh7:
	adrp	x1, _lockedPointerListener@GOTPAGE
Lloh8:
	ldr	x1, [x1, _lockedPointerListener@GOTPAGEOFF]
	mov	x2, x19
	bl	_zwp_locked_pointer_v1_add_listener
	stp	x21, x20, [x19]
	ldp	w1, w0, [x22]
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wl_pointer_set_cursor
LBB0_2:
Lloh9:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__glfwInputError
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,16,2                     ; @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wayland: no relative pointer manager"

	.comm	_relativePointerListener,4,2    ; @relativePointerListener
	.comm	_ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT,4,2 ; @ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT
	.comm	_lockedPointerListener,4,2      ; @lockedPointerListener
	.no_dead_strip	_lockPointer
.subsections_via_symbols
