	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	(%rsi), %rdi
	callq	_pg_logging_init
	movq	(%rbx), %r15
	leaq	L_.str(%rip), %rdi
	callq	_PG_TEXTDOMAIN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_set_pglocale_pgservice
	movq	(%rbx), %rdi
	callq	_get_progname
	movq	_progname@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_handle_args
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_signal_cleanup@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_process_alarm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	xorl	%eax, %eax
	callq	_prepare_buf
	xorl	%eax, %eax
	callq	_test_open
	movl	$1, %edi
	callq	_test_sync
	movl	$2, %edi
	callq	_test_sync
	xorl	%eax, %eax
	callq	_test_open_syncs
	xorl	%eax, %eax
	callq	_test_file_descriptor_sync
	xorl	%eax, %eax
	callq	_test_non_sync
	movq	_filename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unlink
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pg_test_fsync"

	.comm	_progname,4,2                   ## @progname
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_signal_cleanup,4,2             ## @signal_cleanup
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_process_alarm,4,2              ## @process_alarm
	.comm	_filename,4,2                   ## @filename
	.comm	_SIGHUP,4,2                     ## @SIGHUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	x0, [x1]
	bl	_pg_logging_init
	ldr	x21, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PG_TEXTDOMAIN
	mov	x1, x0
	mov	x0, x21
	bl	_set_pglocale_pgservice
	ldr	x0, [x19]
	bl	_get_progname
Lloh2:
	adrp	x8, _progname@GOTPAGE
Lloh3:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_handle_args
Lloh5:
	adrp	x8, _SIGINT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x19, _signal_cleanup@GOTPAGE
Lloh9:
	ldr	x19, [x19, _signal_cleanup@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_pqsignal
Lloh10:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_pqsignal
Lloh13:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _process_alarm@GOTPAGE
Lloh17:
	ldr	x8, [x8, _process_alarm@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_pqsignal
	bl	_prepare_buf
	bl	_test_open
	mov	w0, #1
	bl	_test_sync
	mov	w0, #2
	bl	_test_sync
	bl	_test_open_syncs
	bl	_test_file_descriptor_sync
	bl	_test_non_sync
Lloh19:
	adrp	x8, _filename@GOTPAGE
Lloh20:
	ldr	x8, [x8, _filename@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_unlink
	mov	w0, #0
	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	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pg_test_fsync"

	.comm	_progname,4,2                   ; @progname
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_signal_cleanup,4,2             ; @signal_cleanup
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_process_alarm,4,2              ; @process_alarm
	.comm	_filename,4,2                   ; @filename
	.comm	_SIGHUP,4,2                     ; @SIGHUP
.subsections_via_symbols
