	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vc1_inv_trans_4x4_c
LCPI0_0:
	.long	10                              ## 0xa
	.long	17                              ## 0x11
	.long	22                              ## 0x16
	.long	17                              ## 0x11
LCPI0_1:
	.space	4
	.long	4                               ## 0x4
	.space	4
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vc1_inv_trans_4x4_c:                   ## @vc1_inv_trans_4x4_c
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	8(%rdx), %eax
	movl	(%rdx), %ecx
	movl	4(%rdx), %ebx
	leal	(%rax,%rcx), %r8d
	subl	%eax, %ecx
	leal	(%rbx,%rbx,4), %eax
	leal	(%rbx,%rax,4), %eax
	addl	%ebx, %eax
	movl	12(%rdx), %r9d
	addl	%ebx, %ebx
	leal	(%rbx,%rbx,4), %ebx
	movd	%r9d, %xmm2
	pinsrd	$1, %ecx, %xmm2
	pinsrd	$2, %r9d, %xmm2
	negl	%ebx
	pinsrd	$3, %r8d, %xmm2
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [10,17,22,17]
	pmulld	%xmm1, %xmm2
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = <u,4,u,4>
	movdqa	%xmm0, %xmm3
	pinsrd	$0, %eax, %xmm3
	pinsrd	$2, %ebx, %xmm3
	paddd	%xmm2, %xmm3
	pshufd	$27, %xmm3, %xmm2               ## xmm2 = xmm3[3,2,1,0]
	movdqa	%xmm3, %xmm4
	paddd	%xmm2, %xmm4
	psubd	%xmm2, %xmm3
	pblendw	$51, %xmm4, %xmm3               ## xmm3 = xmm4[0,1],xmm3[2,3],xmm4[4,5],xmm3[6,7]
	psrad	$3, %xmm3
	movdqu	%xmm3, (%rdx)
	movl	32(%rdx), %eax
	movl	40(%rdx), %ecx
	leal	(%rcx,%rax), %r8d
	subl	%ecx, %eax
	movl	36(%rdx), %ecx
	leal	(%rcx,%rcx,4), %ebx
	leal	(%rcx,%rbx,4), %ebx
	addl	%ecx, %ebx
	movl	44(%rdx), %r9d
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	negl	%ecx
	movd	%r9d, %xmm3
	pinsrd	$1, %eax, %xmm3
	pinsrd	$2, %r9d, %xmm3
	pinsrd	$3, %r8d, %xmm3
	movdqa	%xmm0, %xmm2
	pinsrd	$0, %ebx, %xmm2
	pinsrd	$2, %ecx, %xmm2
	pmulld	%xmm1, %xmm3
	paddd	%xmm3, %xmm2
	pshufd	$27, %xmm2, %xmm3               ## xmm3 = xmm2[3,2,1,0]
	movdqa	%xmm2, %xmm4
	paddd	%xmm3, %xmm4
	psubd	%xmm3, %xmm2
	pblendw	$51, %xmm4, %xmm2               ## xmm2 = xmm4[0,1],xmm2[2,3],xmm4[4,5],xmm2[6,7]
	psrad	$3, %xmm2
	movdqu	%xmm2, 32(%rdx)
	movl	64(%rdx), %eax
	movl	72(%rdx), %ecx
	leal	(%rcx,%rax), %r8d
	subl	%ecx, %eax
	movl	68(%rdx), %ecx
	leal	(%rcx,%rcx,4), %ebx
	leal	(%rcx,%rbx,4), %ebx
	addl	%ecx, %ebx
	movl	76(%rdx), %r9d
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movd	%r9d, %xmm3
	pinsrd	$1, %eax, %xmm3
	pinsrd	$2, %r9d, %xmm3
	negl	%ecx
	pinsrd	$3, %r8d, %xmm3
	pmulld	%xmm1, %xmm3
	movdqa	%xmm0, %xmm4
	pinsrd	$0, %ebx, %xmm4
	pinsrd	$2, %ecx, %xmm4
	paddd	%xmm3, %xmm4
	pshufd	$27, %xmm4, %xmm3               ## xmm3 = xmm4[3,2,1,0]
	movdqa	%xmm4, %xmm5
	paddd	%xmm3, %xmm5
	psubd	%xmm3, %xmm4
	pblendw	$51, %xmm5, %xmm4               ## xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5],xmm4[6,7]
	psrad	$3, %xmm4
	movdqu	%xmm4, 64(%rdx)
	movl	96(%rdx), %eax
	movl	104(%rdx), %ecx
	leal	(%rcx,%rax), %r8d
	subl	%ecx, %eax
	movl	100(%rdx), %ecx
	leal	(%rcx,%rcx,4), %ebx
	leal	(%rcx,%rbx,4), %ebx
	addl	%ecx, %ebx
	movl	108(%rdx), %r9d
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	negl	%ecx
	movd	%r9d, %xmm3
	pinsrd	$1, %eax, %xmm3
	pinsrd	$2, %r9d, %xmm3
	pinsrd	$3, %r8d, %xmm3
	pinsrd	$0, %ebx, %xmm0
	pmulld	%xmm1, %xmm3
	pinsrd	$2, %ecx, %xmm0
	paddd	%xmm3, %xmm0
	pshufd	$27, %xmm0, %xmm1               ## xmm1 = xmm0[3,2,1,0]
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	psubd	%xmm1, %xmm0
	pblendw	$51, %xmm3, %xmm0               ## xmm0 = xmm3[0,1],xmm0[2,3],xmm3[4,5],xmm0[6,7]
	psrad	$3, %xmm0
	movdqu	%xmm0, 96(%rdx)
	movd	%xmm2, %eax
	leaq	(%rdi,%rsi,4), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rsi,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rsi,2), %rcx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rcx,4), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%r13,4), %r15d
	movl	64(%rdx,%r13,4), %ecx
	leal	(%rcx,%r15), %edi
	movl	%edi, %esi
	shll	$4, %esi
	addl	%esi, %edi
	addl	$64, %edi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	subl	%ecx, %r15d
	movl	%r15d, %ecx
	shll	$4, %ecx
	leal	(%r15,%rcx), %ebx
	addl	$64, %ebx
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	addl	%ecx, %r15d
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,4), %ecx
	addl	%eax, %ecx
	movl	96(%rdx,%r13,4), %edx
	leal	(%rdx,%rdx,4), %esi
	leal	(%rcx,%rsi,2), %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leal	(%rdx,%rsi,4), %r14d
	addl	%edx, %r14d
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %r14d
	addl	%ecx, %edi
	sarl	$7, %edi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	addl	(%r12,%r13,4), %edi
	callq	_av_clip_uint8
	movl	%eax, (%r12,%r13,4)
	subl	%r14d, %ebx
	sarl	$7, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	addl	(%r12,%r13,4), %ebx
	movl	%ebx, %edi
	callq	_av_clip_uint8
	movl	%eax, (%r12,%r13,4)
	leal	(%r14,%r15), %edi
	addl	$64, %edi
	sarl	$7, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addl	(%rbx,%r13,4), %edi
	callq	_av_clip_uint8
	movl	%eax, (%rbx,%r13,4)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	subl	-96(%rbp), %edi                 ## 4-byte Folded Reload
	sarl	$7, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addl	(%rbx,%r13,4), %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_clip_uint8
	movl	%eax, (%rbx,%r13,4)
	cmpl	$3, %r13d
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	36(%rdx,%r13,4), %eax
	incq	%r13
	jmp	LBB0_1
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vc1_inv_trans_4x4_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc1_inv_trans_4x4_c
_vc1_inv_trans_4x4_c:                   ; @vc1_inv_trans_4x4_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	mov	x21, #0
	ldp	w8, w9, [x2]
	ldp	w10, w11, [x2, #8]
	add	w12, w10, w8
	add	w12, w12, w12, lsl #4
	add	w12, w12, #4
	sub	w8, w8, w10
	add	w8, w8, w8, lsl #4
	add	w8, w8, #4
	mov	w15, #22
	mul	w10, w9, w15
	mov	w16, #10
	madd	w10, w11, w16, w10
	mov	w17, #-10
	mul	w9, w9, w17
	madd	w9, w11, w15, w9
	add	w11, w10, w12
	asr	w11, w11, #3
	sub	w13, w8, w9
	asr	w13, w13, #3
	stp	w11, w13, [x2]
	add	w8, w9, w8
	asr	w8, w8, #3
	sub	w9, w12, w10
	asr	w9, w9, #3
	stp	w8, w9, [x2, #8]
	ldp	w8, w9, [x2, #32]
	ldp	w10, w11, [x2, #40]
	add	w12, w10, w8
	add	w12, w12, w12, lsl #4
	add	w12, w12, #4
	sub	w8, w8, w10
	add	w8, w8, w8, lsl #4
	add	w10, w8, #4
	mul	w8, w9, w15
	madd	w13, w11, w16, w8
	mul	w8, w9, w17
	madd	w9, w11, w15, w8
	add	w8, w13, w12
	asr	w8, w8, #3
	sub	w11, w10, w9
	asr	w11, w11, #3
	stp	w8, w11, [x2, #32]
	add	w9, w9, w10
	asr	w9, w9, #3
	sub	w10, w12, w13
	asr	w10, w10, #3
	stp	w9, w10, [x2, #40]
	ldp	w9, w10, [x2, #64]
	ldp	w11, w12, [x2, #72]
	add	w13, w11, w9
	add	w13, w13, w13, lsl #4
	add	w13, w13, #4
	sub	w9, w9, w11
	add	w9, w9, w9, lsl #4
	add	w9, w9, #4
	mul	w11, w10, w15
	madd	w11, w12, w16, w11
	mul	w10, w10, w17
	madd	w10, w12, w15, w10
	add	w12, w11, w13
	asr	w12, w12, #3
	sub	w14, w9, w10
	asr	w14, w14, #3
	stp	w12, w14, [x2, #64]
	add	w9, w10, w9
	asr	w9, w9, #3
	sub	w10, w13, w11
	asr	w10, w10, #3
	stp	w9, w10, [x2, #72]
	ldp	w9, w10, [x2, #96]
	ldp	w11, w12, [x2, #104]
	add	w13, w11, w9
	add	w13, w13, w13, lsl #4
	add	w13, w13, #4
	sub	w9, w9, w11
	add	w9, w9, w9, lsl #4
	add	w9, w9, #4
	mul	w11, w10, w15
	madd	w11, w12, w16, w11
	mul	w10, w10, w17
	madd	w10, w12, w15, w10
	add	w12, w11, w13
	asr	w12, w12, #3
	sub	w14, w9, w10
	asr	w14, w14, #3
	stp	w12, w14, [x2, #96]
	add	w9, w10, w9
	asr	w9, w9, #3
	sub	w10, w13, w11
	asr	w10, w10, #3
	stp	w9, w10, [x2, #104]
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	w9, #12
	madd	x25, x1, x9, x0
	add	x26, x0, x1, lsl #2
	add	x27, x0, x1, lsl #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x28, x9, x21
	ldr	w9, [x28]
	ldr	w10, [x28, #64]
	add	w11, w10, w9
	add	w11, w11, w11, lsl #4
	add	w23, w11, #64
	sub	w9, w9, w10
	add	w9, w9, w9, lsl #4
	add	w24, w9, #64
	mov	w11, #22
	mul	w9, w8, w11
	ldr	w10, [x28, #96]
	mov	w12, #10
	madd	w22, w10, w12, w9
	mov	w9, #-10
	mul	w8, w8, w9
	madd	w19, w10, w11, w8
	ldr	w8, [x20, x21]
	add	w9, w22, w23
	add	w0, w8, w9, asr #7
	bl	_av_clip_uint8
	str	w0, [x20, x21]
	ldr	w8, [x26, x21]
	sub	w9, w24, w19
	add	w0, w8, w9, asr #7
	bl	_av_clip_uint8
	str	w0, [x26, x21]
	ldr	w8, [x27, x21]
	add	w9, w19, w24
	add	w0, w8, w9, asr #7
	bl	_av_clip_uint8
	str	w0, [x27, x21]
	ldr	w8, [x25, x21]
	sub	w9, w23, w22
	add	w0, w8, w9, asr #7
	bl	_av_clip_uint8
	str	w0, [x25, x21]
	cmp	w21, #12
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28, #36]
	add	x21, x21, #4
	b	LBB0_1
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vc1_inv_trans_4x4_c
.subsections_via_symbols
