	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function root_atom_contents
LCPI0_0:
	.quad	0x3fd0000000000000              ## double 0.25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_root_atom_contents
	.p2align	4, 0x90
_root_atom_contents:                    ## @root_atom_contents
	.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, %r13
	movq	%rdi, %r15
	movl	%edx, -44(%rbp)
	movq	$0, -56(%rbp)
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_1
LBB0_4:
	movq	%r15, %rdi
	callq	_strlen
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_xcb_intern_atom
	movl	%eax, %ebx
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_xcb_aux_get_screen
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_xcb_intern_atom_reply
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movq	%rax, %r15
	movl	16(%rax), %ecx
	movq	_XCB_GET_PROPERTY_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	$256, (%rsp)                    ## imm = 0x100
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r12d, %edx
	xorl	%r9d, %r9d
	callq	_xcb_get_property_unchecked
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_xcb_get_property_reply
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_xcb_get_property_value_length
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	movq	(%r12), %rax
	testq	%rax, %rax
	jle	LBB0_9
## %bb.8:
	cvtsi2sd	%rax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	callq	_ceil
	movq	%rax, %rbx
	addq	$256, %rbx                      ## imm = 0x100
	movq	%r12, %rdi
	callq	_free
	movl	16(%r15), %ecx
	movq	_XCB_GET_PROPERTY_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, (%rsp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_xcb_get_property_unchecked
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_xcb_get_property_reply
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_14
LBB0_9:
	movq	%r12, %rdi
	callq	_xcb_get_property_value_length
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	8(%r12), %rax
	movq	_XCB_ATOM_CARDINAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_xcb_get_property_value
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	xorl	%eax, %eax
	callq	_sasprintf
	jmp	LBB0_13
LBB0_1:
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %rsi
	xorl	%edi, %edi
	callq	_xcb_connect
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_xcb_connection_has_error
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_12:
	movq	%r12, %rdi
	callq	_xcb_get_property_value_length
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_xcb_get_property_value
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_sasprintf
LBB0_13:
	movq	%r12, %rdi
	callq	_free
LBB0_14:
	movq	%r15, %rdi
	callq	_free
LBB0_15:
	testq	%r13, %r13
	jne	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_xcb_disconnect
LBB0_17:
	movq	-56(%rbp), %rbx
LBB0_18:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_GET_PROPERTY_TYPE_ANY,4,2  ## @XCB_GET_PROPERTY_TYPE_ANY
	.comm	_XCB_ATOM_CARDINAL,8,3          ## @XCB_ATOM_CARDINAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

L_.str.1:                               ## @.str.1
	.asciz	"%.*s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_root_atom_contents             ; -- Begin function root_atom_contents
	.p2align	2
_root_atom_contents:                    ; @root_atom_contents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	str	w2, [sp, #28]
	str	xzr, [sp, #16]
	mov	x20, x1
	cbz	x1, LBB0_9
LBB0_1:
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	mov	x3, x21
	bl	_xcb_intern_atom
	mov	x21, x0
	ldr	w1, [sp, #28]
	mov	x0, x20
	bl	_xcb_aux_get_screen
	ldr	w23, [x0]
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	bl	_xcb_intern_atom_reply
	cbz	x0, LBB0_16
; %bb.2:
	mov	x21, x0
	ldr	w3, [x0, #16]
Lloh0:
	adrp	x25, _XCB_GET_PROPERTY_TYPE_ANY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _XCB_GET_PROPERTY_TYPE_ANY@GOTPAGEOFF]
	ldr	w4, [x25]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x23
	mov	w5, #0
	mov	w6, #256
	bl	_xcb_get_property_unchecked
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_xcb_get_property_reply
	cbz	x0, LBB0_15
; %bb.3:
	mov	x22, x0
	bl	_xcb_get_property_value_length
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	scvtf	d0, x8
	fmov	d1, #0.25000000
	fmul	d0, d0, d1
	bl	_ceil
	add	x24, x0, #256
	mov	x0, x22
	bl	_free
	ldr	w3, [x21, #16]
	ldr	w4, [x25]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x23
	mov	w5, #0
	mov	x6, x24
	bl	_xcb_get_property_unchecked
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_xcb_get_property_reply
	mov	x22, x0
	cbz	x0, LBB0_15
LBB0_6:
	mov	x0, x22
	bl	_xcb_get_property_value_length
	cbz	w0, LBB0_14
; %bb.7:
	ldr	x8, [x22, #8]
Lloh2:
	adrp	x9, _XCB_ATOM_CARDINAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XCB_ATOM_CARDINAL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	mov	x0, x22
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:
	bl	_xcb_get_property_value
	ldr	w2, [x0]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #16
	b	LBB0_13
LBB0_9:
	add	x1, sp, #28
	mov	x0, #0
	bl	_xcb_connect
	cbz	x0, LBB0_19
; %bb.10:
	mov	x20, x0
	bl	_xcb_connection_has_error
	cbz	x0, LBB0_1
; %bb.11:
	mov	x0, #0
	b	LBB0_19
LBB0_12:
	bl	_xcb_get_property_value_length
	mov	x23, x0
	mov	x0, x22
	bl	_xcb_get_property_value
	str	x0, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	mov	x2, x23
LBB0_13:
	bl	_sasprintf
LBB0_14:
	mov	x0, x22
	bl	_free
LBB0_15:
	mov	x0, x21
	bl	_free
LBB0_16:
	cbnz	x19, LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_xcb_disconnect
LBB0_18:
	ldr	x0, [sp, #16]
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_GET_PROPERTY_TYPE_ANY,4,2  ; @XCB_GET_PROPERTY_TYPE_ANY
	.comm	_XCB_ATOM_CARDINAL,8,3          ; @XCB_ATOM_CARDINAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

l_.str.1:                               ; @.str.1
	.asciz	"%.*s"

.subsections_via_symbols
