	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tnode_put_child_reorg
_tnode_put_child_reorg:                 ## @tnode_put_child_reorg
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movslq	%esi, %rdx
	movq	(%rax,%rdx,8), %r12
	movb	(%rdi), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	$1, %r13d
	xorl	%edi, %edi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	%edx, %eax
	setle	%dil
	callq	_BUG_ON
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	testq	%r12, %r12
	jne	LBB0_4
LBB0_2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	movl	$-1, %r13d
	testq	%r12, %r12
	jne	LBB0_5
LBB0_4:
	addl	%r13d, 20(%rbx)
LBB0_5:
	cmpl	$-1, %r15d
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_tnode_full
	movl	%eax, %r15d
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tnode_full
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	movl	$-1, %ecx
	testl	%eax, %eax
	je	LBB0_11
LBB0_9:
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.10:
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	addl	%ecx, 16(%rbx)
LBB0_12:
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_node_set_parent
LBB0_14:
	movq	8(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_assign_pointer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tnode_put_child_reorg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tnode_put_child_reorg
_tnode_put_child_reorg:                 ; @tnode_put_child_reorg
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8, w1, sxtw #3]
	ldr	w8, [x0]
	mov	w24, #1
	lsl	w8, w24, w8
	cmp	w8, w1
	cset	w0, le
	bl	_BUG_ON
	cbnz	x19, LBB0_2
; %bb.1:
	cbnz	x23, LBB0_5
LBB0_2:
	cbz	x19, LBB0_6
; %bb.3:
	cbnz	x23, LBB0_6
; %bb.4:
	mov	w24, #-1
LBB0_5:
	ldr	w8, [x20, #20]
	add	w8, w8, w24
	str	w8, [x20, #20]
LBB0_6:
	cmn	w22, #1
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x23
	bl	_tnode_full
	mov	x22, x0
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_tnode_full
	cbz	w22, LBB0_11
; %bb.9:
	cbnz	w0, LBB0_11
; %bb.10:
	mov	w8, #-1
	b	LBB0_14
LBB0_11:
	cbnz	w22, LBB0_15
; %bb.12:
	cbz	w0, LBB0_15
; %bb.13:
	mov	w8, #1
LBB0_14:
	ldr	w9, [x20, #16]
	add	w8, w9, w8
	str	w8, [x20, #16]
LBB0_15:
	sxtw	x21, w21
	cbz	x19, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_node_set_parent
LBB0_17:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x21, lsl #3]
	mov	x1, 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
	b	_rcu_assign_pointer
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tnode_put_child_reorg
.subsections_via_symbols
