	.file	"extr_ipmi_si_platform.c_ipmi_remove_platform_device_by_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ipmi_remove_platform_device_by_name
	.type	ipmi_remove_platform_device_by_name, @function
ipmi_remove_platform_device_by_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, platform_bus_type[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	to_platform_device@PLT
	mov	rdi, rax
	call	platform_device_unregister@PLT
	mov	rdi, rbp
	call	put_device@PLT
.L2:
	mov	ecx, DWORD PTR pdev_match_name[rip]
	mov	rdx, rbx
	xor	esi, esi
	mov	rdi, r12
	call	bus_find_device@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ipmi_remove_platform_device_by_name, .-ipmi_remove_platform_device_by_name
	.comm	platform_bus_type,4,4
	.comm	pdev_match_name,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_ipmi_si_platform.c_ipmi_remove_platform_device_by_name.c"
	.text
	.align	2
	.global	ipmi_remove_platform_device_by_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipmi_remove_platform_device_by_name, %function
ipmi_remove_platform_device_by_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r7, .L7
	ldr	r6, .L7+4
.L2:
	mov	r2, r5
	mov	r1, #0
	mov	r0, r6
	ldr	r3, [r7]
	bl	bus_find_device
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	bl	to_platform_device
	bl	platform_device_unregister
	mov	r0, r4
	bl	put_device
	b	.L2
.L8:
	.align	2
.L7:
	.word	pdev_match_name
	.word	platform_bus_type
	.size	ipmi_remove_platform_device_by_name, .-ipmi_remove_platform_device_by_name
	.comm	platform_bus_type,4,4
	.comm	pdev_match_name,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
