	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function horizontal_decompose53i
_horizontal_decompose53i:               ## @horizontal_decompose53i
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leal	1(%r14), %eax
	sarl	%eax
	xorl	%r10d, %r10d
	movslq	%eax, %r9
	cmpl	$2, %edx
	jl	LBB0_20
## %bb.1:
	movl	%r14d, %r10d
	shrl	%r10d
	cmpl	$8, %r14d
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
LBB0_15:
	movq	%rdx, %rax
	notq	%rax
	testb	$1, %r10b
	je	LBB0_17
## %bb.16:
	movl	(%rbx,%rdx,8), %ecx
	movl	%ecx, (%r15,%rdx,4)
	movl	4(%rbx,%rdx,8), %ecx
	leaq	(%rdx,%r9), %rsi
	movl	%ecx, (%r15,%rsi,4)
	orq	$1, %rdx
LBB0_17:
	addq	%r10, %rax
	je	LBB0_20
## %bb.18:
	leaq	(%r15,%r9,4), %rax
	addq	$4, %rax
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,8), %ecx
	movl	%ecx, (%r15,%rdx,4)
	movl	4(%rbx,%rdx,8), %ecx
	movl	%ecx, -4(%rax,%rdx,4)
	movl	8(%rbx,%rdx,8), %ecx
	movl	%ecx, 4(%r15,%rdx,4)
	movl	12(%rbx,%rdx,8), %ecx
	movl	%ecx, (%rax,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_19
	jmp	LBB0_20
LBB0_3:
	leaq	(%r15,%r10,4), %rdx
	leaq	(%r15,%r9,4), %rdi
	leaq	(%r10,%r9), %rax
	leaq	(%r15,%rax,4), %rsi
	leaq	(%rbx,%r10,8), %rcx
	addq	$-4, %rcx
	leaq	4(%rbx), %r11
	cmpq	%r15, %rsi
	seta	-44(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdx, %rdi
	setb	%r8b
	cmpq	%r15, %rcx
	seta	%al
	leaq	(%rbx,%r10,8), %r13
	cmpq	%rbx, %rdx
	seta	-43(%rbp)                       ## 1-byte Folded Spill
	cmpq	%r15, %r13
	seta	%r12b
	cmpq	%rdx, %r11
	setb	-42(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rcx, %rdi
	setb	%cl
	cmpq	%rbx, %rsi
	seta	-41(%rbp)                       ## 1-byte Folded Spill
	cmpq	%r13, %rdi
	setb	%dil
	cmpq	%rsi, %r11
	setb	%sil
	xorl	%edx, %edx
	testb	%r8b, -44(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_15
## %bb.4:
	andb	-43(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_15
## %bb.5:
	andb	-42(%rbp), %r12b                ## 1-byte Folded Reload
	jne	LBB0_15
## %bb.6:
	andb	-41(%rbp), %cl                  ## 1-byte Folded Reload
	jne	LBB0_15
## %bb.7:
	andb	%sil, %dil
	jne	LBB0_15
## %bb.8:
	movl	%r10d, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rax
	movq	%rax, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r8, %rdi
	andq	$-2, %rdi
	leaq	16(%r15), %rax
	leaq	(%r15,%r9,4), %rcx
	addq	$16, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi,8), %xmm0
	movups	16(%rbx,%rsi,8), %xmm1
	movaps	%xmm0, %xmm2
	shufps	$136, %xmm1, %xmm2              ## xmm2 = xmm2[0,2],xmm1[0,2]
	shufps	$221, %xmm1, %xmm0              ## xmm0 = xmm0[1,3],xmm1[1,3]
	movups	%xmm2, -16(%rax,%rsi,4)
	movups	%xmm0, -16(%rcx,%rsi,4)
	movups	32(%rbx,%rsi,8), %xmm0
	movups	48(%rbx,%rsi,8), %xmm1
	movaps	%xmm0, %xmm2
	shufps	$136, %xmm1, %xmm2              ## xmm2 = xmm2[0,2],xmm1[0,2]
	shufps	$221, %xmm1, %xmm0              ## xmm0 = xmm0[1,3],xmm1[1,3]
	movups	%xmm2, (%rax,%rsi,4)
	movups	%xmm0, (%rcx,%rsi,4)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_11
## %bb.12:
	testb	$1, %r8b
	je	LBB0_14
LBB0_13:
	movups	(%rbx,%rsi,8), %xmm0
	movups	16(%rbx,%rsi,8), %xmm1
	movaps	%xmm0, %xmm2
	shufps	$136, %xmm1, %xmm2              ## xmm2 = xmm2[0,2],xmm1[0,2]
	shufps	$221, %xmm1, %xmm0              ## xmm0 = xmm0[1,3],xmm1[1,3]
	movups	%xmm2, (%r15,%rsi,4)
	addq	%r9, %rsi
	movups	%xmm0, (%r15,%rsi,4)
LBB0_14:
	cmpq	%r10, %rdx
	jne	LBB0_15
LBB0_20:
	testb	$1, %r14b
	je	LBB0_22
## %bb.21:
	leal	(%r10,%r10), %eax
	movl	(%rbx,%rax,4), %eax
	movl	%r10d, %ecx
	movl	%eax, (%r15,%rcx,4)
LBB0_22:
	leaq	(%rbx,%r9,4), %r12
	leaq	(%r15,%r9,4), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	pushq	$1
	pushq	$0
	pushq	$-1
	pushq	%r14
	callq	_lift
	addq	$48, %rsp
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$0
	pushq	$2
	pushq	$2
	pushq	$1
	pushq	%r14
	callq	_lift
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_horizontal_decompose53i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function horizontal_decompose53i
_horizontal_decompose53i:               ; @horizontal_decompose53i
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	w8, w2, #1
	asr	w8, w8, #1
	cmp	w2, #2
	b.lt	LBB0_3
; %bb.1:
	lsr	w9, w19, #1
	sxtw	x10, w8
	cmp	w19, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	b	LBB0_12
LBB0_3:
	mov	w9, #0
	b	LBB0_14
LBB0_4:
	mov	x11, #0
	add	x16, x20, x9, lsl #2
	add	x17, x20, x10, lsl #2
	add	x12, x9, x10
	add	x0, x20, x12, lsl #2
	add	x15, x21, x9, lsl #3
	sub	x14, x15, #4
	add	x1, x21, #4
	cmp	x14, x20
	ccmp	x16, x21, #0, hi
	cset	w12, hi
	cmp	x15, x20
	ccmp	x1, x16, #2, hi
	cset	w13, lo
	cmp	x17, x14
	ccmp	x0, x21, #0, lo
	cset	w14, hi
	cmp	x17, x15
	ccmp	x1, x0, #2, lo
	cset	w15, lo
	cmp	x17, x16
	ccmp	x0, x20, #0, lo
	b.hi	LBB0_12
; %bb.5:
	tbnz	w12, #0, LBB0_12
; %bb.6:
	tbnz	w13, #0, LBB0_12
; %bb.7:
	tbnz	w14, #0, LBB0_12
; %bb.8:
	tbnz	w15, #0, LBB0_12
; %bb.9:
	and	x11, x9, #0x7ffffff8
	add	x12, x21, #32
	lsl	x13, x10, #2
	mov	x14, x11
	mov	x15, x20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	x16, x12, #32
	ld2.4s	{ v0, v1 }, [x16]
	ld2.4s	{ v2, v3 }, [x12]
	stp	q0, q2, [x15]
	add	x16, x15, x13
	stp	q1, q3, [x16]
	add	x12, x12, #64
	add	x15, x15, #32
	subs	x14, x14, #8
	b.ne	LBB0_10
; %bb.11:
	cmp	x11, x9
	b.eq	LBB0_14
LBB0_12:
	add	x10, x11, x10
	add	x10, x20, x10, lsl #2
	sub	x12, x9, x11
	add	x13, x21, x11, lsl #3
	add	x13, x13, #4
	add	x11, x20, x11, lsl #2
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldur	w14, [x13, #-4]
	str	w14, [x11], #4
	ldr	w14, [x13], #8
	str	w14, [x10], #4
	subs	x12, x12, #1
	b.ne	LBB0_13
LBB0_14:
	tbz	w19, #0, LBB0_16
; %bb.15:
	lsl	w10, w9, #1
	ldr	w10, [x21, w10, uxtw #2]
	str	w10, [x20, w9, uxtw #2]
LBB0_16:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #2, #32
	add	x22, x21, x8
	add	x1, x20, x8
	mov	w8, #1
	mov	x9, #4294967296
	stp	x9, x8, [sp]
	mov	x0, x22
	mov	x2, x20
	mov	w3, #1
	mov	w4, #1
	mov	w5, #1
	mov	x6, x19
	mov	w7, #-1
	bl	_lift
	mov	x8, #8589934594
	stp	x8, xzr, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	mov	w4, #1
	mov	w5, #1
	mov	x6, x19
	mov	w7, #1
	bl	_lift
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_horizontal_decompose53i
.subsections_via_symbols
