	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SyncDataDirectory              ## -- Begin function SyncDataDirectory
	.p2align	4, 0x90
_SyncDataDirectory:                     ## @SyncDataDirectory
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_enableFsync@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rbx
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_lstat
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movl	-24(%rbp), %edi
	callq	_S_ISLNK
	movq	%rax, %r14
	movq	_datadir_fsync_fname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdi
	xorl	%edx, %edx
	callq	_walkdir
	testq	%r14, %r14
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	leaq	L_.str.2(%rip), %rbx
LBB0_4:
	movq	_datadir_fsync_fname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_walkdir
LBB0_5:
	movq	_datadir_fsync_fname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rdi
	movl	$1, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_walkdir                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_enableFsync,4,2                ## @enableFsync
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pg_wal"

	.comm	_LOG,4,2                        ## @LOG
L_.str.1:                               ## @.str.1
	.asciz	"could not stat file \"%s\": %m"

L_.str.2:                               ## @.str.2
	.asciz	"."

	.comm	_datadir_fsync_fname,4,2        ## @datadir_fsync_fname
L_.str.3:                               ## @.str.3
	.asciz	"pg_tblspc"

	.comm	_DEBUG1,4,2                     ## @DEBUG1
	.comm	_pre_sync_fname,4,2             ## @pre_sync_fname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SyncDataDirectory              ; -- Begin function SyncDataDirectory
	.p2align	2
_SyncDataDirectory:                     ; @SyncDataDirectory
	.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
Lloh0:
	adrp	x8, _enableFsync@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enableFsync@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_lstat
Lloh5:
	adrp	x20, _datadir_fsync_fname@GOTPAGE
Lloh6:
	ldr	x20, [x20, _datadir_fsync_fname@GOTPAGEOFF]
Lloh7:
	adrp	x21, _LOG@GOTPAGE
Lloh8:
	ldr	x21, [x21, _LOG@GOTPAGEOFF]
	tbnz	x0, #63, LBB0_5
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_S_ISLNK
	mov	x19, x0
	ldr	w1, [x20]
	ldr	w3, [x21]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_walkdir
	cbz	x19, LBB0_7
; %bb.3:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	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
LBB0_5:
	ldr	w19, [x21]
	bl	_errcode_for_file_access
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	ldr	w1, [x20]
	ldr	w3, [x21]
	mov	w2, #0
	bl	_walkdir
LBB0_7:
	ldr	w1, [x20]
	ldr	w3, [x21]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w2, #1
	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
	b	_walkdir
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_enableFsync,4,2                ; @enableFsync
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pg_wal"

	.comm	_LOG,4,2                        ; @LOG
l_.str.1:                               ; @.str.1
	.asciz	"could not stat file \"%s\": %m"

l_.str.2:                               ; @.str.2
	.asciz	"."

	.comm	_datadir_fsync_fname,4,2        ; @datadir_fsync_fname
l_.str.3:                               ; @.str.3
	.asciz	"pg_tblspc"

	.comm	_DEBUG1,4,2                     ; @DEBUG1
	.comm	_pre_sync_fname,4,2             ; @pre_sync_fname
.subsections_via_symbols
