	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vertical_compose97iL0
_vertical_compose97iL0:                 ## @vertical_compose97iL0
	.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
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.1:
	movl	%ecx, %r12d
	cmpl	$4, %ecx
	jae	LBB0_3
## %bb.2:
	xorl	%r8d, %r8d
	jmp	LBB0_11
LBB0_3:
	leaq	(%rsi,%r12,4), %rax
	movq	_W_BM@GOTPCREL(%rip), %rbx
	leaq	4(%rbx), %rcx
	cmpq	%rcx, %rsi
	setb	-43(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rbx, %rax
	seta	%r10b
	leaq	(%rdi,%r12,4), %rcx
	cmpq	%rsi, %rcx
	seta	%r9b
	cmpq	%rdi, %rax
	seta	%r15b
	leaq	(%rdx,%r12,4), %rbx
	cmpq	%rsi, %rbx
	seta	%r11b
	cmpq	%rdx, %rax
	seta	-42(%rbp)                       ## 1-byte Folded Spill
	movq	_W_BO@GOTPCREL(%rip), %rcx
	leaq	4(%rcx), %rbx
	cmpq	%rbx, %rsi
	setb	%r14b
	cmpq	%rcx, %rax
	seta	-41(%rbp)                       ## 1-byte Folded Spill
	movq	_W_BS@GOTPCREL(%rip), %rcx
	leaq	4(%rcx), %rbx
	cmpq	%rbx, %rsi
	setb	%r13b
	cmpq	%rcx, %rax
	seta	%al
	xorl	%r8d, %r8d
	testb	%r10b, -43(%rbp)                ## 1-byte Folded Reload
	jne	LBB0_11
## %bb.4:
	andb	%r15b, %r9b
	jne	LBB0_11
## %bb.5:
	andb	-42(%rbp), %r11b                ## 1-byte Folded Reload
	jne	LBB0_11
## %bb.6:
	andb	-41(%rbp), %r14b                ## 1-byte Folded Reload
	jne	LBB0_11
## %bb.7:
	andb	%al, %r13b
	jne	LBB0_11
## %bb.8:
	movq	%rcx, %rbx
	movl	%r12d, %r8d
	andl	$-4, %r8d
	movq	_W_BM@GOTPCREL(%rip), %rax
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	_W_BO@GOTPCREL(%rip), %rax
	movd	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	movd	(%rcx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	leaq	(,%r12,4), %r9
	andq	$-16, %r9
	xorl	%ecx, %ecx
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rcx), %xmm3
	movdqu	(%rdx,%rcx), %xmm4
	paddd	%xmm3, %xmm4
	pmulld	%xmm0, %xmm4
	movdqu	(%rsi,%rcx), %xmm3
	movdqa	%xmm3, %xmm5
	pslld	$2, %xmm5
	paddd	%xmm4, %xmm5
	paddd	%xmm1, %xmm5
	psrad	%xmm2, %xmm5
	paddd	%xmm3, %xmm5
	movdqu	%xmm5, (%rsi,%rcx)
	addq	$16, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_9
## %bb.10:
	cmpq	%r12, %r8
	je	LBB0_13
LBB0_11:
	movq	_W_BM@GOTPCREL(%rip), %r9
	movq	_W_BO@GOTPCREL(%rip), %r10
	movq	_W_BS@GOTPCREL(%rip), %r11
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%r8,4), %ecx
	addl	(%rdi,%r8,4), %ecx
	imull	(%r9), %ecx
	movl	(%rsi,%r8,4), %ebx
	leal	(%rcx,%rbx,4), %eax
	addl	(%r10), %eax
	movzbl	(%r11), %ecx
	sarl	%cl, %eax
	addl	%ebx, %eax
	movl	%eax, (%rsi,%r8,4)
	incq	%r8
	cmpq	%r8, %r12
	jne	LBB0_12
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_W_BM,4,2                       ## @W_BM
	.comm	_W_BO,4,2                       ## @W_BO
	.comm	_W_BS,4,2                       ## @W_BS
	.no_dead_strip	_vertical_compose97iL0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vertical_compose97iL0
_vertical_compose97iL0:                 ; @vertical_compose97iL0
	.cfi_startproc
; %bb.0:
	cmp	w3, #1
	b.lt	LBB0_13
