	.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), %r13
	movl	(%r13), %r12d
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movl	%r12d, %edi
	movl	$8, %esi
	callq	_calloc
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdx
	xorl	%r14d, %r14d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r15
	movq	(%rdx,%r14,8), %r13
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	%r15, %r13
	callq	__glfwPlatformGetVideoModes
	movl	%eax, 4(%rbx)
	movq	8(%r15), %rdx
	movq	(%rdx,%r14,8), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax,%r14,8)
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_4
## %bb.5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	movl	%r12d, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,16,3                     ## @_glfw
.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x24, __glfw@GOTPAGE
Lloh1:
	ldr	x24, [x24, __glfw@GOTPAGEOFF]
	ldr	w20, [x24]
	cbz	w20, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x25, #0
	ldr	x8, [x24, #8]
	lsl	x26, x20, #3
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x8, x25]
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	mov	x23, x0
	mov	x0, x22
	mov	x1, x22
	bl	__glfwPlatformGetVideoModes
	str	w0, [x23, #4]
	ldr	x8, [x24, #8]
	ldr	x9, [x8, x25]
	ldr	x9, [x9]
	str	x9, [x23]
	str	x23, [x21, x25]
	add	x25, x25, #8
	cmp	x26, x25
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	str	w20, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,16,3                     ; @_glfw
.subsections_via_symbols
