	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intree_check_tree_internal
_intree_check_tree_internal:            ## @intree_check_tree_internal
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_1
## %bb.3:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%edi, %r15d
	movl	%esi, %edi
	callq	_TS_NODE
	movq	%rax, %rbx
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	setge	%cl
	cmpl	%r14d, %eax
	setle	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movl	(%rbx), %ecx
	movl	8(%rbx), %esi
	decl	%ecx
	movl	%r15d, %edi
	movl	%r12d, %edx
	callq	_intree_check_tree_internal
	movl	%eax, %r12d
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	incl	%edx
	movl	%r15d, %edi
	movl	%r14d, %ecx
	callq	_intree_check_tree_internal
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %eax
	incl	%eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intree_check_tree_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intree_check_tree_internal
_intree_check_tree_internal:            ; @intree_check_tree_internal
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x3
	mov	x21, x2
	mov	x20, x0
	mov	x0, x1
	bl	_TS_NODE
	mov	x22, x0
	ldr	w8, [x0]
	cmp	w8, w21
	ccmp	w8, w19, #0, ge
	cset	w0, le
	bl	_assert
	ldr	w1, [x22, #8]
	ldr	w8, [x22]
	sub	w3, w8, #1
	mov	x0, x20
	mov	x2, x21
	bl	_intree_check_tree_internal
	mov	x21, x0
	ldp	w8, w1, [x22]
	add	w2, w8, #1
	mov	x0, x20
	mov	x3, x19
	bl	_intree_check_tree_internal
	add	w8, w21, w0
	add	w0, w8, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intree_check_tree_internal
.subsections_via_symbols
