	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv30_decode_intra_types
_rv30_decode_intra_types:               ## @rv30_decode_intra_types
	.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, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	$4, %r13d
	movq	_rv30_itype_code@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	cmpl	$160, %eax
	ja	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_rv30_itype_from_context@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	movslq	(%r15), %rsi
	shlq	$2, %rsi
	negq	%rsi
	movl	-4(%rbx), %edi
	imull	$90, (%rbx,%rsi), %esi
	leal	(%rdi,%rdi,8), %edi
	addl	%esi, %edi
	movl	%eax, %esi
	movl	(%rdx,%rsi,4), %esi
	addl	%edi, %esi
	addl	$99, %esi
	movslq	%esi, %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, (%rbx)
	cmpl	$9, %esi
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15), %rdi
	shlq	$2, %rdi
	negq	%rdi
	imull	$90, 4(%rbx,%rdi), %edi
	leal	(%rsi,%rsi,8), %esi
	addl	%edi, %esi
	orl	$1, %eax
	movl	(%rdx,%rax,4), %eax
	addl	%esi, %eax
	addl	$99, %eax
	cltq
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 4(%rbx)
	cmpl	$9, %eax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	cmpl	$160, %eax
	ja	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_rv30_itype_from_context@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	movslq	(%r15), %rsi
	shlq	$2, %rsi
	negq	%rsi
	movl	4(%rbx), %edi
	imull	$90, 8(%rbx,%rsi), %esi
	leal	(%rdi,%rdi,8), %edi
	addl	%esi, %edi
	movl	%eax, %esi
	movl	(%rdx,%rsi,4), %esi
	addl	%edi, %esi
	addl	$99, %esi
	movslq	%esi, %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, 8(%rbx)
	cmpl	$9, %esi
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15), %rdi
	shlq	$2, %rdi
	negq	%rdi
	imull	$90, 12(%rbx,%rdi), %edi
	leal	(%rsi,%rsi,8), %esi
	addl	%edi, %esi
	orl	$1, %eax
	movl	(%rdx,%rax,4), %eax
	addl	%esi, %eax
	addl	$99, %eax
	cltq
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 12(%rbx)
	cmpl	$9, %eax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15), %rax
	leaq	(%rbx,%rax,4), %rbx
	decl	%r13d
	jne	LBB0_1
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str(%rip), %rdx
LBB0_14:
	movl	4(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_av_log
	movl	$-1, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Incorrect intra prediction code\n"

	.comm	_rv30_itype_from_context,8,3    ## @rv30_itype_from_context
	.comm	_rv30_itype_code,8,3            ## @rv30_itype_code
L_.str.1:                               ## @.str.1
	.asciz	"Incorrect intra prediction mode\n"

	.no_dead_strip	_rv30_decode_intra_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv30_decode_intra_types
_rv30_decode_intra_types:               ; @rv30_decode_intra_types
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x24, _rv30_itype_from_context@GOTPAGE
Lloh3:
	ldr	x24, [x24, _rv30_itype_from_context@GOTPAGEOFF]
	mov	w25, #4
Lloh4:
	adrp	x26, _rv30_itype_code@GOTPAGE
Lloh5:
	ldr	x26, [x26, _rv30_itype_code@GOTPAGEOFF]
	mov	w27, #90
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_get_interleaved_ue_golomb
	lsl	w8, w0, #1
	cmp	w8, #160
	b.hi	LBB0_10
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x24]
	ldr	x10, [x26]
	ldrsw	x11, [x19]
	sub	x11, x21, x11, lsl #2
	ldr	w11, [x11]
	ldur	w12, [x21, #-4]
	add	w12, w12, w12, lsl #3
	ldr	w13, [x10, w8, uxtw #2]
	madd	w11, w11, w27, w12
	add	w11, w11, w13
	add	w11, w11, #99
	ldr	w11, [x9, w11, sxtw #2]
	str	w11, [x21]
	cmp	w11, #9
	b.eq	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x12, x21, #4
	ldrsw	x13, [x19]
	sub	x12, x12, x13, lsl #2
	ldr	w12, [x12]
	add	w11, w11, w11, lsl #3
	orr	w8, w8, #0x1
	ldr	w8, [x10, w8, uxtw #2]
	madd	w10, w12, w27, w11
	add	w8, w10, w8
	add	w8, w8, #99
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x21, #4]
	cmp	w8, #9
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_get_interleaved_ue_golomb
	lsl	w8, w0, #1
	cmp	w8, #160
	b.hi	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x11, x21, #8
	ldr	x9, [x24]
	ldr	x10, [x26]
	ldrsw	x12, [x19]
	sub	x11, x11, x12, lsl #2
	ldr	w11, [x11]
	ldr	w12, [x21, #4]
	add	w12, w12, w12, lsl #3
	ldr	w13, [x10, w8, uxtw #2]
	madd	w11, w11, w27, w12
	add	w11, w11, w13
	add	w11, w11, #99
	ldr	w11, [x9, w11, sxtw #2]
	str	w11, [x21, #8]
	cmp	w11, #9
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x12, x21, #12
	ldrsw	x13, [x19]
	sub	x12, x12, x13, lsl #2
	ldr	w12, [x12]
	add	w11, w11, w11, lsl #3
	orr	w8, w8, #0x1
	ldr	w8, [x10, w8, uxtw #2]
	madd	w10, w12, w27, w11
	add	w8, w10, w8
	add	w8, w8, #99
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x21, #12]
	cmp	w8, #9
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrsw	x8, [x19]
	add	x21, x21, x8, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_1
; %bb.8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	mov	x20, x23
LBB0_10:
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_av_log
	mov	w0, #-1
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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Incorrect intra prediction code\n"

	.comm	_rv30_itype_from_context,8,3    ; @rv30_itype_from_context
	.comm	_rv30_itype_code,8,3            ; @rv30_itype_code
l_.str.1:                               ; @.str.1
	.asciz	"Incorrect intra prediction mode\n"

	.no_dead_strip	_rv30_decode_intra_types
.subsections_via_symbols
