	.file	"extr_cea708.c_cea708_parse_h264.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cea708_parse_h264
	.type	cea708_parse_h264, @function
cea708_parse_h264:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	rsi, 2
	jbe	.L2
	movsx	rax, DWORD PTR [rdi]
	lea	r8, -3[rsi]
	mov	QWORD PTR [rdx], rax
	mov	r9, rax
	mov	eax, DWORD PTR 4[rdi]
	sal	eax, 8
	or	eax, DWORD PTR 8[rdi]
	mov	QWORD PTR 16[rdx], 0
	movsx	rcx, eax
	cmp	rcx, QWORD PTR t35_provider_atsc[rip]
	mov	QWORD PTR 8[rdx], rcx
	je	.L41
	or	r9d, eax
	lea	r10, 12[rdi]
	je	.L12
	cmp	rcx, QWORD PTR t35_provider_direct_tv[rip]
	je	.L42
.L36:
	mov	eax, DWORD PTR LIBCAPTION_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L41:
	cmp	r8, 3
	ja	.L43
.L2:
	mov	eax, DWORD PTR LIBCAPTION_ERROR[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L43:
	mov	r8d, DWORD PTR 12[rdi]
	mov	r10d, DWORD PTR 16[rdi]
	sal	r8d, 24
	sal	r10d, 16
	or	r8d, r10d
	mov	r10d, DWORD PTR 20[rdi]
	or	r8d, DWORD PTR 24[rdi]
	sal	r10d, 8
	or	r8d, r10d
	or	r9d, eax
	lea	r10, 28[rdi]
	mov	DWORD PTR 16[rdx], r8d
	lea	r8, -7[rsi]
	je	.L12
	test	r8, r8
	je	.L2
	mov	r8d, DWORD PTR 28[rdi]
	sub	rsi, 8
	add	rdi, 32
	cmp	rcx, QWORD PTR t35_provider_direct_tv[rip]
	mov	DWORD PTR 20[rdx], r8d
	je	.L9
	cmp	rsi, 1
	seta	al
	cmp	r8d, 3
	sete	cl
	and	eax, ecx
.L10:
	test	al, al
	je	.L36
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	add	rdx, 28
	call	cea708_parse_user_data_type_strcture@PLT
	mov	eax, DWORD PTR LIBCAPTION_OK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L42:
	test	r8, r8
	je	.L2
	mov	eax, DWORD PTR 12[rdi]
	sub	rsi, 4
	add	rdi, 16
	mov	DWORD PTR 20[rdx], eax
.L9:
	test	rsi, rsi
	je	.L2
	mov	eax, DWORD PTR [rdi]
	sub	rsi, 1
	add	rdi, 4
	cmp	DWORD PTR 20[rdx], 3
	mov	DWORD PTR 24[rdx], eax
	sete	al
	cmp	rsi, 1
	seta	cl
	and	eax, ecx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L12:
	test	r8, r8
	je	.L2
	cmp	rcx, QWORD PTR t35_provider_direct_tv[rip]
	lea	rdi, 4[r10]
	lea	rsi, -1[r8]
	je	.L9
	jmp	.L36
	.cfi_endproc
.LFE0:
	.size	cea708_parse_h264, .-cea708_parse_h264
	.comm	t35_provider_direct_tv,8,8
	.comm	t35_provider_atsc,8,8
	.comm	LIBCAPTION_OK,4,4
	.comm	LIBCAPTION_ERROR,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_cea708.c_cea708_parse_h264.c"
	.text
	.align	2
	.global	cea708_parse_h264
	.syntax unified
	.arm
	.fpu softvfp
	.type	cea708_parse_h264, %function
cea708_parse_h264:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #2
	bls	.L36
	mov	ip, #0
	push	{r4, lr}
	ldr	r4, .L42
	ldr	lr, [r0, #4]
	ldr	r3, [r0, #8]
	ldr	r4, [r4]
	orr	r3, r3, lr, lsl #8
	ldr	lr, [r0]
	cmp	r3, r4
	str	ip, [r2, #8]
	str	ip, [r2, #12]
	str	r3, [r2, #4]
	str	lr, [r2]
	sub	ip, r1, #3
	beq	.L40
	orrs	lr, lr, r3
	add	lr, r0, #12
	beq	.L12
	ldr	lr, .L42+4
	ldr	lr, [lr]
	cmp	r3, lr
	beq	.L41
.L6:
	ldr	r3, .L42+8
	ldr	r0, [r3]
	pop	{r4, pc}
.L40:
	cmp	ip, #3
	bls	.L2
	ldr	ip, [r0, #16]
	ldr	r4, [r0, #12]
	lsl	ip, ip, #16
	orr	ip, ip, r4, lsl #24
	ldr	r4, [r0, #24]
	orrs	lr, lr, r3
	ldr	lr, [r0, #20]
	orr	ip, ip, r4
	orr	ip, ip, lr, lsl #8
	str	ip, [r2, #8]
	add	lr, r0, #28
	sub	ip, r1, #7
	beq	.L12
	cmp	ip, #0
	beq	.L2
	ldr	ip, .L42+4
	sub	r1, r1, #8
	ldr	lr, [ip]
	ldr	ip, [r0, #28]
	cmp	r3, lr
	str	ip, [r2, #12]
	add	r0, r0, #32
	beq	.L9
	sub	r3, ip, #3
	clz	r3, r3
	cmp	r1, #1
	lsr	r3, r3, #5
	movls	r3, #0
.L10:
	cmp	r3, #0
	beq	.L6
	add	r2, r2, #20
	bl	cea708_parse_user_data_type_strcture
	b	.L6
.L2:
	ldr	r3, .L42+12
	ldr	r0, [r3]
	pop	{r4, pc}
.L36:
	ldr	r3, .L42+12
	ldr	r0, [r3]
	bx	lr
.L41:
	cmp	ip, #0
	beq	.L2
	ldr	r3, [r0, #12]
	sub	r1, r1, #4
	str	r3, [r2, #12]
	add	r0, r0, #16
.L9:
	cmp	r1, #0
	beq	.L2
	ldr	r3, [r2, #12]
	ldr	ip, [r0], #4
	sub	r3, r3, #3
	clz	r3, r3
	sub	r1, r1, #1
	cmp	r1, #1
	lsr	r3, r3, #5
	str	ip, [r2, #16]
	movls	r3, #0
	b	.L10
.L12:
	cmp	ip, #0
	beq	.L2
	ldr	r3, .L42+4
	ldr	r3, [r3]
	cmp	r3, #0
	addeq	r0, lr, #4
	subeq	r1, ip, #1
	beq	.L9
	b	.L6
.L43:
	.align	2
.L42:
	.word	t35_provider_atsc
	.word	t35_provider_direct_tv
	.word	LIBCAPTION_OK
	.word	LIBCAPTION_ERROR
	.size	cea708_parse_h264, .-cea708_parse_h264
	.comm	t35_provider_direct_tv,4,4
	.comm	t35_provider_atsc,4,4
	.comm	LIBCAPTION_OK,4,4
	.comm	LIBCAPTION_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
