	.file	"extr_if_dme.c_dme_stop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"dme_stop, flags %#x busy %d ready %d"
	.text
	.p2align 4
	.type	dme_stop, @function
dme_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	DME_ASSERT_LOCKED@PLT
	mov	esi, DWORD PTR DME_RCR[rip]
	mov	rdi, rbx
	xor	edx, edx
	call	dme_write_reg@PLT
	mov	esi, DWORD PTR DME_IMR[rip]
	xor	edx, edx
	mov	rdi, rbx
	call	dme_write_reg@PLT
	lea	rdi, 24[rbx]
	call	callout_stop@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR IFF_DRV_RUNNING[rip]
	lea	rdi, .LC0[rip]
	or	esi, DWORD PTR IFF_DRV_OACTIVE[rip]
	mov	rdx, QWORD PTR 8[rbx]
	not	esi
	and	esi, DWORD PTR [rax]
	mov	rcx, QWORD PTR [rbx]
	mov	DWORD PTR [rax], esi
	call	DTR3@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dme_stop, .-dme_stop
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	DME_RCR,4,4
	.comm	DME_IMR,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_if_dme.c_dme_stop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dme_stop, flags %#x busy %d ready %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dme_stop, %function
dme_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	DME_ASSERT_LOCKED
	ldr	r3, .L4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	dme_write_reg
	ldr	r3, .L4+4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	dme_write_reg
	add	r0, r4, #12
	bl	callout_stop
	ldr	r1, .L4+8
	ldr	r3, .L4+12
	ldr	r2, [r4, #8]
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	orr	r3, r3, r0
	bic	r1, r1, r3
	str	r1, [r2]
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	ldr	r0, .L4+16
	bl	DTR3
	mov	r3, #0
	str	r3, [r4, #4]
	str	r3, [r4]
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	DME_RCR
	.word	DME_IMR
	.word	IFF_DRV_OACTIVE
	.word	IFF_DRV_RUNNING
	.word	.LC0
	.size	dme_stop, .-dme_stop
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	DME_RCR,4,4
	.comm	DME_IMR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
