	.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_decompose53iL0
LCPI0_0:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vertical_decompose53iL0:               ## @vertical_decompose53iL0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.1:
	movl	%ecx, %r8d
	cmpl	$8, %ecx
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_3:
	leaq	(%rsi,%r8,4), %rcx
	leaq	(%rdi,%r8,4), %rax
	cmpq	%rsi, %rax
	seta	%r10b
	leaq	(%rdx,%r8,4), %rax
	cmpq	%rdi, %rcx
	seta	%r11b
	cmpq	%rsi, %rax
	seta	%al
	cmpq	%rdx, %rcx
	seta	%r9b
	xorl	%ecx, %ecx
	testb	%r11b, %r10b
	jne	LBB0_8
## %bb.4:
	andb	%r9b, %al
	jne	LBB0_8
## %bb.5:
	movl	%r8d, %ecx
	andl	$-8, %ecx
	leaq	(,%r8,4), %r9
	andq	$-32, %r9
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,2,2,2]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rax), %xmm1
	movdqu	16(%rdi,%rax), %xmm2
	movdqu	(%rdx,%rax), %xmm3
	paddd	%xmm1, %xmm3
	movdqu	16(%rdx,%rax), %xmm1
	paddd	%xmm2, %xmm1
	paddd	%xmm0, %xmm3
	paddd	%xmm0, %xmm1
	psrad	$2, %xmm3
	psrad	$2, %xmm1
	movdqu	(%rsi,%rax), %xmm2
	paddd	%xmm3, %xmm2
	movdqu	16(%rsi,%rax), %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm2, (%rsi,%rax)
	movdqu	%xmm3, 16(%rsi,%rax)
	addq	$32, %rax
	cmpq	%rax, %r9
	jne	LBB0_6
## %bb.7:
	cmpq	%r8, %rcx
	je	LBB0_12
LBB0_8:
	movq	%rcx, %r10
	notq	%r10
	testb	$1, %r8b
	je	LBB0_10
## %bb.9:
	movl	(%rdi,%rcx,4), %r9d
	movl	(%rdx,%rcx,4), %eax
	addl	%r9d, %eax
	addl	$2, %eax
	sarl	$2, %eax
	addl	%eax, (%rsi,%rcx,4)
	orq	$1, %rcx
LBB0_10:
	addq	%r8, %r10
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rcx,4), %r9d
	movl	(%rdx,%rcx,4), %eax
	addl	%r9d, %eax
	addl	$2, %eax
	sarl	$2, %eax
	addl	%eax, (%rsi,%rcx,4)
	movl	4(%rdi,%rcx,4), %r9d
	movl	4(%rdx,%rcx,4), %eax
	addl	%r9d, %eax
	addl	$2, %eax
	sarl	$2, %eax
	addl	%eax, 4(%rsi,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_11
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vertical_decompose53iL0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vertical_decompose53iL0
_vertical_decompose53iL0:               ; @vertical_decompose53iL0
	.cfi_startproc
; %bb.0:
	cmp	w3, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w8, w3
	cmp	w3, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_8
LBB0_3:
	mov	x9, #0
	lsl	x10, x8, #2
	add	x11, x0, x10
	add	x12, x2, x10
	cmp	x12, x1
	add	x12, x1, x10
	ccmp	x12, x2, #0, hi
	cset	w10, hi
	cmp	x12, x0
	ccmp	x11, x1, #0, hi
	b.hi	LBB0_8
; %bb.4:
	tbnz	w10, #0, LBB0_8
; %bb.5:
	and	x9, x8, #0xfffffff0
	add	x10, x1, #32
	add	x11, x0, #32
	add	x12, x2, #32
	movi.4s	v0, #2
	mov	x13, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11], #64
	ldp	q5, q6, [x12, #-32]
	ldp	q7, q16, [x12], #64
	add.4s	v1, v1, v5
	add.4s	v2, v2, v6
	add.4s	v3, v3, v7
	add.4s	v4, v4, v16
	add.4s	v1, v1, v0
	add.4s	v2, v2, v0
	add.4s	v3, v3, v0
	add.4s	v4, v4, v0
	ldp	q5, q6, [x10, #-32]
	ldp	q7, q16, [x10]
	ssra.4s	v5, v1, #2
	ssra.4s	v6, v2, #2
	ssra.4s	v7, v3, #2
	ssra.4s	v16, v4, #2
	stp	q5, q6, [x10, #-32]
	stp	q7, q16, [x10], #64
	subs	x13, x13, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_8:
	lsl	x12, x9, #2
	add	x10, x1, x12
	add	x11, x2, x12
	add	x12, x0, x12
	sub	x8, x8, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x12], #4
	ldr	w13, [x11], #4
	add	w9, w9, w13
	add	w9, w9, #2
	ldr	w13, [x10]
	add	w9, w13, w9, asr #2
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vertical_decompose53iL0
.subsections_via_symbols
