	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_idct_add8_msa          ## -- Begin function ff_h264_idct_add8_msa
	.p2align	4, 0x90
_ff_h264_idct_add8_msa:                 ## @ff_h264_idct_add8_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
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	$4096, %edx                     ## imm = 0x1000
	movl	$4864, %esi                     ## imm = 0x1300
	movl	$304, %r15d                     ## imm = 0x130
	movl	$4608, %r13d                    ## imm = 0x1200
	movl	$4352, %r14d                    ## imm = 0x1100
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	76(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	movq	%r13, %r14
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	leaq	(%rax,%r13), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct_add_msa
	movq	%r13, %rsi
	movq	%r14, %r13
	movq	%r15, %r14
	movq	-96(%rbp), %r15                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$8, %rbx
	addq	$64, %r12
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	addq	$4096, %rdx                     ## imm = 0x1000
	addq	$4096, %rsi                     ## imm = 0x1000
	addq	$256, %r15                      ## imm = 0x100
	addq	$4096, %r13                     ## imm = 0x1000
	addq	$4096, %r14                     ## imm = 0x1000
	cmpq	$128, %r12
	je	LBB0_18
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_scan8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	128(%rax,%r12,2), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	64(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rdx), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct_add_msa
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, -384(%rax,%r15,8)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	64(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct4x4_addblk_dc_msa
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_scan8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	136(%rax,%r12,2), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	68(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct_add_msa
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, -256(%rax,%r15,8)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	68(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct4x4_addblk_dc_msa
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_scan8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	144(%rax,%r12,2), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	72(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct_add_msa
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, -128(%rax,%r15,8)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	72(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct4x4_addblk_dc_msa
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_scan8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	152(%rax,%r12,2), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax,%r15,8)
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	76(%rax,%r12), %rdi
	shlq	$3, %rdi
	addq	(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_h264_idct4x4_addblk_dc_msa
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scan8,8,3                      ## @scan8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_idct_add8_msa          ; -- Begin function ff_h264_idct_add8_msa
	.p2align	2
_ff_h264_idct_add8_msa:                 ; @ff_h264_idct_add8_msa
	.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	x19, x4
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	mov	x21, x2
	mov	x22, x0
	add	x23, x1, #76
	mov	w24, #152
	mov	w25, #4096
	mov	w26, #4864
	mov	w27, #4608
	mov	w28, #2048
	mov	w20, #4352
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x26
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct_add_msa
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #8
	add	x24, x24, #128
	add	x25, x25, #1, lsl #12           ; =4096
	add	x26, x26, #1, lsl #12           ; =4096
	add	x23, x23, #64
	add	x27, x27, #1, lsl #12           ; =4096
	add	x28, x28, #2048
	add	x20, x20, #1, lsl #12           ; =4096
	cmp	x24, #408
	b.eq	LBB0_18
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
Lloh0:
	adrp	x8, _scan8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x24
	ldur	x8, [x8, #-24]
	ldr	x8, [x19, x8, lsl #3]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldursw	x9, [x23, #-12]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x25
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct_add_msa
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, x28]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldursw	x9, [x23, #-12]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x25
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct4x4_addblk_dc_msa
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh3:
	adrp	x8, _scan8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, x24
	ldur	x8, [x8, #-16]
	ldr	x8, [x19, x8, lsl #3]
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldursw	x9, [x23, #-8]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x20
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct_add_msa
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, x28
	ldr	x8, [x8, #128]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldursw	x9, [x23, #-8]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x20
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct4x4_addblk_dc_msa
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh6:
	adrp	x8, _scan8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, x24
	ldur	x8, [x8, #-8]
	ldr	x8, [x19, x8, lsl #3]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldursw	x9, [x23, #-4]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x27
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct_add_msa
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, x28
	ldr	x8, [x8, #256]
	cbz	x8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldursw	x9, [x23, #-4]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x27
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct4x4_addblk_dc_msa
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh9:
	adrp	x8, _scan8@GOTPAGE
Lloh10:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8, x24]
	ldr	x8, [x19, x8, lsl #3]
	cbnz	x8, LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, x28
	ldr	x8, [x8, #384]
	cbz	x8, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	x0, x8, x9, lsl #3
	add	x1, x21, x26
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_ff_h264_idct4x4_addblk_dc_msa
	b	LBB0_2
LBB0_18:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_scan8,8,3                      ; @scan8
.subsections_via_symbols
