	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_idct_add_c
_rv34_idct_add_c:                       ## @rv34_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-112(%rbp), %rdi
	movq	%rdx, %rsi
	callq	_rv34_row_transform
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movslq	%r14d, %rax
	addq	$12, %r15
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	$-4, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	-64(%rbp,%rax,4), %ecx
	movl	-96(%rbp,%rax,4), %edx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	-80(%rbp,%rax,4), %eax
	leal	(%rcx,%rdx), %esi
	leal	(%rsi,%rsi,2), %edi
	leal	(%rsi,%rdi,4), %r14d
	addl	$512, %r14d                     ## imm = 0x200
	subl	%ecx, %edx
	leal	(%rdx,%rdx,2), %ecx
	leal	(%rdx,%rcx,4), %esi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	leal	(%rdx,%rcx,4), %ebx
	addl	$512, %ebx                      ## imm = 0x200
	leal	(,%rax,8), %r12d
	subl	%eax, %r12d
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	-48(%rbp,%rcx,4), %ecx
	movl	%ecx, %edx
	shll	$4, %edx
	addl	%ecx, %edx
	subl	%edx, %r12d
	movl	%eax, %edx
	shll	$4, %edx
	addl	%eax, %edx
	leal	(,%rcx,8), %r13d
	subl	%ecx, %r13d
	addl	%edx, %r13d
	leal	(%r14,%r13), %edi
	sarl	$10, %edi
	addl	-12(%r15), %edi
	callq	_av_clip_uint8
	movl	%eax, -12(%r15)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leal	(%r12,%rax), %edi
	addl	$512, %edi                      ## imm = 0x200
	sarl	$10, %edi
	addl	-8(%r15), %edi
	callq	_av_clip_uint8
	movl	%eax, -8(%r15)
	subl	%r12d, %ebx
	sarl	$10, %ebx
	addl	-4(%r15), %ebx
	movl	%ebx, %edi
	callq	_av_clip_uint8
	movl	%eax, -4(%r15)
	subl	%r13d, %r14d
	sarl	$10, %r14d
	addl	(%r15), %r14d
	movl	%r14d, %edi
	callq	_av_clip_uint8
	movl	%eax, (%r15)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	-128(%rbp), %r15                ## 8-byte Folded Reload
	incq	%rax
	jne	LBB0_1
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rv34_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 rv34_idct_add_c
_rv34_idct_add_c:                       ; @rv34_idct_add_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	add	x22, sp, #8
	add	x0, sp, #8
	mov	x1, x2
	bl	_rv34_row_transform
	mov	x0, x19
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	add	x19, x21, #8
	sbfiz	x20, x20, #2, #32
	mov	w21, #16
	mov	w23, #13
	orr	w24, wzr, #0x200
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x22, x21
	ldur	w9, [x8, #-16]
	ldr	w10, [x8, #16]
	add	w11, w10, w9
	madd	w25, w11, w23, w24
	sub	w9, w9, w10
	madd	w26, w9, w23, w24
	ldr	w9, [x8]
	lsl	w10, w9, #3
	ldr	w8, [x8, #32]
	add	w11, w8, w8, lsl #4
	sub	w10, w10, w9
	sub	w27, w10, w11
	add	w9, w9, w9, lsl #4
	lsl	w10, w8, #3
	sub	w8, w10, w8
	add	w28, w8, w9
	ldur	w8, [x19, #-8]
	add	w9, w28, w25
	add	w0, w8, w9, asr #10
	bl	_av_clip_uint8
	stur	w0, [x19, #-8]
	ldur	w8, [x19, #-4]
	add	w9, w27, w26
	add	w0, w8, w9, asr #10
	bl	_av_clip_uint8
	stur	w0, [x19, #-4]
	ldr	w8, [x19]
	sub	w9, w26, w27
	add	w0, w8, w9, asr #10
	bl	_av_clip_uint8
	str	w0, [x19]
	ldr	w8, [x19, #4]
	sub	w9, w25, w28
	add	w0, w8, w9, asr #10
	bl	_av_clip_uint8
	str	w0, [x19, #4]
	add	x19, x19, x20
	add	x21, x21, #4
	cmp	x21, #32
	b.ne	LBB0_1
; %bb.2:
	ldr	x8, [sp, #72]
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_4
; %bb.3:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rv34_idct_add_c
.subsections_via_symbols
