	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwDestroyWindow              ## -- Begin function glfwDestroyWindow
	.p2align	4, 0x90
_glfwDestroyWindow:                     ## @glfwDestroyWindow
	.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, %r14
	xorl	%eax, %eax
	callq	__GLFW_REQUIRE_INIT
	testq	%r14, %r14
	je	LBB0_6
## %bb.1:
	leaq	8(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	__glfw@GOTPCREL(%rip), %rbx
	leaq	8(%rbx), %rdi
	callq	__glfwPlatformGetTls
	cmpq	%r14, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_glfwMakeContextCurrent
LBB0_3:
	movq	%r14, %rdi
	callq	__glfwPlatformDestroyWindow
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	movq	(%rbx), %rbx
	cmpq	%r14, %rbx
	jne	LBB0_4
## %bb.5:
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	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	_glfwDestroyWindow              ; -- Begin function glfwDestroyWindow
	.p2align	2
_glfwDestroyWindow:                     ; @glfwDestroyWindow
	.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
	bl	__GLFW_REQUIRE_INIT
	cbz	x19, LBB0_6
; %bb.1:
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x8, __glfw@GOTPAGE
Lloh1:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
	add	x0, x8, #8
	bl	__glfwPlatformGetTls
	cmp	x0, x19
	b.ne	LBB0_3
; %bb.2:
	mov	x0, #0
	bl	_glfwMakeContextCurrent
LBB0_3:
	mov	x0, x19
	bl	__glfwPlatformDestroyWindow
Lloh2:
	adrp	x8, __glfw@GOTPAGE
Lloh3:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_4
; %bb.5:
	ldr	x8, [x19]
	str	x8, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,16,3                     ; @_glfw
.subsections_via_symbols
