	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_shadow_current
	movl	%eax, %edi
	callq	_dm_block_data
	movq	%rax, %r15
	leaq	-64(%rbp), %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	%r13d, %ecx
	movq	%r14, %r8
	callq	_init_child
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	leal	1(%r13), %ecx
	leaq	-56(%rbp), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_init_child
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	addl	$2, %r13d
	leaq	-72(%rbp), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movq	%r14, %r8
	callq	_init_child
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	-64(%rbp), %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	-56(%rbp), %r14
	jmp	LBB0_5
LBB0_4:
	leaq	-64(%rbp), %rbx
	leaq	-56(%rbp), %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	___rebalance3
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_exit_child
	xorl	%ebx, %ebx
	movq	%r13, %rdi
LBB0_5:
	movq	%r12, %rsi
	callq	_exit_child
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_exit_child
LBB0_7:
	movl	%ebx, %eax
	addq	$40, %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, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x3
	mov	x21, x2
	mov	x19, x1
	bl	_shadow_current
	bl	_dm_block_data
	mov	x20, x0
	add	x4, sp, #24
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_init_child
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.1:
	add	w3, w23, #1
	add	x4, sp, #16
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_init_child
	cbz	w0, LBB0_3
; %bb.2:
	mov	x22, x0
	add	x21, sp, #24
	b	LBB0_7
LBB0_3:
	add	w3, w23, #2
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_init_child
	mov	x22, x0
	cbz	w0, LBB0_5
; %bb.4:
	add	x21, sp, #16
	add	x23, sp, #24
	b	LBB0_6
LBB0_5:
	add	x23, sp, #16
	add	x21, sp, #8
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	___rebalance3
	add	x1, sp, #24
	mov	x0, x19
	bl	_exit_child
LBB0_6:
	mov	x0, x19
	mov	x1, x23
	bl	_exit_child
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_exit_child
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rebalance3
.subsections_via_symbols
