	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_sync_bit
_get_sync_bit:                          ## @get_sync_bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_enableFsync@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_XLogIsNeeded
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_AmWalReceiverProcess
LBB0_3:
	leal	-130(%rbx), %eax
	cmpl	$3, %eax
	jb	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enableFsync,4,2                ## @enableFsync
	.comm	_PG_O_DIRECT,4,2                ## @PG_O_DIRECT
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized wal_sync_method: %d"

	.comm	_OPEN_DATASYNC_FLAG,4,2         ## @OPEN_DATASYNC_FLAG
	.comm	_OPEN_SYNC_FLAG,4,2             ## @OPEN_SYNC_FLAG
	.no_dead_strip	_get_sync_bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sync_bit
_get_sync_bit:                          ; @get_sync_bit
	.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, _enableFsync@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enableFsync@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_XLogIsNeeded
	cbnz	w0, LBB0_3
; %bb.2:
	bl	_AmWalReceiverProcess
LBB0_3:
	sub	w8, w19, #130
	cmp	w8, #3
	b.lo	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_enableFsync,4,2                ; @enableFsync
	.comm	_PG_O_DIRECT,4,2                ; @PG_O_DIRECT
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized wal_sync_method: %d"

	.comm	_OPEN_DATASYNC_FLAG,4,2         ; @OPEN_DATASYNC_FLAG
	.comm	_OPEN_SYNC_FLAG,4,2             ; @OPEN_SYNC_FLAG
	.no_dead_strip	_get_sync_bit
.subsections_via_symbols
