	.file	"extr_ffmpeg_hw.c_hw_device_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hw_device_add, @function
hw_device_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, DWORD PTR nb_hw_devices[rip]
	mov	edx, 8
	lea	rdi, hw_devices[rip]
	lea	esi, 1[rax]
	call	av_reallocp_array@PLT
	test	eax, eax
	jne	.L9
	movsx	rdx, DWORD PTR nb_hw_devices[rip]
	mov	rax, QWORD PTR hw_devices[rip]
	mov	edi, 4
	lea	rbx, [rax+rdx*8]
	call	av_mallocz@PLT
	movsx	rcx, DWORD PTR nb_hw_devices[rip]
	mov	rdx, QWORD PTR hw_devices[rip]
	mov	QWORD PTR [rbx], rax
	mov	r8, QWORD PTR [rdx+rcx*8]
	mov	rax, rcx
	test	r8, r8
	je	.L1
	add	eax, 1
	mov	DWORD PTR nb_hw_devices[rip], eax
.L1:
	mov	rax, r8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	DWORD PTR nb_hw_devices[rip], 0
	xor	r8d, r8d
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	hw_device_add, .-hw_device_add
	.comm	nb_hw_devices,4,4
	.comm	hw_devices,8,8
	.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_ffmpeg_hw.c_hw_device_add.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hw_device_add, %function
hw_device_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, .L10
	ldr	r5, .L10+4
	ldr	r1, [r4]
	mov	r0, r5
	mov	r2, #4
	add	r1, r1, #1
	bl	av_reallocp_array
	cmp	r0, #0
	bne	.L9
	mov	r0, #4
	ldr	r7, [r4]
	ldr	r6, [r5]
	bl	av_mallocz
	ldr	r3, [r4]
	ldr	r2, [r5]
	str	r0, [r6, r7, lsl #2]
	ldr	r0, [r2, r3, lsl #2]
	cmp	r0, #0
	addne	r3, r3, #1
	strne	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, #0
	str	r0, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	nb_hw_devices
	.word	hw_devices
	.size	hw_device_add, .-hw_device_add
	.comm	nb_hw_devices,4,4
	.comm	hw_devices,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
