	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_new_heap                  ## -- Begin function make_new_heap
	.p2align	4, 0x90
_make_new_heap:                         ## @make_new_heap
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movl	%r13d, %edi
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_table_open
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_RelationGetDescr
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_RELOID@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%r13d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_elog
LBB0_2:
	movl	(%r12), %edi
	movq	_Anum_pg_class_reloptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rcx
	movl	%ebx, %esi
	callq	_SysCacheGetAttr
	xorl	%r12d, %r12d
	cmpl	$0, -52(%rbp)
	cmoveq	%rax, %r12
	movq	_RELPERSISTENCE_TEMP@GOTPCREL(%rip), %rax
	cmpb	%r14b, (%rax)
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	movl	%r14d, -72(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_LookupCreationNamespace
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_RelationGetNamespace
LBB0_5:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rdx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r13d, %ecx
	callq	_snprintf
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r15), %rax
	movl	4(%rax), %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	8(%rax), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_RelationIsMapped
                                        ## kill: def $eax killed $eax def $rax
	movq	_ONCOMMIT_NOOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movsbl	-72(%rbp), %r11d                ## 1-byte Folded Reload
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	pushq	$0
	pushq	%r13
	pushq	$1
	pushq	$1
	pushq	$0
	pushq	%r12
	pushq	%r10
	pushq	%rax
	pushq	$0
	pushq	%r11
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_heap_create_with_catalog
	addq	$128, %rsp
	movl	%eax, %r14d
	xorl	%edi, %edi
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	setne	%dil
	callq	_Assert
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	callq	_ReleaseSysCache
	xorl	%eax, %eax
	callq	_CommandCounterIncrement
	movq	(%r15), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	_RELOID@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
LBB0_8:
	movl	(%r13), %edi
	movq	_Anum_pg_class_reloptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rcx
	movl	%r12d, %esi
	callq	_SysCacheGetAttr
	xorl	%esi, %esi
	cmpl	$0, -52(%rbp)
	cmoveq	%rax, %rsi
	movl	%r14d, %edi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_NewHeapCreateToastTable
	movl	%r12d, %edi
	callq	_ReleaseSysCache
LBB0_9:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NAMEDATALEN,4,2                ## @NAMEDATALEN
	.comm	_RELOID,4,2                     ## @RELOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for relation %u"

	.comm	_Anum_pg_class_reloptions,4,2   ## @Anum_pg_class_reloptions
	.comm	_RELPERSISTENCE_TEMP,1,0        ## @RELPERSISTENCE_TEMP
L_.str.1:                               ## @.str.1
	.asciz	"pg_temp"

L_.str.2:                               ## @.str.2
	.asciz	"pg_temp_%u"

	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_NIL,4,2                        ## @NIL
	.comm	_RELKIND_RELATION,4,2           ## @RELKIND_RELATION
	.comm	_ONCOMMIT_NOOP,4,2              ## @ONCOMMIT_NOOP
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_new_heap                  ; -- Begin function make_new_heap
	.p2align	2
