	.file	"extr_h2645_parse.h_get_nalsize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Invalid NAL unit size (%d > %d).\n"
	.text
	.p2align 4
	.type	get_nalsize, @function
get_nalsize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, edx
	mov	r11d, DWORD PTR [rcx]
	mov	ebx, edi
	sub	eax, edi
	cmp	r11d, eax
	jge	.L2
	mov	rdi, r8
	test	ebx, ebx
	jle	.L14
	lea	eax, -1[rbx]
	lea	r9d, 1[r11]
	movsx	r8, r11d
	lea	r10, 2[rax+r8]
	movsx	r9, r9d
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR [rcx], r9d
	sal	eax, 8
	or	eax, DWORD PTR -4[rsi+r9*4]
	add	r9, 1
	cmp	r10, r9
	jne	.L5
	add	r11d, ebx
	sub	edx, r11d
	test	eax, eax
	jle	.L7
	cmp	eax, edx
	jg	.L7
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	sub	edx, r11d
	xor	eax, eax
.L7:
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	r8d, edx
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	call	av_log@PLT
	mov	eax, DWORD PTR AVERROR_INVALIDDATA[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR EAGAIN[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	AVERROR@PLT
	.cfi_endproc
.LFE0:
	.size	get_nalsize, .-get_nalsize
	.comm	EAGAIN,4,4
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,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_h2645_parse.h_get_nalsize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid NAL unit size (%d > %d).\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_nalsize, %function
get_nalsize:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r5, [r3]
	mov	r6, r0
	sub	r0, r2, r0
	sub	sp, sp, #12
	cmp	r5, r0
	ldr	r7, [sp, #32]
	bge	.L2
	cmp	r6, #0
	ble	.L14
	mov	r0, #0
	sub	ip, r5, #-1073741823
	add	r4, r6, #1
	add	ip, r1, ip, lsl #2
	add	r4, r4, r5
	add	r1, r5, #1
.L5:
	str	r1, [r3]
	ldr	lr, [ip, #4]!
	add	r1, r1, #1
	cmp	r1, r4
	orr	r0, lr, r0, lsl #8
	bne	.L5
	add	r5, r5, r6
	cmp	r0, #0
	sub	r5, r2, r5
	ble	.L7
	cmp	r0, r5
	bgt	.L7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	mov	r0, #0
	sub	r5, r2, r5
.L7:
	ldr	r2, .L15
	str	r5, [sp]
	mov	r3, r0
	ldr	r1, [r2]
	mov	r0, r7
	ldr	r2, .L15+4
	bl	av_log
	ldr	r3, .L15+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	AVERROR
.L16:
	.align	2
.L15:
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	AVERROR_INVALIDDATA
	.word	EAGAIN
	.size	get_nalsize, .-get_nalsize
	.comm	EAGAIN,4,4
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
