	.file	"extr_isdnloop.c_isdnloop_stopcard.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	isdnloop_stopcard, @function
isdnloop_stopcard:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 4[rdi]
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	spin_lock_irqsave@PLT
	mov	edx, DWORD PTR [rbx]
	mov	eax, DWORD PTR ISDNLOOP_FLAGS_RUNNING[rip]
	test	edx, eax
	jne	.L9
.L2:
	xor	esi, esi
	mov	rdi, rbp
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	not	eax
	lea	rdi, 36[rbx]
	and	eax, edx
	mov	DWORD PTR [rbx], eax
	call	del_timer@PLT
	lea	rdi, 32[rbx]
	call	del_timer@PLT
	mov	rdi, QWORD PTR 24[rbx]
	call	del_timer@PLT
	mov	rax, QWORD PTR 24[rbx]
	lea	rdi, 4[rax]
	call	del_timer@PLT
	mov	eax, DWORD PTR ISDN_STAT_STOP[rip]
	mov	rdi, rsp
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR [rsp], eax
	call	[QWORD PTR 8[rbx]]
	jmp	.L2
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isdnloop_stopcard, .-isdnloop_stopcard
	.comm	ISDN_STAT_STOP,4,4
	.comm	ISDNLOOP_FLAGS_RUNNING,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_isdnloop.c_isdnloop_stopcard.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	isdnloop_stopcard, %function
isdnloop_stopcard:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r3, .L11
	add	r5, r0, #4
	sub	sp, sp, #20
	mov	r0, r5
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	spin_lock_irqsave
	ldr	r2, .L11+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L9
.L2:
	mov	r0, r5
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	mov	r0, r4
	bic	r3, r3, r2
	str	r3, [r0], #24
	bl	del_timer
	add	r0, r4, #20
	bl	del_timer
	ldr	r0, [r4, #16]
	bl	del_timer
	ldr	r0, [r4, #16]
	add	r0, r0, #4
	bl	del_timer
	ldr	r3, .L11+8
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	add	r0, sp, #4
	stmib	sp, {r2, r3}
	ldr	r3, [r4, #8]
	blx	r3
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	ISDNLOOP_FLAGS_RUNNING
	.word	ISDN_STAT_STOP
	.size	isdnloop_stopcard, .-isdnloop_stopcard
	.comm	ISDN_STAT_STOP,4,4
	.comm	ISDNLOOP_FLAGS_RUNNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
