	.file	"extr_dm-cache-metadata.c___dirty.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__dirty, @function
__dirty:
.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	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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
	mov	edi, esi
	lea	r15, 8[rbx]
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 20[rsp]
	call	from_cblock@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rcx, r14
	mov	rdi, r15
	mov	edx, eax
	call	dm_array_get_value@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR 20[rsp]
	lea	rsi, 16[rsp]
	lea	rdx, 12[rsp]
	call	unpack_value@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	eax, DWORD PTR M_DIRTY[rip]
	test	esi, eax
	jne	.L17
	or	esi, eax
	test	r13d, r13d
	je	.L1
.L6:
	mov	edi, DWORD PTR 16[rsp]
	call	pack_value@PLT
	mov	rdi, r14
	mov	DWORD PTR 20[rsp], eax
	call	__dm_bless_for_disk@PLT
	mov	edi, ebp
	call	from_cblock@PLT
	mov	esi, DWORD PTR 4[rbx]
	lea	r8, 4[rbx]
	mov	rcx, r14
	mov	edx, eax
	mov	rdi, r15
	call	dm_array_set_value@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	DWORD PTR [rbx], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	not	eax
	and	esi, eax
	test	r13d, r13d
	je	.L6
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__dirty, .-__dirty
	.comm	M_DIRTY,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-cache-metadata.c___dirty.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__dirty, %function
__dirty:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r3, .L18
	sub	sp, sp, #24
	mov	r0, r1
	ldr	r4, [r5, #4]
	mov	r6, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	from_cblock
	add	r7, r5, #8
	mov	r1, r4
	mov	r2, r0
	add	r3, sp, #16
	mov	r0, r7
	bl	dm_array_get_value
	subs	r4, r0, #0
	beq	.L15
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	add	r1, sp, #12
	ldr	r0, [sp, #16]
	add	r2, sp, #8
	bl	unpack_value
	ldr	r3, .L18+4
	ldr	r1, [sp, #8]
	ldr	r3, [r3]
	tst	r1, r3
	bne	.L17
	cmp	r8, #0
	beq	.L1
	ldr	r0, [sp, #12]
	orr	r1, r1, r3
	b	.L6
.L17:
	cmp	r8, #0
	bne	.L1
	ldr	r0, [sp, #12]
	bic	r1, r1, r3
.L6:
	bl	pack_value
	mov	r3, r0
	mov	r4, r5
	add	r0, sp, #16
	str	r3, [sp, #16]
	bl	__dm_bless_for_disk
	mov	r0, r6
	ldr	r6, [r4, #4]!
	bl	from_cblock
	str	r4, [sp]
	mov	r2, r0
	mov	r1, r6
	mov	r0, r7
	add	r3, sp, #16
	bl	dm_array_set_value
	subs	r4, r0, #0
	moveq	r3, #1
	streq	r3, [r5]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	M_DIRTY
	.size	__dirty, .-__dirty
	.comm	M_DIRTY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
