	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function leaf_walk_rcu
_leaf_walk_rcu:                         ## @leaf_walk_rcu
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	$0, %esi
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %edx
	movl	16(%r14), %esi
	callq	_tkey_extract_bits
	movl	%eax, %esi
	incl	%esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=2
	leal	1(%rsi), %ebx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_tnode_get_child_rcu
	movl	%ebx, %esi
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_LEAF
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	xorl	%esi, %esi
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %ecx
	movl	%esi, %eax
	shrl	%cl, %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rbx
	movq	%r14, %rdi
	callq	_node_parent_rcu
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_1
## %bb.9:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_7:
	movq	8(%r14), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edi
	callq	_prefetch
LBB0_10:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_leaf_walk_rcu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function leaf_walk_rcu
_leaf_walk_rcu:                         ; @leaf_walk_rcu
	.cfi_startproc
; %bb.0:
	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	x20, x1
	mov	x19, x0
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	x20, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x20]
	ldr	w1, [x19, #16]
	ldr	w2, [x19]
	bl	_tkey_extract_bits
	add	w1, w0, #1
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w1, #0
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w21, w1, #1
	mov	x0, x19
	bl	_tnode_get_child_rcu
	mov	x1, x21
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x20, x0
	bl	_IS_LEAF
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w1, #0
	mov	x19, x20
LBB0_7:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19]
	lsr	w8, w1, w8
	cbz	w8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, x19
	mov	x0, x19
	bl	_node_parent_rcu
	mov	x19, x0
	cbnz	x0, LBB0_1
; %bb.9:
	mov	x20, #0
	b	LBB0_11
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, w21, uxtw #2]
	bl	_prefetch
LBB0_11:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_leaf_walk_rcu
.subsections_via_symbols
