	.file	"extr_subr_bus.c_device_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"not probed (disabled)\n"
	.text
	.p2align 4
	.globl	device_probe
	.type	device_probe, @function
device_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR 8[rdi]
	mov	rdx, QWORD PTR DS_ALIVE[rip]
	cmp	QWORD PTR [rdi], rdx
	jl	.L2
	test	DWORD PTR DF_REBID[rip], eax
	je	.L13
.L2:
	test	DWORD PTR DF_ENABLED[rip], eax
	je	.L15
	mov	edi, DWORD PTR 12[rbp]
	mov	rsi, rbp
	call	device_probe_child@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L16
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rax, QWORD PTR BUS_PASS_DEFAULT[rip]
	cmp	QWORD PTR bus_current_pass[rip], rax
	jne	.L1
	mov	eax, DWORD PTR 8[rbp]
	test	DWORD PTR DF_DONENOMATCH[rip], eax
	jne	.L1
	mov	edi, DWORD PTR 12[rbp]
	mov	rsi, rbp
	call	BUS_PROBE_NOMATCH@PLT
	mov	rdi, rbp
	call	devnomatch@PLT
	mov	eax, DWORD PTR DF_DONENOMATCH[rip]
	or	DWORD PTR 8[rbp], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	QWORD PTR bootverbose[rip], 0
	je	.L13
	mov	rdi, rbp
	call	device_get_name@PLT
	test	rax, rax
	je	.L13
	mov	rdi, rbp
	call	device_print_prettyname@PLT
	lea	rdi, .LC0[rip]
	call	printf@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	device_probe, .-device_probe
	.comm	bus_current_pass,8,8
	.comm	bootverbose,8,8
	.comm	GIANT_REQUIRED,4,4
	.comm	DS_ALIVE,8,8
	.comm	DF_REBID,4,4
	.comm	DF_ENABLED,4,4
	.comm	DF_DONENOMATCH,4,4
	.comm	BUS_PASS_DEFAULT,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_subr_bus.c_device_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"not probed (disabled)\012\000"
	.text
	.align	2
	.global	device_probe
	.syntax unified
	.arm
	.fpu softvfp
	.type	device_probe, %function
device_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r1, [r0]
	ldr	r2, [r3]
	push	{r4, r5, r6, lr}
	cmp	r1, r2
	mov	r4, r0
	ldr	r3, [r0, #4]
	blt	.L2
	ldr	r2, .L20+4
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L16
.L2:
	ldr	r2, .L20+8
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L18
	mov	r1, r4
	ldr	r0, [r4, #8]
	bl	device_probe_child
	subs	r5, r0, #0
	bne	.L19
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L19:
	ldr	r2, .L20+12
	ldr	r3, .L20+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L1
	ldr	r6, .L20+20
	ldr	r2, [r4, #4]
	ldr	r3, [r6]
	tst	r2, r3
	bne	.L1
	mov	r1, r4
	ldr	r0, [r4, #8]
	bl	BUS_PROBE_NOMATCH
	mov	r0, r4
	bl	devnomatch
	ldr	r3, [r4, #4]
	ldr	r2, [r6]
	orr	r3, r3, r2
	str	r3, [r4, #4]
	b	.L1
.L18:
	ldr	r3, .L20+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	mov	r0, r4
	bl	device_get_name
	cmp	r0, #0
	beq	.L16
	mov	r0, r4
	bl	device_print_prettyname
	ldr	r0, .L20+28
	bl	printf
.L16:
	mvn	r5, #0
	b	.L1
.L21:
	.align	2
.L20:
	.word	DS_ALIVE
	.word	DF_REBID
	.word	DF_ENABLED
	.word	bus_current_pass
	.word	BUS_PASS_DEFAULT
	.word	DF_DONENOMATCH
	.word	bootverbose
	.word	.LC0
	.size	device_probe, .-device_probe
	.comm	bus_current_pass,4,4
	.comm	bootverbose,4,4
	.comm	GIANT_REQUIRED,4,4
	.comm	DS_ALIVE,4,4
	.comm	DF_REBID,4,4
	.comm	DF_ENABLED,4,4
	.comm	DF_DONENOMATCH,4,4
	.comm	BUS_PASS_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
