	.file	"extr_cardbus.c_cardbus_driver_added.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"pci%d:%d:%d:%d: reprobing on driver added\n"
	.text
	.p2align 4
	.type	cardbus_driver_added, @function
cardbus_driver_added:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	esi, r12d
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	DEVICE_IDENTIFY@PLT
	lea	rdx, 12[rsp]
	lea	rsi, 16[rsp]
	mov	edi, r12d
	call	device_get_children@PLT
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR 12[rsp]
	xor	ebp, ebp
	xor	ebx, ebx
	test	eax, eax
	jg	.L3
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	mov	eax, DWORD PTR 12[rsp]
	add	ebx, 1
	add	rbp, 4
	cmp	eax, ebx
	jle	.L6
.L3:
	mov	rax, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rax+rbp]
	call	device_get_state@PLT
	cmp	rax, QWORD PTR DS_NOTPRESENT[rip]
	je	.L27
	mov	eax, DWORD PTR 12[rsp]
	test	ebx, ebx
	jne	.L6
.L7:
	test	eax, eax
	jle	.L8
	xor	ebx, ebx
	lea	r13, .LC0[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	add	rbx, 1
	cmp	DWORD PTR 12[rsp], ebx
	jle	.L8
.L13:
	mov	rax, QWORD PTR 16[rsp]
	mov	ebp, DWORD PTR [rax+rbx*4]
	mov	edi, ebp
	call	device_get_state@PLT
	cmp	rax, QWORD PTR DS_NOTPRESENT[rip]
	jne	.L10
	mov	edi, ebp
	call	device_get_ivars@PLT
	mov	rdi, rax
	mov	r12, rax
	call	pci_print_verbose@PLT
	cmp	QWORD PTR bootverbose[rip], 0
	jne	.L28
.L11:
	mov	edi, DWORD PTR 16[r12]
	mov	rsi, r12
	call	pci_cfg_restore@PLT
	mov	edi, ebp
	call	device_probe_and_attach@PLT
	test	rax, rax
	je	.L10
	mov	edx, 1
	mov	rsi, r12
	mov	edi, ebp
	add	rbx, 1
	call	pci_cfg_save@PLT
	cmp	DWORD PTR 12[rsp], ebx
	jg	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR M_TEMP[rip]
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	ecx, DWORD PTR 8[r12]
	mov	edx, DWORD PTR 4[r12]
	mov	rdi, r13
	mov	r8d, DWORD PTR 12[r12]
	mov	esi, DWORD PTR [r12]
	call	printf@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	ebx, eax
	jne	.L7
	mov	edi, r12d
	call	device_get_parent@PLT
	mov	esi, r12d
	mov	edi, eax
	call	POWER_ENABLE_SOCKET@PLT
	mov	eax, DWORD PTR 12[rsp]
	jmp	.L7
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cardbus_driver_added, .-cardbus_driver_added
	.comm	bootverbose,8,8
	.comm	M_TEMP,4,4
	.comm	DS_NOTPRESENT,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_cardbus.c_cardbus_driver_added.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pci%d:%d:%d:%d: reprobing on driver added\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cardbus_driver_added, %function
cardbus_driver_added:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r0
	ldr	r3, .L32
	sub	sp, sp, #28
	mov	r0, r1
	mov	r1, r6
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	DEVICE_IDENTIFY
	mov	r0, r6
	add	r2, sp, #12
	add	r1, sp, #16
	bl	device_get_children
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, [sp, #12]
	cmp	r3, #0
	movgt	r5, r4
	ldrgt	r7, .L32+4
	bgt	.L3
	b	.L8
.L29:
	ldr	r3, [sp, #12]
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L6
.L3:
	ldr	r3, [sp, #16]
	ldr	r0, [r3, r5, lsl #2]
	bl	device_get_state
	ldr	r3, [r7]
	cmp	r0, r3
	beq	.L29
	cmp	r5, #0
	ldr	r3, [sp, #12]
	bne	.L6
.L7:
	cmp	r3, #0
	ble	.L8
	ldr	r8, .L32+8
	ldr	r9, .L32+12
	b	.L13
.L10:
	ldr	r3, [sp, #12]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L8
.L13:
	ldr	r3, [sp, #16]
	ldr	r5, [r3, r4, lsl #2]
	mov	r0, r5
	bl	device_get_state
	ldr	r3, [r7]
	cmp	r0, r3
	bne	.L10
	mov	r0, r5
	bl	device_get_ivars
	mov	r6, r0
	bl	pci_print_verbose
	ldr	r3, [r8]
	cmp	r3, #0
	bne	.L30
.L11:
	mov	r1, r6
	ldr	r0, [r6, #16]
	bl	pci_cfg_restore
	mov	r0, r5
	bl	device_probe_and_attach
	cmp	r0, #0
	beq	.L10
	mov	r1, r6
	mov	r0, r5
	mov	r2, #1
	bl	pci_cfg_save
	ldr	r3, [sp, #12]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L13
.L8:
	ldr	r3, .L32+16
	ldr	r0, [sp, #16]
	ldr	r1, [r3]
	bl	free
.L1:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L30:
	ldr	r0, [r6, #12]
	ldm	r6, {r1, r2, r3}
	str	r0, [sp]
	mov	r0, r9
	bl	printf
	b	.L11
.L6:
	cmp	r5, r3
	bne	.L7
	mov	r0, r6
	bl	device_get_parent
	mov	r1, r6
	bl	POWER_ENABLE_SOCKET
	ldr	r3, [sp, #12]
	b	.L7
.L31:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	.LC1
	.word	DS_NOTPRESENT
	.word	bootverbose
	.word	.LC0
	.word	M_TEMP
	.size	cardbus_driver_added, .-cardbus_driver_added
	.comm	bootverbose,4,4
	.comm	M_TEMP,4,4
	.comm	DS_NOTPRESENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
