	.file	"extr_hevc_parse.c_hevc_decode_nal_units.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Ignoring NAL type %d in extradata\n"
	.text
	.p2align 4
	.type	hevc_decode_nal_units, @function
hevc_decode_nal_units:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10, rdi
	pxor	xmm0, xmm0
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	mov	edx, esi
	mov	rsi, r10
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rdi, 16[rsp]
	movaps	XMMWORD PTR 16[rsp], xmm0
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	eax, DWORD PTR AV_CODEC_ID_HEVC[rip]
	mov	rbx, QWORD PTR 136[rsp]
	mov	QWORD PTR 16[rsp], rdi
	mov	QWORD PTR 40[rsp], 0
	push	0
	.cfi_def_cfa_offset 128
	mov	rcx, rbx
	push	1
	.cfi_def_cfa_offset 136
	push	rax
	.cfi_def_cfa_offset 144
	call	ff_h2645_packet_split@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 112
	mov	r15d, eax
	test	eax, eax
	js	.L2
	mov	eax, DWORD PTR 16[rsp]
	test	eax, eax
	jle	.L2
	xor	r13d, r13d
	lea	r14, .LC0[rip]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	r8d, 129
	jne	.L7
	mov	ecx, DWORD PTR 120[rsp]
	add	rdi, 4
	mov	rdx, rbp
	mov	rsi, rbx
	call	ff_hevc_decode_nal_sps@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	add	r13, 1
	cmp	DWORD PTR 16[rsp], r13d
	jle	.L2
.L10:
	mov	rax, QWORD PTR 24[rsp]
	lea	rdi, [rax+r13*8]
	mov	r8d, DWORD PTR [rdi]
	cmp	r8d, 131
	jg	.L3
	cmp	r8d, 129
	jg	.L4
	cmp	r8d, 128
	jne	.L18
	add	rdi, 4
	mov	rdx, rbp
	mov	rsi, rbx
	call	ff_hevc_decode_nal_vps@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, QWORD PTR 8[rsp]
	call	ff_h2645_packet_uninit@PLT
	mov	eax, DWORD PTR 112[rsp]
	and	eax, DWORD PTR AV_EF_EXPLODE[rip]
	cmovne	eax, r15d
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	r8d, 132
	jne	.L7
	add	rdi, 4
	mov	rdx, rbp
	mov	rsi, rbx
	call	ff_hevc_decode_nal_pps@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L9
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR AV_LOG_VERBOSE[rip]
	mov	ecx, r8d
	mov	rdx, r14
	mov	rdi, rbx
	call	av_log@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	add	rdi, 4
	mov	rcx, rbp
	mov	rdx, r12
	mov	rsi, rbx
	call	ff_hevc_decode_nal_sei@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L9
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hevc_decode_nal_units, .-hevc_decode_nal_units
	.comm	AV_LOG_VERBOSE,4,4
	.comm	AV_EF_EXPLODE,4,4
	.comm	AV_CODEC_ID_HEVC,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_hevc_parse.c_hevc_decode_nal_units.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Ignoring NAL type %d in extradata\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hevc_decode_nal_units, %function
hevc_decode_nal_units:
	@ args = 20, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	mov	r9, r1
	mov	lr, #1
	sub	sp, sp, #44
	mov	r8, r3
	ldr	r3, .L19
	ldr	ip, [sp, #80]
	ldr	r5, [r3]
	ldr	r7, [sp, #96]
	ldr	r3, [sp, #84]
	str	ip, [sp]
	ldr	ip, .L19+4
	str	r5, [sp, #8]
	str	r3, [sp, #4]
	mov	r1, r0
	str	r4, [sp, #16]
	str	lr, [sp, #12]
	mov	r6, r2
	mov	r3, r7
	mov	r2, r9
	add	r0, sp, #24
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	ldr	r9, [sp, #92]
	str	r4, [sp, #24]
	str	r4, [sp, #28]
	str	r4, [sp, #32]
	bl	ff_h2645_packet_split
	subs	r5, r0, #0
	blt	.L2
	ldr	r3, [sp, #24]
	cmp	r3, r4
	ble	.L2
	ldr	fp, .L19+8
	ldr	r10, .L19+12
.L10:
	ldr	r0, [sp, #28]
	ldr	r3, [r0, r4, lsl #3]
	add	r0, r0, r4, lsl #3
	sub	r2, r3, #128
	cmp	r2, #4
	ldrls	pc, [pc, r2, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L6
	.word	.L4
.L6:
	str	r3, [sp]
	mov	r2, r8
	mov	r3, r6
	mov	r1, r7
	add	r0, r0, #4
	bl	ff_hevc_decode_nal_sei
	subs	r5, r0, #0
	blt	.L2
.L9:
	ldr	r3, [sp, #24]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L10
.L2:
	add	r0, sp, #24
	bl	ff_h2645_packet_uninit
	ldr	r3, .L19+16
	ldr	r0, [r3]
	ldr	r3, [sp, #88]
	ands	r0, r3, r0
	ldr	r3, .L19+4
	movne	r0, r5
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r3, r9
	mov	r2, r6
	mov	r1, r7
	add	r0, r0, #4
	bl	ff_hevc_decode_nal_sps
	subs	r5, r0, #0
	bge	.L9
	b	.L2
.L8:
	mov	r2, r6
	mov	r1, r7
	add	r0, r0, #4
	bl	ff_hevc_decode_nal_vps
	subs	r5, r0, #0
	bge	.L9
	b	.L2
.L4:
	mov	r2, r6
	mov	r1, r7
	add	r0, r0, #4
	bl	ff_hevc_decode_nal_pps
	subs	r5, r0, #0
	bge	.L9
	b	.L2
.L18:
	bl	__stack_chk_fail
.L3:
	mov	r2, r10
	mov	r0, r7
	ldr	r1, [fp]
	bl	av_log
	b	.L9
.L20:
	.align	2
.L19:
	.word	AV_CODEC_ID_HEVC
	.word	.LC1
	.word	AV_LOG_VERBOSE
	.word	.LC0
	.word	AV_EF_EXPLODE
	.size	hevc_decode_nal_units, .-hevc_decode_nal_units
	.comm	AV_LOG_VERBOSE,4,4
	.comm	AV_EF_EXPLODE,4,4
	.comm	AV_CODEC_ID_HEVC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
