	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __rebalance3
___rebalance3:                          ## @__rebalance3
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r13
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r12
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	(%r8), %rbx
	movl	8(%r13), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	8(%r12), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_merge_threshold
                                        ## kill: def $eax killed $eax def $rax
	leal	1(,%rax,4), %r14d
	movq	(%r13), %rax
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setne	%dil
	callq	_BUG_ON
	movq	(%r12), %rax
	xorl	%edi, %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	(%rbx), %rax
	setne	%dil
	callq	_BUG_ON
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-104(%rbp), %r10                ## 8-byte Reload
	movl	%ebx, %eax
	addl	%r10d, %eax
	addl	%r15d, %eax
	subq	$8, %rsp
	cmpl	%r14d, %eax
	jae	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	pushq	%r15
	pushq	%rbx
	pushq	%r10
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r12
	callq	_delete_center_node
	jmp	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	pushq	%r15
	pushq	%rbx
	pushq	%r10
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r12
	callq	_redistribute3
LBB0_2:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___rebalance3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __rebalance3
___rebalance3:                          ; @__rebalance3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x23, x3
	mov	x24, x2
	stp	x0, x1, [sp, #16]               ; 16-byte Folded Spill
	ldr	x20, [x2]
	ldr	x21, [x3]
	ldr	x22, [x4]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	mov	x27, x0
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	mov	x28, x0
	ldr	w0, [x22, #8]
	bl	_le32_to_cpu
	mov	x25, x0
	mov	x0, x20
	bl	_merge_threshold
	mov	w26, #1
	bfi	w26, w0, #2, #30
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	add	w8, w28, w27
	add	w8, w8, w25
	cmp	w8, w26
	b.hs	LBB0_2
; %bb.1:
	stp	w28, w25, [sp, #4]
	str	w27, [sp]
	ldp	x0, x1, [sp, #16]               ; 16-byte Folded Reload
	mov	x2, x24
	mov	x3, x23
	mov	x4, x19
	mov	x5, x20
	mov	x6, x21
	mov	x7, x22
	bl	_delete_center_node
	b	LBB0_3
LBB0_2:
	stp	w28, w25, [sp, #4]
	str	w27, [sp]
	ldp	x0, x1, [sp, #16]               ; 16-byte Folded Reload
	mov	x2, x24
	mov	x3, x23
	mov	x4, x19
	mov	x5, x20
	mov	x6, x21
	mov	x7, x22
	bl	_redistribute3
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___rebalance3
.subsections_via_symbols
