	.file	"extr_dm-thin.c_process_shared_bio.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	process_shared_bio, @function
process_shared_bio:
.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
	mov	r13, r8
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r15, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR [rcx]
	mov	DWORD PTR 12[rsp], edx
	mov	edi, DWORD PTR [rdi]
	lea	r14, 28[rsp]
	mov	rdx, r14
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	build_data_key@PLT
	lea	rcx, 32[rsp]
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, r15
	call	bio_detain@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, r12
	call	bio_data_dir@PLT
	cmp	rax, QWORD PTR WRITE[rip]
	jne	.L4
	cmp	QWORD PTR [r12], 0
	jne	.L10
.L4:
	mov	esi, 4
	mov	rdi, r12
	call	dm_per_bio_data@PLT
	mov	edi, DWORD PTR [r15]
	mov	r14, rax
	call	dm_deferred_entry_inc@PLT
	mov	rsi, r12
	mov	rdi, r15
	mov	DWORD PTR [r14], eax
	call	inc_all_io_entry@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rsi, r12
	mov	rdi, rbp
	call	remap_and_issue@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, rbp
	call	remap_and_issue_shared_cell@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rsi, r13
	mov	rdi, rbp
	call	remap_and_issue_shared_cell@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 56
	.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
.L10:
	.cfi_restore_state
	mov	r9, QWORD PTR 32[rsp]
	mov	edx, DWORD PTR 12[rsp]
	mov	r8, rbx
	mov	rcx, r14
	mov	rsi, r12
	mov	rdi, rbp
	call	break_sharing@PLT
.L8:
	mov	rsi, r13
	mov	rdi, rbp
	call	cell_defer_no_holder@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_shared_bio, .-process_shared_bio
	.comm	WRITE,8,8
	.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-thin.c_process_shared_bio.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_shared_bio, %function
process_shared_bio:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r1
	sub	sp, sp, #28
	ldr	r8, [r0, #4]
	ldr	r1, [r3]
	mov	r6, r3
	ldr	r3, .L15
	mov	r4, r0
	mov	r7, r2
	ldr	r0, [r0]
	add	r2, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r9, [sp, #56]
	bl	build_data_key
	mov	r0, r8
	mov	r2, r5
	add	r1, sp, #16
	add	r3, sp, #12
	bl	bio_detain
	cmp	r0, #0
	bne	.L11
	mov	r0, r5
	bl	bio_data_dir
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L4
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L13
.L4:
	mov	r1, #4
	mov	r0, r5
	bl	dm_per_bio_data
	mov	r7, r0
	ldr	r0, [r8]
	bl	dm_deferred_entry_inc
	mov	r3, r0
	mov	r1, r5
	str	r3, [r7]
	mov	r0, r8
	bl	inc_all_io_entry
	mov	r1, r5
	ldr	r2, [r6]
	mov	r0, r4
	bl	remap_and_issue
	ldr	r2, [r6]
	ldr	r1, [sp, #12]
	mov	r0, r4
	bl	remap_and_issue_shared_cell
	mov	r1, r9
	mov	r0, r4
	ldr	r2, [r6]
	bl	remap_and_issue_shared_cell
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r0, [sp, #12]
	mov	r2, r7
	str	r0, [sp, #4]
	mov	r1, r5
	mov	r0, r4
	str	r6, [sp]
	add	r3, sp, #16
	bl	break_sharing
.L11:
	mov	r1, r9
	mov	r0, r4
	bl	cell_defer_no_holder
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	WRITE
	.size	process_shared_bio, .-process_shared_bio
	.comm	WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
