	.file	"extr_scsi_debug.c_delay_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.text
	.p2align 4
	.type	delay_store, @function
delay_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdx, rdx
	jne	.L15
.L2:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rsi
	mov	r12, rdx
	lea	rsi, .LC0[rip]
	lea	rdx, 4[rsp]
	call	sscanf@PLT
	cmp	eax, 1
	jne	.L2
	mov	eax, DWORD PTR 4[rsp]
	cmp	DWORD PTR sdebug_jdelay[rip], eax
	je	.L1
	mov	edi, 1
	call	block_unblock_all_queues@PLT
	mov	eax, DWORD PTR submit_queues[rip]
	mov	rbp, QWORD PTR sdebug_q_arr[rip]
	test	eax, eax
	jle	.L4
	mov	esi, DWORD PTR sdebug_max_queue[rip]
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbx, 1
	cmp	DWORD PTR submit_queues[rip], ebx
	jle	.L4
.L6:
	mov	edi, DWORD PTR 0[rbp+rbx*4]
	call	find_first_bit@PLT
	mov	esi, DWORD PTR sdebug_max_queue[rip]
	cmp	esi, eax
	je	.L5
	mov	r12d, DWORD PTR EBUSY[rip]
	neg	r12d
.L4:
	test	r12d, r12d
	jle	.L7
	mov	QWORD PTR sdebug_ndelay[rip], 0
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR sdebug_jdelay[rip], eax
.L7:
	xor	edi, edi
	call	block_unblock_all_queues@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	delay_store, .-delay_store
	.comm	submit_queues,4,4
	.comm	sdebug_q_arr,8,8
	.comm	sdebug_ndelay,8,8
	.comm	sdebug_max_queue,4,4
	.comm	sdebug_jdelay,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_scsi_debug.c_delay_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	delay_store, %function
delay_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L17
	sub	sp, sp, #12
	subs	r4, r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L15
.L2:
	ldr	r3, .L17+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L15:
	mov	r0, r1
	mov	r2, sp
	ldr	r1, .L17+8
	bl	sscanf
	cmp	r0, #1
	bne	.L2
	ldr	r7, .L17+12
	ldr	r3, [sp]
	ldr	r2, [r7]
	cmp	r2, r3
	beq	.L1
	ldr	r9, .L17+16
	bl	block_unblock_all_queues
	ldr	r2, [r9]
	ldr	r3, .L17+20
	cmp	r2, #0
	ldr	r6, [r3]
	ble	.L4
	ldr	r8, .L17+24
	mov	r5, #0
	ldr	r1, [r8]
	sub	r6, r6, #4
	b	.L6
.L5:
	ldr	r3, [r9]
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L4
.L6:
	ldr	r0, [r6, #4]!
	bl	find_first_bit
	ldr	r1, [r8]
	cmp	r1, r0
	beq	.L5
	ldr	r3, .L17+28
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L4:
	cmp	r4, #0
	movgt	r1, #0
	ldrgt	r2, .L17+32
	ldrgt	r3, [sp]
	mov	r0, #0
	strgt	r1, [r2]
	strgt	r3, [r7]
	bl	block_unblock_all_queues
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.word	sdebug_jdelay
	.word	submit_queues
	.word	sdebug_q_arr
	.word	sdebug_max_queue
	.word	EBUSY
	.word	sdebug_ndelay
	.size	delay_store, .-delay_store
	.comm	submit_queues,4,4
	.comm	sdebug_q_arr,4,4
	.comm	sdebug_ndelay,4,4
	.comm	sdebug_max_queue,4,4
	.comm	sdebug_jdelay,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
