	.file	"extr_g_journal_ufs.c_g_journal_ufs_dirty.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot find superblock to mark file system %s as dirty."
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"clean=%d flags=0x%x"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Cannot mark file system %s as dirty (error=%d)."
	.align 8
.LC3:
	.string	"File system %s marked as dirty."
	.text
	.p2align 4
	.type	g_journal_ufs_dirty, @function
g_journal_ufs_dirty:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rcx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR SBLOCKSIZE[rip]
	mov	QWORD PTR [rsp], 0
	cdq
	idiv	DWORD PTR [rcx]
	test	edx, edx
	jne	.L2
	mov	r8d, DWORD PTR g_use_g_read_data[rip]
	mov	ecx, DWORD PTR M_GEOM[rip]
	mov	rsi, rsp
	mov	rbx, rdi
	mov	edx, DWORD PTR STDSB[rip]
	call	ffs_sbget@PLT
	test	rax, rax
	je	.L3
	mov	rcx, QWORD PTR [rbx]
.L2:
	mov	edx, DWORD PTR 4[rcx]
	xor	edi, edi
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	GJ_DEBUG@PLT
	mov	rsi, QWORD PTR [rsp]
	xor	edi, edi
	test	rsi, rsi
	sete	dil
	call	KASSERT@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	lea	rsi, .LC1[rip]
	xor	edi, edi
	mov	rdx, QWORD PTR 24[rax]
	mov	ecx, DWORD PTR [rax]
	xor	eax, eax
	call	GJ_DEBUG@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	eax, DWORD PTR FS_NEEDSFSCK[rip]
	mov	rdi, rbx
	or	eax, DWORD PTR FS_UNCLEAN[rip]
	mov	ecx, DWORD PTR g_use_g_write_data[rip]
	or	DWORD PTR [rsi], eax
	mov	edx, DWORD PTR 16[rsi]
	mov	QWORD PTR 24[rsi], 0
	call	ffs_sbput@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR [rsp]
	mov	rdi, QWORD PTR 8[rax]
	call	g_free@PLT
	mov	rdi, QWORD PTR [rsp]
	call	g_free@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 4[rax]
	test	r12d, r12d
	je	.L5
	mov	ecx, r12d
	lea	rsi, .LC2[rip]
	xor	edi, edi
	xor	eax, eax
	call	GJ_DEBUG@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC3[rip]
	xor	edi, edi
	xor	eax, eax
	call	GJ_DEBUG@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	g_journal_ufs_dirty, .-g_journal_ufs_dirty
	.comm	g_use_g_write_data,4,4
	.comm	g_use_g_read_data,4,4
	.comm	STDSB,4,4
	.comm	SBLOCKSIZE,4,4
	.comm	M_GEOM,4,4
	.comm	FS_UNCLEAN,4,4
	.comm	FS_NEEDSFSCK,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_g_journal_ufs.c_g_journal_ufs_dirty.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot find superblock to mark file system %s as di"
	.ascii	"rty.\000"
	.align	2
.LC1:
	.ascii	"clean=%d flags=0x%x\000"
	.align	2
.LC2:
	.ascii	"Cannot mark file system %s as dirty (error=%d).\000"
	.align	2
.LC3:
	.ascii	"File system %s marked as dirty.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	g_journal_ufs_dirty, %function
g_journal_ufs_dirty:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L11
	ldr	r5, [r0]
	mov	r4, r0
	ldr	r0, [r2]
	ldr	r2, .L11+4
	sub	sp, sp, #16
	ldr	r1, [r5]
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp, #8]
	bl	__aeabi_idivmod
	cmp	r1, #0
	bne	.L2
	ldr	r2, .L11+8
	ldr	r3, .L11+12
	ldr	r1, [r2]
	ldr	r2, .L11+16
	str	r1, [sp]
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r1, sp, #8
	bl	ffs_sbget
	subs	r5, r0, #0
	beq	.L3
	ldr	r5, [r4]
.L2:
	ldr	r1, .L11+20
	mov	r0, #0
	ldr	r2, [r5, #4]
	bl	GJ_DEBUG
	ldr	r1, [sp, #8]
	clz	r0, r1
	lsr	r0, r0, #5
	bl	KASSERT
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, [sp, #8]
	ldr	r1, .L11+24
	ldr	r3, [r2]
	ldr	r2, [r2, #12]
	bl	GJ_DEBUG
	ldr	r3, .L11+28
	ldr	r2, .L11+32
	ldr	r1, [sp, #8]
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r3, [r1]
	orr	r2, r2, r0
	ldr	r0, .L11+36
	orr	r3, r3, r2
	str	r3, [r1]
	ldr	r2, [r1, #8]
	ldr	r3, [r0]
	str	r5, [r1, #12]
	mov	r0, r4
	bl	ffs_sbput
	mov	r6, r0
	ldr	r3, [sp, #8]
	ldr	r0, [r3, #4]
	bl	g_free
	ldr	r0, [sp, #8]
	bl	g_free
	cmp	r6, #0
	beq	.L5
	ldr	r2, [r4]
	mov	r3, r6
	mov	r0, r5
	ldr	r2, [r2, #4]
	ldr	r1, .L11+40
	bl	GJ_DEBUG
	b	.L1
.L5:
	ldr	r3, [r4]
	mov	r0, r6
	ldr	r2, [r3, #4]
	ldr	r1, .L11+44
	bl	GJ_DEBUG
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	SBLOCKSIZE
	.word	.LC4
	.word	g_use_g_read_data
	.word	M_GEOM
	.word	STDSB
	.word	.LC0
	.word	.LC1
	.word	FS_UNCLEAN
	.word	FS_NEEDSFSCK
	.word	g_use_g_write_data
	.word	.LC2
	.word	.LC3
	.size	g_journal_ufs_dirty, .-g_journal_ufs_dirty
	.comm	g_use_g_write_data,4,4
	.comm	g_use_g_read_data,4,4
	.comm	STDSB,4,4
	.comm	SBLOCKSIZE,4,4
	.comm	M_GEOM,4,4
	.comm	FS_UNCLEAN,4,4
	.comm	FS_NEEDSFSCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
