	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shrink44
_shrink44:                              ## @shrink44
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $r8d killed $r8d def $r8
	testl	%r9d, %r9d
	jle	LBB0_6
## %bb.1:
	movslq	%ecx, %rax
	leal	(,%rax,4), %ecx
	movslq	%ecx, %r11
	movslq	%esi, %r14
	shlq	$2, %r14
	shlq	$2, %r11
	leal	1(%r8), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	leaq	(,%rax,4), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r9), %ecx
	addq	%r14, %rdi
	addq	%r11, %rdx
	cmpl	$1, %r9d
	movl	%ecx, %r9d
	jle	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r8d, %r8d
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rdx,%rsi,4), %r10
	movl	(%rdx,%rsi,4), %ecx
	leaq	(%r10,%r15), %rbx
	addq	%r15, %rbx
	movl	12(%rbx,%rax,4), %r13d
	addl	4(%rdx,%rsi,4), %ecx
	addl	8(%rdx,%rsi,4), %ecx
	addl	12(%rdx,%rsi,4), %ecx
	addl	(%r10,%rax,4), %ecx
	addl	4(%r10,%rax,4), %ecx
	addl	8(%r10,%rax,4), %ecx
	addl	12(%r10,%rax,4), %ecx
	addl	(%r10,%rax,8), %ecx
	addl	4(%r10,%rax,8), %ecx
	addl	8(%r10,%rax,8), %ecx
	addl	12(%r10,%rax,8), %ecx
	addl	(%rbx,%rax,4), %ecx
	addl	4(%rbx,%rax,4), %ecx
	addl	8(%rbx,%rax,4), %ecx
	addl	%r13d, %ecx
	addl	$8, %ecx
	sarl	$4, %ecx
	movl	%ecx, (%rdi,%rsi)
	addq	$4, %rsi
	decl	%r12d
	cmpl	$1, %r12d
	ja	LBB0_4
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shrink44
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shrink44
_shrink44:                              ; @shrink44
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	.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
	str	w4, [sp, #156]                  ; 4-byte Folded Spill
                                        ; kill: def $w3 killed $w3 def $x3
	stp	x0, x2, [sp, #96]               ; 16-byte Folded Spill
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w5, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x8, #0
	sxtw	x10, w3
	lsl	w11, w3, #2
	sxtw	x9, w11
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
	sxtw	x9, w1
	str	x9, [sp, #80]                   ; 8-byte Folded Spill
	ldr	w9, [sp, #156]                  ; 4-byte Folded Reload
	sub	w12, w9, #1
	add	x13, x12, #1
	sbfiz	x14, x3, #1, #32
	stp	x12, x10, [sp, #120]            ; 16-byte Folded Spill
	lsl	x17, x12, #2
	add	x12, x14, x10
	add	x0, x17, x12
	add	x15, x0, #4
	stp	x12, x14, [sp, #64]             ; 16-byte Folded Spill
	add	x0, x17, x14
	add	x14, x0, #4
	stp	x14, x15, [sp, #48]             ; 16-byte Folded Spill
	add	x0, x17, x10
	str	x13, [sp, #112]                 ; 8-byte Folded Spill
	and	x10, x13, #0x1fffffffc
	lsl	x13, x10, #2
	stp	x13, x10, [sp, #16]             ; 16-byte Folded Spill
	sbfiz	x11, x11, #2, #32
	str	x11, [sp, #144]                 ; 8-byte Folded Spill
	add	x11, x0, #4
	str	x11, [sp, #40]                  ; 8-byte Folded Spill
	add	x11, x17, #4
	str	x11, [sp, #32]                  ; 8-byte Folded Spill
	sub	w9, w9, w10
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	sbfiz	x23, x3, #2, #32
	sbfiz	x3, x3, #3, #32
	lsl	x24, x12, #2
	sbfiz	x9, x1, #2, #32
	str	x9, [sp, #136]                  ; 8-byte Folded Spill
	movi.4s	v0, #8
	ldp	x22, x2, [sp, #96]              ; 16-byte Folded Reload
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #144]                  ; 8-byte Folded Reload
	add	x2, x2, x9
	ldr	x9, [sp, #136]                  ; 8-byte Folded Reload
	add	x22, x22, x9
	add	x8, x8, #1
	subs	w5, w5, #1
	b.le	LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w9, [sp, #156]                  ; 4-byte Folded Reload
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x10, [sp, #120]             ; 16-byte Folded Reload
	lsl	x11, x10, #2
	add	x27, x2, x11
	add	x28, x27, x11
	add	x30, x28, x11
	cmp	w9, #3
	b.hs	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x22
	mov	x26, x2
	ldr	w11, [sp, #156]                 ; 4-byte Folded Reload
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w11, w11, #1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	w14, w16, [x26]
	ldp	w17, w0, [x26, #8]
	ldp	w20, w21, [x27]
	ldp	w15, w13, [x27, #8]
	ldp	w6, w7, [x28]
	ldp	w12, w9, [x28, #8]
	ldp	w19, w1, [x30]
	ldp	w10, w4, [x30, #8]
	add	w14, w14, w16
	add	w14, w14, w17
	add	w14, w14, w0
	add	w14, w14, w20
	add	w14, w14, w21
	add	w14, w14, w15
	add	w13, w14, w13
	add	w13, w13, w6
	add	w13, w13, w7
	add	w12, w13, w12
	add	w9, w12, w9
	add	w9, w9, w19
	add	w9, w9, w1
	add	w9, w9, w10
	add	w9, w9, w4
	add	w9, w9, #8
	asr	w9, w9, #4
	str	w9, [x25], #4
	sub	w11, w11, #1
	add	x26, x26, #16
	add	x27, x27, #16
	add	x28, x28, #16
	add	x30, x30, #16
	cmp	w11, #1
	b.hi	LBB0_7
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x11, [sp, #112]                 ; 8-byte Folded Reload
	madd	x11, x8, x9, x11
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	add	x20, x9, x11, lsl #2
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	mul	x11, x8, x9
	ldp	x12, x9, [sp, #56]              ; 16-byte Folded Reload
	add	x17, x9, x11
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	add	x25, x9, x17, lsl #2
	add	x17, x12, x11
	add	x26, x9, x17, lsl #2
	ldr	x12, [sp, #72]                  ; 8-byte Folded Reload
	add	x17, x12, x11
	add	x17, x9, x17, lsl #2
	ldr	x12, [sp, #48]                  ; 8-byte Folded Reload
	add	x0, x12, x11
	add	x0, x9, x0, lsl #2
	add	x21, x11, x10
	add	x21, x9, x21, lsl #2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x16, x10, x11
	add	x16, x9, x16, lsl #2
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	add	x11, x10, x11
	add	x14, x9, x11, lsl #2
	cmp	x22, x0
	ccmp	x17, x20, #2, lo
	cset	w11, lo
	cmp	x22, x16
	ccmp	x21, x20, #2, lo
	cset	w0, lo
	cmp	x22, x14
	ccmp	x2, x20, #2, lo
	cset	w17, lo
	cmp	x25, x20
	ccmp	x22, x26, #2, lo
	b.lo	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w11, #0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w0, #0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x22
	mov	x26, x2
	ldr	w11, [sp, #156]                 ; 4-byte Folded Reload
	tbnz	w17, #0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x11, [sp, #16]              ; 16-byte Folded Reload
	add	x25, x22, x11, lsl #2
	add	x30, x30, x9, lsl #2
	add	x28, x28, x9, lsl #2
	add	x27, x27, x9, lsl #2
	mov	x0, x22
	mov	x17, x2
	mov	x20, x2
	add	x26, x2, x9, lsl #2
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x14, x17, x23
	ld4.4s	{ v1, v2, v3, v4 }, [x20], #64
	ld4.4s	{ v16, v17, v18, v19 }, [x14]
	add	x14, x17, x3
	ld4.4s	{ v20, v21, v22, v23 }, [x14]
	add.4s	v5, v1, v2
	add.4s	v5, v5, v3
	add.4s	v1, v5, v4
	add	x14, x17, x24
	ld4.4s	{ v2, v3, v4, v5 }, [x14]
	add.4s	v1, v1, v16
	add.4s	v1, v1, v17
	add.4s	v1, v1, v18
	add.4s	v1, v1, v19
	add.4s	v1, v1, v20
	add.4s	v1, v1, v21
	add.4s	v1, v1, v22
	add.4s	v1, v1, v23
	add.4s	v1, v1, v2
	add.4s	v1, v1, v3
	add.4s	v1, v1, v4
	add.4s	v1, v1, v5
	add.4s	v1, v1, v0
	sshr.4s	v1, v1, #4
	str	q1, [x0], #16
	mov	x17, x20
	subs	x11, x11, #4
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	ldr	x9, [sp, #112]                  ; 8-byte Folded Reload
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	cmp	x9, x10
	b.eq	LBB0_2
	b	LBB0_6
LBB0_15:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shrink44
.subsections_via_symbols
