	.file	"extr_h26x.c_ProbeH264.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ProbeH264, @function
ProbeH264:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, -1
	test	rsi, rsi
	je	.L1
	mov	ecx, DWORD PTR [rdi]
	mov	eax, ecx
	and	eax, 128
	jne	.L14
	mov	r8d, ecx
	and	ecx, 96
	and	r8d, 31
	cmp	DWORD PTR H264_NAL_SPS[rip], r8d
	je	.L30
	cmp	DWORD PTR H264_NAL_PPS[rip], r8d
	je	.L31
	cmp	DWORD PTR H264_NAL_SLICE_IDR[rip], r8d
	je	.L32
	cmp	DWORD PTR H264_NAL_AU_DELIMITER[rip], r8d
	je	.L33
	cmp	DWORD PTR H264_NAL_SEI[rip], r8d
	je	.L34
	cmp	DWORD PTR H264_NAL_SPS_EXT[rip], r8d
	mov	eax, -1
	je	.L8
	cmp	DWORD PTR H264_NAL_SUBSET_SPS[rip], r8d
	je	.L8
	cmp	DWORD PTR H264_NAL_PREFIX[rip], r8d
	jne	.L1
	test	ecx, ecx
	je	.L1
	mov	ecx, DWORD PTR 4[rdx]
	test	ecx, ecx
	je	.L1
.L28:
	mov	edx, DWORD PTR [rdx]
	xor	eax, eax
	test	edx, edx
	sete	al
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, -1
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	test	ecx, ecx
	je	.L14
	mov	DWORD PTR 4[rdx], 1
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	test	ecx, ecx
	je	.L14
	cmp	rsi, 2
	jbe	.L14
	mov	eax, DWORD PTR 8[rdi]
	and	eax, 3
	jne	.L14
	mov	DWORD PTR [rdx], 1
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	mov	eax, -1
	test	ecx, ecx
	je	.L1
	mov	r8d, DWORD PTR 4[rdx]
	test	r8d, r8d
	je	.L1
	cmp	DWORD PTR [rdx], 1
	sbb	eax, eax
	or	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	test	ecx, ecx
	jne	.L28
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	mov	eax, -1
	test	ecx, ecx
	jne	.L1
	mov	edi, DWORD PTR 4[rdx]
	test	edi, edi
	jne	.L1
	mov	esi, DWORD PTR [rdx]
	xor	eax, eax
	test	esi, esi
	setne	al
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	xor	eax, eax
	test	ecx, ecx
	setne	al
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	ProbeH264, .-ProbeH264
	.comm	H264_NAL_SUBSET_SPS,4,4
	.comm	H264_NAL_SPS_EXT,4,4
	.comm	H264_NAL_SPS,4,4
	.comm	H264_NAL_SLICE_IDR,4,4
	.comm	H264_NAL_SEI,4,4
	.comm	H264_NAL_PREFIX,4,4
	.comm	H264_NAL_PPS,4,4
	.comm	H264_NAL_AU_DELIMITER,4,4
	.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_h26x.c_ProbeH264.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ProbeH264, %function
ProbeH264:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L11
	ldr	ip, [r0]
	mov	r3, r0
	ands	r0, ip, #128
	bne	.L11
	push	{r4, lr}
	ldr	r4, .L36
	and	lr, ip, #31
	ldr	r4, [r4]
	and	ip, ip, #96
	cmp	r4, lr
	beq	.L30
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r3, lr
	beq	.L31
	ldr	r3, .L36+8
	ldr	r3, [r3]
	cmp	r3, lr
	beq	.L32
	ldr	r3, .L36+12
	ldr	r3, [r3]
	cmp	r3, lr
	beq	.L33
	ldr	r3, .L36+16
	ldr	r3, [r3]
	cmp	r3, lr
	beq	.L34
	ldr	r3, .L36+20
	ldr	r3, [r3]
	cmp	r3, lr
	beq	.L8
	ldr	r3, .L36+24
	ldr	r3, [r3]
	cmp	r3, lr
	beq	.L8
	ldr	r3, .L36+28
	ldr	r3, [r3]
	cmp	r3, lr
	bne	.L23
	cmp	ip, #0
	beq	.L23
	ldr	r3, [r2, #4]
	cmp	r3, #0
	beq	.L23
.L28:
	ldr	r0, [r2]
	clz	r0, r0
	lsr	r0, r0, #5
	rsb	r0, r0, #0
	pop	{r4, pc}
.L11:
	mvn	r0, #0
	bx	lr
.L31:
	cmp	ip, #0
	beq	.L23
	mov	r3, #1
	str	r3, [r2, #4]
	pop	{r4, pc}
.L32:
	cmp	ip, #0
	bne	.L35
.L23:
	mvn	r0, #0
	pop	{r4, pc}
.L30:
	cmp	ip, #0
	cmpne	r1, #2
	bls	.L23
	ldr	r0, [r3, #8]
	ands	r0, r0, #3
	bne	.L23
	mov	r3, #1
	str	r3, [r2]
	pop	{r4, pc}
.L35:
	ldr	r3, [r2, #4]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [r2]
	cmp	r3, #0
	mvneq	r0, #0
	movne	r0, #1
	pop	{r4, pc}
.L8:
	cmp	ip, #0
	bne	.L28
	b	.L23
.L33:
	cmp	ip, #0
	bne	.L23
	ldr	r3, [r2, #4]
	cmp	r3, #0
	bne	.L23
	ldr	r0, [r2]
	subs	r0, r0, #0
	movne	r0, #1
	rsb	r0, r0, #0
	pop	{r4, pc}
.L34:
	subs	r0, ip, #0
	movne	r0, #1
	rsb	r0, r0, #0
	pop	{r4, pc}
.L37:
	.align	2
.L36:
	.word	H264_NAL_SPS
	.word	H264_NAL_PPS
	.word	H264_NAL_SLICE_IDR
	.word	H264_NAL_AU_DELIMITER
	.word	H264_NAL_SEI
	.word	H264_NAL_SPS_EXT
	.word	H264_NAL_SUBSET_SPS
	.word	H264_NAL_PREFIX
	.size	ProbeH264, .-ProbeH264
	.comm	H264_NAL_SUBSET_SPS,4,4
	.comm	H264_NAL_SPS_EXT,4,4
	.comm	H264_NAL_SPS,4,4
	.comm	H264_NAL_SLICE_IDR,4,4
	.comm	H264_NAL_SEI,4,4
	.comm	H264_NAL_PREFIX,4,4
	.comm	H264_NAL_PPS,4,4
	.comm	H264_NAL_AU_DELIMITER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
