	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp9_idct32x32_1_add_msa
_vp9_idct32x32_1_add_msa:               ## @vp9_idct32x32_1_add_msa
	.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	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_cospi_16_64@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	imull	(%rbx), %edi
	movq	_VP9_DCT_CONST_BITS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_ROUND_POWER_OF_TWO
	imull	(%r12), %eax
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_ROUND_POWER_OF_TWO
	movl	%eax, %edi
	movl	$6, %esi
	callq	_ROUND_POWER_OF_TWO
	movl	$0, (%rbx)
	movl	%eax, %edi
	callq	___msa_fill_h
	movl	%eax, %ebx
	movslq	%r15d, %r12
	leaq	(,%r12,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	shlq	$2, %r12
	movl	$-16, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_LD_UB2
	leaq	(%r14,%r12), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_LD_UB2
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	movl	%ebx, 8(%rsp)
	movl	%ebx, %esi
	movl	%ebx, %ecx
	movl	%ebx, %r9d
	callq	_ADD4
	movl	%ebx, 8(%rsp)
	movl	%ebx, %esi
	movl	%ebx, %ecx
	movl	%ebx, %r9d
	callq	_ADD4
	callq	_CLIP_SH8_0_255
	callq	_PCKEV_B4_UB
	movq	%r14, %rdx
	movl	$16, %ecx
	callq	_ST_UB2
	movq	%r15, %rdx
	movl	$16, %ecx
	callq	_ST_UB2
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	incl	%r13d
	jne	LBB0_1
## %bb.2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cospi_16_64,4,2                ## @cospi_16_64
	.comm	_VP9_DCT_CONST_BITS,4,2         ## @VP9_DCT_CONST_BITS
	.no_dead_strip	_vp9_idct32x32_1_add_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp9_idct32x32_1_add_msa
_vp9_idct32x32_1_add_msa:               ; @vp9_idct32x32_1_add_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _cospi_16_64@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cospi_16_64@GOTPAGEOFF]
	ldr	w8, [x0]
	ldr	w9, [x22]
	mul	w0, w9, w8
Lloh2:
	adrp	x23, _VP9_DCT_CONST_BITS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _VP9_DCT_CONST_BITS@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_ROUND_POWER_OF_TWO
	ldr	w8, [x22]
	mul	w0, w8, w0
	ldr	w1, [x23]
	bl	_ROUND_POWER_OF_TWO
	mov	w1, #6
	bl	_ROUND_POWER_OF_TWO
	str	wzr, [x20]
	bl	___msa_fill_h
	mov	x20, x0
	sbfiz	x22, x21, #3, #32
	sbfiz	x23, x21, #2, #32
	mov	w24, #-16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #16
	bl	_LD_UB2
	add	x21, x19, x23
	mov	x0, x21
	mov	w1, #16
	bl	_LD_UB2
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	mov	x1, x20
	mov	x3, x20
	mov	x5, x20
	mov	x7, x20
	bl	_ADD4
	mov	x1, x20
	mov	x3, x20
	mov	x5, x20
	mov	x7, x20
	bl	_ADD4
	bl	_CLIP_SH8_0_255
	bl	_PCKEV_B4_UB
	mov	x2, x19
	mov	w3, #16
	bl	_ST_UB2
	mov	x2, x21
	mov	w3, #16
	bl	_ST_UB2
	add	x19, x19, x22
	adds	w24, w24, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cospi_16_64,4,2                ; @cospi_16_64
	.comm	_VP9_DCT_CONST_BITS,4,2         ; @VP9_DCT_CONST_BITS
	.no_dead_strip	_vp9_idct32x32_1_add_msa
.subsections_via_symbols
