	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vertical_decompose97iL0
LCPI0_0:
	.long	671088640                       ## 0x28000000
	.long	671088640                       ## 0x28000000
	.long	671088640                       ## 0x28000000
	.long	671088640                       ## 0x28000000
LCPI0_1:
	.long	1717986919                      ## 0x66666667
	.long	1717986919                      ## 0x66666667
	.long	1717986919                      ## 0x66666667
	.long	1717986919                      ## 0x66666667
LCPI0_2:
	.long	4286578688                      ## 0xff800000
	.long	4286578688                      ## 0xff800000
	.long	4286578688                      ## 0xff800000
	.long	4286578688                      ## 0xff800000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vertical_decompose97iL0:               ## @vertical_decompose97iL0
	.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_11
## %bb.1:
	movl	%ecx, %r9d
	cmpl	$4, %ecx
	jae	LBB0_3
## %bb.2:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_3:
	leaq	(%rdi,%r9,4), %rax
	cmpq	%rsi, %rax
	seta	%r15b
	leaq	(%rsi,%r9,4), %rcx
	cmpq	%rdi, %rcx
	seta	%r12b
	leaq	(%rdx,%r9,4), %rax
	cmpq	%rsi, %rax
	seta	%al
	cmpq	%rdx, %rcx
	seta	%r11b
	movq	_W_BO@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rbx
	cmpq	%rbx, %rsi
	setb	%r10b
	cmpq	%r8, %rcx
	seta	%r14b
	xorl	%r13d, %r13d
	testb	%r12b, %r15b
	jne	LBB0_9
## %bb.4:
	andb	%r11b, %al
	jne	LBB0_9
## %bb.5:
	andb	%r14b, %r10b
	jne	LBB0_9
## %bb.6:
	movl	%r9d, %r13d
	andl	$-4, %r13d
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	movl	$5, %eax
	movd	%eax, %xmm1
	pmulld	%xmm0, %xmm1
	pshufd	$0, %xmm1, %xmm0                ## xmm0 = xmm1[0,0,0,0]
	leaq	(,%r9,4), %r8
	andq	$-16, %r8
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [671088640,671088640,671088640,671088640]
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [1717986919,1717986919,1717986919,1717986919]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [4286578688,4286578688,4286578688,4286578688]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rax), %xmm4
	pslld	$6, %xmm4
	movdqu	(%rdi,%rax), %xmm5
	movdqu	(%rdx,%rax), %xmm6
	paddd	%xmm5, %xmm6
	pslld	$2, %xmm6
	psubd	%xmm6, %xmm4
	paddd	%xmm0, %xmm4
	paddd	%xmm1, %xmm4
	pshufd	$245, %xmm4, %xmm5              ## xmm5 = xmm4[1,1,3,3]
	pmuldq	%xmm2, %xmm5
	pmuldq	%xmm2, %xmm4
	pshufd	$245, %xmm4, %xmm4              ## xmm4 = xmm4[1,1,3,3]
	pblendw	$204, %xmm5, %xmm4              ## xmm4 = xmm4[0,1],xmm5[2,3],xmm4[4,5],xmm5[6,7]
	movdqa	%xmm4, %xmm5
	psrld	$31, %xmm5
	psrad	$5, %xmm4
	paddd	%xmm5, %xmm4
	paddd	%xmm3, %xmm4
	movdqu	%xmm4, (%rsi,%rax)
	addq	$16, %rax
	cmpq	%rax, %r8
	jne	LBB0_7
## %bb.8:
	cmpq	%r9, %r13
	je	LBB0_11
LBB0_9:
	movq	_W_BO@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r13,4), %ebx
	shll	$6, %ebx
	movl	(%rdx,%r13,4), %eax
	addl	(%rdi,%r13,4), %eax
	movl	(%r8), %ecx
	leal	(%rcx,%rcx,4), %ecx
	shll	$2, %eax
	subl	%eax, %ebx
	leal	(%rbx,%rcx), %eax
	addl	$671088640, %eax                ## imm = 0x28000000
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$37, %rcx
	shrq	$63, %rax
	addl	%ecx, %eax
	addl	$-8388608, %eax                 ## imm = 0xFF800000
	movl	%eax, (%rsi,%r13,4)
	incq	%r13
	cmpq	%r13, %r9
	jne	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_W_BO,4,2                       ## @W_BO
	.no_dead_strip	_vertical_decompose97iL0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vertical_decompose97iL0
_vertical_decompose97iL0:               ; @vertical_decompose97iL0
	.cfi_startproc
; %bb.0:
	cmp	w3, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w9, w3
Lloh0:
	adrp	x8, _W_BO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W_BO@GOTPAGEOFF]
	cmp	w3, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_9
LBB0_3:
	mov	x10, #0
	lsl	x11, x9, #2
	add	x13, x0, x11
	add	x12, x2, x11
	cmp	x12, x1
	add	x14, x1, x11
	ccmp	x14, x2, #0, hi
	cset	w11, hi
	add	x12, x8, #4
	cmp	x1, x12
	ccmp	x14, x8, #0, lo
	cset	w12, hi
	cmp	x14, x0
	ccmp	x13, x1, #0, hi
	b.hi	LBB0_9
; %bb.4:
	tbnz	w11, #0, LBB0_9
; %bb.5:
	tbnz	w12, #0, LBB0_9
; %bb.6:
	and	x10, x9, #0xfffffffc
	ldr	s0, [x8]
	movi.4s	v1, #5
	mul.4s	v0, v0, v1
	dup.4s	v0, v0[0]
	mov	w11, #26215
	movk	w11, #26214, lsl #16
	dup.4s	v1, w11
	movi.4s	v2, #40, lsl #24
	mvni.4s	v3, #127, msl #16
	mov	x11, x10
	mov	x12, x2
	mov	x13, x0
	mov	x14, x1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q4, [x14]
	shl.4s	v4, v4, #6
	ldr	q5, [x13], #16
	ldr	q6, [x12], #16
	add.4s	v5, v6, v5
	shl.4s	v5, v5, #2
	sub.4s	v4, v4, v5
	add.4s	v4, v4, v0
	add.4s	v4, v4, v2
	smull2.2d	v5, v4, v1
	smull.2d	v4, v4, v1
	uzp2.4s	v4, v4, v5
	sshr.4s	v5, v4, #5
	usra.4s	v5, v4, #31
	add.4s	v4, v5, v3
	str	q4, [x14], #16
	subs	x11, x11, #4
	b.ne	LBB0_7
; %bb.8:
	cmp	x10, x9
	b.eq	LBB0_11
LBB0_9:
	lsl	x13, x10, #2
	add	x11, x2, x13
	add	x12, x0, x13
	add	x13, x1, x13
	sub	x9, x9, x10
	mov	w10, #671088640
	mov	w14, #26215
	movk	w14, #26214, lsl #16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x13]
	lsl	w15, w15, #6
	ldr	w16, [x12], #4
	ldr	w17, [x11], #4
	add	w16, w17, w16
	ldr	w17, [x8]
	add	w17, w17, w17, lsl #2
	sub	w15, w15, w16, lsl #2
	add	w15, w15, w17
	add	w15, w15, w10
	smull	x15, w15, w14
	lsr	x16, x15, #63
	asr	x15, x15, #37
	add	w15, w15, w16
	sub	w15, w15, #2048, lsl #12        ; =8388608
	str	w15, [x13], #4
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_W_BO,4,2                       ; @W_BO
	.no_dead_strip	_vertical_decompose97iL0
.subsections_via_symbols
