	.file	"extr_dasd_3990_erp.c_dasd_3990_erp_block_queue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"blocking request queue for %is"
	.text
	.p2align 4
	.type	dasd_3990_erp_block_queue, @function
dasd_3990_erp_block_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	eax, esi
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	cdq
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR DBF_INFO[rip]
	idiv	DWORD PTR HZ[rip]
	mov	rsi, r12
	lea	rdx, .LC0[rip]
	mov	ecx, eax
	call	DBF_DEV_EVENT@PLT
	mov	edi, DWORD PTR [r12]
	call	get_ccwdev_lock@PLT
	mov	rsi, r13
	mov	edi, eax
	call	spin_lock_irqsave@PLT
	mov	esi, DWORD PTR DASD_STOPPED_PENDING[rip]
	mov	rdi, r12
	call	dasd_device_set_stop_bits@PLT
	mov	edi, DWORD PTR [r12]
	call	get_ccwdev_lock@PLT
	mov	rsi, r13
	mov	edi, eax
	call	spin_unlock_irqrestore@PLT
	mov	eax, DWORD PTR DASD_CQR_FILLED[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	esi, ebp
	mov	DWORD PTR 8[rbx], eax
	test	rdi, rdi
	je	.L2
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	dasd_block_set_timer@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	dasd_device_set_timer@PLT
	.cfi_endproc
.LFE0:
	.size	dasd_3990_erp_block_queue, .-dasd_3990_erp_block_queue
	.comm	HZ,4,4
	.comm	DBF_INFO,4,4
	.comm	DASD_STOPPED_PENDING,4,4
	.comm	DASD_CQR_FILLED,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_dasd_3990_erp.c_dasd_3990_erp_block_queue.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"blocking request queue for %is\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dasd_3990_erp_block_queue, %function
dasd_3990_erp_block_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	mov	r0, r1
	ldr	r1, [r3]
	bl	__aeabi_idiv
	mov	r7, #0
	ldr	r5, [r4, #8]
	ldr	r2, .L5+4
	mov	r3, r0
	mov	r1, r5
	ldr	r0, [r2]
	ldr	r2, .L5+8
	bl	DBF_DEV_EVENT
	ldr	r0, [r5]
	bl	get_ccwdev_lock
	mov	r1, r7
	bl	spin_lock_irqsave
	ldr	r3, .L5+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	dasd_device_set_stop_bits
	ldr	r0, [r5]
	bl	get_ccwdev_lock
	mov	r1, r7
	bl	spin_unlock_irqrestore
	ldr	r3, .L5+16
	ldr	r0, [r4]
	ldr	r3, [r3]
	cmp	r0, r7
	mov	r1, r6
	str	r3, [r4, #4]
	beq	.L2
	pop	{r4, r5, r6, r7, r8, lr}
	b	dasd_block_set_timer
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	dasd_device_set_timer
.L6:
	.align	2
.L5:
	.word	HZ
	.word	DBF_INFO
	.word	.LC0
	.word	DASD_STOPPED_PENDING
	.word	DASD_CQR_FILLED
	.size	dasd_3990_erp_block_queue, .-dasd_3990_erp_block_queue
	.comm	HZ,4,4
	.comm	DBF_INFO,4,4
	.comm	DASD_STOPPED_PENDING,4,4
	.comm	DASD_CQR_FILLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
