	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x11_check_atom_supported
_x11_check_atom_supported:              ## @x11_check_atom_supported
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_XInternAtom
	movq	%rax, %r12
	movq	_None@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	(%rax), %r12
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_DefaultRootWindow
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_False@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_XA_ATOM@GOTPCREL(%rip), %rcx
	leaq	-48(%rbp), %r10
	leaq	-80(%rbp), %r11
	leaq	-56(%rbp), %r13
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movq	%rcx, %rbx
	movl	%eax, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	pushq	%r10
	pushq	%r11
	pushq	%r13
	leaq	-68(%rbp), %rax
	pushq	%rax
	leaq	-64(%rbp), %rax
	pushq	%rax
	pushq	(%rbx)
	callq	_XGetWindowProperty
	addq	$48, %rsp
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:
	movq	-64(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.3:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%rdi,%rcx,8)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_5
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_9:
	movl	$1, %r15d
LBB0_10:
	callq	_XFree
LBB0_11:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_NET_SUPPORTED"

	.comm	_True,4,2                       ## @True
	.comm	_None,8,3                       ## @None
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_False,4,2                      ## @False
	.comm	_XA_ATOM,8,3                    ## @XA_ATOM
	.no_dead_strip	_x11_check_atom_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x11_check_atom_supported
_x11_check_atom_supported:              ; @x11_check_atom_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _True@GOTPAGE
Lloh1:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_XInternAtom
Lloh5:
	adrp	x8, _None@GOTPAGE
Lloh6:
	ldr	x8, [x8, _None@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.1:
	mov	x21, x0
	mov	x0, x20
	bl	_DefaultRootWindow
	mov	x1, x0
Lloh8:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x8, _False@GOTPAGE
Lloh12:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
Lloh14:
	adrp	x22, _XA_ATOM@GOTPAGE
Lloh15:
	ldr	x22, [x22, _XA_ATOM@GOTPAGEOFF]
	ldr	x6, [x22]
	add	x8, sp, #40
	add	x9, sp, #48
	stp	x9, x8, [sp, #16]
	add	x8, sp, #56
	sub	x9, x29, #44
	stp	x9, x8, [sp]
	sub	x7, x29, #40
	mov	x0, x20
	mov	x2, x21
	mov	w3, #0
	bl	_XGetWindowProperty
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_8
; %bb.2:
	ldur	x8, [x29, #-40]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_7
; %bb.4:
	mov	x9, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x19
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_5
LBB0_7:
	mov	w19, #0
	b	LBB0_11
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	mov	w19, #1
LBB0_11:
	bl	_XFree
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_NET_SUPPORTED"

	.comm	_True,4,2                       ; @True
	.comm	_None,8,3                       ; @None
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_False,4,2                      ; @False
	.comm	_XA_ATOM,8,3                    ; @XA_ATOM
	.no_dead_strip	_x11_check_atom_supported
.subsections_via_symbols
