	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_mv_component
_decode_mv_component:                   ## @decode_mv_component
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_h261_mv_vlc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_H261_MV_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %ecx
	callq	_get_vlc2
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	_mvmap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%ebx, %ecx
	negl	%ecx
	testl	%eax, %eax
	cmovnel	%ebx, %ecx
	jmp	LBB0_4
LBB0_2:
	xorl	%ecx, %ecx
LBB0_4:
	addl	%r15d, %ecx
	cmpl	$-16, %ecx
	jg	LBB0_6
## %bb.5:
	addl	$32, %ecx
	movl	%ecx, %r15d
	jmp	LBB0_7
LBB0_6:
	leal	-32(%rcx), %r15d
	cmpl	$16, %ecx
	cmovll	%ecx, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h261_mv_vlc,4,2                ## @h261_mv_vlc
	.comm	_H261_MV_VLC_BITS,4,2           ## @H261_MV_VLC_BITS
	.comm	_mvmap,8,3                      ## @mvmap
	.no_dead_strip	_decode_mv_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_mv_component
_decode_mv_component:                   ; @decode_mv_component
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _h261_mv_vlc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h261_mv_vlc@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _H261_MV_VLC_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H261_MV_VLC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #2
	bl	_get_vlc2
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _mvmap@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mvmap@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w21, [x8, w0, uxtw #2]
	cbz	w21, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_get_bits1
	cmp	w0, #0
	cneg	w8, w21, eq
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	add	w8, w8, w19
	sub	w9, w8, #32
	cmp	w8, #15
	csel	w9, w9, w8, gt
	add	w10, w8, #32
	cmn	w8, #16
	csel	w19, w9, w10, gt
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_h261_mv_vlc,4,2                ; @h261_mv_vlc
	.comm	_H261_MV_VLC_BITS,4,2           ; @H261_MV_VLC_BITS
	.comm	_mvmap,8,3                      ; @mvmap
	.no_dead_strip	_decode_mv_component
.subsections_via_symbols
