	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetMonitorPos     ## -- Begin function _glfwPlatformGetMonitorPos
	.p2align	4, 0x90
__glfwPlatformGetMonitorPos:            ## @_glfwPlatformGetMonitorPos
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movl	$12, %esi
	callq	_ZeroMemory
	movl	$12, -48(%rbp)
	movl	(%rbx), %edi
	movq	_ENUM_CURRENT_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EDS_ROTATEDMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdx
	callq	_EnumDisplaySettingsExW
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movl	-40(%rbp), %eax
	movl	%eax, (%r14)
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENUM_CURRENT_SETTINGS,4,2      ## @ENUM_CURRENT_SETTINGS
	.comm	_EDS_ROTATEDMODE,4,2            ## @EDS_ROTATEDMODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetMonitorPos     ; -- Begin function _glfwPlatformGetMonitorPos
	.p2align	2
__glfwPlatformGetMonitorPos:            ; @_glfwPlatformGetMonitorPos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #12
	mov	x0, sp
	mov	w1, #12
	bl	_ZeroMemory
	str	w22, [sp]
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _ENUM_CURRENT_SETTINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENUM_CURRENT_SETTINGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _EDS_ROTATEDMODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDS_ROTATEDMODE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x2, sp
	bl	_EnumDisplaySettingsExW
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w8, [sp, #4]
	str	w8, [x20]
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENUM_CURRENT_SETTINGS,4,2      ; @ENUM_CURRENT_SETTINGS
	.comm	_EDS_ROTATEDMODE,4,2            ; @EDS_ROTATEDMODE
.subsections_via_symbols
