	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetCursorMode     ## -- Begin function _glfwPlatformSetCursorMode
	.p2align	4, 0x90
__glfwPlatformSetCursorMode:            ## @_glfwPlatformSetCursorMode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	__glfwPlatformWindowFocused
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_disableCursor
	jmp	LBB0_6
LBB0_3:
	movq	__glfw@GOTPCREL(%rip), %rax
	cmpq	%rbx, 8(%rax)
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_updateCursorImage
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_enableCursor
LBB0_6:
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_XFlush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_CURSOR_DISABLED,4,2       ## @GLFW_CURSOR_DISABLED
	.comm	__glfw,16,3                     ## @_glfw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetCursorMode     ; -- Begin function _glfwPlatformSetCursorMode
	.p2align	2
__glfwPlatformSetCursorMode:            ; @_glfwPlatformSetCursorMode
	.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	x8, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x20, __glfw@GOTPAGE
Lloh4:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	__glfwPlatformWindowFocused
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_disableCursor
	b	LBB0_6
LBB0_3:
	ldr	x8, [x20, #8]
	mov	x0, x19
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.4:
	bl	_updateCursorImage
	b	LBB0_6
LBB0_5:
	bl	_enableCursor
LBB0_6:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_XFlush
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_CURSOR_DISABLED,4,2       ; @GLFW_CURSOR_DISABLED
	.comm	__glfw,16,3                     ; @_glfw
.subsections_via_symbols
