	.file	"extr_if_re.c_re_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	re_probe, @function
re_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	pci_get_vendor@PLT
	mov	edi, r14d
	mov	r12, rax
	call	pci_get_device@PLT
	mov	edi, r14d
	mov	r13, rax
	call	pci_get_revid@PLT
	mov	edi, r14d
	mov	rbx, rax
	call	pci_get_subdevice@PLT
	cmp	QWORD PTR LINKSYS_VENDORID[rip], r12
	je	.L16
.L2:
	cmp	QWORD PTR RT_VENDORID[rip], r12
	je	.L17
.L4:
	mov	rbx, QWORD PTR re_devs[rip]
	xor	ebp, ebp
	mov	rdi, rbx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR re_devs[rip]
	add	ebp, 1
	add	rbx, 24
.L7:
	call	nitems@PLT
	cmp	eax, ebp
	jle	.L14
	cmp	QWORD PTR [rbx], r12
	jne	.L8
	cmp	QWORD PTR 8[rbx], r13
	jne	.L8
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, r14d
	call	device_set_desc@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR BUS_PROBE_DEFAULT[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	cmp	QWORD PTR LINKSYS_DEVICEID_EG1032[rip], r13
	jne	.L2
	cmp	QWORD PTR LINKSYS_SUBDEVICE_EG1032_REV3[rip], rax
	je	.L2
.L14:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR ENXIO[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	QWORD PTR RT_DEVICEID_8139[rip], r13
	jne	.L4
	cmp	rbx, 32
	je	.L4
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	re_probe, .-re_probe
	.comm	re_devs,8,8
	.comm	RT_VENDORID,8,8
	.comm	RT_DEVICEID_8139,8,8
	.comm	LINKSYS_VENDORID,8,8
	.comm	LINKSYS_SUBDEVICE_EG1032_REV3,8,8
	.comm	LINKSYS_DEVICEID_EG1032,8,8
	.comm	ENXIO,4,4
	.comm	BUS_PROBE_DEFAULT,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_if_re.c_re_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	re_probe, %function
re_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r0
	bl	pci_get_vendor
	mov	r6, r0
	mov	r0, r9
	bl	pci_get_device
	mov	r8, r0
	mov	r0, r9
	bl	pci_get_revid
	mov	r4, r0
	mov	r0, r9
	bl	pci_get_subdevice
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L12
.L2:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L13
.L4:
	ldr	r7, .L14+8
	mov	r5, #0
	ldr	r4, [r7]
	mov	r0, r4
	b	.L6
.L7:
	ldr	r0, [r7]
	add	r4, r4, #12
.L6:
	bl	nitems
	cmp	r0, r5
	ble	.L10
	ldr	r3, [r4]
	add	r5, r5, #1
	cmp	r3, r6
	bne	.L7
	ldr	r3, [r4, #4]
	cmp	r3, r8
	bne	.L7
	mov	r0, r9
	ldr	r1, [r4, #8]
	bl	device_set_desc
	ldr	r3, .L14+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	r3, r8
	bne	.L2
	ldr	r3, .L14+20
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L2
.L10:
	ldr	r3, .L14+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r3, .L14+28
	cmp	r4, #32
	ldr	r3, [r3]
	sub	r3, r3, r8
	clz	r3, r3
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	beq	.L4
	b	.L10
.L15:
	.align	2
.L14:
	.word	LINKSYS_VENDORID
	.word	RT_VENDORID
	.word	re_devs
	.word	BUS_PROBE_DEFAULT
	.word	LINKSYS_DEVICEID_EG1032
	.word	LINKSYS_SUBDEVICE_EG1032_REV3
	.word	ENXIO
	.word	RT_DEVICEID_8139
	.size	re_probe, .-re_probe
	.comm	re_devs,4,4
	.comm	RT_VENDORID,4,4
	.comm	RT_DEVICEID_8139,4,4
	.comm	LINKSYS_VENDORID,4,4
	.comm	LINKSYS_SUBDEVICE_EG1032_REV3,4,4
	.comm	LINKSYS_DEVICEID_EG1032,4,4
	.comm	ENXIO,4,4
	.comm	BUS_PROBE_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