; %bb.1:
Lloh0:
	adrp	x8, _W_BM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W_BM@GOTPAGEOFF]
	mov	w11, w3
Lloh2:
	adrp	x9, _W_BO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _W_BO@GOTPAGEOFF]
Lloh4:
	adrp	x10, _W_BS@GOTPAGE
Lloh5:
	ldr	x10, [x10, _W_BS@GOTPAGEOFF]
	cmp	w3, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x12, #0
	b	LBB0_11
LBB0_3:
	mov	x12, #0
	lsl	x14, x11, #2
	add	x17, x1, x14
	add	x13, x0, x14
	cmp	x13, x1
	ccmp	x17, x0, #0, hi
	cset	w13, hi
	add	x14, x2, x14
	cmp	x14, x1
	ccmp	x17, x2, #0, hi
	cset	w14, hi
	add	x15, x9, #4
	cmp	x1, x15
	ccmp	x17, x9, #0, lo
	cset	w15, hi
	add	x16, x10, #4
	cmp	x1, x16
	ccmp	x17, x10, #0, lo
	cset	w16, hi
	cmp	x17, x8
	add	x17, x8, #4
	ccmp	x1, x17, #2, hi
	b.lo	LBB0_11
; %bb.4:
	tbnz	w13, #0, LBB0_11
; %bb.5:
	tbnz	w14, #0, LBB0_11
; %bb.6:
	tbnz	w15, #0, LBB0_11
; %bb.7:
	tbnz	w16, #0, LBB0_11
; %bb.8:
	ld1r.4s	{ v0 }, [x8]
	ld1r.4s	{ v1 }, [x9]
	ld1r.4s	{ v2 }, [x10]
	and	x12, x11, #0xfffffff0
	add	x13, x1, #32
	add	x14, x0, #32
	add	x15, x2, #32
	neg.4s	v2, v2
	mov	x16, x12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q3, q4, [x14, #-32]
	ldp	q5, q6, [x14], #64
	ldp	q7, q16, [x15, #-32]
	ldp	q17, q18, [x15], #64
	add.4s	v3, v7, v3
	add.4s	v4, v16, v4
	add.4s	v5, v17, v5
	add.4s	v6, v18, v6
	ldp	q7, q16, [x13, #-32]
	ldp	q17, q18, [x13]
	shl.4s	v19, v7, #2
	shl.4s	v20, v16, #2
	shl.4s	v21, v17, #2
	shl.4s	v22, v18, #2
	mla.4s	v19, v3, v0
	mla.4s	v20, v4, v0
	mla.4s	v21, v5, v0
	mla.4s	v22, v6, v0
	add.4s	v3, v19, v1
	add.4s	v4, v20, v1
	add.4s	v5, v21, v1
	add.4s	v6, v22, v1
	sshl.4s	v3, v3, v2
	sshl.4s	v4, v4, v2
	sshl.4s	v5, v5, v2
	sshl.4s	v6, v6, v2
	add.4s	v3, v3, v7
	add.4s	v4, v4, v16
	add.4s	v5, v5, v17
	add.4s	v6, v6, v18
	stp	q3, q4, [x13, #-32]
	stp	q5, q6, [x13], #64
	subs	x16, x16, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x12, x11
	b.eq	LBB0_13
LBB0_11:
	lsl	x15, x12, #2
	add	x13, x1, x15
	add	x14, x2, x15
	add	x15, x0, x15
	sub	x11, x11, x12
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8]
	ldr	w16, [x15], #4
	ldr	w17, [x14], #4
	add	w16, w17, w16
	mul	w12, w16, w12
	ldr	w16, [x13]
	add	w12, w12, w16, lsl #2
	ldr	w17, [x9]
	add	w12, w12, w17
	ldr	w17, [x10]
	asr	w12, w12, w17
	add	w12, w12, w16
	str	w12, [x13], #4
	subs	x11, x11, #1
	b.ne	LBB0_12
LBB0_13:
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_W_BM,4,2                       ; @W_BM
	.comm	_W_BO,4,2                       ; @W_BO
	.comm	_W_BS,4,2                       ; @W_BS
	.no_dead_strip	_vertical_compose97iL0
.subsections_via_symbols
