	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msdosfs_fsiflush               ## -- Begin function msdosfs_fsiflush
	.p2align	4, 0x90
_msdosfs_fsiflush:                      ## @msdosfs_fsiflush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rsi
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	_MSDOSFS_FSIMOD@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_5
## %bb.2:
	movl	20(%r14), %edx
	movl	24(%r14), %edi
	movq	_NOCRED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %r8
	callq	_bread
	movq	-32(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	callq	_brelse
	jmp	LBB0_5
LBB0_4:
	movq	(%rdi), %rbx
	movl	4(%rbx), %edi
	movl	16(%r14), %esi
	callq	_putulong
	movl	(%rbx), %edi
	movl	12(%r14), %esi
	callq	_putulong
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	movq	-32(%rbp), %rdi
	callq	_bwrite
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSDOSFS_FSIMOD,4,2             ## @MSDOSFS_FSIMOD
	.comm	_NOCRED,4,2                     ## @NOCRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msdosfs_fsiflush               ; -- Begin function msdosfs_fsiflush
	.p2align	2
_msdosfs_fsiflush:                      ; @msdosfs_fsiflush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x1, [x0]
	cbz	x1, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x21, _MSDOSFS_FSIMOD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSDOSFS_FSIMOD@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldp	w2, w0, [x19, #20]
Lloh2:
	adrp	x8, _NOCRED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NOCRED@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x4, sp, #8
	bl	_bread
	mov	x20, x0
	ldr	x0, [sp, #8]
	cbz	w20, LBB0_5
; %bb.3:
	bl	_brelse
	b	LBB0_6
LBB0_4:
	mov	w20, #0
	b	LBB0_6
LBB0_5:
	ldr	x20, [x0]
	ldr	w0, [x20, #4]
	ldr	w1, [x19, #16]
	bl	_putulong
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
	bl	_putulong
	ldr	w8, [x21]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x0, [sp, #8]
	bl	_bwrite
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MSDOSFS_FSIMOD,4,2             ; @MSDOSFS_FSIMOD
	.comm	_NOCRED,4,2                     ; @NOCRED
.subsections_via_symbols
