	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crunchsamples
_crunchsamples:                         ## @crunchsamples
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	cmpl	$6, (%rsi)
	jl	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rsi), %rax
	movl	(%rax), %ecx
	movl	%ecx, 40(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rsi)
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_estimate_entropy
	movq	16(%r14), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_estimate_entropy
	movq	16(%r14), %rax
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_estimate_entropy
	movq	16(%r14), %rax
	movl	12(%rax), %esi
	movq	%r14, %rdi
	callq	_estimate_entropy
	movl	(%r14), %edx
	xorl	%r12d, %r12d
	cmpl	$5, %edx
	jb	LBB0_4
## %bb.2:
	xorl	%r12d, %r12d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_estimate_entropy
	addl	%eax, %r12d
	incq	%rbx
	movl	(%r14), %edx
	cmpq	%rdx, %rbx
	jb	LBB0_3
LBB0_4:
	movq	16(%r14), %rsi
	shll	$2, %edx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r12d, %ecx
	callq	_entropypool_adddata
	movq	8(%r14), %rsi
	movl	(%r14), %edx
	shll	$2, %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_entropypool_adddata
	movq	16(%r14), %rcx
	movq	8(%r14), %rax
	movl	(%r14), %edx
	addl	$-4, %edx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, (%rcx)
	movl	(%r14), %edx
	addl	$-4, %edx
	movl	(%rax,%rdx,4), %edx
	movl	%edx, (%rax)
	movl	(%r14), %edx
	addl	$-3, %edx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, 4(%rcx)
	movl	(%r14), %edx
	addl	$-3, %edx
	movl	(%rax,%rdx,4), %edx
	movl	%edx, 4(%rax)
	movl	(%r14), %edx
	addl	$-2, %edx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, 8(%rcx)
	movl	(%r14), %edx
	addl	$-2, %edx
	movl	(%rax,%rdx,4), %edx
	movl	%edx, 8(%rax)
	movl	(%r14), %edx
	decl	%edx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, 12(%rcx)
	movl	(%r14), %ecx
	decl	%ecx
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, 12(%rax)
	movl	$4, (%r14)
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_crunchsamples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crunchsamples
_crunchsamples:                         ; @crunchsamples
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x1]
	cmp	w8, #6
	b.ge	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_7
LBB0_2:
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1, #16]
	ldr	w9, [x8]
	str	w9, [x1, #40]
	stp	xzr, xzr, [x1, #24]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_estimate_entropy
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_estimate_entropy
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_estimate_entropy
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_estimate_entropy
	ldr	w8, [x19]
	cmp	w8, #5
	b.lo	LBB0_5
; %bb.3:
	mov	w20, #0
	mov	w22, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x19
	bl	_estimate_entropy
	add	w20, w20, w0
	add	x22, x22, #1
	ldr	w8, [x19]
	cmp	x22, x8
	b.lo	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	ldr	x1, [x19, #16]
	lsl	w2, w8, #2
	mov	x0, x21
	mov	x3, x20
	bl	_entropypool_adddata
	ldr	x1, [x19, #8]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	x0, x21
	mov	w3, #0
	bl	_entropypool_adddata
	ldp	x9, x8, [x19, #8]
	ldr	w10, [x19]
	sub	w10, w10, #4
	ldr	w10, [x8, w10, uxtw #2]
	str	w10, [x8]
	ldr	w10, [x19]
	sub	w10, w10, #4
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x9]
	ldr	w10, [x19]
	sub	w10, w10, #3
	ldr	w10, [x8, w10, uxtw #2]
	str	w10, [x8, #4]
	ldr	w10, [x19]
	sub	w10, w10, #3
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x9, #4]
	ldr	w10, [x19]
	sub	w10, w10, #2
	ldr	w10, [x8, w10, uxtw #2]
	str	w10, [x8, #8]
	ldr	w10, [x19]
	sub	w10, w10, #2
	ldr	w10, [x9, w10, uxtw #2]
	str	w10, [x9, #8]
	ldr	w10, [x19]
	sub	w10, w10, #1
	ldr	w10, [x8, w10, uxtw #2]
	str	w10, [x8, #12]
	ldr	w8, [x19]
	sub	w8, w8, #1
	ldr	w8, [x9, w8, uxtw #2]
	str	w8, [x9, #12]
	mov	w8, #4
	str	w8, [x19]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_crunchsamples
.subsections_via_symbols
