	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intra_pred_down_right
_intra_pred_down_right:                 ## @intra_pred_down_right
	.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	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movslq	%ecx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	decq	-56(%rbp)                       ## 8-byte Folded Spill
	cmpq	$8, %r12
	je	LBB0_10
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%r12, %r15
	imulq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	addq	%r12, %r15
	movq	%r12, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	(%rbx), %eax
	addl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	4(%rcx), %eax
	movl	4(%rbx), %ecx
	addl	%ecx, %eax
	addl	$2, %eax
	sarl	$2, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	incq	%r14
	cmpq	$8, %r14
	je	LBB0_9
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rsi
	subq	$1, %r13
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpq	%r12, %r14
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r14), %esi
	movq	%rbx, %rdi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	callq	_LOWPASS
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r14,4)
	jmp	LBB0_8
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intra_pred_down_right
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intra_pred_down_right
_intra_pred_down_right:                 ; @intra_pred_down_right
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x23, #0
	mov	x24, #0
	sxtw	x8, w3
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	sbfiz	x26, x3, #2, #32
	mov	x27, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	add	x27, x27, x26
	sub	x23, x23, #1
	cmp	x24, #8
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x28, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	madd	x25, x24, x8, x24
	mov	x22, x24
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [x19, #4]
	ldp	w9, w10, [x20]
	add	w8, w8, w9, lsl #1
	add	w8, w8, w10
	add	w8, w8, #2
	asr	w8, w8, #2
	str	w8, [x21, x25, lsl #2]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x28, x28, #1
	sub	x22, x22, #1
	cmp	x28, #8
	b.eq	LBB0_1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x22, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	x28, x24
	b.ls	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	add	w1, w23, w28
	mov	x0, x20
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=2
	mov	x0, x19
	mov	x1, x22
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=2
	bl	_LOWPASS
	str	w0, [x27, x28, lsl #2]
	b	LBB0_4
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intra_pred_down_right
.subsections_via_symbols
