	.file	"extr_wdt_pci.c_wdtpci_remove_one.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wdtpci_remove_one, @function
wdtpci_remove_one:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, wdtpci_miscdev[rip]
	call	misc_deregister@PLT
	cmp	DWORD PTR type[rip], 501
	je	.L5
.L2:
	lea	rdi, wdtpci_notifier[rip]
	call	unregister_reboot_notifier@PLT
	mov	edi, DWORD PTR irq[rip]
	lea	rsi, wdtpci_miscdev[rip]
	call	free_irq@PLT
	mov	rdi, rbp
	mov	esi, 2
	call	pci_release_region@PLT
	mov	rdi, rbp
	call	pci_disable_device@PLT
	sub	DWORD PTR dev_count[rip], 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, temp_miscdev[rip]
	call	misc_deregister@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	wdtpci_remove_one, .-wdtpci_remove_one
	.comm	wdtpci_notifier,4,4
	.comm	wdtpci_miscdev,4,4
	.comm	type,4,4
	.comm	temp_miscdev,4,4
	.comm	irq,4,4
	.comm	dev_count,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_wdt_pci.c_wdtpci_remove_one.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wdtpci_remove_one, %function
wdtpci_remove_one:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, .L6
	bl	misc_deregister
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L5
.L2:
	ldr	r0, .L6+12
	bl	unregister_reboot_notifier
	ldr	r3, .L6+16
	ldr	r1, .L6
	ldr	r0, [r3]
	bl	free_irq
	mov	r1, #2
	mov	r0, r4
	bl	pci_release_region
	mov	r0, r4
	bl	pci_disable_device
	ldr	r2, .L6+20
	ldr	r3, [r2]
	sub	r3, r3, #1
	str	r3, [r2]
	pop	{r4, pc}
.L5:
	ldr	r0, .L6+24
	bl	misc_deregister
	b	.L2
.L7:
	.align	2
.L6:
	.word	wdtpci_miscdev
	.word	type
	.word	501
	.word	wdtpci_notifier
	.word	irq
	.word	dev_count
	.word	temp_miscdev
	.size	wdtpci_remove_one, .-wdtpci_remove_one
	.comm	wdtpci_notifier,4,4
	.comm	wdtpci_miscdev,4,4
	.comm	type,4,4
	.comm	temp_miscdev,4,4
	.comm	irq,4,4
	.comm	dev_count,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
