	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function detectEWMH
_detectEWMH:                            ## @detectEWMH
	.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	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	__glfw@GOTPCREL(%rip), %r15
	movl	104(%r15), %edi
	movq	_True@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_XInternAtom
	movq	%rax, %r13
	movl	104(%r15), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_XInternAtom
	movq	%rax, %r14
	movq	_None@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r13
	je	LBB0_10
## %bb.1:
	cmpq	%rax, %r14
	je	LBB0_10
## %bb.2:
	movq	(%r15), %rdi
	movq	_XA_WINDOW@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-56(%rbp), %rcx
	movq	%r13, %rsi
	callq	__glfwGetWindowProperty
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.5:
	xorl	%eax, %eax
	callq	__glfwGrabXErrorHandler
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	movl	(%r12), %edx
	leaq	-64(%rbp), %rcx
	movq	%r13, %rsi
	callq	__glfwGetWindowProperty
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	callq	__glfwReleaseXErrorHandler
	movq	-56(%rbp), %rdi
	movq	(%rdi), %r12
	movq	-64(%rbp), %rax
	movq	(%rax), %rbx
	callq	_XFree
	movq	-64(%rbp), %rdi
	callq	_XFree
	cmpq	%rbx, %r12
	jne	LBB0_10
## %bb.8:
	movq	(%r15), %rdi
	movq	_XA_ATOM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rsi
	callq	__glfwGetWindowProperty
	movslq	%eax, %rbx
	movq	-48(%rbp), %rdi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 96(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 88(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 80(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 72(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 64(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 56(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.8(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 48(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.9(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 40(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.10(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 32(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.11(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 24(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.12(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 16(%r15)
	movq	-48(%rbp), %rdi
	leaq	L_.str.13(%rip), %rdx
	movq	%rbx, %rsi
	callq	_getSupportedAtom
	movq	%rax, 8(%r15)
	movq	-48(%rbp), %rdi
	jmp	LBB0_9
LBB0_3:
	movq	-56(%rbp), %rdi
	jmp	LBB0_4
LBB0_6:
	movq	-56(%rbp), %rdi
	callq	_XFree
	movq	-64(%rbp), %rdi
LBB0_4:
	testq	%rdi, %rdi
	je	LBB0_10
LBB0_9:
	callq	_XFree
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,112,3                    ## @_glfw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_NET_SUPPORTING_WM_CHECK"

	.comm	_True,4,2                       ## @True
L_.str.1:                               ## @.str.1
	.asciz	"_NET_SUPPORTED"

	.comm	_None,8,3                       ## @None
	.comm	_XA_WINDOW,4,2                  ## @XA_WINDOW
	.comm	_XA_ATOM,4,2                    ## @XA_ATOM
L_.str.2:                               ## @.str.2
	.asciz	"_NET_WM_STATE"

L_.str.3:                               ## @.str.3
	.asciz	"_NET_WM_STATE_ABOVE"

L_.str.4:                               ## @.str.4
	.asciz	"_NET_WM_STATE_FULLSCREEN"

L_.str.5:                               ## @.str.5
	.asciz	"_NET_WM_FULLSCREEN_MONITORS"

L_.str.6:                               ## @.str.6
	.asciz	"_NET_WM_NAME"

L_.str.7:                               ## @.str.7
	.asciz	"_NET_WM_ICON_NAME"

L_.str.8:                               ## @.str.8
	.asciz	"_NET_WM_PID"

L_.str.9:                               ## @.str.9
	.asciz	"_NET_WM_PING"

L_.str.10:                              ## @.str.10
	.asciz	"_NET_ACTIVE_WINDOW"

L_.str.11:                              ## @.str.11
	.asciz	"_NET_FRAME_EXTENTS"

L_.str.12:                              ## @.str.12
	.asciz	"_NET_REQUEST_FRAME_EXTENTS"

L_.str.13:                              ## @.str.13
	.asciz	"_NET_WM_BYPASS_COMPOSITOR"

	.no_dead_strip	_detectEWMH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function detectEWMH
_detectEWMH:                            ; @detectEWMH
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x21, __glfw@GOTPAGE
Lloh1:
	ldr	x21, [x21, __glfw@GOTPAGEOFF]
	ldr	w0, [x21, #104]
Lloh2:
	adrp	x19, _True@GOTPAGE
Lloh3:
	ldr	x19, [x19, _True@GOTPAGEOFF]
	ldr	w2, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_XInternAtom
	mov	x20, x0
	ldr	w0, [x21, #104]
	ldr	w2, [x19]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_XInternAtom
Lloh8:
	adrp	x8, _None@GOTPAGE
Lloh9:
	ldr	x8, [x8, _None@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x20, x8
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x0, [x21]
Lloh11:
	adrp	x22, _XA_WINDOW@GOTPAGE
Lloh12:
	ldr	x22, [x22, _XA_WINDOW@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #24
	mov	x1, x20
	bl	__glfwGetWindowProperty
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.2:
	bl	__glfwGrabXErrorHandler
	ldr	x8, [sp, #24]
	ldr	x0, [x8]
	ldr	w2, [x22]
	add	x3, sp, #16
	mov	x1, x20
	bl	__glfwGetWindowProperty
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.3:
	bl	__glfwReleaseXErrorHandler
	ldp	x8, x0, [sp, #16]
	ldr	x20, [x0]
	ldr	x22, [x8]
	bl	_XFree
	ldr	x0, [sp, #16]
	bl	_XFree
	cmp	x20, x22
	b.ne	LBB0_7
; %bb.4:
	ldr	x0, [x21]
Lloh13:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x1, x19
	bl	__glfwGetWindowProperty
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x19, w0
	ldr	x0, [sp, #8]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #96]
	ldr	x0, [sp, #8]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #88]
	ldr	x0, [sp, #8]
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #80]
	ldr	x0, [sp, #8]
Lloh22:
	adrp	x2, l_.str.5@PAGE
Lloh23:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #72]
	ldr	x0, [sp, #8]
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #64]
	ldr	x0, [sp, #8]
Lloh26:
	adrp	x2, l_.str.7@PAGE
Lloh27:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #56]
	ldr	x0, [sp, #8]
Lloh28:
	adrp	x2, l_.str.8@PAGE
Lloh29:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #48]
	ldr	x0, [sp, #8]
Lloh30:
	adrp	x2, l_.str.9@PAGE
Lloh31:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #40]
	ldr	x0, [sp, #8]
Lloh32:
	adrp	x2, l_.str.10@PAGE
Lloh33:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #32]
	ldr	x0, [sp, #8]
Lloh34:
	adrp	x2, l_.str.11@PAGE
Lloh35:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #24]
	ldr	x0, [sp, #8]
Lloh36:
	adrp	x2, l_.str.12@PAGE
Lloh37:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #16]
	ldr	x0, [sp, #8]
Lloh38:
	adrp	x2, l_.str.13@PAGE
Lloh39:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x1, x19
	bl	_getSupportedAtom
	str	x0, [x21, #8]
	ldr	x0, [sp, #8]
	b	LBB0_6
LBB0_5:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_7
LBB0_6:
	bl	_XFree
LBB0_7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x0, [sp, #24]
	bl	_XFree
	ldr	x0, [sp, #16]
	cbnz	x0, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,112,3                    ; @_glfw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_NET_SUPPORTING_WM_CHECK"

	.comm	_True,4,2                       ; @True
l_.str.1:                               ; @.str.1
	.asciz	"_NET_SUPPORTED"

	.comm	_None,8,3                       ; @None
	.comm	_XA_WINDOW,4,2                  ; @XA_WINDOW
	.comm	_XA_ATOM,4,2                    ; @XA_ATOM
l_.str.2:                               ; @.str.2
	.asciz	"_NET_WM_STATE"

l_.str.3:                               ; @.str.3
	.asciz	"_NET_WM_STATE_ABOVE"

l_.str.4:                               ; @.str.4
	.asciz	"_NET_WM_STATE_FULLSCREEN"

l_.str.5:                               ; @.str.5
	.asciz	"_NET_WM_FULLSCREEN_MONITORS"

l_.str.6:                               ; @.str.6
	.asciz	"_NET_WM_NAME"

l_.str.7:                               ; @.str.7
	.asciz	"_NET_WM_ICON_NAME"

l_.str.8:                               ; @.str.8
	.asciz	"_NET_WM_PID"

l_.str.9:                               ; @.str.9
	.asciz	"_NET_WM_PING"

l_.str.10:                              ; @.str.10
	.asciz	"_NET_ACTIVE_WINDOW"

l_.str.11:                              ; @.str.11
	.asciz	"_NET_FRAME_EXTENTS"

l_.str.12:                              ; @.str.12
	.asciz	"_NET_REQUEST_FRAME_EXTENTS"

l_.str.13:                              ; @.str.13
	.asciz	"_NET_WM_BYPASS_COMPOSITOR"

	.no_dead_strip	_detectEWMH
.subsections_via_symbols
