	.file	"extr_..packetizerstartcode_helper.h_startcode_FindAnnexB_Bits.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	startcode_FindAnnexB_Bits, @function
startcode_FindAnnexB_Bits:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, rdi
	mov	eax, 4
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	and	edx, 3
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	sub	rax, rdx
	lea	r12, -12[rsi]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	lea	rax, [rdi+rax*4]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	cmp	rdi, r12
	ja	.L2
	cmp	rdi, rax
	jb	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L32:
	cmp	r12, rbx
	jb	.L2
.L5:
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	jne	.L3
	mov	esi, DWORD PTR 4[rbx]
	test	esi, esi
	jne	.L3
	cmp	DWORD PTR 8[rbx], 1
	je	.L12
.L3:
	add	rbx, 4
	cmp	rax, rbx
	ja	.L32
.L2:
	lea	r14, -24[r13]
	cmp	r14, rbx
	jbe	.L13
	mov	rbp, rbx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbp, 16
	cmp	r14, rbp
	jbe	.L33
.L9:
	mov	eax, DWORD PTR 0[rbp]
	lea	edx, -16843009[rax]
	not	eax
	and	eax, edx
	test	eax, -2139062144
	je	.L8
	mov	rdi, rbp
	xor	esi, esi
	add	rbp, 16
	call	TRY_MATCH@PLT
	cmp	r14, rbp
	ja	.L9
.L33:
	sub	r13, 25
	sub	r13, rbx
	and	r13, -16
	lea	rax, 16[rbx+r13]
.L7:
	cmp	r12, rax
	jb	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	jne	.L10
	mov	edx, DWORD PTR 4[rax]
	test	edx, edx
	jne	.L10
	cmp	DWORD PTR 8[rax], 1
	je	.L1
.L10:
	add	rax, 4
	cmp	r12, rax
	jnb	.L11
.L14:
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, rbx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	mov	rax, rbx
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	startcode_FindAnnexB_Bits, .-startcode_FindAnnexB_Bits
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_..packetizerstartcode_helper.h_startcode_FindAnnexB_Bits.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	startcode_FindAnnexB_Bits, %function
startcode_FindAnnexB_Bits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r1
	and	r1, r0, #3
	rsb	r1, r1, #4
	add	r1, r0, r1, lsl #2
	sub	r6, r7, #12
	cmp	r0, r6
	cmpls	r0, r1
	mov	r4, r0
	bcs	.L2
	mov	r3, r0
.L5:
	ldr	r2, [r3]
	mov	r0, r3
	cmp	r2, #0
	add	r3, r3, #4
	bne	.L3
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L3
	ldr	r2, [r3, #4]
	cmp	r2, #1
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	cmp	r6, r3
	cmpcs	r1, r3
	mov	r4, r3
	bhi	.L5
.L2:
	sub	r8, r7, #24
	cmp	r8, r4
	bls	.L6
	mov	r5, r4
	ldr	r10, .L31
	ldr	r9, .L31+4
	b	.L8
.L7:
	add	r5, r5, #16
	cmp	r8, r5
	bls	.L30
.L8:
	ldr	r2, [r5]
	add	r3, r2, r10
	bic	r3, r3, r2
	tst	r3, r9
	beq	.L7
	mov	r0, r5
	mov	r1, #0
	add	r5, r5, #16
	bl	TRY_MATCH
	cmp	r8, r5
	bhi	.L8
.L30:
	sub	r3, r7, #25
	sub	r3, r3, r4
	bic	r3, r3, #15
	add	r3, r3, #16
	add	r4, r4, r3
.L6:
	cmp	r6, r4
	bcc	.L11
	mov	r3, r4
.L10:
	ldr	r2, [r3]
	mov	r0, r3
	cmp	r2, #0
	add	r3, r3, #4
	bne	.L9
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L9
	ldr	r2, [r3, #4]
	cmp	r2, #1
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	cmp	r6, r3
	bcs	.L10
.L11:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L32:
	.align	2
.L31:
	.word	-16843009
	.word	-2139062144
	.size	startcode_FindAnnexB_Bits, .-startcode_FindAnnexB_Bits
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
