	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_idct_16x16_msa
_hevc_idct_16x16_msa:                   ## @hevc_idct_16x16_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	%r12
	pushq	%rbx
	subq	$1136, %rsp                     ## imm = 0x470
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rdi
	movl	$16, %esi
	callq	_LD_SH16
	callq	_ILVR_H4_SH
	callq	_ILVR_H4_SH
	callq	_ILVL_H4_SH
	callq	_ILVL_H4_SH
	movl	$7, 80(%rsp)
	callq	_HEVC_IDCT16x16_COL
	addq	$32, %rbx
	cmpl	$64, %ebx
	jne	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rbp), %rdi
	addq	$-1072, %rdi                    ## imm = 0xFBD0
	movl	$8, %esi
	callq	_LD_SH16
	callq	_TRANSPOSE8x8_SH_SH
	callq	_TRANSPOSE8x8_SH_SH
	callq	_ILVR_H4_SH
	callq	_ILVR_H4_SH
	callq	_ILVL_H4_SH
	callq	_ILVL_H4_SH
	movl	$12, 80(%rsp)
	callq	_HEVC_IDCT16x16_COL
	addq	$512, %rbx                      ## imm = 0x200
	cmpl	$1024, %ebx                     ## imm = 0x400
	jne	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_LD_SH8
	callq	_TRANSPOSE8x8_SH_SH
	movq	%r12, 16(%rsp)
	movl	$16, 24(%rsp)
	callq	_ST_SH8
	leaq	32(%r12), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_LD_SH8
	callq	_TRANSPOSE8x8_SH_SH
	leaq	512(%r12), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_LD_SH8
	movq	%r15, 16(%rsp)
	movl	$16, 24(%rsp)
	callq	_ST_SH8
	callq	_TRANSPOSE8x8_SH_SH
	movq	%r14, 16(%rsp)
	movl	$16, 24(%rsp)
	callq	_ST_SH8
	addq	$544, %r12                      ## imm = 0x220
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_LD_SH8
	callq	_TRANSPOSE8x8_SH_SH
	movq	%r12, 16(%rsp)
	movl	$16, 24(%rsp)
	callq	_ST_SH8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$1136, %rsp                     ## imm = 0x470
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_gt16x16_cnst,8,3               ## @gt16x16_cnst
	.no_dead_strip	_hevc_idct_16x16_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_idct_16x16_msa
_hevc_idct_16x16_msa:                   ; @hevc_idct_16x16_msa
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1072
	mov	x19, x0
	mov	x20, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w21, #7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, x20
	mov	w1, #16
	bl	_LD_SH16
	bl	_ILVR_H4_SH
	bl	_ILVR_H4_SH
	bl	_ILVL_H4_SH
	bl	_ILVL_H4_SH
	str	w21, [sp, #32]
	bl	_HEVC_IDCT16x16_COL
	add	x20, x20, #32
	cmp	w20, #64
	b.ne	LBB0_1
; %bb.2:
	mov	x20, #0
	add	x21, sp, #40
	mov	w22, #12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, x20
	mov	w1, #8
	bl	_LD_SH16
	bl	_TRANSPOSE8x8_SH_SH
	bl	_TRANSPOSE8x8_SH_SH
	bl	_ILVR_H4_SH
	bl	_ILVR_H4_SH
	bl	_ILVL_H4_SH
	bl	_ILVL_H4_SH
	str	w22, [sp, #32]
	bl	_HEVC_IDCT16x16_COL
	add	x20, x20, #512
	cmp	w20, #1024
	b.ne	LBB0_3
; %bb.4:
	mov	w22, #16
	mov	x0, x19
	mov	w1, #16
	bl	_LD_SH8
	bl	_TRANSPOSE8x8_SH_SH
	str	w22, [sp, #8]
	str	x19, [sp]
	bl	_ST_SH8
	add	x20, x19, #32
	mov	x0, x20
	mov	w1, #16
	bl	_LD_SH8
	bl	_TRANSPOSE8x8_SH_SH
	add	x21, x19, #512
	mov	x0, x21
	mov	w1, #16
	bl	_LD_SH8
	str	w22, [sp, #8]
	str	x21, [sp]
	bl	_ST_SH8
	bl	_TRANSPOSE8x8_SH_SH
	str	w22, [sp, #8]
	str	x20, [sp]
	bl	_ST_SH8
	add	x19, x19, #544
	mov	x0, x19
	mov	w1, #16
	bl	_LD_SH8
	bl	_TRANSPOSE8x8_SH_SH
	str	w22, [sp, #8]
	str	x19, [sp]
	bl	_ST_SH8
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #1072
	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
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_gt16x16_cnst,8,3               ; @gt16x16_cnst
	.no_dead_strip	_hevc_idct_16x16_msa
.subsections_via_symbols
