	.file	"extr_dm-stripe.c_stripe_map.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stripe_map, @function
stripe_map:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rdi]
	mov	rdi, rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rsi]
	test	DWORD PTR REQ_PREFLUSH[rip], eax
	jne	.L9
	call	bio_op@PLT
	xor	edi, edi
	cmp	QWORD PTR REQ_OP_DISCARD[rip], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	bio_op@PLT
	xor	edi, edi
	cmp	QWORD PTR REQ_OP_SECURE_ERASE[rip], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	bio_op@PLT
	xor	edi, edi
	cmp	QWORD PTR REQ_OP_WRITE_ZEROES[rip], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	dm_bio_get_target_bio_nr@PLT
	xor	edi, edi
	cmp	DWORD PTR [r12], eax
	mov	r13d, eax
	setbe	dil
	call	BUG_ON@PLT
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, r12
	call	stripe_map_range@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.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
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	dm_bio_get_target_bio_nr@PLT
	xor	edi, edi
	mov	ebx, eax
	cmp	DWORD PTR [r12], ebx
	setbe	dil
	sal	rbx, 4
	call	BUG_ON@PLT
	add	rbx, QWORD PTR 8[r12]
	mov	rdi, rbp
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rax]
	call	bio_set_dev@PLT
	mov	eax, DWORD PTR DM_MAPIO_REMAPPED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	bio_op@PLT
	xor	edi, edi
	cmp	QWORD PTR REQ_OP_WRITE_SAME[rip], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L5
	mov	esi, DWORD PTR 4[rbp]
	lea	rcx, 4[rbp]
	mov	rdx, rsp
	mov	rdi, r12
	call	stripe_map_sector@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdi, rbp
	sal	rax, 4
	add	rax, QWORD PTR 8[r12]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	add	DWORD PTR 4[rbp], edx
	mov	esi, DWORD PTR [rax]
	call	bio_set_dev@PLT
	mov	eax, DWORD PTR DM_MAPIO_REMAPPED[rip]
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	stripe_map, .-stripe_map
	.comm	REQ_PREFLUSH,4,4
	.comm	REQ_OP_WRITE_ZEROES,8,8
	.comm	REQ_OP_WRITE_SAME,8,8
	.comm	REQ_OP_SECURE_ERASE,8,8
	.comm	REQ_OP_DISCARD,8,8
	.comm	DM_MAPIO_REMAPPED,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-stripe.c_stripe_map.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stripe_map, %function
stripe_map:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	ldr	r2, [r1]
	ldr	r3, [r3]
	sub	sp, sp, #8
	tst	r2, r3
	ldr	r3, .L12+4
	ldr	r6, [r0]
	mov	r4, r1
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L9
	bl	bio_op
	ldr	r3, .L12+8
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	bio_op
	ldr	r3, .L12+12
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	bio_op
	ldr	r3, .L12+16
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L10
.L5:
	mov	r0, r4
	bl	dm_bio_get_target_bio_nr
	mov	r5, r0
	ldr	r0, [r6]
	cmp	r0, r5
	movhi	r0, #0
	movls	r0, #1
	bl	BUG_ON
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	stripe_map_range
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	bl	dm_bio_get_target_bio_nr
	mov	r5, r0
	ldr	r0, [r6]
	cmp	r0, r5
	movhi	r0, #0
	movls	r0, #1
	bl	BUG_ON
	ldr	r3, [r6, #4]
	mov	r0, r4
	ldr	r3, [r3, r5, lsl #3]
	ldr	r1, [r3]
	bl	bio_set_dev
	ldr	r3, .L12+20
	ldr	r0, [r3]
	b	.L1
.L10:
	mov	r0, r4
	bl	bio_op
	ldr	r3, .L12+24
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L5
	mov	r2, sp
	ldr	r1, [r4, #4]
	add	r3, r4, #4
	mov	r0, r6
	bl	stripe_map_sector
	ldr	r2, [r6, #4]
	ldr	r1, [sp]
	ldr	r3, [r4, #4]
	add	r0, r2, r1, lsl #3
	ldr	r0, [r0, #4]
	ldr	r2, [r2, r1, lsl #3]
	add	r3, r3, r0
	ldr	r1, [r2]
	mov	r0, r4
	str	r3, [r4, #4]
	bl	bio_set_dev
	ldr	r3, .L12+20
	ldr	r0, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	REQ_PREFLUSH
	.word	.LC0
	.word	REQ_OP_DISCARD
	.word	REQ_OP_SECURE_ERASE
	.word	REQ_OP_WRITE_ZEROES
	.word	DM_MAPIO_REMAPPED
	.word	REQ_OP_WRITE_SAME
	.size	stripe_map, .-stripe_map
	.comm	REQ_PREFLUSH,4,4
	.comm	REQ_OP_WRITE_ZEROES,4,4
	.comm	REQ_OP_WRITE_SAME,4,4
	.comm	REQ_OP_SECURE_ERASE,4,4
	.comm	REQ_OP_DISCARD,4,4
	.comm	DM_MAPIO_REMAPPED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
