	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddToDataDirLockFile           ## -- Begin function AddToDataDirLockFile
	.p2align	4, 0x90
_AddToDataDirLockFile:                  ## @AddToDataDirLockFile
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_DIRECTORY_LOCK_FILE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_PG_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edx, %edx
	callq	_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movl	%eax, %r15d
	movq	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leal	-1(%r14), %edx
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_read
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	testl	%ebx, %ebx
	js	LBB0_4
## %bb.6:
	movq	%r13, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rdi
	movl	%ebx, %eax
	movb	$0, (%r13,%rax)
	movl	$1, %ebx
	movq	%rcx, %r14
	cmpl	$2, %r12d
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jl	LBB0_10
## %bb.7:
	movl	$1, %ebx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r14
	incq	%r14
	incl	%ebx
	movq	%r14, %r13
	cmpl	%ebx, %r12d
	jne	LBB0_8
## %bb.13:
	movq	%r14, %r15
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	subq	%rsi, %r15
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_1:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_45
## %bb.2:
	movl	%r14d, %edi
	movl	%eax, %esi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_4:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	_DIRECTORY_LOCK_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.5:
	movl	%r15d, %edi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close                          ## TAILCALL
LBB0_9:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
LBB0_10:
	movq	%r13, %r15
	subq	%rsi, %r15
	movl	%r15d, %edx
	callq	_memcpy
	addq	%r14, %r15
	cmpl	%r12d, %ebx
	jge	LBB0_11
## %bb.14:
	movq	%r14, %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%r14,%rdi), %rax
	movl	%r12d, %edx
	subl	%ebx, %edx
	movl	%ebx, %ecx
	notl	%ecx
	addl	%r12d, %ecx
	andl	$3, %edx
	je	LBB0_20
## %bb.15:
	negl	%edx
	xorl	%esi, %esi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	decl	%esi
	cmpl	%esi, %edx
	je	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r15
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movb	$10, (%r15)
	incq	%r15
	jmp	LBB0_18
LBB0_11:
	movq	%r14, %rbx
	movq	%r13, %r14
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_19:
	subl	%esi, %ebx
LBB0_20:
	cmpl	$3, %ecx
	jae	LBB0_21
LBB0_31:
	movq	%r13, %r14
	movq	%r8, %rbx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_32:
	addq	%rdi, %rbx
	movl	%ebx, %esi
	subl	%r15d, %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movslq	%r12d, %rcx
	addq	%rcx, %r15
	incq	%rax
	subl	%r15d, %ebx
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rcx
	callq	_snprintf
LBB0_34:
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_lseek
	testq	%rax, %rax
	jne	LBB0_36
## %bb.35:
	movl	%r15d, %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_write
	cmpl	%eax, %ebx
	jne	LBB0_36
## %bb.39:
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	movq	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movl	%r15d, %edi
	callq	_pg_fsync
	testq	%rax, %rax
	movq	_DIRECTORY_LOCK_FILE@GOTPCREL(%rip), %rbx
	je	LBB0_41
## %bb.40:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_41:
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	movl	%r15d, %edi
	callq	_close
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_43
LBB0_36:
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	cmpq	$0, (%r14)
	movq	_DIRECTORY_LOCK_FILE@GOTPCREL(%rip), %rbx
	jne	LBB0_38
## %bb.37:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_38:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	%r15d, %edi
	callq	_close
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.44:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	subl	%ebx, %r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=1
	addl	$-4, %r12d
	je	LBB0_31
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r15
	jb	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rax, %r15
	jb	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rax, %r15
	jb	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rax, %r15
	jae	LBB0_30
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
	movb	$10, (%r15)
	incq	%r15
	cmpq	%rax, %r15
	jae	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	movb	$10, (%r15)
	incq	%r15
	cmpq	%rax, %r15
	jae	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movb	$10, (%r15)
	incq	%r15
	cmpq	%rax, %r15
	jae	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	movb	$10, (%r15)
	incq	%r15
	jmp	LBB0_30
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_DIRECTORY_LOCK_FILE,4,2        ## @DIRECTORY_LOCK_FILE
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_PG_BINARY,4,2                  ## @PG_BINARY
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not open file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ,4,2 ## @WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ
L_.str.1:                               ## @.str.1
	.asciz	"could not read from file \"%s\": %m"

L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_errno,8,3                      ## @errno
	.comm	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE,4,2 ## @WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_ENOSPC,8,3                     ## @ENOSPC
L_.str.4:                               ## @.str.4
	.asciz	"could not write to file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC,4,2 ## @WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddToDataDirLockFile           ; -- Begin function AddToDataDirLockFile
	.p2align	2
