	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cf_blockwise_accumulate_final  ## -- Begin function cf_blockwise_accumulate_final
	.p2align	4, 0x90
_cf_blockwise_accumulate_final:         ## @cf_blockwise_accumulate_final
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	testq	%rdi, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	%rdx, (%r12)
	setb	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_assert
	testq	%r15, %r15
	setne	%al
	testq	%rbx, %rbx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	setne	%al
	cmpq	$0, 24(%rbp)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	(%r12), %r14
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	testq	%r14, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_8
## %bb.6:
	movq	%rax, %rdi
	subq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_MIN
	movq	%rax, %r14
	movq	(%r12), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%r14,4), %r15
	subq	%r14, %rbx
	addq	(%r12), %r14
	movq	%r14, (%r12)
	cmpq	%rax, %r14
	jne	LBB0_8
## %bb.7:
	testq	%rbx, %rbx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmoveq	16(%rbp), %rcx
	movq	24(%rbp), %rdi
	movq	%r13, %rsi
	callq	*%rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%r12)
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_8:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rbx
	jae	LBB0_10
## %bb.9:
	movq	%rax, %r14
	testq	%rbx, %rbx
	jne	LBB0_14
	jmp	LBB0_15
LBB0_10:
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_assert
	movq	%rbx, %r13
	subq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmoveq	16(%rbp), %rcx
	movq	24(%rbp), %rdi
	movq	%r15, %rsi
	callq	*%rcx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r15,%r14,4), %r15
	cmpq	%r14, %r13
	jae	LBB0_16
## %bb.11:
	movq	%r13, %rbx
	testq	%rbx, %rbx
	jne	LBB0_14
	jmp	LBB0_15
LBB0_16:
	leaq	(%r14,%r14), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	negq	%rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%r14,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	24(%rbp), %r13
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_assert
	cmpq	%rbx, -80(%rbp)                 ## 8-byte Folded Reload
	movq	%r14, %rcx
	cmoveq	16(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	*%rcx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	%rcx, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, %rax
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	cmpq	%rcx, %rax
	jae	LBB0_17
## %bb.12:
	movq	%rcx, %r14
	subq	%rcx, %rbx
	testq	%rbx, %rbx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	subq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	_MIN
	movq	%rax, %r13
	movq	(%r12), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	leaq	(%r15,%r13,4), %r15
	movq	(%r12), %rax
	addq	%r13, %rax
	movq	%rax, (%r12)
	xorl	%edi, %edi
	cmpq	%r14, %rax
	setb	%dil
	callq	_assert
	subq	%r13, %rbx
	jne	LBB0_14
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cf_blockwise_accumulate_final  ; -- Begin function cf_blockwise_accumulate_final
	.p2align	2
_cf_blockwise_accumulate_final:         ; @cf_blockwise_accumulate_final
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x7
	mov	x28, x6
	mov	x26, x5
	mov	x21, x4
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22]
	cmp	x8, x20
	cset	w0, lo
LBB0_2:
	bl	_assert
	cmp	x19, #0
	ccmp	x21, #0, #4, eq
	cset	w0, eq
	bl	_assert
	cmp	x26, #0
	ccmp	x24, #0, #4, ne
	cset	w0, ne
	bl	_assert
	ldr	x8, [x22]
	cbz	x21, LBB0_6
; %bb.3:
	cbz	x8, LBB0_6
; %bb.4:
	sub	x0, x20, x8
	mov	x1, x21
	bl	_MIN
	mov	x27, x0
	ldr	x8, [x22]
	add	x0, x23, x8, lsl #2
	mov	x1, x19
	mov	x2, x27
	bl	_memcpy
	add	x19, x19, x27, lsl #2
	sub	x21, x21, x27
	ldr	x8, [x22]
	add	x8, x8, x27
	cmp	x8, x20
	str	x8, [x22]
	b.ne	LBB0_6
; %bb.5:
	cmp	x21, #0
	csel	x8, x28, x26, eq
	mov	x0, x24
	mov	x1, x23
	blr	x8
	mov	x8, #0
	str	xzr, [x22]
LBB0_6:
	cmp	x21, x20
	b.lo	LBB0_9
; %bb.7:
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	subs	x25, x21, x20
	csel	x8, x28, x26, eq
	mov	x0, x24
	mov	x1, x19
	blr	x8
	add	x19, x19, x20, lsl #2
	cmp	x25, x20
	b.hs	LBB0_12
; %bb.8:
	mov	x21, x25
LBB0_9:
	cbz	x21, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	sub	x0, x20, x8
	mov	x1, x21
	bl	_MIN
	mov	x24, x0
	ldr	x8, [x22]
	add	x0, x23, x8, lsl #2
	mov	x1, x19
	mov	x2, x24
	bl	_memcpy
	add	x19, x19, x24, lsl #2
	sub	x21, x21, x24
	ldr	x8, [x22]
	add	x8, x8, x24
	cmp	x8, x20
	str	x8, [x22]
	cset	w0, lo
	bl	_assert
	cbnz	x21, LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	lsl	x27, x20, #1
	neg	x23, x20
	lsl	x25, x20, #2
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	cmp	x27, x21
	csel	x8, x28, x26, eq
	mov	x0, x24
	mov	x1, x19
	blr	x8
	sub	x21, x21, x20
	add	x8, x23, x21
	add	x19, x19, x25
	cmp	x8, x20
	b.hs	LBB0_13
; %bb.14:
	sub	x21, x21, x20
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	x21, LBB0_10
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
