	.file	"extr_target_core_iblock.c_iblock_execute_unmap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"blkdev_issue_discard() failed: %d\n"
	.text
	.p2align 4
	.type	iblock_execute_unmap, @function
iblock_execute_unmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR [rdi]
	call	IBLOCK_DEV@PLT
	mov	r13, QWORD PTR [rbx]
	mov	esi, r12d
	mov	r15d, DWORD PTR GFP_KERNEL[rip]
	mov	r14, QWORD PTR [rax]
	mov	rdi, r13
	call	target_to_linux_sector@PLT
	mov	esi, ebp
	mov	rdi, r13
	mov	r12d, eax
	call	target_to_linux_sector@PLT
	xor	r8d, r8d
	mov	ecx, r15d
	mov	edx, r12d
	mov	esi, eax
	mov	rdi, r14
	call	blkdev_issue_discard@PLT
	mov	esi, eax
	xor	eax, eax
	test	esi, esi
	js	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	eax, DWORD PTR TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	iblock_execute_unmap, .-iblock_execute_unmap
	.comm	TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE,4,4
	.comm	GFP_KERNEL,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_target_core_iblock.c_iblock_execute_unmap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"blkdev_issue_discard() failed: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iblock_execute_unmap, %function
iblock_execute_unmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, [r0]
	mov	r6, r2
	mov	r5, r1
	bl	IBLOCK_DEV
	mov	r3, r0
	ldr	r4, [r4]
	mov	r1, r5
	mov	r0, r4
	ldr	r7, [r3]
	bl	target_to_linux_sector
	mov	r1, r6
	mov	r5, r0
	mov	r0, r4
	mov	r4, #0
	bl	target_to_linux_sector
	ldr	r3, .L7
	str	r4, [sp]
	mov	r2, r0
	mov	r1, r5
	mov	r0, r7
	ldr	r3, [r3]
	bl	blkdev_issue_discard
	subs	r1, r0, #0
	movge	r0, r4
	blt	.L6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	ldr	r0, .L7+4
	bl	pr_err
	ldr	r3, .L7+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	.align	2
.L7:
	.word	GFP_KERNEL
	.word	.LC0
	.word	TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE
	.size	iblock_execute_unmap, .-iblock_execute_unmap
	.comm	TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
