	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformDestroyWindow     ## -- Begin function _glfwPlatformDestroyWindow
	.p2align	4, 0x90
__glfwPlatformDestroyWindow:            ## @_glfwPlatformDestroyWindow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	__glfw@GOTPCREL(%rip), %r14
	cmpq	%rdi, 8(%r14)
	je	LBB0_1
## %bb.2:
	cmpq	%rbx, (%r14)
	je	LBB0_3
LBB0_4:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_zwp_idle_inhibitor_v1_destroy
LBB0_6:
	movq	64(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_8:
	movq	%rbx, %rdi
	callq	_destroyDecorations
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_zxdg_toplevel_decoration_v1_destroy
LBB0_10:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_wl_buffer_destroy
LBB0_12:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_wl_egl_window_destroy
LBB0_14:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_xdg_toplevel_destroy
LBB0_16:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_xdg_surface_destroy
LBB0_18:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_wl_surface_destroy
LBB0_20:
	movl	4(%rbx), %edi
	callq	_free
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_1:
	movq	$0, 8(%r14)
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__glfwInputCursorEnter
	cmpq	%rbx, (%r14)
	jne	LBB0_4
LBB0_3:
	movq	$0, (%r14)
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__glfwInputWindowFocus
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,16,3                     ## @_glfw
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformDestroyWindow     ; -- Begin function _glfwPlatformDestroyWindow
	.p2align	2
__glfwPlatformDestroyWindow:            ; @_glfwPlatformDestroyWindow
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, __glfw@GOTPAGE
Lloh1:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x20, #8]
Lloh2:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__glfwInputCursorEnter
LBB0_2:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_20
; %bb.3:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_5
LBB0_4:
	bl	_zwp_idle_inhibitor_v1_destroy
LBB0_5:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	blr	x8
LBB0_7:
	mov	x0, x19
	bl	_destroyDecorations
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_zxdg_toplevel_decoration_v1_destroy
LBB0_9:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_wl_buffer_destroy
LBB0_11:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_wl_egl_window_destroy
LBB0_13:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_xdg_toplevel_destroy
LBB0_15:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_xdg_surface_destroy
LBB0_17:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_wl_surface_destroy
LBB0_19:
	ldr	w0, [x19, #4]
	bl	_free
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_20:
	str	xzr, [x20]
Lloh5:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__glfwInputWindowFocus
	ldr	x0, [x19, #56]
	cbnz	x0, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,16,3                     ; @_glfw
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
.subsections_via_symbols
