	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_msmpeg4_encode_mb           ## -- Begin function ff_msmpeg4_encode_mb
	.p2align	4, 0x90
_ff_msmpeg4_encode_mb:                  ## @ff_msmpeg4_encode_mb
	.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
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_ff_msmpeg4_handle_slices
	cmpl	$0, 88(%r12)
	movq	(%r12), %rax
	movl	(%rax), %ecx
	je	LBB0_1
## %bb.9:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	setg	%bl
	movl	%ebx, %r14d
	shll	$5, %r14d
	leaq	-48(%rbp), %r15
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_ff_msmpeg4_coded_block_pred
	movq	-48(%rbp), %rcx
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, (%rcx)
	movq	(%r12), %rcx
	xorl	%r13d, %r13d
	cmpl	$0, 4(%rcx)
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	setg	%r13b
	movl	%r13d, %ebx
	shll	$4, %ebx
	orl	%r14d, %ebx
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_ff_msmpeg4_coded_block_pred
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax
	movl	%r13d, (%rax)
	movq	(%r12), %rax
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rax)
	setg	%r14b
	leal	(%rbx,%r14,8), %r15d
	movq	%r12, %rdi
	movl	$2, %esi
	leaq	-48(%rbp), %rdx
	callq	_ff_msmpeg4_coded_block_pred
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax
	movl	%r14d, (%rax)
	movq	(%r12), %rax
	xorl	%ebx, %ebx
	cmpl	$0, 12(%rax)
	setg	%bl
	leal	(%r15,%rbx,4), %r15d
	movq	%r12, %rdi
	movl	$3, %esi
	leaq	-48(%rbp), %rdx
	callq	_ff_msmpeg4_coded_block_pred
	movq	%r15, %r8
	movq	-48(%rbp), %rcx
	movl	%ebx, (%rcx)
	movq	(%r12), %rsi
	xorl	%ecx, %ecx
	cmpl	$0, 16(%rsi)
	setg	%cl
	leal	(%r15,%rcx,2), %r15d
	xorl	%edx, %edx
	cmpl	$0, 20(%rsi)
	setg	%dl
	orl	%edx, %r15d
	cmpl	$2, 8(%r12)
	movq	16(%r12), %rsi
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	jg	LBB0_16
## %bb.10:
	movq	%r8, %rbx
	cmpq	%rdi, %rsi
	jne	LBB0_12
## %bb.11:
	andl	$3, %r15d
	movq	_ff_v2_intra_cbpc@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_1:
	shrq	$26, %rcx
	andl	$-32, %ecx
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	shrq	$27, %rdx
	andl	$16, %edx
	orq	%rcx, %rdx
	shrq	$28, %rsi
	andl	$8, %esi
	orq	%rdx, %rsi
	movl	12(%rax), %ecx
	shrq	$29, %rcx
	andl	$4, %ecx
	orq	%rsi, %rcx
	movl	16(%rax), %edx
	shrq	$30, %rdx
	andl	$2, %edx
	orq	%rcx, %rdx
	movl	20(%rax), %eax
	movl	$2147483648, %ebx               ## imm = 0x80000000
	xorq	%rax, %rbx
	shrq	$31, %rbx
	orq	%rdx, %rbx
	xorq	$62, %rbx
	cmpq	$0, 64(%r12)
	je	LBB0_5
## %bb.2:
	movl	%r13d, %eax
	orl	%r14d, %eax
	leaq	48(%r12), %rdi
	movl	$1, %esi
	orl	%ebx, %eax
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	callq	_put_bits
LBB0_5:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	leaq	48(%r12), %r13
	cmpl	$2, 8(%r12)
	jg	LBB0_7
