	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_relcache_init_file
_write_relcache_init_file:              ## @write_relcache_init_file
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_relcacheInvalsReceived@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_29
## %bb.1:
	testl	%r13d, %r13d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	je	LBB0_3
## %bb.2:
	movq	_RELCACHE_INIT_FILENAME@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	_MyProcPid@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_4
LBB0_3:
	movq	_DatabasePath@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%r15, %r13
	movq	_RELCACHE_INIT_FILENAME@GOTPCREL(%rip), %r15
	movq	(%r15), %r8
	movq	_MyProcPid@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movq	(%r14), %rcx
	movq	(%r15), %r8
	movq	%r13, %r15
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_4:
	movq	%r12, %rdi
	callq	_unlink
	movq	_PG_BINARY_W@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_AllocateFile
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	_RELCACHE_INIT_FILEMAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-60(%rbp), %rdi
	movl	$1, %esi
	movl	$4, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	cmpl	$4, %eax
	je	LBB0_8
## %bb.7:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_elog
LBB0_8:
	movq	_RelationIdCache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_hash_seq_init
	movq	%r14, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_23
## %bb.9:
	movq	_ATTRIBUTE_FIXED_PART_SIZE@GOTPCREL(%rip), %r12
	jmp	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	cmpl	$0, 100(%r14)
	sete	%dil
	callq	_Assert
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_23
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	(%rax), %r14
	movq	80(%r14), %r15
	cmpl	%r13d, (%r15)
	jne	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_RelationGetRelid
	movl	%eax, %edi
	callq	_RelationIdIsInInitFile
	testl	%eax, %eax
	je	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	callq	_write_item
	movq	_CLASS_TUPLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_write_item
	cmpl	$0, 4(%r15)
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	96(%r14), %edi
	movl	%r13d, %esi
	callq	_TupleDescAttr
	movl	(%r12), %esi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_write_item
	incl	%r13d
	cmpl	4(%r15), %r13d
	jl	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	88(%r14), %r13
	testq	%r13, %r13
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_VARSIZE
	movl	%eax, %esi
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%esi, %esi
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_write_item
	movq	80(%r14), %rax
	movq	8(%rax), %rax
	movq	_RELKIND_INDEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	72(%r14), %rdi
	movl	16(%rdi), %esi
	movq	_HEAPTUPLESIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_write_item
	movq	64(%r14), %rdi
	movl	4(%r15), %esi
	shll	$2, %esi
	movq	%rbx, %rdx
	callq	_write_item
	movq	56(%r14), %rdi
	movl	4(%r15), %esi
	shll	$2, %esi
	movq	%rbx, %rdx
	callq	_write_item
	movq	40(%r14), %rax
	movq	48(%r14), %rdi
	movl	4(%r15), %esi
	imull	(%rax), %esi
	shll	$2, %esi
	movq	%rbx, %rdx
	callq	_write_item
	movq	32(%r14), %rdi
	movl	4(%r15), %esi
	shll	$2, %esi
	movq	%rbx, %rdx
	callq	_write_item
	movq	24(%r14), %rdi
	movl	4(%r15), %esi
	shll	$2, %esi
	movq	%rbx, %rdx
	callq	_write_item
	jmp	LBB0_22
LBB0_23:
	movq	%rbx, %rdi
	callq	_FreeFile
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_elog
LBB0_25:
	movq	_RelCacheInitLock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	xorl	%eax, %eax
	callq	_AcceptInvalidationMessages
	movq	_relcacheInvalsReceived@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_26
LBB0_27:
	movq	%rbx, %rdi
	callq	_unlink
	jmp	LBB0_28
LBB0_5:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	callq	_errmsg
	leaq	L_.str.5(%rip), %rdi
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_29
LBB0_26:
	movq	%rbx, %rdi
	callq	_rename
	testq	%rax, %rax
	js	LBB0_27
LBB0_28:
	movl	(%r14), %edi
	callq	_LWLockRelease
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_relcacheInvalsReceived,8,3     ## @relcacheInvalsReceived
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"global/%s.%d"

	.comm	_RELCACHE_INIT_FILENAME,8,3     ## @RELCACHE_INIT_FILENAME
	.comm	_MyProcPid,4,2                  ## @MyProcPid
L_.str.1:                               ## @.str.1
	.asciz	"global/%s"

L_.str.2:                               ## @.str.2
	.asciz	"%s/%s.%d"

	.comm	_DatabasePath,8,3               ## @DatabasePath
L_.str.3:                               ## @.str.3
	.asciz	"%s/%s"

	.comm	_PG_BINARY_W,4,2                ## @PG_BINARY_W
	.comm	_WARNING,4,2                    ## @WARNING
L_.str.4:                               ## @.str.4
	.asciz	"could not create relation-cache initialization file \"%s\": %m"

