	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_intra_block
_decode_intra_block:                    ## @decode_intra_block
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movq	24(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	cmpq	$0, 16(%rdi)
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movl	$0, -52(%rbp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	decl	%eax
	movl	%eax, (%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_2:
	movq	%r15, %rdi
	movl	8(%r12), %r8d
	andl	$1, %r8d
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r14, %rsi
	callq	_read_code
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	addl	-48(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_4:
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %bl
	shll	$10, %ebx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	imull	(%rcx), %eax
	addl	%ebx, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%r13,%rcx,4)
	movl	$1, %ebx
	movq	%r15, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$64, %esi
	subl	%ebx, %esi
	callq	_FFMIN
	movq	%r15, %rcx
	subl	%eax, (%r14)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %ebx
	cmpl	$64, %ebx
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	testl	%edi, %edi
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r12), %r8d
	andl	$1, %r8d
	movq	%rcx, %rdi
	movq	%r14, %rsi
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	callq	_read_code
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%ebx, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %ecx
	imull	-48(%rbp), %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%rax,8), %rax
	movl	%ecx, (%r13,%rax,4)
	movl	$1, %eax
	movq	%r15, %rcx
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_intra_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_intra_block
_decode_intra_block:                    ; @decode_intra_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldp	x8, x25, [x0, #16]
	cmp	x8, #0
	cset	w26, eq
	ldr	x23, [x0]
	str	wzr, [sp, #8]
	mov	x0, x23
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x19]
	subs	w8, w8, #1
	b.lt	LBB0_2
; %bb.1:
	str	w8, [x19]
	ldr	w8, [x24]
	b	LBB0_4
LBB0_2:
	ldr	w8, [x22, #8]
	and	w4, w8, #0x1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x19
	bl	_read_code
	tbnz	w0, #31, LBB0_11
; %bb.3:
	ldr	w8, [sp, #12]
	ldr	w9, [x24]
	add	w8, w9, w8
	str	w8, [x24]
LBB0_4:
	lsl	w9, w26, #10
	ldr	w10, [x20]
	madd	w8, w10, w8, w9
	ldr	x9, [x25]
	str	w8, [x23, x9, lsl #2]
	mov	w24, #1
	mov	w26, #64
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	w1, w26, w24
	bl	_FFMIN
	ldr	w8, [x19]
	sub	w8, w8, w0
	str	w8, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w24, w0, w24
	cmp	w24, #64
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	cmp	w0, #1
	b.ge	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22, #8]
	and	w4, w8, #0x1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x19
	bl	_read_code
	tbnz	w0, #31, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x20, w24, sxtw #2]
	mul	w8, w9, w8
	ldr	x9, [x25, w24, sxtw #3]
	str	w8, [x23, x9, lsl #2]
	mov	w0, #1
	b	LBB0_6
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_intra_block
.subsections_via_symbols