## %bb.6:
	movq	_ff_v2_mb_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r15d
	andl	$3, %r15d
	movq	(%rax,%r15,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_put_bits
	sarl	$2, %ebx
	movl	%ebx, %eax
	xorl	$15, %eax
	cmpl	$3, %r15d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_ff_h263_cbpy_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmovel	%ebx, %eax
	cltq
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_put_bits
	movq	%r12, %rdi
	callq	_get_bits_diff
	addq	%rax, 40(%r12)
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ff_h263_pred_motion
	subl	-48(%rbp), %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_msmpeg4v2_encode_motion
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	subl	-56(%rbp), %esi
	movq	%r12, %rdi
	callq	_msmpeg4v2_encode_motion
	jmp	LBB0_8
LBB0_16:
	movl	-68(%rbp), %r11d                ## 4-byte Reload
	movl	-72(%rbp), %r10d                ## 4-byte Reload
	movl	-76(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	cmpq	%rdi, %rsi
	jne	LBB0_18
## %bb.17:
	addl	%ecx, %ecx
	xorl	%ebx, %eax
	shll	$2, %eax
	xorl	%r14d, %r11d
	shll	$3, %r11d
	orl	%eax, %r11d
	xorl	%r13d, %r10d
	shll	$4, %r10d
	movl	%r9d, %r15d
	xorl	%r8d, %r15d
	shll	$5, %r15d
	orl	%r10d, %r15d
	orl	%r11d, %r15d
	orl	%ecx, %r15d
	orl	%edx, %r15d
	movq	_ff_msmp4_mb_i_table@GOTPCREL(%rip), %rbx
	jmp	LBB0_20
LBB0_12:
	cmpq	$0, 64(%r12)
	je	LBB0_14
## %bb.13:
	leaq	48(%r12), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
LBB0_14:
	andl	$3, %r15d
	orl	$4, %r15d
	movq	_ff_v2_mb_type@GOTPCREL(%rip), %rax
LBB0_15:
	leaq	48(%r12), %r14
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_put_bits
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
	movq	_ff_h263_cbpy_tab@GOTPCREL(%rip), %rax
	movq	%rbx, %rcx
	shrl	$2, %ecx
	shlq	$3, %rcx
	addq	(%rax), %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_18:
	movq	_ff_table_mb_non_intra@GOTPCREL(%rip), %rbx
	cmpq	$0, 64(%r12)
	je	LBB0_20
## %bb.19:
	leaq	48(%r12), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
LBB0_20:
	leaq	48(%r12), %r14
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_put_bits
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
	cmpq	$0, 56(%r12)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_23
## %bb.21:
	movq	$0, 24(%r12)
	movq	_ff_table_inter_intra@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_22:
	movq	(%rcx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_put_bits
LBB0_23:
	movq	%r12, %rdi
	callq	_get_bits_diff
	addq	%rax, 40(%r12)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	256(%rbx), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	512(%rbx), %rsi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	768(%rbx), %rsi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	1024(%rbx), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_ff_msmpeg4_encode_block
	addq	$1280, %rbx                     ## imm = 0x500
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$5, %edx
	callq	_ff_msmpeg4_encode_block
	movq	%r12, %rdi
	callq	_get_bits_diff
	addl	%eax, 36(%r12)
	incl	32(%r12)
	jmp	LBB0_24
LBB0_7:
	movq	_ff_table_mb_non_intra@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	512(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_put_bits
	movq	%r12, %rdi
	callq	_get_bits_diff
	addq	%rax, 40(%r12)
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ff_h263_pred_motion
	subl	-48(%rbp), %r14d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	subl	-56(%rbp), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_ff_msmpeg4_encode_motion
LBB0_8:
	movq	%r12, %rdi
	callq	_get_bits_diff
	addl	%eax, 76(%r12)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	256(%r15), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	512(%r15), %rsi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	768(%r15), %rsi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_ff_msmpeg4_encode_block
	leaq	1024(%r15), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_ff_msmpeg4_encode_block
	addq	$1280, %r15                     ## imm = 0x500
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$5, %edx
	callq	_ff_msmpeg4_encode_block
	movq	%r12, %rdi
	callq	_get_bits_diff
	addl	%eax, 72(%r12)
	jmp	LBB0_24
LBB0_3:
	movl	$1, %edx
	callq	_put_bits
	incl	84(%r12)
	incq	40(%r12)
	incl	80(%r12)
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_v2_mb_type,8,3              ## @ff_v2_mb_type
	.comm	_ff_h263_cbpy_tab,8,3           ## @ff_h263_cbpy_tab
	.comm	_ff_table_mb_non_intra,8,3      ## @ff_table_mb_non_intra
	.comm	_AV_PICTURE_TYPE_I,8,3          ## @AV_PICTURE_TYPE_I
	.comm	_ff_v2_intra_cbpc,8,3           ## @ff_v2_intra_cbpc
	.comm	_ff_msmp4_mb_i_table,8,3        ## @ff_msmp4_mb_i_table
	.comm	_ff_table_inter_intra,8,3       ## @ff_table_inter_intra
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_msmpeg4_encode_mb           ; -- Begin function ff_msmpeg4_encode_mb
	.p2align	2
_ff_msmpeg4_encode_mb:                  ; @ff_msmpeg4_encode_mb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_ff_msmpeg4_handle_slices
	ldr	w10, [x19, #88]
	ldr	x8, [x19]
	ldr	w9, [x8]
	cbz	w10, LBB0_4
; %bb.1:
	cmp	w9, #0
	cset	w25, gt
	lsl	w24, w25, #5
	add	x2, sp, #16
	mov	x0, x19
	mov	w1, #0
	bl	_ff_msmpeg4_coded_block_pred
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x8, [sp, #16]
	str	w25, [x8]
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	cmp	w8, #0
	cset	w27, gt
	bfi	w24, w27, #4, #1
	add	x2, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_ff_msmpeg4_coded_block_pred
	mov	x22, x0
	ldr	x8, [sp, #16]
	str	w27, [x8]
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
	cmp	w8, #0
	cset	w28, gt
	bfi	w24, w28, #3, #1
	add	x2, sp, #16
	mov	x0, x19
	mov	w1, #2
	bl	_ff_msmpeg4_coded_block_pred
	mov	x23, x0
	ldr	x8, [sp, #16]
	str	w28, [x8]
	ldr	x8, [x19]
	ldr	w8, [x8, #12]
	cmp	w8, #0
	cset	w21, gt
	bfi	w24, w21, #2, #1
	add	x2, sp, #16
	mov	x0, x19
	mov	w1, #3
	bl	_ff_msmpeg4_coded_block_pred
	ldr	x8, [sp, #16]
	str	w21, [x8]
	ldr	x8, [x19]
	ldp	w9, w8, [x8, #16]
	cmp	w9, #0
	cset	w9, gt
	mov	x10, x24
	bfi	w10, w9, #1, #1
	cmp	w8, #0
	cset	w8, gt
	orr	w26, w10, w8
	ldr	w12, [x19, #8]
	ldr	x10, [x19, #16]
Lloh0:
	adrp	x11, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh1:
	ldr	x11, [x11, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	w12, #2
	b.gt	LBB0_9
; %bb.2:
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.3:
	and	w8, w26, #0x3
Lloh3:
	adrp	x9, _ff_v2_intra_cbpc@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ff_v2_intra_cbpc@GOTPAGEOFF]
	b	LBB0_14
LBB0_4:
	lsr	x9, x9, #26
	and	x9, x9, #0x20
	ldp	w10, w11, [x8, #4]
	lsr	x10, x10, #27
	and	x10, x10, #0x10
	orr	x9, x9, x10
	lsr	x10, x11, #28
	and	x10, x10, #0x8
	orr	x9, x9, x10
	ldp	w10, w11, [x8, #12]
	lsr	x10, x10, #29
	and	x10, x10, #0x4
	orr	x9, x9, x10
	lsr	x10, x11, #30
	and	x10, x10, #0x2
	orr	x9, x9, x10
	ldr	w8, [x8, #20]
	mvn	w8, w8
	orr	x8, x9, x8, lsr #31
	eor	x24, x8, #0x3e
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.5:
	orr	w8, w21, w22
	add	x0, x19, #48
	mov	w1, #1
	orr	w8, w8, w24
	cbz	w8, LBB0_24
; %bb.6:
	mov	w2, #0
	bl	_put_bits
LBB0_7:
	ldr	w8, [x19, #8]
	add	x23, x19, #48
	cmp	w8, #2
	b.gt	LBB0_22
; %bb.8:
Lloh5:
	adrp	x8, _ff_v2_mb_type@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ff_v2_mb_type@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	and	x25, x24, #0x3
	ldr	x8, [x8, x25, lsl #3]
	ldp	w2, w1, [x8]
	mov	x0, x23
	bl	_put_bits
Lloh8:
	adrp	x8, _ff_h263_cbpy_tab@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ff_h263_cbpy_tab@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	asr	w9, w24, #2
	eor	w10, w9, #0xf
	cmp	w25, #3
	csel	w9, w9, w10, eq
	ldr	x8, [x8, w9, sxtw #3]
	ldp	w2, w1, [x8]
	mov	x0, x23
	bl	_put_bits
	mov	x0, x19
	bl	_get_bits_diff
	ldr	x8, [x19, #40]
	add	x8, x8, x0
	str	x8, [x19, #40]
	add	x3, sp, #16
	add	x4, sp, #28
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_ff_h263_pred_motion
	ldr	w8, [sp, #16]
	sub	w1, w22, w8
	mov	x0, x19
	bl	_msmpeg4v2_encode_motion
	ldr	w8, [sp, #28]
	sub	w1, w21, w8
	mov	x0, x19
	bl	_msmpeg4v2_encode_motion
	b	LBB0_23
LBB0_9:
	mov	x12, x22
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
	cmp	x10, x11
	b.ne	LBB0_15
; %bb.10:
	lsl	w9, w9, #1
	eor	w10, w0, w21
	eor	w11, w23, w28
	eor	w12, w12, w27
	lsl	w12, w12, #4
	eor	w13, w22, w25
	orr	w12, w12, w13, lsl #5
	orr	w11, w12, w11, lsl #3
	orr	w10, w11, w10, lsl #2
	orr	w9, w9, w10
	orr	w26, w9, w8
Lloh11:
	adrp	x8, _ff_msmp4_mb_i_table@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ff_msmp4_mb_i_table@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_13
; %bb.12:
	add	x0, x19, #48
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
LBB0_13:
	mov	w8, #4
	bfxil	w8, w26, #0, #2
Lloh13:
	adrp	x9, _ff_v2_mb_type@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ff_v2_mb_type@GOTPAGEOFF]
LBB0_14:
	add	x21, x19, #48
	ldr	x9, [x9]
	ldr	x8, [x9, w8, uxtw #3]
	ldp	w2, w1, [x8]
	mov	x0, x21
	bl	_put_bits
	mov	x0, x21
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
Lloh15:
	adrp	x8, _ff_h263_cbpy_tab@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ff_h263_cbpy_tab@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	lsr	w9, w24, #2
	add	x8, x8, w9, uxtw #3
	b	LBB0_20
LBB0_15:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_17
; %bb.16:
	add	x0, x19, #48
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
LBB0_17:
Lloh18:
	adrp	x8, _ff_table_mb_non_intra@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ff_table_mb_non_intra@GOTPAGEOFF]
LBB0_18:
	add	x21, x19, #48
	ldr	x8, [x8]
	ldr	x8, [x8, w26, sxtw #3]
	ldp	w2, w1, [x8]
	mov	x0, x21
	bl	_put_bits
	mov	x0, x21
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_21
; %bb.19:
	str	xzr, [x19, #24]
Lloh20:
	adrp	x8, _ff_table_inter_intra@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ff_table_inter_intra@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
LBB0_20:
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
	mov	x0, x21
	bl	_put_bits
LBB0_21:
	mov	x0, x19
	bl	_get_bits_diff
	ldr	x8, [x19, #40]
	add	x8, x8, x0
	str	x8, [x19, #40]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #256
	mov	x0, x19
	mov	w2, #1
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #512
	mov	x0, x19
	mov	w2, #2
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #768
	mov	x0, x19
	mov	w2, #3
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #1024
	mov	x0, x19
	mov	w2, #4
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #1280
	mov	x0, x19
	mov	w2, #5
	bl	_ff_msmpeg4_encode_block
	mov	x0, x19
	bl	_get_bits_diff
	ldp	w9, w8, [x19, #32]
	add	w8, w8, w0
	add	w9, w9, #1
	stp	w9, w8, [x19, #32]
	b	LBB0_25
LBB0_22:
Lloh23:
	adrp	x8, _ff_table_mb_non_intra@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ff_table_mb_non_intra@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	add	w9, w24, #64
	ldr	x8, [x8, w9, sxtw #3]
	ldp	w2, w1, [x8]
	mov	x0, x23
	bl	_put_bits
	mov	x0, x19
	bl	_get_bits_diff
	ldr	x8, [x19, #40]
	add	x8, x8, x0
	str	x8, [x19, #40]
	add	x3, sp, #16
	add	x4, sp, #28
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_ff_h263_pred_motion
	ldr	w8, [sp, #16]
	sub	w1, w22, w8
	ldr	w8, [sp, #28]
	sub	w2, w21, w8
	mov	x0, x19
	bl	_ff_msmpeg4_encode_motion
LBB0_23:
	mov	x0, x19
	bl	_get_bits_diff
	ldr	w8, [x19, #76]
	add	w8, w8, w0
	str	w8, [x19, #76]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #256
	mov	x0, x19
	mov	w2, #1
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #512
	mov	x0, x19
	mov	w2, #2
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #768
	mov	x0, x19
	mov	w2, #3
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #1024
	mov	x0, x19
	mov	w2, #4
	bl	_ff_msmpeg4_encode_block
	add	x1, x20, #1280
	mov	x0, x19
	mov	w2, #5
	bl	_ff_msmpeg4_encode_block
	mov	x0, x19
	bl	_get_bits_diff
	ldr	w8, [x19, #72]
	add	w8, w8, w0
	str	w8, [x19, #72]
	b	LBB0_25
LBB0_24:
	mov	w2, #1
	bl	_put_bits
	ldr	x8, [x19, #40]
	add	x8, x8, #1
	str	x8, [x19, #40]
	ldr	d0, [x19, #80]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #80]
LBB0_25:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_v2_mb_type,8,3              ; @ff_v2_mb_type
	.comm	_ff_h263_cbpy_tab,8,3           ; @ff_h263_cbpy_tab
	.comm	_ff_table_mb_non_intra,8,3      ; @ff_table_mb_non_intra
	.comm	_AV_PICTURE_TYPE_I,8,3          ; @AV_PICTURE_TYPE_I
	.comm	_ff_v2_intra_cbpc,8,3           ; @ff_v2_intra_cbpc
	.comm	_ff_msmp4_mb_i_table,8,3        ; @ff_msmp4_mb_i_table
	.comm	_ff_table_inter_intra,8,3       ; @ff_table_inter_intra
.subsections_via_symbols
