	.file	"extr_bus.c_bus_remove_driver.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bus: '%s': remove driver %s\n"
	.text
	.p2align 4
	.globl	bus_remove_driver
	.type	bus_remove_driver, @function
bus_remove_driver:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L1
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edx, DWORD PTR 20[rdi]
	mov	rbx, rdi
	test	edx, edx
	je	.L8
.L3:
	mov	esi, DWORD PTR 4[rax]
	mov	rdi, rbx
	call	driver_remove_groups@PLT
	lea	rsi, driver_attr_uevent[rip]
	mov	rdi, rbx
	call	driver_remove_file@PLT
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, 4[rax]
	call	klist_remove@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 16[rbx]
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR [rax]
	call	pr_debug@PLT
	mov	rdi, rbx
	call	driver_detach@PLT
	mov	rdi, rbx
	call	module_remove_driver@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	kobject_put@PLT
	mov	rdi, QWORD PTR [rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	bus_put@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	remove_bind_files@PLT
	mov	rax, QWORD PTR [rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	ret
	.cfi_endproc
.LFE0:
	.size	bus_remove_driver, .-bus_remove_driver
	.comm	driver_attr_uevent,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_bus.c_bus_remove_driver.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bus: '%s': remove driver %s\012\000"
	.text
	.align	2
	.global	bus_remove_driver
	.syntax unified
	.arm
	.fpu softvfp
	.type	bus_remove_driver, %function
bus_remove_driver:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	bxeq	lr
	ldr	r2, [r0, #12]
	push	{r4, lr}
	cmp	r2, #0
	mov	r4, r0
	beq	.L8
.L3:
	ldr	r1, [r3, #4]
	mov	r0, r4
	bl	driver_remove_groups
	ldr	r1, .L9
	mov	r0, r4
	bl	driver_remove_file
	ldr	r0, [r4, #4]
	add	r0, r0, #4
	bl	klist_remove
	ldr	r3, [r4]
	ldr	r2, [r4, #8]
	ldr	r1, [r3]
	ldr	r0, .L9+4
	bl	pr_debug
	mov	r0, r4
	bl	driver_detach
	mov	r0, r4
	bl	module_remove_driver
	ldr	r0, [r4, #4]
	bl	kobject_put
	ldr	r0, [r4]
	pop	{r4, lr}
	b	bus_put
.L8:
	bl	remove_bind_files
	ldr	r3, [r4]
	b	.L3
.L10:
	.align	2
.L9:
	.word	driver_attr_uevent
	.word	.LC0
	.size	bus_remove_driver, .-bus_remove_driver
	.comm	driver_attr_uevent,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
