	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function value_of_root
_value_of_root:                         ## @value_of_root
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	cmpq	%rbx, 16(%rax)
	je	LBB0_2
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r14
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_varobj_get_type
	movq	%rax, %r13
	movl	12(%rbx), %esi
	movq	_USE_SELECTED_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_varobj_create
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_varobj_get_type
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	cmpl	$0, (%r14)
	je	LBB0_9
## %bb.8:
	movl	8(%rbx), %r13d
	movl	%r13d, %edi
	callq	_strlen
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_savestring
	movl	%eax, 8(%r12)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_varobj_delete
	jmp	LBB0_10
LBB0_3:
	xorl	%r13d, %r13d
	movq	%rbx, %r12
	jmp	LBB0_11
LBB0_6:
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_varobj_delete
	movq	%rbx, %r12
	jmp	LBB0_11
LBB0_9:
	xorl	%eax, %eax
	callq	_varobj_gen_name
	movl	%eax, 8(%r12)
LBB0_10:
	movq	%r12, %rdi
	callq	_install_variable
	movq	%r12, (%r15)
	movl	$1, %r13d
LBB0_11:
	movl	%r13d, (%r14)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USE_SELECTED_FRAME,4,2         ## @USE_SELECTED_FRAME
	.no_dead_strip	_value_of_root
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function value_of_root
_value_of_root:                         ; @value_of_root
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0]
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
	cmp	x9, x21
	b.eq	LBB0_3
LBB0_2:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_varobj_get_type
	mov	x23, x0
	ldr	w1, [x21, #12]
Lloh0:
	adrp	x8, _USE_SELECTED_FRAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USE_SELECTED_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w2, #0
	bl	_varobj_create
	cbz	x0, LBB0_2
; %bb.5:
	mov	x22, x0
	bl	_varobj_get_type
	mov	x1, x0
	mov	x0, x23
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.7:
	ldr	w23, [x21, #8]
	mov	x0, x23
	bl	_strlen
	mov	x1, x0
	mov	x0, x23
	bl	_savestring
	str	w0, [x22, #8]
	mov	x0, x21
	mov	x1, #0
	mov	w2, #0
	bl	_varobj_delete
	b	LBB0_11
LBB0_8:
	mov	x22, x21
	b	LBB0_12
LBB0_9:
	mov	x0, x22
	mov	x1, #0
	mov	w2, #0
	bl	_varobj_delete
	mov	w8, #0
	mov	x22, x21
	b	LBB0_12
LBB0_10:
	bl	_varobj_gen_name
	str	w0, [x22, #8]
LBB0_11:
	mov	x0, x22
	bl	_install_variable
	str	x22, [x19]
	mov	w8, #1
LBB0_12:
	str	w8, [x20]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USE_SELECTED_FRAME,4,2         ; @USE_SELECTED_FRAME
	.no_dead_strip	_value_of_root
.subsections_via_symbols