L_.str.5:                               ## @.str.5
	.asciz	"Continuing anyway, but there's something wrong."

	.comm	_RELCACHE_INIT_FILEMAGIC,4,2    ## @RELCACHE_INIT_FILEMAGIC
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.6:                               ## @.str.6
	.asciz	"could not write init file"

	.comm	_RelationIdCache,4,2            ## @RelationIdCache
	.comm	_CLASS_TUPLE_SIZE,4,2           ## @CLASS_TUPLE_SIZE
	.comm	_ATTRIBUTE_FIXED_PART_SIZE,4,2  ## @ATTRIBUTE_FIXED_PART_SIZE
	.comm	_RELKIND_INDEX,8,3              ## @RELKIND_INDEX
	.comm	_HEAPTUPLESIZE,4,2              ## @HEAPTUPLESIZE
	.comm	_RelCacheInitLock,4,2           ## @RelCacheInitLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.no_dead_strip	_write_relcache_init_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_relcache_init_file
_write_relcache_init_file:              ; @write_relcache_init_file
	.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, 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	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	x19, x8, x12
	mov	sp, x19
	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	x8, _relcacheInvalsReceived@GOTPAGE
Lloh11:
	ldr	x8, [x8, _relcacheInvalsReceived@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbnz	x8, LBB0_29
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
Lloh13:
	adrp	x23, _RELCACHE_INIT_FILENAME@GOTPAGE
Lloh14:
	ldr	x23, [x23, _RELCACHE_INIT_FILENAME@GOTPAGEOFF]
	ldr	x3, [x23]
Lloh15:
	adrp	x8, _MyProcPid@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MyProcPid@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	x8, [sp, #-16]!
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_snprintf
	add	sp, sp, #16
	ldr	x3, [x23]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_snprintf
	b	LBB0_4
LBB0_3:
Lloh22:
	adrp	x23, _DatabasePath@GOTPAGE
Lloh23:
	ldr	x23, [x23, _DatabasePath@GOTPAGEOFF]
	ldr	x3, [x23]
Lloh24:
	adrp	x24, _RELCACHE_INIT_FILENAME@GOTPAGE
Lloh25:
	ldr	x24, [x24, _RELCACHE_INIT_FILENAME@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh26:
	adrp	x9, _MyProcPid@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MyProcPid@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	x8, x9, [sp, #-16]!
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_snprintf
	add	sp, sp, #16
	ldr	x3, [x23]
	ldr	x8, [x24]
	str	x8, [sp, #-16]!
Lloh31:
	adrp	x2, l_.str.3@PAGE
Lloh32:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_snprintf
	add	sp, sp, #16
LBB0_4:
	mov	x0, x19
	bl	_unlink
Lloh33:
	adrp	x8, _PG_BINARY_W@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PG_BINARY_W@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_AllocateFile
	cbz	x0, LBB0_26
; %bb.5:
	mov	x22, x0
Lloh36:
	adrp	x8, _RELCACHE_INIT_FILEMAGIC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RELCACHE_INIT_FILEMAGIC@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	stur	w8, [x29, #-92]
	sub	x0, x29, #92
	mov	w1, #1
	mov	w2, #4
	mov	x3, x22
	bl	_fwrite
Lloh39:
	adrp	x8, _FATAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
	cmp	w0, #4
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_elog
LBB0_7:
Lloh43:
	adrp	x8, _RelationIdCache@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RelationIdCache@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_hash_seq_init
	sub	x0, x29, #96
	bl	_hash_seq_search
	cbz	x0, LBB0_22
; %bb.8:
Lloh46:
	adrp	x28, _CLASS_TUPLE_SIZE@GOTPAGE
Lloh47:
	ldr	x28, [x28, _CLASS_TUPLE_SIZE@GOTPAGEOFF]
Lloh48:
	adrp	x27, _ATTRIBUTE_FIXED_PART_SIZE@GOTPAGE
Lloh49:
	ldr	x27, [x27, _ATTRIBUTE_FIXED_PART_SIZE@GOTPAGEOFF]
Lloh50:
	adrp	x26, _RELKIND_INDEX@GOTPAGE
Lloh51:
	ldr	x26, [x26, _RELKIND_INDEX@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x23, #100]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	sub	x0, x29, #96
	bl	_hash_seq_search
	cbz	x0, LBB0_22
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x23, [x0]
	ldr	x24, [x23, #80]
	ldr	w8, [x24]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w21, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	bl	_RelationGetRelid
	bl	_RelationIdIsInInitFile
	cbz	w0, LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	mov	w1, #4
	mov	x2, x22
	bl	_write_item
	ldr	w1, [x28]
	mov	x0, x24
	mov	x2, x22
	bl	_write_item
	ldr	w8, [x24, #4]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w25, #0
LBB0_16:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23, #96]
	mov	x1, x25
	bl	_TupleDescAttr
	ldr	w1, [x27]
	mov	x2, x22
	bl	_write_item
	add	w25, w25, #1
	ldr	w8, [x24, #4]
	cmp	w25, w8
	b.lt	LBB0_16
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x25, [x23, #88]
	cbz	x25, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x25
	bl	_VARSIZE
	mov	x1, x0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w1, #0
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x25
	mov	x2, x22
	bl	_write_item
	ldr	x8, [x23, #80]
	ldr	x8, [x8, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x23, #72]
Lloh52:
	adrp	x8, _HEAPTUPLESIZE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _HEAPTUPLESIZE@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	add	w1, w9, w8
	mov	x2, x22
	bl	_write_item
	ldr	x0, [x23, #64]
	ldr	w8, [x24, #4]
	lsl	w1, w8, #2
	mov	x2, x22
	bl	_write_item
	ldr	x0, [x23, #56]
	ldr	w8, [x24, #4]
	lsl	w1, w8, #2
	mov	x2, x22
	bl	_write_item
	ldr	w8, [x24, #4]
	ldp	x9, x0, [x23, #40]
	ldr	w9, [x9]
	mul	w8, w8, w9
	lsl	w1, w8, #2
	mov	x2, x22
	bl	_write_item
	ldr	x0, [x23, #32]
	ldr	w8, [x24, #4]
	lsl	w1, w8, #2
	mov	x2, x22
	bl	_write_item
	ldr	x0, [x23, #24]
	ldr	w8, [x24, #4]
	lsl	w1, w8, #2
	mov	x2, x22
	bl	_write_item
	b	LBB0_10
LBB0_22:
	mov	x0, x22
	bl	_FreeFile
	cbz	x0, LBB0_24
; %bb.23:
Lloh55:
	adrp	x8, _FATAL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x1, l_.str.6@PAGE
Lloh59:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_elog
LBB0_24:
Lloh60:
	adrp	x21, _RelCacheInitLock@GOTPAGE
Lloh61:
	ldr	x21, [x21, _RelCacheInitLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh62:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	bl	_AcceptInvalidationMessages
Lloh65:
	adrp	x8, _relcacheInvalsReceived@GOTPAGE
Lloh66:
	ldr	x8, [x8, _relcacheInvalsReceived@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
	cbz	x8, LBB0_27
LBB0_25:
	mov	x0, x19
	bl	_unlink
	b	LBB0_28
LBB0_26:
Lloh68:
	adrp	x8, _WARNING@GOTPAGE
Lloh69:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh70:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
Lloh71:
	adrp	x0, l_.str.4@PAGE
Lloh72:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_errmsg
Lloh73:
	adrp	x0, l_.str.5@PAGE
Lloh74:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errdetail
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_29
LBB0_27:
	mov	x0, x19
	mov	x1, x20
	bl	_rename
	tbnz	x0, #63, LBB0_25
LBB0_28:
	ldr	w0, [x21]
	bl	_LWLockRelease
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh75:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh76:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	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_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_relcacheInvalsReceived,8,3     ; @relcacheInvalsReceived
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"global/%s.%d"

	.comm	_RELCACHE_INIT_FILENAME,8,3     ; @RELCACHE_INIT_FILENAME
	.comm	_MyProcPid,4,2                  ; @MyProcPid
l_.str.1:                               ; @.str.1
	.asciz	"global/%s"

l_.str.2:                               ; @.str.2
	.asciz	"%s/%s.%d"

	.comm	_DatabasePath,8,3               ; @DatabasePath
l_.str.3:                               ; @.str.3
	.asciz	"%s/%s"

	.comm	_PG_BINARY_W,4,2                ; @PG_BINARY_W
	.comm	_WARNING,4,2                    ; @WARNING
l_.str.4:                               ; @.str.4
	.asciz	"could not create relation-cache initialization file \"%s\": %m"

l_.str.5:                               ; @.str.5
	.asciz	"Continuing anyway, but there's something wrong."

	.comm	_RELCACHE_INIT_FILEMAGIC,4,2    ; @RELCACHE_INIT_FILEMAGIC
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.6:                               ; @.str.6
	.asciz	"could not write init file"

	.comm	_RelationIdCache,4,2            ; @RelationIdCache
	.comm	_CLASS_TUPLE_SIZE,4,2           ; @CLASS_TUPLE_SIZE
	.comm	_ATTRIBUTE_FIXED_PART_SIZE,4,2  ; @ATTRIBUTE_FIXED_PART_SIZE
	.comm	_RELKIND_INDEX,8,3              ; @RELKIND_INDEX
	.comm	_HEAPTUPLESIZE,4,2              ; @HEAPTUPLESIZE
	.comm	_RelCacheInitLock,4,2           ; @RelCacheInitLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.no_dead_strip	_write_relcache_init_file
.subsections_via_symbols
