	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acquireMonitor
_acquireMonitor:                        ## @acquireMonitor
	.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, %rbx
	movq	__glfw@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jne	LBB0_3
## %bb.1:
	movq	_ES_CONTINUOUS@GOTPCREL(%rip), %rax
	movq	_ES_DISPLAY_REQUIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_SetThreadExecutionState
	xorl	%eax, %eax
	callq	_IsWindowsXPOrGreater
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_SPI_GETMOUSETRAILS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_SystemParametersInfo
	movq	_SPI_SETMOUSETRAILS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SystemParametersInfo
LBB0_3:
	movq	(%rbx), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_5
## %bb.4:
	incl	(%r14)
LBB0_5:
	leaq	8(%rbx), %rsi
	callq	__glfwSetVideoModeWin32
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__glfwInputMonitorWindow        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,8,2                      ## @_glfw
	.comm	_ES_CONTINUOUS,4,2              ## @ES_CONTINUOUS
	.comm	_ES_DISPLAY_REQUIRED,4,2        ## @ES_DISPLAY_REQUIRED
	.comm	_SPI_GETMOUSETRAILS,4,2         ## @SPI_GETMOUSETRAILS
	.comm	_SPI_SETMOUSETRAILS,4,2         ## @SPI_SETMOUSETRAILS
	.no_dead_strip	_acquireMonitor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acquireMonitor
_acquireMonitor:                        ; @acquireMonitor
	.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	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _ES_CONTINUOUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ES_CONTINUOUS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _ES_DISPLAY_REQUIRED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ES_DISPLAY_REQUIRED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_SetThreadExecutionState
	bl	_IsWindowsXPOrGreater
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _SPI_GETMOUSETRAILS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SPI_GETMOUSETRAILS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x2, x20, #4
	mov	w1, #0
	mov	w3, #0
	bl	_SystemParametersInfo
Lloh11:
	adrp	x8, _SPI_SETMOUSETRAILS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SPI_SETMOUSETRAILS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	bl	_SystemParametersInfo
LBB0_3:
	ldr	x0, [x19]
	ldr	w8, [x0]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_5:
	add	x1, x19, #8
	bl	__glfwSetVideoModeWin32
	ldr	x0, [x19]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__glfwInputMonitorWindow
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,8,2                      ; @_glfw
	.comm	_ES_CONTINUOUS,4,2              ; @ES_CONTINUOUS
	.comm	_ES_DISPLAY_REQUIRED,4,2        ; @ES_DISPLAY_REQUIRED
	.comm	_SPI_GETMOUSETRAILS,4,2         ; @SPI_GETMOUSETRAILS
	.comm	_SPI_SETMOUSETRAILS,4,2         ; @SPI_SETMOUSETRAILS
	.no_dead_strip	_acquireMonitor
.subsections_via_symbols
