	.file	"extr_dasd_eckd.c_dasd_eckd_uncheck_device.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dasd_eckd_uncheck_device, @function
dasd_eckd_uncheck_device:
.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
	mov	rbp, QWORD PTR 8[rdi]
	test	rbp, rbp
	je	.L1
	mov	r12, rdi
	xor	ebx, ebx
	call	dasd_alias_disconnect_device_from_lcu@PLT
	mov	QWORD PTR 40[rbp], 0
	mov	rdx, QWORD PTR [r12]
	mov	QWORD PTR 32[rbp], 0
	mov	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 16[rbp], 0
	mov	QWORD PTR 8[rbp], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 32
	mov	QWORD PTR 24[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], 0
	cmp	rbx, 256
	je	.L11
.L4:
	mov	rdi, QWORD PTR 24[rdx+rbx]
	call	kfree@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rcx, QWORD PTR 0[rbp]
	lea	rax, [rdx+rbx]
	cmp	QWORD PTR 24[rax], rcx
	jne	.L3
	mov	QWORD PTR 0[rbp], 0
	mov	QWORD PTR 8[rbp], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR 0[rbp]
	call	kfree@PLT
	mov	QWORD PTR 0[rbp], 0
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dasd_eckd_uncheck_device, .-dasd_eckd_uncheck_device
	.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_eckd.c_dasd_eckd_uncheck_device.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dasd_eckd_uncheck_device, %function
dasd_eckd_uncheck_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0, #4]
	cmp	r6, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r7, r0
	bl	dasd_alias_disconnect_device_from_lcu
	mov	r3, #0
	mov	r4, r3
	mov	r5, r3
	ldr	r2, [r7]
	str	r3, [r6, #20]
	str	r3, [r6, #16]
	str	r3, [r6, #12]
	str	r3, [r6, #8]
	str	r3, [r6, #4]
.L4:
	add	r2, r2, r4
	ldr	r0, [r2, #12]
	bl	kfree
	ldr	r2, [r7]
	ldr	r1, [r6]
	add	r3, r2, r4
	ldr	r0, [r3, #12]
	add	r4, r4, #16
	cmp	r0, r1
	streq	r5, [r6]
	streq	r5, [r6, #4]
	cmp	r4, #128
	str	r5, [r3, #12]
	str	r5, [r3, #8]
	str	r5, [r3, #4]
	str	r5, [r3]
	bne	.L4
	ldr	r0, [r6]
	bl	kfree
	str	r5, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	dasd_eckd_uncheck_device, .-dasd_eckd_uncheck_device
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
