	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformWaitEvents        ## -- Begin function _glfwPlatformWaitEvents
	.p2align	4, 0x90
__glfwPlatformWaitEvents:               ## @_glfwPlatformWaitEvents
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	__glfw@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	movl	8(%rbx), %edi
	callq	_emptyEventQueue
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_pthread_cond_wait
LBB0_2:
	movq	__glfw@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__glfwPlatformPollEvents        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,12,2                     ## @_glfw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformWaitEvents        ; -- Begin function _glfwPlatformWaitEvents
	.p2align	2
__glfwPlatformWaitEvents:               ; @_glfwPlatformWaitEvents
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, __glfw@GOTPAGE
Lloh1:
	ldr	x19, [x19, __glfw@GOTPAGEOFF]
	mov	x0, x19
	bl	_pthread_mutex_lock
	ldr	w0, [x19, #8]
	bl	_emptyEventQueue
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #4
	mov	x1, x19
	bl	_pthread_cond_wait
LBB0_2:
Lloh2:
	adrp	x0, __glfw@GOTPAGE
Lloh3:
	ldr	x0, [x0, __glfw@GOTPAGEOFF]
	bl	_pthread_mutex_unlock
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__glfwPlatformPollEvents
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,12,2                     ; @_glfw
.subsections_via_symbols