_make_new_heap:                         ; @make_new_heap
	.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, #48
	mov	x21, x2
	stur	w1, [x29, #-96]                 ; 4-byte Folded Spill
	mov	x24, 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, _NAMEDATALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NAMEDATALEN@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	mov	x9, x27
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	stur	w3, [x29, #-116]                ; 4-byte Folded Spill
	mov	x1, x3
	bl	_table_open
	mov	x20, x0
	bl	_RelationGetDescr
	stur	w0, [x29, #-104]                ; 4-byte Folded Spill
Lloh8:
	adrp	x19, _RELOID@GOTPAGE
Lloh9:
	ldr	x19, [x19, _RELOID@GOTPAGEOFF]
	ldr	w25, [x19]
	mov	x0, x24
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x25
	bl	_SearchSysCache1
	mov	x25, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_elog
LBB0_2:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _Anum_pg_class_reloptions@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Anum_pg_class_reloptions@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	sub	x3, x29, #92
	mov	x1, x25
	bl	_SysCacheGetAttr
	ldur	w8, [x29, #-92]
	cmp	w8, #0
	csel	x8, x0, xzr, eq
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh18:
	adrp	x8, _RELPERSISTENCE_TEMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RELPERSISTENCE_TEMP@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w21, uxtb
	stur	w21, [x29, #-100]               ; 4-byte Folded Spill
	b.ne	LBB0_4
; %bb.3:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LookupCreationNamespace
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_RelationGetNamespace
LBB0_5:
	mov	x28, x0
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	x1, x27
	mov	x3, x24
	bl	_snprintf
Lloh24:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh25:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh26:
	ldr	w27, [x8]
	ldr	x8, [x20]
	ldp	w21, w19, [x8, #4]
Lloh27:
	adrp	x8, _NIL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
Lloh30:
	adrp	x8, _RELKIND_RELATION@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RELKIND_RELATION@GOTPAGEOFF]
Lloh32:
	ldr	w26, [x8]
	mov	x0, x20
	bl	_RelationIsMapped
Lloh33:
	adrp	x8, _ONCOMMIT_NOOP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ONCOMMIT_NOOP@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	sub	sp, sp, #64
	str	xzr, [sp, #56]
	mov	w9, #1
	stp	w9, w24, [sp, #48]
	mov	x9, #4294967296
	str	x9, [sp, #40]
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	str	x9, [sp, #32]
	stp	w0, w8, [sp, #20]
	str	wzr, [sp, #16]
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	strb	w8, [sp, #12]
	stp	w22, w26, [sp, #4]
	ldur	w8, [x29, #-104]                ; 4-byte Folded Reload
	str	w8, [sp]
	mov	x0, x23
	mov	x1, x28
	ldur	w2, [x29, #-96]                 ; 4-byte Folded Reload
	mov	x3, x27
	mov	x4, x27
	mov	x5, x27
	mov	x6, x19
	mov	x7, x21
	bl	_heap_create_with_catalog
	add	sp, sp, #64
	mov	x21, x0
Lloh36:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh37:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, ne
	bl	_Assert
	mov	x0, x25
	bl	_ReleaseSysCache
	bl	_CommandCounterIncrement
	ldr	x8, [x20]
	ldr	w23, [x8]
	mov	x0, x23
	bl	_OidIsValid
	cbz	x0, LBB0_9
; %bb.6:
Lloh39:
	adrp	x24, _RELOID@GOTPAGE
Lloh40:
	ldr	x24, [x24, _RELOID@GOTPAGEOFF]
	ldr	w19, [x24]
	mov	x0, x23
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_8
; %bb.7:
Lloh41:
	adrp	x8, _ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str@PAGE
Lloh45:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_elog
LBB0_8:
	ldr	w0, [x24]
Lloh46:
	adrp	x8, _Anum_pg_class_reloptions@GOTPAGE
Lloh47:
	ldr	x8, [x8, _Anum_pg_class_reloptions@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	sub	x3, x29, #92
	mov	x1, x22
	bl	_SysCacheGetAttr
	ldur	w8, [x29, #-92]
	cmp	w8, #0
	csel	x1, x0, xzr, eq
	mov	x0, x21
	ldur	w2, [x29, #-116]                ; 4-byte Folded Reload
	bl	_NewHeapCreateToastTable
	mov	x0, x22
	bl	_ReleaseSysCache
LBB0_9:
Lloh49:
	adrp	x8, _NoLock@GOTPAGE
Lloh50:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_table_close
	ldur	x8, [x29, #-88]
Lloh52:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh53:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	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_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_NAMEDATALEN,4,2                ; @NAMEDATALEN
	.comm	_RELOID,4,2                     ; @RELOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for relation %u"

	.comm	_Anum_pg_class_reloptions,4,2   ; @Anum_pg_class_reloptions
	.comm	_RELPERSISTENCE_TEMP,1,0        ; @RELPERSISTENCE_TEMP
l_.str.1:                               ; @.str.1
	.asciz	"pg_temp"

l_.str.2:                               ; @.str.2
	.asciz	"pg_temp_%u"

	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_NIL,4,2                        ; @NIL
	.comm	_RELKIND_RELATION,4,2           ; @RELKIND_RELATION
	.comm	_ONCOMMIT_NOOP,4,2              ; @ONCOMMIT_NOOP
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
