	.file	"extr_iTCO_wdt.c_iTCO_wdt_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iTCO_wdt_stop, @function
iTCO_wdt_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	watchdog_get_drvdata@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	spin_lock@PLT
	mov	edi, DWORD PTR 16[rbp]
	call	iTCO_vendor_pre_stop@PLT
	mov	rdi, rbp
	call	TCO1_CNT@PLT
	mov	edi, eax
	call	inw@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	TCO1_CNT@PLT
	or	bh, 8
	mov	esi, eax
	mov	edi, ebx
	call	outw@PLT
	mov	rdi, rbp
	call	TCO1_CNT@PLT
	mov	edi, eax
	call	inw@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, 1
	mov	ebx, eax
	call	[QWORD PTR 8[rbp]]
	mov	rdi, rbp
	call	spin_unlock@PLT
	mov	eax, ebx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	shr	eax, 11
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	xor	eax, 1
	and	eax, 1
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	iTCO_wdt_stop, .-iTCO_wdt_stop
	.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_iTCO_wdt.c_iTCO_wdt_stop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iTCO_wdt_stop, %function
iTCO_wdt_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	watchdog_get_drvdata
	mov	r4, r0
	bl	spin_lock
	ldr	r0, [r4, #12]
	bl	iTCO_vendor_pre_stop
	mov	r0, r4
	bl	TCO1_CNT
	bl	inw
	mov	r5, r0
	mov	r0, r4
	bl	TCO1_CNT
	mov	r1, r0
	orr	r0, r5, #2048
	bl	outw
	mov	r0, r4
	bl	TCO1_CNT
	bl	inw
	mov	r5, r0
	ldmib	r4, {r0, r3}
	mov	r1, #1
	blx	r3
	mov	r0, r4
	bl	spin_unlock
	lsr	r0, r5, #11
	eor	r0, r0, #1
	ands	r0, r0, #1
	mvnne	r0, #0
	pop	{r4, r5, r6, pc}
	.size	iTCO_wdt_stop, .-iTCO_wdt_stop
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
