	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_idct_dc_add_c
_rv34_idct_dc_add_c:                    ## @rv34_idct_dc_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	%rdi, %rbx
	imull	$169, %edx, %eax
	addl	$512, %eax                      ## imm = 0x200
	sarl	$10, %eax
	movslq	%eax, %r14
	movslq	%esi, %r15
	movq	(%rdi), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, (%rbx)
	movq	8(%rbx), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 24(%rbx)
	leaq	(%rbx,%r15,8), %r12
	movq	(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, (%rbx,%r15,8)
	movq	8(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 8(%rbx,%r15,8)
	movq	16(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 16(%rbx,%r15,8)
	movq	24(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 24(%rbx,%r15,8)
	leaq	(%r12,%r15,8), %rbx
	movq	(%r12,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, (%r12,%r15,8)
	movq	8(%r12,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 8(%r12,%r15,8)
	movq	16(%r12,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 16(%r12,%r15,8)
	movq	24(%r12,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 24(%r12,%r15,8)
	movq	(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, (%rbx,%r15,8)
	movq	8(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 8(%rbx,%r15,8)
	movq	16(%rbx,%r15,8), %rdi
	addq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 16(%rbx,%r15,8)
	addq	24(%rbx,%r15,8), %r14
	movq	%r14, %rdi
	callq	_av_clip_uint8
	movq	%rax, 24(%rbx,%r15,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rv34_idct_dc_add_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv34_idct_dc_add_c
_rv34_idct_dc_add_c:                    ; @rv34_idct_dc_add_c
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w8, #169
	orr	w9, wzr, #0x200
	madd	w8, w2, w8, w9
	sbfx	x21, x8, #10, #22
	ldr	x8, [x0]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20]
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #16]
	ldr	x8, [x20, #24]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #24]
	sbfiz	x19, x19, #3, #32
	add	x20, x20, x19
	ldr	x8, [x20]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20]
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #16]
	ldr	x8, [x20, #24]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #24]
	add	x20, x20, x19
	ldr	x8, [x20]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20]
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #16]
	ldr	x8, [x20, #24]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x20, #24]
	add	x19, x20, x19
	ldr	x8, [x19]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x19]
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x19, #8]
	ldr	x8, [x19, #16]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x19, #16]
	ldr	x8, [x19, #24]
	add	x0, x8, x21
	bl	_av_clip_uint8
	str	x0, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rv34_idct_dc_add_c
.subsections_via_symbols
