	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CreateLockFile
_CreateLockFile:                        ## @CreateLockFile
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	(%rax,%rax), %ebx
	addl	$256, %ebx                      ## imm = 0x100
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_getpid
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_getppid
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_atoi
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_pg_file_create_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_open
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_38
## %bb.4:
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	addl	$255, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_pg_file_create_mode@GOTPCREL(%rip), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_unlink
	testq	%rax, %rax
	js	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	incl	%r14d
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_pg_file_create_mode@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_open
	testl	%eax, %eax
	jns	LBB0_37
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$101, %r14d
	jae	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_EACCES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$100, %r14d
	jbe	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movq	_pg_file_create_mode@GOTPCREL(%rip), %rbx
	movl	%eax, %esi
	callq	_ereport
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_36
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_WAIT_EVENT_LOCK_FILE_CREATE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_read
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	movl	%ebx, %edi
	callq	_close
	testl	%r13d, %r13d
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_LOCK_FILE_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r13d, %rax
	movb	$0, (%r15,%rax)
	movq	%r15, %rdi
	callq	_atoi
	movq	%rax, %r13
	movl	%r13d, %ebx
	negl	%ebx
	cmovsl	%r13d, %ebx
	jb	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_elog
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rbx, -104(%rbp)                ## 8-byte Folded Reload
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rbx, -144(%rbp)                ## 8-byte Folded Reload
	je	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rbx, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kill
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_EPERM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_LOCK_FILE_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	testl	%r13d, %r13d
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rcx
	cmovsq	%rcx, %rax
	leaq	L_.str.11(%rip), %rdi
	leaq	L_.str.10(%rip), %rcx
	cmovsq	%rcx, %rdi
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rax, %rdi
	movl	%ebx, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errhint
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_LOCK_FILE_LINE_SHMEM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rax
	cmpl	$2, %ebx
	jl	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	decl	%ebx
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	incq	%rax
	decl	%ebx
	jne	LBB0_29
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdi
	leaq	L_.str.12(%rip), %rsi
	leaq	-120(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %rdi
	movq	-112(%rbp), %rsi
	callq	_PGSharedMemoryIsInUse
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_LOCK_FILE_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-120(%rbp), %rsi
	movq	-112(%rbp), %rdx
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.14(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.15(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_36
LBB0_37:
	movl	%eax, %r13d
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	-76(%rbp), %r14d                ## 4-byte Reload
LBB0_38:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %ecx
	negl	%ecx
	testl	%r14d, %r14d
	cmovnel	%eax, %ecx
	movq	_DataDir@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_MyStartTime@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_PostPortNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.17(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_snprintf
	addq	$16, %rsp
	testl	%r14d, %r14d
	jne	LBB0_41
## %bb.39:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_41
## %bb.40:
	leaq	L_.str.18(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_strlcat
LBB0_41:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	_WAIT_EVENT_LOCK_FILE_CREATE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movq	%r15, %rdi
	callq	_strlen
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_write
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strlen
	cmpq	%rax, %rbx
	je	LBB0_45
## %bb.42:
	movl	(%r14), %ebx
	movl	%r13d, %edi
	callq	_close
	movq	%r12, %rdi
	callq	_unlink
	testl	%ebx, %ebx
	jne	LBB0_44
## %bb.43:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_44:
	movl	%ebx, (%r14)
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.19(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_45:
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	movq	_WAIT_EVENT_LOCK_FILE_CREATE_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pgstat_report_wait_start
	movl	%r13d, %edi
	callq	_pg_fsync
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movl	(%r14), %ebx
	movl	%r13d, %edi
	callq	_close
	movq	%r12, %rdi
	callq	_unlink
	movl	%ebx, (%r14)
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.19(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_47:
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
	movl	%r13d, %edi
	callq	_close
	testq	%rax, %rax
	je	LBB0_49
## %bb.48:
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_unlink
	movl	%ebx, (%r14)
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.19(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_49:
	movq	_lock_files@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_51
## %bb.50:
	movq	_UnlinkLockFiles@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_on_proc_exit
LBB0_51:
	movq	%r12, %rdi
	callq	_pstrdup
	movq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_lcons
	movq	%rax, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_53
## %bb.52:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PG_GRANDPARENT_PID"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_pg_file_create_mode,4,2        ## @pg_file_create_mode
	.comm	_errno,4,2                      ## @errno
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"could not create lock file \"%s\": %m"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"could not open lock file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_CREATE_READ,4,2 ## @WAIT_EVENT_LOCK_FILE_CREATE_READ
L_.str.3:                               ## @.str.3
	.asciz	"could not read lock file \"%s\": %m"

	.comm	_ERRCODE_LOCK_FILE_EXISTS,4,2   ## @ERRCODE_LOCK_FILE_EXISTS
L_.str.4:                               ## @.str.4
	.asciz	"lock file \"%s\" is empty"

L_.str.5:                               ## @.str.5
	.asciz	"Either another server is starting, or the lock file is the remnant of a previous server startup crash."

L_.str.6:                               ## @.str.6
	.asciz	"bogus data in lock file \"%s\": \"%s\""

	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_EPERM,4,2                      ## @EPERM
L_.str.7:                               ## @.str.7
	.asciz	"lock file \"%s\" already exists"

L_.str.8:                               ## @.str.8
	.asciz	"Is another postgres (PID %d) running in data directory \"%s\"?"

L_.str.9:                               ## @.str.9
	.asciz	"Is another postmaster (PID %d) running in data directory \"%s\"?"

L_.str.10:                              ## @.str.10
	.asciz	"Is another postgres (PID %d) using socket file \"%s\"?"

L_.str.11:                              ## @.str.11
	.asciz	"Is another postmaster (PID %d) using socket file \"%s\"?"

	.comm	_LOCK_FILE_LINE_SHMEM_KEY,4,2   ## @LOCK_FILE_LINE_SHMEM_KEY
L_.str.12:                              ## @.str.12
	.asciz	"%lu %lu"

L_.str.13:                              ## @.str.13
	.asciz	"pre-existing shared memory block (key %lu, ID %lu) is still in use"

L_.str.14:                              ## @.str.14
	.asciz	"Terminate any old server processes associated with data directory \"%s\"."

L_.str.15:                              ## @.str.15
	.asciz	"could not remove old lock file \"%s\": %m"

L_.str.16:                              ## @.str.16
	.asciz	"The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again."

L_.str.17:                              ## @.str.17
	.asciz	"%d\n%s\n%ld\n%d\n%s\n"

	.comm	_DataDir,8,3                    ## @DataDir
	.comm	_MyStartTime,8,3                ## @MyStartTime
	.comm	_PostPortNumber,4,2             ## @PostPortNumber
L_.str.18:                              ## @.str.18
	.asciz	"\n"

	.comm	_WAIT_EVENT_LOCK_FILE_CREATE_WRITE,4,2 ## @WAIT_EVENT_LOCK_FILE_CREATE_WRITE
	.comm	_ENOSPC,4,2                     ## @ENOSPC
L_.str.19:                              ## @.str.19
	.asciz	"could not write lock file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_CREATE_SYNC,4,2 ## @WAIT_EVENT_LOCK_FILE_CREATE_SYNC
	.comm	_lock_files,8,3                 ## @lock_files
	.comm	_NIL,8,3                        ## @NIL
	.comm	_UnlinkLockFiles,4,2            ## @UnlinkLockFiles
	.no_dead_strip	_CreateLockFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CreateLockFile
_CreateLockFile:                        ; @CreateLockFile
	.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, #96
	stur	x4, [x29, #-144]                ; 8-byte Folded Spill
	mov	x21, x3
	stur	x2, [x29, #-160]                ; 8-byte Folded Spill
	stur	w1, [x29, #-148]                ; 4-byte Folded Spill
	mov	x19, 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, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w22, w8, #1
	add	w24, w22, #256
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_getpid
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	bl	_getppid
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
	bl	_atoi
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:
	stur	xzr, [x29, #-136]               ; 8-byte Folded Spill
LBB0_3:
Lloh10:
	adrp	x26, _O_RDWR@GOTPAGE
Lloh11:
	ldr	x26, [x26, _O_RDWR@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh12:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _O_EXCL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _O_EXCL@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh17:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh18:
	adrp	x28, _pg_file_create_mode@GOTPAGE
Lloh19:
	ldr	x28, [x28, _pg_file_create_mode@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x19
	bl	_open
	mov	x23, x0
Lloh20:
	adrp	x25, _errno@GOTPAGE
Lloh21:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh22:
	adrp	x27, _FATAL@GOTPAGE
Lloh23:
	ldr	x27, [x27, _FATAL@GOTPAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.4:
	stur	x24, [x29, #-168]               ; 8-byte Folded Spill
	mov	w24, #0
	add	w8, w22, #255
	stur	w8, [x29, #-116]                ; 4-byte Folded Spill
	mov	x22, x26
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_unlink
	mov	x22, x26
	tbnz	x0, #63, LBB0_36
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w24, w24, #1
	ldr	w8, [x22]
Lloh24:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w2, [x28]
	mov	x0, x19
	bl	_open
	tbz	w0, #31, LBB0_37
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
	ldr	w8, [x25]
Lloh30:
	adrp	x9, _EEXIST@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, #101
	b.hs	LBB0_11
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh33:
	adrp	x9, _EACCES@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, #100
	b.ls	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w22, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x22
	mov	x22, x26
	bl	_ereport
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh38:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh39:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x19
	bl	_open
	mov	x23, x0
	tbz	w0, #31, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x25]
Lloh41:
	adrp	x9, _ENOENT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w22, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh44:
	adrp	x0, l_.str.2@PAGE
Lloh45:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh46:
	adrp	x8, _WAIT_EVENT_LOCK_FILE_CREATE_READ@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WAIT_EVENT_LOCK_FILE_CREATE_READ@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
	mov	x0, x23
	mov	x1, x20
	ldur	w2, [x29, #-116]                ; 4-byte Folded Reload
	bl	_read
	mov	x22, x0
	tbz	w0, #31, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w25, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh49:
	adrp	x0, l_.str.3@PAGE
Lloh50:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
Lloh51:
	adrp	x25, _errno@GOTPAGE
Lloh52:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	bl	_ereport
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_pgstat_report_wait_end
	mov	x0, x23
	bl	_close
	cbnz	w22, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w23, [x27]
Lloh53:
	adrp	x8, _ERRCODE_LOCK_FILE_EXISTS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ERRCODE_LOCK_FILE_EXISTS@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_errcode
	str	x19, [sp, #-16]!
Lloh56:
	adrp	x0, l_.str.4@PAGE
Lloh57:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
Lloh58:
	adrp	x0, l_.str.5@PAGE
Lloh59:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	wzr, [x20, w22, sxtw]
	mov	x0, x20
	bl	_atoi
	mov	x22, x0
	cmp	w22, #0
	cneg	w23, w22, mi
	cbnz	w22, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x27]
Lloh60:
	adrp	x1, l_.str.6@PAGE
Lloh61:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_elog
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cmp	x8, x23
	b.eq	LBB0_28
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x8, x23
	b.eq	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cmp	x8, x23
	b.eq	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	w1, #0
	bl	_kill
	cbz	x0, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x25]
Lloh62:
	adrp	x9, _ESRCH@GOTPAGE
Lloh63:
	ldr	x9, [x9, _ESRCH@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh65:
	adrp	x9, _EPERM@GOTPAGE
Lloh66:
	ldr	x9, [x9, _EPERM@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w25, [x27]
Lloh68:
	adrp	x8, _ERRCODE_LOCK_FILE_EXISTS@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ERRCODE_LOCK_FILE_EXISTS@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	bl	_errcode
	str	x19, [sp, #-16]!
Lloh71:
	adrp	x0, l_.str.7@PAGE
Lloh72:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	cmp	w22, #0
Lloh73:
	adrp	x8, l_.str.9@PAGE
Lloh74:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh75:
	adrp	x9, l_.str.8@PAGE
Lloh76:
	add	x9, x9, l_.str.8@PAGEOFF
	csel	x8, x9, x8, lt
Lloh77:
	adrp	x9, l_.str.11@PAGE
Lloh78:
	add	x9, x9, l_.str.11@PAGEOFF
Lloh79:
	adrp	x10, l_.str.10@PAGE
Lloh80:
	add	x10, x10, l_.str.10@PAGEOFF
	csel	x9, x10, x9, lt
	cmp	w21, #0
	csel	x0, x9, x8, eq
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	stp	x23, x8, [sp, #-16]!
	bl	_errhint
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
Lloh81:
	adrp	x25, _errno@GOTPAGE
Lloh82:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	bl	_ereport
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w21, LBB0_5
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh83:
	adrp	x8, _LOCK_FILE_LINE_SHMEM_KEY@GOTPAGE
Lloh84:
	ldr	x8, [x8, _LOCK_FILE_LINE_SHMEM_KEY@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	mov	x0, x20
	cmp	w8, #2
	b.lt	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w22, w8, #1
	mov	x0, x20
LBB0_31:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	add	x0, x0, #1
	subs	w22, w22, #1
	b.ne	LBB0_31
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x2, x29, #96
	sub	x3, x29, #104
Lloh86:
	adrp	x1, l_.str.12@PAGE
Lloh87:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.34:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	x1, x0, [x29, #-104]
	bl	_PGSharedMemoryIsInUse
	cbz	x0, LBB0_5
; %bb.35:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w22, [x27]
Lloh88:
	adrp	x8, _ERRCODE_LOCK_FILE_EXISTS@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ERRCODE_LOCK_FILE_EXISTS@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
	bl	_errcode
	ldp	x9, x8, [x29, #-104]
	stp	x8, x9, [sp, #-16]!
Lloh91:
	adrp	x0, l_.str.13@PAGE
Lloh92:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh93:
	adrp	x0, l_.str.14@PAGE
Lloh94:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_errhint
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	b	LBB0_5
LBB0_36:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w22, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh95:
	adrp	x0, l_.str.15@PAGE
Lloh96:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
Lloh97:
	adrp	x0, l_.str.16@PAGE
Lloh98:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x22
	mov	x22, x26
	bl	_ereport
	b	LBB0_6
LBB0_37:
	mov	x23, x0
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
LBB0_38:
	ldur	w22, [x29, #-148]               ; 4-byte Folded Reload
	cmp	w22, #0
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cneg	w3, w8, eq
Lloh99:
	adrp	x8, _DataDir@GOTPAGE
Lloh100:
	ldr	x8, [x8, _DataDir@GOTPAGEOFF]
Lloh101:
	ldr	x4, [x8]
Lloh102:
	adrp	x8, _MyStartTime@GOTPAGE
Lloh103:
	ldr	x8, [x8, _MyStartTime@GOTPAGEOFF]
Lloh104:
	ldr	x5, [x8]
Lloh105:
	adrp	x8, _PostPortNumber@GOTPAGE
Lloh106:
	ldr	x8, [x8, _PostPortNumber@GOTPAGEOFF]
Lloh107:
	ldr	w6, [x8]
Lloh108:
	adrp	x2, l_.str.17@PAGE
Lloh109:
	add	x2, x2, l_.str.17@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	ldur	x7, [x29, #-160]                ; 8-byte Folded Reload
	bl	_snprintf
	cbnz	w22, LBB0_41
; %bb.39:
	cbz	w21, LBB0_41
; %bb.40:
Lloh110:
	adrp	x1, l_.str.18@PAGE
Lloh111:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_strlcat
LBB0_41:
	str	wzr, [x25]
Lloh112:
	adrp	x8, _WAIT_EVENT_LOCK_FILE_CREATE_WRITE@GOTPAGE
Lloh113:
	ldr	x8, [x8, _WAIT_EVENT_LOCK_FILE_CREATE_WRITE@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x20
	bl	_write
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	cmp	x21, x0
	b.eq	LBB0_43
; %bb.42:
	ldr	w20, [x25]
	mov	x0, x23
	bl	_close
	mov	x0, x19
	bl	_unlink
Lloh115:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh116:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh117:
	ldr	w8, [x8]
	cmp	w20, #0
	csel	w8, w8, w20, eq
	str	w8, [x25]
	ldr	w20, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh118:
	adrp	x0, l_.str.19@PAGE
Lloh119:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_43:
	bl	_pgstat_report_wait_end
Lloh120:
	adrp	x8, _WAIT_EVENT_LOCK_FILE_CREATE_SYNC@GOTPAGE
Lloh121:
	ldr	x8, [x8, _WAIT_EVENT_LOCK_FILE_CREATE_SYNC@GOTPAGEOFF]
Lloh122:
	ldr	w0, [x8]
	bl	_pgstat_report_wait_start
	mov	x0, x23
	bl	_pg_fsync
	cbz	x0, LBB0_45
; %bb.44:
	ldr	w20, [x25]
	mov	x0, x23
	bl	_close
	mov	x0, x19
	bl	_unlink
	str	w20, [x25]
	ldr	w20, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh123:
	adrp	x0, l_.str.19@PAGE
Lloh124:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_45:
	bl	_pgstat_report_wait_end
	mov	x0, x23
	bl	_close
	cbz	x0, LBB0_47
; %bb.46:
	ldr	w20, [x25]
	mov	x0, x19
	bl	_unlink
	str	w20, [x25]
	ldr	w20, [x27]
	bl	_errcode_for_file_access
	str	x19, [sp, #-16]!
Lloh125:
	adrp	x0, l_.str.19@PAGE
Lloh126:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_47:
Lloh127:
	adrp	x20, _lock_files@GOTPAGE
Lloh128:
	ldr	x20, [x20, _lock_files@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh129:
	adrp	x9, _NIL@GOTPAGE
Lloh130:
	ldr	x9, [x9, _NIL@GOTPAGEOFF]
Lloh131:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_49
; %bb.48:
Lloh132:
	adrp	x8, _UnlinkLockFiles@GOTPAGE
Lloh133:
	ldr	x8, [x8, _UnlinkLockFiles@GOTPAGEOFF]
Lloh134:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_on_proc_exit
LBB0_49:
	mov	x0, x19
	bl	_pstrdup
	ldr	x1, [x20]
	bl	_lcons
	str	x0, [x20]
	ldur	x8, [x29, #-88]
Lloh135:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh136:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh137:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.50:
	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_51:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PG_GRANDPARENT_PID"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_pg_file_create_mode,4,2        ; @pg_file_create_mode
	.comm	_errno,4,2                      ; @errno
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"could not create lock file \"%s\": %m"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"could not open lock file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_CREATE_READ,4,2 ; @WAIT_EVENT_LOCK_FILE_CREATE_READ
l_.str.3:                               ; @.str.3
	.asciz	"could not read lock file \"%s\": %m"

	.comm	_ERRCODE_LOCK_FILE_EXISTS,4,2   ; @ERRCODE_LOCK_FILE_EXISTS
l_.str.4:                               ; @.str.4
	.asciz	"lock file \"%s\" is empty"

l_.str.5:                               ; @.str.5
	.asciz	"Either another server is starting, or the lock file is the remnant of a previous server startup crash."

l_.str.6:                               ; @.str.6
	.asciz	"bogus data in lock file \"%s\": \"%s\""

	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_EPERM,4,2                      ; @EPERM
l_.str.7:                               ; @.str.7
	.asciz	"lock file \"%s\" already exists"

l_.str.8:                               ; @.str.8
	.asciz	"Is another postgres (PID %d) running in data directory \"%s\"?"

l_.str.9:                               ; @.str.9
	.asciz	"Is another postmaster (PID %d) running in data directory \"%s\"?"

l_.str.10:                              ; @.str.10
	.asciz	"Is another postgres (PID %d) using socket file \"%s\"?"

l_.str.11:                              ; @.str.11
	.asciz	"Is another postmaster (PID %d) using socket file \"%s\"?"

	.comm	_LOCK_FILE_LINE_SHMEM_KEY,4,2   ; @LOCK_FILE_LINE_SHMEM_KEY
l_.str.12:                              ; @.str.12
	.asciz	"%lu %lu"

l_.str.13:                              ; @.str.13
	.asciz	"pre-existing shared memory block (key %lu, ID %lu) is still in use"

l_.str.14:                              ; @.str.14
	.asciz	"Terminate any old server processes associated with data directory \"%s\"."

l_.str.15:                              ; @.str.15
	.asciz	"could not remove old lock file \"%s\": %m"

l_.str.16:                              ; @.str.16
	.asciz	"The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again."

l_.str.17:                              ; @.str.17
	.asciz	"%d\n%s\n%ld\n%d\n%s\n"

	.comm	_DataDir,8,3                    ; @DataDir
	.comm	_MyStartTime,8,3                ; @MyStartTime
	.comm	_PostPortNumber,4,2             ; @PostPortNumber
l_.str.18:                              ; @.str.18
	.asciz	"\n"

	.comm	_WAIT_EVENT_LOCK_FILE_CREATE_WRITE,4,2 ; @WAIT_EVENT_LOCK_FILE_CREATE_WRITE
	.comm	_ENOSPC,4,2                     ; @ENOSPC
l_.str.19:                              ; @.str.19
	.asciz	"could not write lock file \"%s\": %m"

	.comm	_WAIT_EVENT_LOCK_FILE_CREATE_SYNC,4,2 ; @WAIT_EVENT_LOCK_FILE_CREATE_SYNC
	.comm	_lock_files,8,3                 ; @lock_files
	.comm	_NIL,8,3                        ; @NIL
	.comm	_UnlinkLockFiles,4,2            ; @UnlinkLockFiles
	.no_dead_strip	_CreateLockFile
.subsections_via_symbols
