	.file	"extr_component.c_find_components.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Looking for component %zu\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"found component %s, duplicate %u\n"
	.text
	.p2align 4
	.type	find_components, @function
find_components:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR 8[rdi]
	cmp	QWORD PTR [r12], 0
	je	.L2
	mov	rax, QWORD PTR 8[r12]
	mov	r13, rdi
	xor	ebx, ebx
	lea	r15, .LC0[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	QWORD PTR [r12], rbx
	jbe	.L2
.L6:
	mov	edi, DWORD PTR 0[r13]
	mov	r14, rax
	mov	rdx, rbx
	xor	eax, eax
	mov	rsi, r15
	mov	rbp, rbx
	call	dev_dbg@PLT
	mov	rax, QWORD PTR 8[r12]
	sal	rbp, 4
	cmp	QWORD PTR 8[rax+rbp], 0
	jne	.L3
	lea	rsi, [r14+rbp]
	mov	rdi, r13
	call	find_component@PLT
	mov	r14, rax
	test	rax, rax
	je	.L10
	mov	edi, DWORD PTR 8[rax]
	xor	ecx, ecx
	cmp	QWORD PTR [rax], 0
	setne	cl
	mov	DWORD PTR 12[rsp], ecx
	call	dev_name@PLT
	mov	ecx, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR 0[r13]
	lea	rsi, .LC1[rip]
	movsx	rdx, eax
	xor	eax, eax
	call	dev_dbg@PLT
	mov	rax, QWORD PTR 8[r12]
	xor	edx, edx
	add	rbp, rax
	cmp	QWORD PTR [r14], 0
	setne	dl
	mov	QWORD PTR 8[rbp], r14
	add	rbx, 1
	mov	DWORD PTR 0[rbp], edx
	mov	QWORD PTR [r14], r13
	cmp	QWORD PTR [r12], rbx
	ja	.L6
.L2:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR ENXIO[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
	.cfi_endproc
.LFE0:
	.size	find_components, .-find_components
	.comm	ENXIO,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_component.c_find_components.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Looking for component %zu\012\000"
	.align	2
.LC1:
	.ascii	"found component %s, duplicate %u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_components, %function
find_components:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, [r0, #4]
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L2
	mov	r8, r0
	mov	r4, #0
	ldr	r3, [r7, #4]
	ldr	r9, .L14
	ldr	r10, .L14+4
	b	.L6
.L3:
	ldr	r2, [r7]
	cmp	r2, r4
	bls	.L2
.L6:
	mov	r2, r4
	mov	r1, r9
	ldr	r0, [r8]
	mov	r6, r3
	bl	dev_dbg
	ldr	r3, [r7, #4]
	lsl	r5, r4, #3
	add	r2, r3, r5
	ldr	r2, [r2, #4]
	add	r4, r4, #1
	cmp	r2, #0
	bne	.L3
	add	r1, r6, r5
	mov	r0, r8
	bl	find_component
	subs	r6, r0, #0
	beq	.L13
	ldr	r0, [r6, #4]
	ldr	fp, [r8]
	bl	dev_name
	ldr	r3, [r6]
	mov	r2, r0
	subs	r3, r3, #0
	movne	r3, #1
	mov	r1, r10
	mov	r0, fp
	bl	dev_dbg
	ldr	r2, [r6]
	ldr	r3, [r7, #4]
	subs	r2, r2, #0
	movne	r2, #1
	str	r2, [r3, r5]
	ldr	r2, [r7]
	add	r1, r3, r5
	cmp	r2, r4
	str	r6, [r1, #4]
	str	r8, [r6]
	bhi	.L6
.L2:
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.word	ENXIO
	.size	find_components, .-find_components
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
