	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function decode_intra
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_intra:                          ## @decode_intra
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movl	(%rbx), %eax
	leal	-100(%rax,%rax), %eax
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %esi
	movq	%rbx, %rdi
	callq	_compute_quant_matrix
	movl	(%r12), %eax
	sarl	$3, %eax
	movl	%eax, 4(%rbx)
	movl	4(%r12), %eax
	sarl	$3, %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	movl	28(%rbx), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_decode_intra_plane
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	leaq	24(%rbx), %r13
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_bytestream2_skip
	movl	(%r12), %eax
	sarl	$4, %eax
	movl	%eax, 4(%rbx)
	movl	4(%r12), %eax
	sarl	$4, %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movl	4(%rax), %edx
	movl	12(%rbx), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %r8
	movl	$2, %r9d
	callq	_decode_intra_plane
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	16(%rbx), %rax
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_bytestream2_skip
	movl	(%r12), %eax
	sarl	$4, %eax
	movl	%eax, 4(%rbx)
	movl	4(%r12), %eax
	sarl	$4, %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	12(%rbx), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %r8
	movl	$1, %r9d
	callq	_decode_intra_plane
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_intra
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_intra
_decode_intra:                          ; @decode_intra
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x21, [x0, #8]
	ldr	w8, [x21]
	lsl	w8, w8, #1
	sub	w8, w8, #100
	scvtf	d0, w8
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w1, d0
	mov	x0, x21
	bl	_compute_quant_matrix
	ldr	d0, [x22]
	sshr.2s	v0, v0, #3
	stur	d0, [x21, #4]
	ldr	x8, [x21, #16]
	ldr	w2, [x8]
	ldr	w3, [x21, #28]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	mov	w5, #0
	bl	_decode_intra_plane
	tbnz	w0, #31, LBB0_3
; %bb.1:
	add	x23, x21, #24
	ldr	x8, [x21, #16]
	ldr	w1, [x8]
	mov	x0, x23
	bl	_bytestream2_skip
	ldr	d0, [x22]
	sshr.2s	v0, v0, #4
	stur	d0, [x21, #4]
	ldr	x8, [x21, #16]
	ldr	w2, [x8, #4]
	ldr	w3, [x21, #12]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	mov	w5, #2
	bl	_decode_intra_plane
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x8, [x21, #16]
	ldr	w1, [x8, #4]
	mov	x0, x23
	bl	_bytestream2_skip
	ldr	d0, [x22]
	sshr.2s	v0, v0, #4
	stur	d0, [x21, #4]
	ldr	x8, [x21, #16]
	ldr	w2, [x8, #8]
	ldr	w3, [x21, #12]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	mov	w5, #1
	bl	_decode_intra_plane
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_intra
.subsections_via_symbols
