	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mir_connection_create_display_config
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$0, (%rbx)
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movl	$6, %r12d
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$7, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r15
	cmpq	$0, (%r15,%r12,8)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -8(%r15,%r12,8)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%r15,%r12,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, -40(%r15,%r12,8)
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %eax
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	8(,%rdx,8), %esi
	movq	%r14, %rdi
	callq	_realloc
	movq	%rax, %r14
	movl	-20(%r15,%r12,8), %edx
	movl	-16(%r15,%r12,8), %esi
	leaq	L_.str(%rip), %rdi
	callq	__glfwAllocMonitor
	movq	%rax, (%r14,%rbx,8)
	movl	-24(%r15,%r12,8), %ecx
	movl	%ecx, 24(%rax)
	movl	-28(%r15,%r12,8), %ecx
	movl	%ecx, 20(%rax)
	movl	-32(%r15,%r12,8), %ecx
	movl	%ecx, 16(%rax)
	movq	-40(%r15,%r12,8), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	__glfwPlatformGetVideoModes
	movq	(%r14,%rbx,8), %rcx
	movl	%eax, 4(%rcx)
	movl	(%r13), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edx
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%edx, %edx
LBB0_9:
	movq	%r13, %rdi
	movq	%rdx, %rbx
	callq	_mir_display_config_destroy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,4,2                      ## @_glfw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown"

.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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@GOTPAGE
Lloh1:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_mir_connection_create_display_config
	mov	x20, x0
	str	wzr, [x19]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x24, #0
	mov	x25, #0
	mov	w23, #0
	mov	x21, #0
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	add	x24, x24, #56
	cmp	x25, w8, sxtw
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	add	x10, x9, x24
	ldr	x11, [x10, #48]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x10, #40]
	cbz	x10, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x9, x24]
	cbz	x10, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x9, x24
	ldr	x9, [x26, #8]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	lsl	w1, w23, #3
	mov	x0, x21
	bl	_realloc
	mov	x21, x0
	ldp	w2, w1, [x26, #28]
	mov	x0, x22
	bl	__glfwAllocMonitor
	lsl	x27, x25, #3
	str	x0, [x21, x27]
	ldr	w8, [x26, #24]
	str	w8, [x0, #24]
	ldr	d0, [x26, #16]
	str	d0, [x0, #16]
	ldr	x8, [x26, #8]
	str	x8, [x0, #8]
	mov	x1, x0
	bl	__glfwPlatformGetVideoModes
	ldr	x8, [x21, x27]
	str	w0, [x8, #4]
	ldr	w8, [x20]
	b	LBB0_2
LBB0_8:
	mov	x21, #0
	mov	w23, #0
LBB0_9:
	mov	x0, x20
	bl	_mir_display_config_destroy
	str	w23, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown"

.subsections_via_symbols
