	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rv_decode_dc                ## -- Begin function ff_rv_decode_dc
	.p2align	4, 0x90
_ff_rv_decode_dc:                       ## @ff_rv_decode_dc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	4(%rdi), %r14
	cmpl	$3, %esi
	jg	LBB0_7
## %bb.1:
	movq	_rv_dc_lum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DC_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jns	LBB0_15
## %bb.2:
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	leal	-124(%rax), %ecx
	cmpl	$3, %ecx
	ja	LBB0_16
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	%r14, %rdi
	callq	_get_bits1
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	cmpq	$1, %rbx
	adcl	$0, %eax
	jmp	LBB0_16
LBB0_7:
	movq	%rdi, %rbx
	movq	_rv_dc_chrom@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DC_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jns	LBB0_15
## %bb.8:
	movq	%r14, %rdi
	movl	$9, %esi
	callq	_get_bits
	cmpl	$510, %eax                      ## imm = 0x1FE
	je	LBB0_12
## %bb.9:
	cmpl	$509, %eax                      ## imm = 0x1FD
	je	LBB0_14
## %bb.10:
	cmpl	$508, %eax                      ## imm = 0x1FC
	jne	LBB0_13
LBB0_11:
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	incl	%eax
	jmp	LBB0_16
LBB0_14:
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
LBB0_15:
	addl	$-128, %eax
LBB0_16:
	negl	%eax
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	movl	$9, %esi
	jmp	LBB0_6
LBB0_13:
	movl	(%rbx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$65535, %eax                    ## imm = 0xFFFF
	jmp	LBB0_17
LBB0_5:
	movq	%r14, %rdi
	movl	$11, %esi
LBB0_6:
	callq	_skip_bits
	movl	$1, %eax
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_rv_dc_lum,4,2                  ## @rv_dc_lum
	.comm	_DC_VLC_BITS,4,2                ## @DC_VLC_BITS
	.comm	_rv_dc_chrom,4,2                ## @rv_dc_chrom
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chroma dc error\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rv_decode_dc                ; -- Begin function ff_rv_decode_dc
	.p2align	2
_ff_rv_decode_dc:                       ; @ff_rv_decode_dc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x19, x0, #4
	cmp	w1, #3
	b.gt	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _rv_dc_lum@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rv_dc_lum@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DC_VLC_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_VLC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	tbz	w0, #31, LBB0_11
; %bb.2:
	mov	x0, x19
	mov	w1, #7
	bl	_get_bits
	sub	w8, w0, #124
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x19
	bl	_get_bits1
	mov	x20, x0
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	cmp	x20, #0
	cinc	w0, w0, eq
	b	LBB0_12
LBB0_5:
	mov	x20, x0
Lloh8:
	adrp	x8, _rv_dc_chrom@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rv_dc_chrom@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _DC_VLC_BITS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DC_VLC_BITS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	tbz	w0, #31, LBB0_11
; %bb.6:
	mov	x0, x19
	mov	w1, #9
	bl	_get_bits
	cmp	w0, #510
	b.eq	LBB0_14
; %bb.7:
	cmp	w0, #509
	b.eq	LBB0_10
; %bb.8:
	cmp	w0, #508
	b.ne	LBB0_15
LBB0_9:
	mov	x0, x19
	mov	w1, #7
	bl	_get_bits
	add	w0, w0, #1
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	mov	w1, #7
	bl	_get_bits
LBB0_11:
	sub	w0, w0, #128
LBB0_12:
	neg	w0, w0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x19
	mov	w1, #9
	b	LBB0_17
LBB0_15:
	ldr	w0, [x20]
Lloh14:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w0, #65535
	b	LBB0_13
LBB0_16:
	mov	x0, x19
	mov	w1, #11
LBB0_17:
	bl	_skip_bits
	mov	w0, #1
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
                                        ; -- End function
	.comm	_rv_dc_lum,4,2                  ; @rv_dc_lum
	.comm	_DC_VLC_BITS,4,2                ; @DC_VLC_BITS
	.comm	_rv_dc_chrom,4,2                ; @rv_dc_chrom
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chroma dc error\n"

.subsections_via_symbols
