	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	__glfw@GOTPCREL(%rip), %r14
	cmpq	$0, 8(%r14)
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	28(%r14), %rsi
	leaq	24(%r14), %rdx
	leaq	20(%r14), %rcx
	leaq	16(%r14), %r8
	callq	_XGetScreenSaver
	movl	(%r14), %edi
	movq	_DontPreferBlanking@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DefaultExposures@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_XSetScreenSaver
LBB0_2:
	movq	(%rbx), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_4
## %bb.3:
	incq	8(%r14)
LBB0_4:
	leaq	24(%rbx), %rsi
	callq	__glfwSetVideoModeX11
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	__glfwPlatformGetMonitorPos
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rsi
	callq	__glfwPlatformGetVideoMode
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %ecx
	movl	-32(%rbp), %r9d
	movl	-28(%rbp), %r8d
	callq	_XMoveResizeWindow
LBB0_6:
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	callq	__glfwInputMonitorWindow
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,32,3                     ## @_glfw
	.comm	_DontPreferBlanking,4,2         ## @DontPreferBlanking
	.comm	_DefaultExposures,4,2           ## @DefaultExposures
	.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:
	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
	mov	x19, x0
Lloh0:
	adrp	x20, __glfw@GOTPAGE
Lloh1:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	add	x1, x20, #28
	add	x2, x20, #24
	add	x3, x20, #20
	add	x4, x20, #16
	bl	_XGetScreenSaver
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _DontPreferBlanking@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DontPreferBlanking@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _DefaultExposures@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DefaultExposures@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w2, #0
	bl	_XSetScreenSaver
LBB0_2:
	ldr	x0, [x19]
	ldr	w8, [x0]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
LBB0_4:
	add	x1, x19, #24
	bl	__glfwSetVideoModeX11
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x0, [x19]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	__glfwPlatformGetMonitorPos
	ldr	x0, [x19]
	mov	x1, sp
	bl	__glfwPlatformGetVideoMode
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
	ldp	w3, w2, [sp, #8]
	ldp	w5, w4, [sp]
	bl	_XMoveResizeWindow
LBB0_6:
	ldr	x0, [x19]
	mov	x1, x19
	bl	__glfwInputMonitorWindow
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,32,3                     ; @_glfw
	.comm	_DontPreferBlanking,4,2         ; @DontPreferBlanking
	.comm	_DefaultExposures,4,2           ; @DefaultExposures
	.no_dead_strip	_acquireMonitor
.subsections_via_symbols
