	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetMonitors       ## -- Begin function _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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	$0, (%rdi)
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -56(%rbp)
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	testq	%rax, %rax
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	movl	$1, %ebx
	movq	_DISPLAY_DEVICE_ACTIVE@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r15
	leaq	-80(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -56(%rbp)
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, -52(%rbp)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -80(%rbp)
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_6:
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -56(%rbp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	movq	_DISPLAY_DEVICE_ACTIVE@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %r13
	movl	%r14d, %r15d
	incl	%r15d
	leal	8(,%r14,8), %esi
	movq	%rbx, %rdi
	movq	%rcx, %r14
	callq	_realloc
	movq	%rax, %rbx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_createMonitor
	movq	%rax, (%rbx,%r14,8)
	movl	%r15d, %r14d
	movq	%r13, %r15
	movq	_DISPLAY_DEVICE_ACTIVE@GOTPCREL(%rip), %r13
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -56(%rbp)
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	testq	%rax, %rax
	je	LBB0_16
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	-52(%rbp), %eax
	testl	%eax, (%r13)
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_DISPLAY_DEVICE_PRIMARY_DEVICE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movslq	%r14d, %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmovneq	%rcx, %rax
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -80(%rbp)
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	leal	8(,%r14,8), %r14d
	movl	$1, %r15d
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %r13
	incq	%r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_realloc
	movq	%rax, %rbx
	leaq	-56(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_createMonitor
	movq	%rax, (%rbx,%r13,8)
	leaq	-80(%rbp), %rdi
	movl	$16, %esi
	callq	_ZeroMemory
	movl	$16, -80(%rbp)
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	leaq	-80(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_EnumDisplayDevicesW
	addl	$8, %r14d
	incq	%r15
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %r14d
	leaq	-56(%rbp), %r15
	movq	_DISPLAY_DEVICE_ACTIVE@GOTPCREL(%rip), %r13
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_16:
	movq	(%rbx), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rbx,%rax,8), %rsi
	callq	__GLFW_SWAP_POINTERS
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r14d, (%rax)
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_FALSE,8,3                 ## @GLFW_FALSE
	.comm	_DISPLAY_DEVICE_ACTIVE,4,2      ## @DISPLAY_DEVICE_ACTIVE
	.comm	_GLFW_TRUE,8,3                  ## @GLFW_TRUE
	.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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	str	wzr, [x0]
	mov	w25, #16
	add	x0, sp, #32
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #32]
	add	x2, sp, #32
	mov	x0, #0
	mov	x1, #0
	mov	w3, #0
	bl	_EnumDisplayDevicesW
Lloh3:
	adrp	x24, _DISPLAY_DEVICE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DISPLAY_DEVICE_ACTIVE@GOTPAGEOFF]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_6
; %bb.1:
	mov	w20, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #32
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #32]
	add	x2, sp, #32
	mov	x0, #0
	mov	x1, x20
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	add	x20, x20, #1
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #36]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #16
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #16]
	ldr	x0, [sp, #40]
	add	x2, sp, #16
	mov	x1, #0
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	cbz	x0, LBB0_2
; %bb.5:
Lloh5:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh7:
	ldr	x26, [x8]
LBB0_6:
	add	x0, sp, #32
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #32]
	add	x2, sp, #32
	mov	x0, #0
	mov	x1, #0
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	mov	x20, #0
	mov	x28, #0
	mov	x21, #0
	mov	w27, #0
Lloh8:
	adrp	x22, _DISPLAY_DEVICE_PRIMARY_DEVICE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _DISPLAY_DEVICE_PRIMARY_DEVICE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w27, w27, #1
	lsl	w1, w27, #3
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	add	x0, sp, #32
	mov	x1, #0
	bl	_createMonitor
	str	x0, [x20, x19, lsl #3]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	add	x0, sp, #32
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #32]
	add	x2, sp, #32
	mov	x0, #0
	mov	x1, x21
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	cbz	x0, LBB0_15
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w8, [sp, #36]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x22]
	sxtw	x19, w27
	tst	w9, w8
	csel	x28, x28, x19, eq
	cbz	x26, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #16
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #16]
	ldr	x0, [sp, #40]
	add	x2, sp, #16
	mov	x1, #0
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	cbz	x0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x22
	mov	x22, #0
	lsl	x19, x19, #3
	lsl	w8, w27, #3
	add	w23, w8, #8
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x23
	bl	_realloc
	mov	x20, x0
	add	x0, sp, #32
	add	x1, sp, #16
	bl	_createMonitor
	add	x8, x20, x19
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	add	x0, sp, #16
	mov	w1, #16
	bl	_ZeroMemory
	str	w25, [sp, #16]
	ldr	x0, [sp, #40]
	add	x2, sp, #16
	mov	x1, x22
	mov	w3, #0
	bl	_EnumDisplayDevicesW
	add	w23, w23, #8
	cbnz	x0, LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w27, w27, w22
	mov	x22, x24
Lloh10:
	adrp	x24, _DISPLAY_DEVICE_ACTIVE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _DISPLAY_DEVICE_ACTIVE@GOTPAGEOFF]
	b	LBB0_8
LBB0_15:
	ldr	x0, [x20]
	ldr	x1, [x20, x28, lsl #3]
	bl	__GLFW_SWAP_POINTERS
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w27, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,8,3                 ; @GLFW_FALSE
	.comm	_DISPLAY_DEVICE_ACTIVE,4,2      ; @DISPLAY_DEVICE_ACTIVE
	.comm	_GLFW_TRUE,8,3                  ; @GLFW_TRUE
	.comm	_DISPLAY_DEVICE_PRIMARY_DEVICE,4,2 ; @DISPLAY_DEVICE_PRIMARY_DEVICE
.subsections_via_symbols
