	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flushent
_flushent:                              ## @flushent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_DIRBLKSIZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_prev@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	%rcx, %rax
	movq	_dirbuf@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, (%rsi,%rcx)
	movq	(%rdx), %rdi
	movq	_dirloc@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_df@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	$1, %edx
	callq	_fwrite
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	movq	_dirfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fail_dirtmp
LBB0_2:
	movl	(%rbx), %edi
	callq	_ftell
	movq	_seekpt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	$0, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRBLKSIZ,8,3                  ## @DIRBLKSIZ
	.comm	_prev,8,3                       ## @prev
	.comm	_dirbuf,8,3                     ## @dirbuf
	.comm	_dirloc,8,3                     ## @dirloc
	.comm	_df,4,2                         ## @df
	.comm	_dirfile,4,2                    ## @dirfile
	.comm	_seekpt,4,2                     ## @seekpt
	.no_dead_strip	_flushent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flushent
_flushent:                              ; @flushent
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _DIRBLKSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIRBLKSIZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _prev@GOTPAGE
Lloh4:
	ldr	x9, [x9, _prev@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x8, x8, x9
Lloh6:
	adrp	x10, _dirbuf@GOTPAGE
Lloh7:
	ldr	x10, [x10, _dirbuf@GOTPAGEOFF]
	ldr	x11, [x10]
	str	x8, [x11, x9]
	ldr	x0, [x10]
Lloh8:
	adrp	x19, _dirloc@GOTPAGE
Lloh9:
	ldr	x19, [x19, _dirloc@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh10:
	adrp	x20, _df@GOTPAGE
Lloh11:
	ldr	x20, [x20, _df@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	w2, #1
	bl	_fwrite
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _dirfile@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dirfile@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_fail_dirtmp
LBB0_2:
	ldr	w0, [x20]
	bl	_ftell
Lloh15:
	adrp	x8, _seekpt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _seekpt@GOTPAGEOFF]
Lloh17:
	str	w0, [x8]
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRBLKSIZ,8,3                  ; @DIRBLKSIZ
	.comm	_prev,8,3                       ; @prev
	.comm	_dirbuf,8,3                     ; @dirbuf
	.comm	_dirloc,8,3                     ; @dirloc
	.comm	_df,4,2                         ; @df
	.comm	_dirfile,4,2                    ; @dirfile
	.comm	_seekpt,4,2                     ; @seekpt
	.no_dead_strip	_flushent
.subsections_via_symbols
