	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wmv2_idct_add_c
_wmv2_idct_add_c:                       ## @wmv2_idct_add_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_wmv2_idct_row
	leaq	64(%r14), %rdi
	callq	_wmv2_idct_row
	leaq	128(%r14), %rdi
	callq	_wmv2_idct_row
	leaq	192(%r14), %rdi
	callq	_wmv2_idct_row
	leaq	256(%r14), %rdi
	callq	_wmv2_idct_row
	leaq	320(%r14), %rdi
	callq	_wmv2_idct_row
	leaq	384(%r14), %rdi
	callq	_wmv2_idct_row
	leaq	448(%r14), %rdi
	callq	_wmv2_idct_row
	movq	%r14, %rdi
	callq	_wmv2_idct_col
	leaq	8(%r14), %rdi
	callq	_wmv2_idct_col
	leaq	16(%r14), %rdi
	callq	_wmv2_idct_col
	leaq	24(%r14), %rdi
	callq	_wmv2_idct_col
	leaq	32(%r14), %rdi
	callq	_wmv2_idct_col
	leaq	40(%r14), %rdi
	callq	_wmv2_idct_col
	leaq	48(%r14), %rdi
	callq	_wmv2_idct_col
	leaq	56(%r14), %rdi
	callq	_wmv2_idct_col
	movslq	%r15d, %r15
	addq	$56, %r12
	shlq	$3, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx), %rdi
	addq	-56(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -56(%r12)
	movq	8(%r14,%rbx), %rdi
	addq	-48(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -48(%r12)
	movq	16(%r14,%rbx), %rdi
	addq	-40(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -40(%r12)
	movq	24(%r14,%rbx), %rdi
	addq	-32(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -32(%r12)
	movq	32(%r14,%rbx), %rdi
	addq	-24(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -24(%r12)
	movq	40(%r14,%rbx), %rdi
	addq	-16(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -16(%r12)
	movq	48(%r14,%rbx), %rdi
	addq	-8(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, -8(%r12)
	movq	56(%r14,%rbx), %rdi
	addq	(%r12), %rdi
	callq	_av_clip_uint8
	movq	%rax, (%r12)
	addq	$64, %rbx
	addq	%r15, %r12
	cmpl	$512, %ebx                      ## imm = 0x200
	jne	LBB0_1
## %bb.2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wmv2_idct_add_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wmv2_idct_add_c
_wmv2_idct_add_c:                       ; @wmv2_idct_add_c
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_wmv2_idct_row
	add	x0, x19, #64
	bl	_wmv2_idct_row
	add	x0, x19, #128
	bl	_wmv2_idct_row
	add	x0, x19, #192
	bl	_wmv2_idct_row
	add	x0, x19, #256
	bl	_wmv2_idct_row
	add	x0, x19, #320
	bl	_wmv2_idct_row
	add	x0, x19, #384
	bl	_wmv2_idct_row
	add	x0, x19, #448
	bl	_wmv2_idct_row
	mov	x0, x19
	bl	_wmv2_idct_col
	add	x0, x19, #8
	bl	_wmv2_idct_col
	add	x0, x19, #16
	bl	_wmv2_idct_col
	add	x0, x19, #24
	bl	_wmv2_idct_col
	add	x0, x19, #32
	bl	_wmv2_idct_col
	add	x0, x19, #40
	bl	_wmv2_idct_col
	add	x0, x19, #48
	bl	_wmv2_idct_col
	add	x0, x19, #56
	bl	_wmv2_idct_col
	mov	x22, #0
	add	x21, x21, #32
	sbfiz	x20, x20, #3, #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x19, x22
	ldur	x8, [x21, #-32]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_av_clip_uint8
	stur	x0, [x21, #-32]
	ldur	x8, [x21, #-24]
	ldr	x9, [x23, #8]
	add	x0, x9, x8
	bl	_av_clip_uint8
	stur	x0, [x21, #-24]
	ldur	x8, [x21, #-16]
	ldr	x9, [x23, #16]
	add	x0, x9, x8
	bl	_av_clip_uint8
	stur	x0, [x21, #-16]
	ldur	x8, [x21, #-8]
	ldr	x9, [x23, #24]
	add	x0, x9, x8
	bl	_av_clip_uint8
	stur	x0, [x21, #-8]
	ldr	x8, [x21]
	ldr	x9, [x23, #32]
	add	x0, x9, x8
	bl	_av_clip_uint8
	str	x0, [x21]
	ldr	x8, [x21, #8]
	ldr	x9, [x23, #40]
	add	x0, x9, x8
	bl	_av_clip_uint8
	str	x0, [x21, #8]
	ldr	x8, [x21, #16]
	ldr	x9, [x23, #48]
	add	x0, x9, x8
	bl	_av_clip_uint8
	str	x0, [x21, #16]
	ldr	x8, [x21, #24]
	ldr	x9, [x23, #56]
	add	x0, x9, x8
	bl	_av_clip_uint8
	str	x0, [x21, #24]
	add	x22, x22, #64
	add	x21, x21, x20
	cmp	w22, #512
	b.ne	LBB0_1
; %bb.2:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wmv2_idct_add_c
.subsections_via_symbols
