	.file	"extr_au0828-video.c_vidioc_g_chip_ident.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vidioc_g_chip_ident, @function
vidioc_g_chip_ident:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, 8[rdx]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR V4L2_IDENT_NONE[rip]
	mov	rbp, QWORD PTR [rsi]
	mov	QWORD PTR 16[rdx], 0
	mov	QWORD PTR [rdx], rax
	call	v4l2_chip_match_host@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR V4L2_IDENT_AU0828[rip]
	mov	QWORD PTR [rbx], rax
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR g_chip_ident[rip]
	mov	r8, rbx
	xor	esi, esi
	mov	rdi, rbp
	mov	edx, DWORD PTR core[rip]
	call	v4l2_device_call_all@PLT
	mov	rcx, QWORD PTR V4L2_IDENT_NONE[rip]
	xor	eax, eax
	cmp	QWORD PTR [rbx], rcx
	jne	.L1
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	vidioc_g_chip_ident, .-vidioc_g_chip_ident
	.comm	g_chip_ident,4,4
	.comm	core,4,4
	.comm	V4L2_IDENT_NONE,8,8
	.comm	V4L2_IDENT_AU0828,8,8
	.comm	EINVAL,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_au0828-video.c_vidioc_g_chip_ident.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vidioc_g_chip_ident, %function
vidioc_g_chip_ident:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, #0
	ldr	r7, .L6
	ldr	r8, [r1]
	ldr	r3, [r7]
	sub	sp, sp, #8
	str	r6, [r2, #8]
	str	r3, [r2]
	add	r0, r2, #4
	mov	r4, r2
	bl	v4l2_chip_match_host
	subs	r5, r0, #0
	beq	.L2
	mov	r5, r6
	mov	r0, r5
	ldr	r3, .L6+4
	ldr	r3, [r3]
	str	r3, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L6+8
	ldr	r2, .L6+12
	str	r4, [sp]
	mov	r1, r5
	mov	r0, r8
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	v4l2_device_call_all
	ldr	r3, [r7]
	ldr	r2, [r4]
	cmp	r2, r3
	ldreq	r3, .L6+16
	ldreq	r5, [r3]
	rsbeq	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	V4L2_IDENT_NONE
	.word	V4L2_IDENT_AU0828
	.word	g_chip_ident
	.word	core
	.word	EINVAL
	.size	vidioc_g_chip_ident, .-vidioc_g_chip_ident
	.comm	g_chip_ident,4,4
	.comm	core,4,4
	.comm	V4L2_IDENT_NONE,4,4
	.comm	V4L2_IDENT_AU0828,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