_AddToDataDirLockFile:                  ; @AddToDataDirLockFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x12, x9, #0x1fffffff0
	sub	x25, x8, x12
	mov	sp, x25
	mov	x9, x22
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
Lloh10:
	adrp	x27, _DIRECTORY_LOCK_FILE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _DIRECTORY_LOCK_FILE@GOTPAGEOFF]
Lloh12:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _PG_BINARY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #0
	bl	_open
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh18:
	adrp	x8, _WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
	sub	w2, w22, #1
	mov	x0, x19
	mov	x1, x25
	bl	_read
	mov	x24, x0
	bl	_pgstat_report_wait_end
	tbnz	w24, #31, LBB0_26
; %bb.2:
	strb	wzr, [x25, w24, uxtw]
	mov	w28, #1
	mov	x24, x25
	cmp	w23, #2
	b.lt	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x0, #1
	add	w28, w28, #1
	cmp	w23, w28
	b.ne	LBB0_3
; %bb.5:
	sub	x23, x24, x25
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	bl	_memcpy
	add	x25, x20, x23
	b	LBB0_13
LBB0_6:
Lloh21:
	adrp	x8, _LOG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	bl	_errcode_for_file_access
	ldr	w1, [x27]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.7:
	mov	x1, x0
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ereport
LBB0_8:
	sub	x26, x24, x25
	mov	x0, x20
	mov	x1, x25
	mov	x2, x26
	bl	_memcpy
	add	x25, x20, x26
	cmp	w28, w23
	b.ge	LBB0_13
; %bb.9:
	add	x8, x20, x22
	sub	w9, w23, w28
	mov	w10, #10
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	subs	w9, w9, #1
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	x25, x8
	b.hs	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	strb	w10, [x25], #1
	b	LBB0_10
LBB0_13:
	add	x22, x20, x22
	sub	w1, w22, w25
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x25
	mov	x3, x21
	bl	_snprintf
	mov	x0, x25
	bl	_strlen
	mov	x21, x0
	mov	x0, x24
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.14:
	add	x8, x25, w21, sxtw
	add	x3, x0, #1
	sub	w1, w22, w8
Lloh31:
	adrp	x2, l_.str.3@PAGE
Lloh32:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_snprintf
LBB0_15:
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
Lloh33:
	adrp	x22, _errno@GOTPAGE
Lloh34:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
Lloh35:
	adrp	x8, _WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
Lloh38:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_lseek
	cbnz	x0, LBB0_21
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_write
	cmp	w21, w0
	b.ne	LBB0_21
; %bb.17:
	bl	_pgstat_report_wait_end
Lloh41:
	adrp	x8, _WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
	mov	x0, x19
	bl	_pg_fsync
	cbz	x0, LBB0_19
; %bb.18:
Lloh44:
	adrp	x8, _LOG@GOTPAGE
Lloh45:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh46:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w1, [x27]
Lloh47:
	adrp	x0, l_.str.4@PAGE
Lloh48:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_19:
	bl	_pgstat_report_wait_end
	mov	x0, x19
	bl	_close
	cbz	x0, LBB0_24
; %bb.20:
Lloh49:
	adrp	x8, _LOG@GOTPAGE
Lloh50:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh51:
	ldr	w19, [x8]
	bl	_errcode_for_file_access
	ldr	w1, [x27]
Lloh52:
	adrp	x0, l_.str.4@PAGE
Lloh53:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	b	LBB0_24
LBB0_21:
	bl	_pgstat_report_wait_end
	ldr	x8, [x22]
	cbnz	x8, LBB0_23
; %bb.22:
Lloh54:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_23:
Lloh57:
	adrp	x8, _LOG@GOTPAGE
Lloh58:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh59:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w1, [x27]
Lloh60:
	adrp	x0, l_.str.4@PAGE
Lloh61:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	mov	x0, x19
	bl	_close
LBB0_24:
	ldur	x8, [x29, #-88]
Lloh62:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.25:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
Lloh65:
	adrp	x8, _LOG@GOTPAGE
Lloh66:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh67:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w1, [x27]
Lloh68:
	adrp	x0, l_.str.1@PAGE
Lloh69:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldur	x8, [x29, #-88]
Lloh70:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh71:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_close
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_DIRECTORY_LOCK_FILE,4,2        ; @DIRECTORY_LOCK_FILE
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_PG_BINARY,4,2                  ; @PG_BINARY
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not open file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ,4,2 ; @WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ
l_.str.1:                               ; @.str.1
	.asciz	"could not read from file \"%s\": %m"

l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_errno,8,3                      ; @errno
	.comm	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE,4,2 ; @WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_ENOSPC,8,3                     ; @ENOSPC
l_.str.4:                               ; @.str.4
	.asciz	"could not write to file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC,4,2 ; @WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC
.subsections_via_symbols
