	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redistribute3
_redistribute3:                         ## @redistribute3
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	48(%rbp), %ebx
	movl	40(%rbp), %r13d
	movl	32(%rbp), %r12d
	movl	8(%r9), %edi
	callq	_le32_to_cpu
	leal	(%r12,%r13), %ecx
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	imulq	$1431655766, %rcx, %r14         ## imm = 0x55555556
	movq	%r14, %rcx
	shrq	$63, %rcx
	shrq	$32, %r14
	addl	%ecx, %r14d
	xorl	%edi, %edi
	cmpl	%eax, %r14d
	seta	%dil
	callq	_BUG_ON
	cmpl	%ebx, %r12d
	jge	LBB0_6
## %bb.1:
	subl	%r14d, %r12d
	jns	LBB0_4
## %bb.2:
	movl	%r12d, %eax
	negl	%eax
	cmpl	%r13d, %eax
	jle	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	16(%rbp), %rsi
	movl	%r13d, %edx
	callq	_shift
	subl	%r14d, %r13d
	movq	%r15, %rdi
	movq	24(%rbp), %r12
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_shift
	addl	%ebx, %r13d
	movl	%r13d, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_6:
	movl	%r14d, %edx
	subl	%ebx, %edx
	testl	%edx, %edx
	jle	LBB0_9
## %bb.7:
	cmpl	%r13d, %edx
	jle	LBB0_9
## %bb.8:
	movq	16(%rbp), %rdi
	movq	24(%rbp), %rsi
	movl	%r13d, %edx
	callq	_shift
	movl	%r14d, %ebx
	subl	%r13d, %ebx
	movq	%r15, %rdi
	movq	24(%rbp), %rsi
	movl	%ebx, %edx
	callq	_shift
	subl	%ebx, %r12d
	movq	16(%rbp), %rbx
	jmp	LBB0_10
LBB0_4:
	movq	%r15, %rdi
	movq	16(%rbp), %rsi
	movl	%r12d, %edx
	callq	_shift
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	24(%rbp), %r12
LBB0_5:
	subl	%ebx, %r14d
	movq	16(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_shift
	jmp	LBB0_11
LBB0_9:
	movq	16(%rbp), %rbx
	movq	%rbx, %rdi
	movq	24(%rbp), %rsi
	callq	_shift
LBB0_10:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	subl	%r14d, %r12d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_shift
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	24(%rbp), %r12
LBB0_11:
	movq	(%rbx), %rax
	movl	(%rax), %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_key_ptr
	movl	%ebx, (%rax)
	movq	(%r12), %rax
	movl	(%rax), %ebx
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_key_ptr
	movl	%ebx, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_redistribute3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redistribute3
_redistribute3:                         ; @redistribute3
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x22, x6
	mov	x24, x5
	mov	x21, x4
	mov	x23, x3
	mov	x20, x1
	ldp	w25, w27, [x29, #20]
	ldr	w28, [x29, #16]
	ldr	w0, [x5, #8]
	bl	_le32_to_cpu
	add	w8, w25, w28
	add	w8, w8, w27
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w26, w8, w9
	cmp	w26, w0
	cset	w0, hi
	bl	_BUG_ON
	cmp	w28, w27
	b.ge	LBB0_4
; %bb.1:
	sub	w2, w28, w26
	tbz	w2, #31, LBB0_6
; %bb.2:
	neg	w8, w2
	cmp	w8, w25
	b.le	LBB0_6
; %bb.3:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	bl	_shift
	sub	w25, w25, w26
	mov	x0, x24
	mov	x1, x19
	mov	x2, x25
	bl	_shift
	add	w27, w25, w27
	b	LBB0_7
LBB0_4:
	sub	w2, w26, w27
	cmp	w2, #1
	mov	x0, x22
	mov	x1, x19
	ccmp	w2, w25, #4, ge
	b.gt	LBB0_8
; %bb.5:
	bl	_shift
	b	LBB0_9
LBB0_6:
	mov	x0, x24
	mov	x1, x22
	bl	_shift
LBB0_7:
	sub	w2, w26, w27
	mov	x0, x22
	mov	x1, x19
	b	LBB0_10
LBB0_8:
	mov	x2, x25
	bl	_shift
	sub	w25, w26, w25
	mov	x0, x24
	mov	x1, x19
	mov	x2, x25
	bl	_shift
	sub	w28, w28, w25
LBB0_9:
	sub	w2, w28, w26
	mov	x0, x24
	mov	x1, x22
LBB0_10:
	bl	_shift
	ldr	x8, [x22]
	ldr	w22, [x8]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_key_ptr
	str	w22, [x0]
	ldr	x8, [x19]
	ldr	w19, [x8]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_key_ptr
	str	w19, [x0]
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_redistribute3
.subsections_via_symbols
