	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function waitForVisibilityNotify
_waitForVisibilityNotify:               ## @waitForVisibilityNotify
	.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
	movabsq	$4591870180066957722, %rax      ## imm = 0x3FB999999999999A
	movq	%rax, -48(%rbp)
	movq	__glfw@GOTPCREL(%rip), %r13
	movq	_VisibilityNotify@GOTPCREL(%rip), %r12
	leaq	-52(%rbp), %r14
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	%r14, %rcx
	callq	_XCheckTypedWindowEvent
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_waitForEvent
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	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
	.comm	_VisibilityNotify,4,2           ## @VisibilityNotify
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.no_dead_strip	_waitForVisibilityNotify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function waitForVisibilityNotify
_waitForVisibilityNotify:               ; @waitForVisibilityNotify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	str	x8, [sp]
Lloh0:
	adrp	x21, __glfw@GOTPAGE
Lloh1:
	ldr	x21, [x21, __glfw@GOTPAGEOFF]
Lloh2:
	adrp	x22, _VisibilityNotify@GOTPAGE
Lloh3:
	ldr	x22, [x22, _VisibilityNotify@GOTPAGEOFF]
Lloh4:
	adrp	x20, _GLFW_TRUE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _GLFW_TRUE@GOTPAGEOFF]
Lloh6:
	adrp	x23, _GLFW_FALSE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _GLFW_FALSE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w1, [x19]
	ldr	w2, [x22]
	add	x3, sp, #12
	bl	_XCheckTypedWindowEvent
	cbnz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, sp
	bl	_waitForEvent
	cbnz	w0, LBB0_1
; %bb.3:
	mov	x20, x23
LBB0_4:
	ldr	w0, [x20]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
	.comm	_VisibilityNotify,4,2           ; @VisibilityNotify
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.no_dead_strip	_waitForVisibilityNotify
.subsections_via_symbols
