	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_idct8_add4_msa         ## -- Begin function ff_h264_idct8_add4_msa
	.p2align	4, 0x90
_ff_h264_idct8_add4_msa:                ## @ff_h264_idct8_add4_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_scan8@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movl	(%r8,%rax,4), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movslq	(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_ff_h264_idct8_dc_addblk_msa
	jmp	LBB0_5
LBB0_4:
	movslq	(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_ff_h264_idct8_addblk_msa
LBB0_5:
	movq	_scan8@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rax
	movq	32(%rax), %rax
	movl	(%r13,%rax,4), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.8:
	cmpq	$0, 512(%rbx)
	je	LBB0_10
## %bb.9:
	movslq	16(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	leaq	1024(%rbx), %rsi
	movl	%r14d, %edx
	callq	_ff_h264_idct8_dc_addblk_msa
	jmp	LBB0_11
LBB0_10:
	movslq	16(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	leaq	1024(%rbx), %rsi
	movl	%r14d, %edx
	callq	_ff_h264_idct8_addblk_msa
LBB0_11:
	movq	_scan8@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%rcx), %rax
	movq	64(%rax), %rax
	movl	(%r13,%rax,4), %eax
	testl	%eax, %eax
	je	LBB0_18
## %bb.13:
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.14:
	cmpq	$0, 1024(%rbx)
	je	LBB0_16
## %bb.15:
	movslq	32(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	leaq	2048(%rbx), %rsi
	movl	%r14d, %edx
	callq	_ff_h264_idct8_dc_addblk_msa
	jmp	LBB0_17
LBB0_16:
	movslq	32(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	leaq	2048(%rbx), %rsi
	movl	%r14d, %edx
	callq	_ff_h264_idct8_addblk_msa
LBB0_17:
	movq	_scan8@GOTPCREL(%rip), %rcx
LBB0_18:
	movq	(%rcx), %rax
	movq	96(%rax), %rax
	movl	(%r13,%rax,4), %eax
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	cmpl	$1, %eax
	jne	LBB0_21
## %bb.20:
	cmpq	$0, 1536(%rbx)
	je	LBB0_21
## %bb.23:
	movslq	48(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	addq	$3072, %rbx                     ## imm = 0xC00
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_h264_idct8_dc_addblk_msa    ## TAILCALL
LBB0_21:
	movslq	48(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	addq	$3072, %rbx                     ## imm = 0xC00
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_h264_idct8_addblk_msa       ## TAILCALL
LBB0_22:
	addq	$8, %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_idct8_add4_msa         ; -- Begin function ff_h264_idct8_add4_msa
	.p2align	2
_ff_h264_idct8_add4_msa:                ; @ff_h264_idct8_add4_msa
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _scan8@GOTPAGE
Lloh1:
	ldr	x24, [x24, _scan8@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	w8, [x4, x8, lsl #2]
	cbz	w8, LBB0_5
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldrsw	x8, [x22]
	add	x0, x21, x8, lsl #2
	mov	x1, x20
	mov	x2, x19
	bl	_ff_h264_idct8_dc_addblk_msa
	b	LBB0_5
LBB0_4:
	ldrsw	x8, [x22]
	add	x0, x21, x8, lsl #2
	mov	x1, x20
	mov	x2, x19
	bl	_ff_h264_idct8_addblk_msa
LBB0_5:
	ldr	x8, [x24]
	ldr	x8, [x8, #32]
	ldr	w8, [x23, x8, lsl #2]
	cbz	w8, LBB0_10
; %bb.6:
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x20, #512]
	cbz	x8, LBB0_9
; %bb.8:
	ldrsw	x8, [x22, #16]
	add	x0, x21, x8, lsl #2
	add	x1, x20, #1024
	mov	x2, x19
	bl	_ff_h264_idct8_dc_addblk_msa
	b	LBB0_10
LBB0_9:
	ldrsw	x8, [x22, #16]
	add	x0, x21, x8, lsl #2
	add	x1, x20, #1024
	mov	x2, x19
	bl	_ff_h264_idct8_addblk_msa
LBB0_10:
	ldr	x8, [x24]
	ldr	x8, [x8, #64]
	ldr	w8, [x23, x8, lsl #2]
	cbz	w8, LBB0_15
; %bb.11:
	cmp	w8, #1
	b.ne	LBB0_14
; %bb.12:
	ldr	x8, [x20, #1024]
	cbz	x8, LBB0_14
; %bb.13:
	ldrsw	x8, [x22, #32]
	add	x0, x21, x8, lsl #2
	add	x1, x20, #2048
	mov	x2, x19
	bl	_ff_h264_idct8_dc_addblk_msa
	b	LBB0_15
LBB0_14:
	ldrsw	x8, [x22, #32]
	add	x0, x21, x8, lsl #2
	add	x1, x20, #2048
	mov	x2, x19
	bl	_ff_h264_idct8_addblk_msa
LBB0_15:
	ldr	x8, [x24]
	ldr	x8, [x8, #96]
	ldr	w8, [x23, x8, lsl #2]
	cbz	w8, LBB0_20
; %bb.16:
	cmp	w8, #1
	b.ne	LBB0_19
; %bb.17:
	ldr	x8, [x20, #1536]
	cbz	x8, LBB0_19
; %bb.18:
	ldrsw	x8, [x22, #48]
	add	x0, x21, x8, lsl #2
	add	x1, x20, #3072
	mov	x2, x19
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ff_h264_idct8_dc_addblk_msa
LBB0_19:
	ldrsw	x8, [x22, #48]
	add	x0, x21, x8, lsl #2
	add	x1, x20, #3072
	mov	x2, x19
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ff_h264_idct8_addblk_msa
LBB0_20:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scan8,8,3                      ; @scan8
.subsections_via_symbols
