	.file	"extr_scsi_debug.c_stop_all_queued.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stop_all_queued, @function
stop_all_queued:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	lea	rdi, queued_arr_lock[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR scsi_debug_max_queue[rip]
	test	eax, eax
	jle	.L2
	xor	r12d, r12d
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbx, QWORD PTR queued_arr[rip]
	add	rbx, r12
	cmp	QWORD PTR 8[rbx], 0
	je	.L3
	cmp	QWORD PTR [rbx], 0
	je	.L3
	lea	rdi, 16[rbx]
	call	del_timer_sync@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
.L3:
	add	ebp, 1
	add	r12, 24
	cmp	DWORD PTR scsi_debug_max_queue[rip], ebp
	jg	.L4
.L2:
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	esi, esi
	lea	rdi, queued_arr_lock[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	stop_all_queued, .-stop_all_queued
	.comm	scsi_debug_max_queue,4,4
	.comm	queued_arr_lock,4,4
	.comm	queued_arr,8,8
	.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_scsi_debug.c_stop_all_queued.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop_all_queued, %function
stop_all_queued:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, .L14
	mov	r1, #0
	ldr	r0, .L14+4
	bl	spin_lock_irqsave
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	mov	r5, r4
	mov	r9, r4
	ldr	r8, .L14+8
.L4:
	ldr	r3, [r8]
	add	r5, r5, #1
	add	r6, r3, r4
	ldr	r2, [r6, #4]
	cmp	r2, #0
	beq	.L3
	ldr	r3, [r3, r4]
	add	r0, r6, #8
	cmp	r3, #0
	beq	.L3
	bl	del_timer_sync
	str	r9, [r6, #4]
	str	r9, [r6]
.L3:
	ldr	r3, [r7]
	add	r4, r4, #12
	cmp	r3, r5
	bgt	.L4
.L2:
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #0
	ldr	r0, .L14+4
	b	spin_unlock_irqrestore
.L15:
	.align	2
.L14:
	.word	scsi_debug_max_queue
	.word	queued_arr_lock
	.word	queued_arr
	.size	stop_all_queued, .-stop_all_queued
	.comm	scsi_debug_max_queue,4,4
	.comm	queued_arr_lock,4,4
	.comm	queued_arr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
