	.file	"extr_aic7770.c_aic7770_find_device.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	aic7770_find_device
	.type	aic7770_find_device, @function
aic7770_find_device:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR ahc_num_aic7770_devs[rip]
	test	edx, edx
	jle	.L4
	mov	rax, QWORD PTR aic7770_ident_table[rip]
	sub	edx, 1
	lea	rcx, 8[rax+rdx*8]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	add	rax, 8
	cmp	rax, rcx
	je	.L4
.L3:
	mov	edx, DWORD PTR 4[rax]
	and	edx, edi
	cmp	DWORD PTR [rax], edx
	jne	.L7
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	aic7770_find_device, .-aic7770_find_device
	.comm	aic7770_ident_table,8,8
	.comm	ahc_num_aic7770_devs,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_aic7770.c_aic7770_find_device.c"
	.text
	.align	2
	.global	aic7770_find_device
	.syntax unified
	.arm
	.fpu softvfp
	.type	aic7770_find_device, %function
aic7770_find_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, lr}
	ldr	r4, [r3]
	cmp	r4, #0
	ble	.L4
	ldr	r2, .L8+4
	mov	ip, r0
	ldr	lr, [r2]
	mov	r3, #0
	mov	r0, lr
.L3:
	ldr	r2, [r0, #4]
	ldr	r1, [lr, r3, lsl #3]
	and	r2, r2, ip
	cmp	r1, r2
	add	r3, r3, #1
	popeq	{r4, pc}
	cmp	r3, r4
	add	r0, r0, #8
	bne	.L3
.L4:
	mov	r0, #0
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	ahc_num_aic7770_devs
	.word	aic7770_ident_table
	.size	aic7770_find_device, .-aic7770_find_device
	.comm	aic7770_ident_table,4,4
	.comm	ahc_num_aic7770_devs,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
