	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_issue_xlog_fsync               ## -- Begin function issue_xlog_fsync
	.p2align	4, 0x90
_issue_xlog_fsync:                      ## @issue_xlog_fsync
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_WAIT_EVENT_WAL_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movq	_sync_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	-128(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_5
## %bb.1:
	cmpl	$131, %edx
	jne	LBB0_4
## %bb.2:
	movl	%ebx, %edi
	callq	_pg_fsync_no_writethrough
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	_ThisTimeLineID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_XLogFileNameP
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_5
LBB0_4:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pgstat_report_wait_end         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WAIT_EVENT_WAL_SYNC,4,2        ## @WAIT_EVENT_WAL_SYNC
	.comm	_sync_method,4,2                ## @sync_method
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not fsync file \"%s\": %m"

	.comm	_ThisTimeLineID,4,2             ## @ThisTimeLineID
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized wal_sync_method: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_issue_xlog_fsync               ; -- Begin function issue_xlog_fsync
	.p2align	2
_issue_xlog_fsync:                      ; @issue_xlog_fsync
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _WAIT_EVENT_WAL_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WAIT_EVENT_WAL_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
Lloh3:
	adrp	x8, _sync_method@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sync_method@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	sub	w8, w2, #128
	cmp	w8, #2
	b.lo	LBB0_5
; %bb.1:
	cmp	w2, #131
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_pg_fsync_no_writethrough
	cbz	w0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _PANIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
Lloh9:
	adrp	x8, _ThisTimeLineID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ThisTimeLineID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_XLogFileNameP
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _PANIC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pgstat_report_wait_end
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_WAIT_EVENT_WAL_SYNC,4,2        ; @WAIT_EVENT_WAL_SYNC
	.comm	_sync_method,4,2                ; @sync_method
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not fsync file \"%s\": %m"

	.comm	_ThisTimeLineID,4,2             ; @ThisTimeLineID
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized wal_sync_method: %d"

.subsections_via_symbols
