	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function node_shift
_node_shift:                            ## @node_shift
	.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	%esi, %r12d
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	js	LBB0_1
## %bb.2:
	leal	(%r15,%r12), %ebx
	movl	(%r14), %edi
	callq	_le32_to_cpu
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setg	%dil
	callq	_BUG_ON
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_key_ptr
	movq	%r15, %rbx
	movq	%rax, %r15
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_key_ptr
	movl	%ebx, %edx
	shll	$2, %edx
	movq	%r15, %rdi
	movq	%rbx, %r15
	movq	%rax, %rsi
	callq	_memmove
	jmp	LBB0_3
LBB0_1:
	movl	%r12d, %r13d
	negl	%r13d
	xorl	%edi, %edi
	cmpl	%r13d, %r15d
	setl	%dil
	callq	_BUG_ON
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_key_ptr
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_value_ptr
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setae	%dil
	callq	_BUG_ON
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_key_ptr
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_key_ptr
	addl	%r12d, %r15d
	leal	(,%r15,4), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_memmove
	xorl	%r12d, %r12d
LBB0_3:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_value_ptr
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_value_ptr
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	imull	%r15d, %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_node_shift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function node_shift
_node_shift:                            ; @node_shift
	.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, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	tbnz	w22, #31, LBB0_2
; %bb.1:
	add	w23, w20, w22
	ldr	w0, [x19]
	bl	_le32_to_cpu
	cmp	w23, w0
	cset	w0, gt
	bl	_BUG_ON
	mov	x0, x19
	mov	x1, x22
	bl	_key_ptr
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	bl	_key_ptr
	mov	x1, x0
	lsl	w2, w20, #2
	mov	x0, x23
	bl	_memmove
	mov	w23, #0
	b	LBB0_3
LBB0_2:
	neg	w23, w22
	cmp	w20, w23
	cset	w0, lt
	bl	_BUG_ON
	mov	x0, x19
	mov	x1, x23
	bl	_key_ptr
	mov	x24, x0
	mov	x0, x19
	mov	x1, x23
	bl	_value_ptr
	cmp	x24, x0
	cset	w0, hs
	bl	_BUG_ON
	mov	x0, x19
	mov	w1, #0
	bl	_key_ptr
	mov	x24, x0
	mov	x0, x19
	mov	x1, x23
	bl	_key_ptr
	mov	x1, x0
	add	w20, w20, w22
	lsl	w2, w20, #2
	mov	x0, x24
	bl	_memmove
	mov	w22, #0
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	bl	_value_ptr
	mov	x22, x0
	mov	x0, x19
	mov	x1, x23
	bl	_value_ptr
	mov	x1, x0
	mul	w2, w21, w20
	mov	x0, x22
	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	_memmove
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_node_shift
.subsections_via_symbols
