	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdsyncfiletag                  ## -- Begin function mdsyncfiletag
	.p2align	4, 0x90
_mdsyncfiletag:                         ## @mdsyncfiletag
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movq	_InvalidBackendId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_smgropen
	movl	%eax, %r14d
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	__mdfd_segpath
	movq	%rax, %r12
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strlcpy
	movq	%r12, %rdi
	callq	_pfree
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_RELSEG_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	_EXTENSION_RETURN_NULL@GOTPCREL(%rip), %rax
	movq	_EXTENSION_DONT_CHECK_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	callq	__mdfd_getseg
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %edi
	movq	_WAIT_EVENT_DATA_FILE_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FileSync                       ## TAILCALL
LBB0_1:
	movl	$-1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBackendId,4,2           ## @InvalidBackendId
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_RELSEG_SIZE,8,3                ## @RELSEG_SIZE
	.comm	_EXTENSION_RETURN_NULL,4,2      ## @EXTENSION_RETURN_NULL
	.comm	_EXTENSION_DONT_CHECK_SIZE,4,2  ## @EXTENSION_DONT_CHECK_SIZE
	.comm	_WAIT_EVENT_DATA_FILE_SYNC,4,2  ## @WAIT_EVENT_DATA_FILE_SYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdsyncfiletag                  ; -- Begin function mdsyncfiletag
	.p2align	2
_mdsyncfiletag:                         ; @mdsyncfiletag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _InvalidBackendId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBackendId@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_smgropen
	mov	x21, x0
	ldp	w2, w1, [x20]
	bl	__mdfd_segpath
	mov	x22, x0
Lloh3:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_strlcpy
	mov	x0, x22
	bl	_pfree
	ldp	w8, w1, [x20]
Lloh6:
	adrp	x9, _RELSEG_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RELSEG_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _EXTENSION_RETURN_NULL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EXTENSION_RETURN_NULL@GOTPAGEOFF]
	mul	w2, w8, w9
Lloh11:
	ldr	w8, [x10]
Lloh12:
	adrp	x9, _EXTENSION_DONT_CHECK_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EXTENSION_DONT_CHECK_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x21
	mov	w3, #0
	bl	__mdfd_getseg
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x0]
Lloh15:
	adrp	x8, _WAIT_EVENT_DATA_FILE_SYNC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WAIT_EVENT_DATA_FILE_SYNC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_FileSync
LBB0_2:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBackendId,4,2           ; @InvalidBackendId
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_RELSEG_SIZE,8,3                ; @RELSEG_SIZE
	.comm	_EXTENSION_RETURN_NULL,4,2      ; @EXTENSION_RETURN_NULL
	.comm	_EXTENSION_DONT_CHECK_SIZE,4,2  ; @EXTENSION_DONT_CHECK_SIZE
	.comm	_WAIT_EVENT_DATA_FILE_SYNC,4,2  ; @WAIT_EVENT_DATA_FILE_SYNC
.subsections_via_symbols
