	.file	"extr_dasd_3990_erp.c_dasd_3990_erp_DCTL.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unable to allocate DCTL-CQR\n"
	.text
	.p2align 4
	.type	dasd_3990_erp_DCTL, @function
dasd_3990_erp_DCTL:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, 8
	mov	r14, rdi
	add	rdi, 16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	mov	esi, 1
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 16[rdi]
	mov	rcx, rbx
	call	dasd_alloc_erp_request@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L6
	mov	r13, QWORD PTR 72[r12]
	mov	edx, 24
	xor	esi, esi
	mov	BYTE PTR 4[r13], bpl
	mov	rbp, QWORD PTR 64[r12]
	mov	DWORD PTR 0[r13], 2
	mov	rdi, rbp
	call	memset@PLT
	mov	eax, DWORD PTR CCW_CMD_DCTL[rip]
	mov	QWORD PTR 8[rbp], r13
	mov	DWORD PTR 0[rbp], 4
	mov	DWORD PTR 16[rbp], eax
	mov	eax, DWORD PTR 56[r14]
	mov	QWORD PTR 40[r12], r14
	mov	DWORD PTR 56[r12], eax
	lea	rax, dasd_3990_erp_DCTL[rip]
	mov	QWORD PTR 48[r12], rax
	mov	rax, QWORD PTR 16[r14]
	mov	QWORD PTR 32[r12], rbx
	mov	QWORD PTR 16[r12], rax
	imul	eax, DWORD PTR HZ[rip], 300
	mov	QWORD PTR 24[r12], rbx
	mov	DWORD PTR 4[r12], 2
	mov	DWORD PTR [r12], eax
	xor	eax, eax
	call	get_clock@PLT
	mov	DWORD PTR 12[r12], eax
	mov	eax, DWORD PTR DASD_CQR_FILLED[rip]
	mov	DWORD PTR 8[r12], eax
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	r12, r14
	call	dev_err@PLT
	mov	eax, DWORD PTR DASD_CQR_FAILED[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	DWORD PTR 8[r14], eax
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dasd_3990_erp_DCTL, .-dasd_3990_erp_DCTL
	.comm	HZ,4,4
	.comm	DASD_CQR_FILLED,4,4
	.comm	DASD_CQR_FAILED,4,4
	.comm	CCW_CMD_DCTL,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_DCTL.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate DCTL-CQR\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dasd_3990_erp_DCTL, %function
dasd_3990_erp_DCTL:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r0, #24]
	mov	r2, #8
	mov	r3, r6
	mov	r5, r0
	mov	r9, r1
	add	r0, r0, #16
	mov	r1, #1
	bl	dasd_alloc_erp_request
	mov	r4, r0
	bl	IS_ERR
	subs	r1, r0, #0
	bne	.L6
	mov	r8, #2
	ldr	r7, [r4, #44]
	mov	r2, #12
	strb	r9, [r7, #4]
	ldr	r3, [r4, #40]
	str	r8, [r7]
	mov	r0, r3
	bl	memset
	mov	lr, #4
	mov	r3, r0
	ldr	r2, .L7
	ldr	r1, .L7+4
	ldr	r2, [r2]
	ldr	r1, [r1]
	add	r2, r2, r2, lsl r8
	ldr	ip, [r5, #36]
	rsb	r2, r2, r2, lsl lr
	str	r7, [r0, #4]
	ldr	r0, [r5, #16]
	str	r1, [r3, #8]
	ldr	r1, .L7+8
	lsl	r2, r2, r8
	str	lr, [r3]
	str	ip, [r4, #36]
	str	r5, [r4, #28]
	str	r8, [r4, #4]
	str	r0, [r4, #16]
	str	r6, [r4, #24]
	str	r6, [r4, #20]
	str	r2, [r4]
	str	r1, [r4, #32]
	bl	get_clock
	ldr	r3, .L7+12
	str	r0, [r4, #12]
	ldr	r3, [r3]
	mov	r0, r4
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r4, r5
	ldr	r0, [r6]
	ldr	r1, .L7+16
	bl	dev_err
	ldr	r3, .L7+20
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r5, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	HZ
	.word	CCW_CMD_DCTL
	.word	dasd_3990_erp_DCTL
	.word	DASD_CQR_FILLED
	.word	.LC0
	.word	DASD_CQR_FAILED
	.size	dasd_3990_erp_DCTL, .-dasd_3990_erp_DCTL
	.comm	HZ,4,4
	.comm	DASD_CQR_FILLED,4,4
	.comm	DASD_CQR_FAILED,4,4
	.comm	CCW_CMD_DCTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
