	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function _glfwPlatformGetMonitors
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__glfwPlatformGetMonitors
	.p2align	4, 0x90
__glfwPlatformGetMonitors:              ## @_glfwPlatformGetMonitors
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	$0, (%rdi)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -64(%rbp)
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	movl	$0, %r14d
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %r15                ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -64(%rbp)
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	testl	%eax, %eax
	je	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	_DISPLAY_DEVICE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -60(%rbp)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -88(%rbp)
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	testl	%eax, %eax
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -88(%rbp)
	movq	-56(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	incq	%r13
	testl	%eax, %eax
	je	LBB0_14
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-72(%rbp), %edi
	callq	__glfwCreateUTF8FromWideString
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rax, %r15
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rsi
	leaq	l_.str.1(%rip), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_CreateDCW
	movl	%eax, %r12d
	movq	_HORZSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDeviceCaps
	movl	%eax, %ebx
	movq	_VERTSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDeviceCaps
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	__glfwAllocMonitor
	movq	%rax, %r14
	movl	%r12d, %edi
	callq	_DeleteDC
	movq	%r15, %rdi
	callq	_free
	movq	_DISPLAY_DEVICE_MODESPRUNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -60(%rbp)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	12(%r14), %edi
	movq	-56(%rbp), %rsi
	callq	_wcscpy
	movl	8(%r14), %edi
	movq	-80(%rbp), %rsi
	callq	_wcscpy
	movq	_CP_UTF8@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-56(%rbp), %rdx
	movl	4(%r14), %r8d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movl	$-1, %ecx
	movl	$4, %r9d
	callq	_WideCharToMultiByte
	movl	(%rbx), %edi
	movq	-80(%rbp), %rdx
	movl	(%r14), %r8d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movl	$-1, %ecx
	movl	$4, %r9d
	callq	_WideCharToMultiByte
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	leal	1(%rbx), %r15d
	leal	8(,%rbx,8), %esi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_realloc
	movq	%rax, %r12
	movslq	%ebx, %rax
	movq	%r14, (%r12,%rax,8)
	movq	_DISPLAY_DEVICE_PRIMARY_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -60(%rbp)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=2
	cmpq	$1, %r13
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	__GLFW_SWAP_POINTERS
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	%r15d, %r14d
	jmp	LBB0_13
LBB0_16:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movq	%r12, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPLAY_DEVICE_ACTIVE,4,2      ## @DISPLAY_DEVICE_ACTIVE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Win32: Failed to convert string to UTF-8"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	68                              ## 0x44
	.long	73                              ## 0x49
	.long	83                              ## 0x53
	.long	80                              ## 0x50
	.long	76                              ## 0x4c
	.long	65                              ## 0x41
	.long	89                              ## 0x59
	.long	0                               ## 0x0

	.comm	_HORZSIZE,4,2                   ## @HORZSIZE
	.comm	_VERTSIZE,4,2                   ## @VERTSIZE
	.comm	_DISPLAY_DEVICE_MODESPRUNED,4,2 ## @DISPLAY_DEVICE_MODESPRUNED
	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
	.comm	_DISPLAY_DEVICE_PRIMARY_DEVICE,4,2 ## @DISPLAY_DEVICE_PRIMARY_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetMonitors       ; -- Begin function _glfwPlatformGetMonitors
	.p2align	2
__glfwPlatformGetMonitors:              ; @_glfwPlatformGetMonitors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	str	wzr, [x0]
	mov	w28, #24
	add	x0, sp, #40
	mov	w1, #24
	bl	_ZeroMemory
	str	w28, [sp, #40]
	add	x2, sp, #40
	mov	x0, #0
	mov	x1, #0
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	cbz	w0, LBB0_15
; %bb.1:
	mov	w19, #0
	mov	x20, #0
	mov	x21, #0
Lloh0:
	adrp	x22, _CP_UTF8@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CP_UTF8@GOTPAGEOFF]
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x0, sp, #40
	mov	w1, #24
	bl	_ZeroMemory
	str	w28, [sp, #40]
	add	x2, sp, #40
	mov	x0, #0
	mov	x1, x21
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	cbz	w0, LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w8, [sp, #44]
Lloh4:
	adrp	x9, _DISPLAY_DEVICE_ACTIVE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DISPLAY_DEVICE_ACTIVE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #16
	mov	w1, #24
	bl	_ZeroMemory
	str	w28, [sp, #16]
	ldr	x0, [sp, #48]
	add	x2, sp, #16
	mov	x1, #0
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
Lloh7:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x0, sp, #16
	mov	w1, #24
	bl	_ZeroMemory
	str	w28, [sp, #16]
	ldr	x0, [sp, #48]
	add	x2, sp, #16
	mov	x1, x24
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	add	x24, x24, #1
	cbz	w0, LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [sp, #32]
	bl	__glfwCreateUTF8FromWideString
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x26, x0
	ldr	x1, [sp, #48]
	mov	x0, x23
	mov	x2, #0
	mov	x3, #0
	bl	_CreateDCW
	mov	x27, x0
Lloh12:
	adrp	x8, _HORZSIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HORZSIZE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_GetDeviceCaps
	mov	x25, x0
Lloh15:
	adrp	x8, _VERTSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VERTSIZE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x27
	bl	_GetDeviceCaps
	mov	x2, x0
	mov	x0, x26
	mov	x1, x25
	bl	__glfwAllocMonitor
	mov	x25, x0
	mov	x0, x27
	bl	_DeleteDC
	mov	x0, x26
	bl	_free
	ldr	w8, [sp, #44]
Lloh18:
	adrp	x9, _DISPLAY_DEVICE_MODESPRUNED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DISPLAY_DEVICE_MODESPRUNED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
Lloh21:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x25, #16]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x25, #12]
	ldr	x1, [sp, #48]
	bl	_wcscpy
	ldr	w0, [x25, #8]
	ldr	x1, [sp, #24]
	bl	_wcscpy
	ldr	w0, [x22]
	ldr	x2, [sp, #48]
	ldr	w4, [x25, #4]
	mov	w1, #0
	mov	w3, #-1
	mov	w5, #4
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	ldr	w0, [x22]
	ldr	x2, [sp, #24]
	ldr	w4, [x25]
	mov	w1, #0
	mov	w3, #-1
	mov	w5, #4
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	add	w26, w19, #1
	lsl	w1, w26, #3
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	str	x25, [x0, w19, sxtw #3]
	ldr	w8, [sp, #44]
Lloh24:
	adrp	x9, _DISPLAY_DEVICE_PRIMARY_DEVICE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DISPLAY_DEVICE_PRIMARY_DEVICE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	cmp	x24, #1
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [x20]
	mov	x1, x25
	bl	__GLFW_SWAP_POINTERS
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x19, x26
	b	LBB0_7
LBB0_15:
	mov	x20, #0
	mov	w19, #0
LBB0_16:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w19, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPLAY_DEVICE_ACTIVE,4,2      ; @DISPLAY_DEVICE_ACTIVE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Win32: Failed to convert string to UTF-8"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	68                              ; 0x44
	.long	73                              ; 0x49
	.long	83                              ; 0x53
	.long	80                              ; 0x50
	.long	76                              ; 0x4c
	.long	65                              ; 0x41
	.long	89                              ; 0x59
	.long	0                               ; 0x0

	.comm	_HORZSIZE,4,2                   ; @HORZSIZE
	.comm	_VERTSIZE,4,2                   ; @VERTSIZE
	.comm	_DISPLAY_DEVICE_MODESPRUNED,4,2 ; @DISPLAY_DEVICE_MODESPRUNED
	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
	.comm	_DISPLAY_DEVICE_PRIMARY_DEVICE,4,2 ; @DISPLAY_DEVICE_PRIMARY_DEVICE
.subsections_via_symbols
