	.file	"extr_dm.c__dm_request.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_dm_request, @function
_dm_request:
.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	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	bio_data_dir@PLT
	mov	rbp, QWORD PTR 0[rbp]
	movsx	rbx, eax
	mov	rdi, rbp
	call	down_read@PLT
	xor	eax, eax
	call	part_stat_lock@PLT
	mov	rdi, rbp
	mov	r13d, eax
	mov	rax, QWORD PTR ios[rip]
	mov	r14d, DWORD PTR [rax+rbx*4]
	call	dm_disk@PLT
	mov	edi, r13d
	mov	edx, r14d
	mov	rsi, rax
	call	part_stat_inc@PLT
	mov	rdi, r12
	call	bio_sectors@PLT
	mov	rdi, rbp
	mov	r14d, eax
	mov	rax, QWORD PTR sectors[rip]
	mov	r15d, DWORD PTR [rax+rbx*4]
	call	dm_disk@PLT
	mov	ecx, r14d
	mov	edi, r13d
	mov	rsi, rax
	mov	edx, r15d
	call	part_stat_add@PLT
	xor	eax, eax
	call	part_stat_unlock@PLT
	mov	edi, DWORD PTR DMF_BLOCK_IO_FOR_SUSPEND[rip]
	lea	rsi, 4[rbp]
	call	test_bit@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, rbp
	mov	rsi, r12
	call	__split_and_process_bio@PLT
	mov	rdi, rbp
	call	up_read@PLT
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	mov	rdi, rbp
	call	up_read@PLT
	mov	rdi, r12
	call	bio_rw@PLT
	cmp	rax, QWORD PTR READA[rip]
	je	.L3
	mov	rsi, r12
	mov	rdi, rbp
	call	queue_io@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r12
	call	bio_io_error@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	_dm_request, .-_dm_request
	.comm	sectors,8,8
	.comm	ios,8,8
	.comm	READA,8,8
	.comm	DMF_BLOCK_IO_FOR_SUSPEND,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.c__dm_request.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_dm_request, %function
_dm_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	bl	bio_data_dir
	ldr	r4, [r4]
	mov	r7, r0
	mov	r0, r4
	bl	down_read
	bl	part_stat_lock
	mov	r6, r0
	mov	r0, r4
	bl	dm_disk
	ldr	r3, .L8
	mov	r1, r0
	ldr	r3, [r3]
	mov	r0, r6
	ldr	r2, [r3, r7, lsl #2]
	bl	part_stat_inc
	mov	r0, r4
	bl	dm_disk
	ldr	r3, .L8+4
	mov	r8, r0
	ldr	r3, [r3]
	mov	r0, r5
	ldr	r7, [r3, r7, lsl #2]
	bl	bio_sectors
	mov	r2, r7
	mov	r3, r0
	mov	r1, r8
	mov	r0, r6
	bl	part_stat_add
	bl	part_stat_unlock
	ldr	r3, .L8+8
	add	r1, r4, #4
	ldr	r0, [r3]
	bl	test_bit
	bl	unlikely
	cmp	r0, #0
	bne	.L7
	mov	r1, r5
	mov	r0, r4
	bl	__split_and_process_bio
	mov	r0, r4
	bl	up_read
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	bl	up_read
	mov	r0, r5
	bl	bio_rw
	ldr	r3, .L8+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	mov	r1, r5
	mov	r0, r4
	bl	queue_io
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r5
	bl	bio_io_error
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	ios
	.word	sectors
	.word	DMF_BLOCK_IO_FOR_SUSPEND
	.word	READA
	.size	_dm_request, .-_dm_request
	.comm	sectors,4,4
	.comm	ios,4,4
	.comm	READA,4,4
	.comm	DMF_BLOCK_IO_FOR_SUSPEND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
