	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intra_prediction_unit_default_value
_intra_prediction_unit_default_value:   ## @intra_prediction_unit_default_value
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %r8d
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r9
	movl	(%r9), %ecx
	sarl	%cl, %ebx
	testl	%ebx, %ebx
	cmovel	%r8d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_23
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rdi
	movq	(%rdi), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	sarl	%cl, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	movslq	4(%r9), %rax
	movslq	%edx, %rdx
	movslq	%esi, %rsi
	movl	%ebx, %r14d
	movq	%rax, %rdi
	movq	%rdx, %rcx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	imulq	%rdx, %rdi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	addq	%rsi, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rdi,4), %r15
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %r12
	movq	%r14, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movq	_INTRA_DC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_memset
	addq	%r12, %r15
	decq	%r13
	jne	LBB0_2
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_MODE_INTRA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%ebx, %r13d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_23
## %bb.4:
	movq	%r12, %r10
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r8d
	andl	$-8, %r8d
	leaq	-8(%r8), %r11
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	shrq	$3, %r11
	incq	%r11
	movq	%r11, %rcx
	andq	$-2, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r12d
	andl	$3, %r12d
	leaq	(%rbx,%rax,4), %rdi
	addq	$48, %rdi
	leaq	(%rbx,%rax,4), %rdx
	xorl	%r15d, %r15d
	movq	_PF_INTRA@GOTPCREL(%rip), %rsi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movq	%r10, %rax
	addq	%r10, %rdi
	addq	%r10, %rdx
	cmpq	%r14, %r15
	je	LBB0_23
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	cmpl	$8, %r13d
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rax
	imulq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	leaq	(%rbx,%rcx,4), %r9
	leaq	4(%rsi), %rcx
	cmpq	%rcx, %r9
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	leaq	(%rbx,%rax,4), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ecx, %ecx
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %r9
	notq	%r9
	addq	%r14, %r9
	testq	%r12, %r12
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi), %ebx
	movl	%ebx, (%rdx,%rcx,4)
	incq	%rcx
	decq	%rax
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$3, %r9
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_5
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi), %eax
	movl	%eax, (%rdx,%rcx,4)
	movl	(%rsi), %eax
	movl	%eax, 4(%rdx,%rcx,4)
	movl	(%rsi), %eax
	movl	%eax, 8(%rdx,%rcx,4)
	movl	(%rsi), %eax
	movl	%eax, 12(%rdx,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_21
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -48(%rdi,%rcx,4)
	movdqu	%xmm0, -32(%rdi,%rcx,4)
	movdqu	%xmm0, -16(%rdi,%rcx,4)
	movdqu	%xmm0, (%rdi,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	testb	$1, %r11b
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%r15, %rax
	imulq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	addq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	addq	%rcx, %rax
	movdqu	%xmm0, (%rbx,%rax,4)
	movdqu	%xmm0, 16(%rbx,%rax,4)
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r8, %rcx
	cmpq	%r14, %r8
	je	LBB0_5
	jmp	LBB0_17
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ecx, %ecx
	testb	$1, %r11b
	jne	LBB0_15
	jmp	LBB0_16
LBB0_23:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTRA_DC,4,2                   ## @INTRA_DC
	.comm	_MODE_INTRA,8,3                 ## @MODE_INTRA
	.comm	_PF_INTRA,4,2                   ## @PF_INTRA
	.no_dead_strip	_intra_prediction_unit_default_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intra_prediction_unit_default_value
_intra_prediction_unit_default_value:   ; @intra_prediction_unit_default_value
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w8, #1
	lsl	w10, w8, w3
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	asr	w10, w10, w9
	cmp	w10, #0
	csinc	w19, w10, wzr, ne
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x20, x0
	ldp	x10, x25, [x0, #16]
	ldr	x21, [x10]
	asr	w10, w2, w9
	asr	w9, w1, w9
	ldrsw	x22, [x8, #4]
	sxtw	x8, w10
	sxtw	x9, w9
	madd	x23, x22, x8, x9
	lsl	x26, x23, #2
	lsl	x24, x22, #2
Lloh0:
	adrp	x27, _INTRA_DC@GOTPAGE
Lloh1:
	ldr	x27, [x27, _INTRA_DC@GOTPAGEOFF]
	mov	x28, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x0, x8, x26
	ldr	w1, [x27]
	mov	x2, x19
	bl	_memset
	add	x26, x26, x24
	subs	x28, x28, #1
	b.ne	LBB0_2
; %bb.3:
	ldr	x8, [x25]
Lloh2:
	adrp	x9, _MODE_INTRA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MODE_INTRA@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.4:
	mov	x8, #0
	add	x9, x23, x19
	and	x10, x19, #0xfffffff0
	add	x11, x21, x23, lsl #2
	add	x11, x11, #32
Lloh5:
	adrp	x12, _PF_INTRA@GOTPAGE
Lloh6:
	ldr	x12, [x12, _PF_INTRA@GOTPAGEOFF]
	mov	x13, x23
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, #1
	add	x11, x11, x24
	add	x13, x13, x22
	cmp	x8, x19
	b.eq	LBB0_14
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w19, #16
	b.lo	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mul	x14, x8, x22
	add	x15, x9, x14
	add	x15, x21, x15, lsl #2
	add	x14, x23, x14
	add	x14, x21, x14, lsl #2
	add	x16, x12, #4
	cmp	x14, x16
	ccmp	x15, x12, #0, lo
	b.hi	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ld1r.4s	{ v0 }, [x12]
	mov	x14, x11
	mov	x15, x10
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x14, #-32]
	stp	q0, q0, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x15, x10
	cmp	x10, x19
	b.eq	LBB0_5
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x15, #0
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x14, x15, x13
	add	x14, x21, x14, lsl #2
	sub	x15, x19, x15
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w16, [x12]
	str	w16, [x14], #4
	subs	x15, x15, #1
	b.ne	LBB0_13
	b	LBB0_5
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_INTRA_DC,4,2                   ; @INTRA_DC
	.comm	_MODE_INTRA,8,3                 ; @MODE_INTRA
	.comm	_PF_INTRA,4,2                   ; @PF_INTRA
	.no_dead_strip	_intra_prediction_unit_default_value
.subsections_via_symbols
