	.file	"extr_dm-crypt.c_crypt_map.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	crypt_map, @function
crypt_map:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rsi]
	test	DWORD PTR BIO_FLUSH[rip], eax
	je	.L2
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 8[rsi], eax
	mov	eax, DWORD PTR DM_MAPIO_REMAPPED[rip]
	add	rsp, 8
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rsi]
	call	dm_target_offset@PLT
	mov	rsi, rbp
	mov	rdi, r12
	mov	edx, eax
	call	crypt_io_alloc@PLT
	mov	edi, DWORD PTR [rax]
	mov	rbp, rax
	call	bio_data_dir@PLT
	cmp	rax, QWORD PTR READ[rip]
	mov	rdi, rbp
	je	.L8
	call	kcryptd_queue_crypt@PLT
.L5:
	mov	eax, DWORD PTR DM_MAPIO_SUBMITTED[rip]
	add	rsp, 8
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	call	kcryptd_queue_io@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	crypt_map, .-crypt_map
	.comm	READ,8,8
	.comm	DM_MAPIO_SUBMITTED,4,4
	.comm	DM_MAPIO_REMAPPED,4,4
	.comm	BIO_FLUSH,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_dm-crypt.c_crypt_map.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_map, %function
crypt_map:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	ldr	r2, [r1]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	tst	r2, r3
	mov	r4, r1
	mov	r5, r0
	beq	.L2
	ldr	r3, [r0]
	ldr	r2, .L9+4
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r3, [r1, #8]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r1, [r1, #4]
	bl	dm_target_offset
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	bl	crypt_io_alloc
	mov	r4, r0
	ldr	r0, [r0]
	bl	bio_data_dir
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r0, r3
	mov	r0, r4
	beq	.L8
	bl	kcryptd_queue_crypt
.L5:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	bl	kcryptd_queue_io
	b	.L5
.L10:
	.align	2
.L9:
	.word	BIO_FLUSH
	.word	DM_MAPIO_REMAPPED
	.word	READ
	.word	DM_MAPIO_SUBMITTED
	.size	crypt_map, .-crypt_map
	.comm	READ,4,4
	.comm	DM_MAPIO_SUBMITTED,4,4
	.comm	DM_MAPIO_REMAPPED,4,4
	.comm	BIO_FLUSH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
