	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StorePartitionBound            ## -- Begin function StorePartitionBound
	.p2align	4, 0x90
_StorePartitionBound:                   ## @StorePartitionBound
	.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	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_class@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	callq	_RelationGetRelid
	movl	%eax, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_RelationGetRelid
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_elog
LBB0_2:
	leal	(,%r13,4), %ebx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r12, %rbx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_nodeToString
	movl	%eax, %edi
	callq	_CStringGetTextDatum
	movq	_Anum_pg_class_relpartbound@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r12,%rcx,4)
	movl	$0, -4(%r14,%rcx,4)
	movl	$1, -4(%r15,%rcx,4)
	movq	%r15, %r12
	movq	%r14, %r15
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_RelationGetDescr
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_heap_modify_tuple
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movl	$1, (%rax)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_CatalogTupleUpdate
	movq	%rbx, %rdi
	callq	_heap_freetuple
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_table_close
	cmpq	$0, (%r13)
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_RelationGetRelid
	movl	%eax, %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_RelationGetRelid
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_update_default_partition_oid
LBB0_4:
	xorl	%eax, %eax
	callq	_CommandCounterIncrement
	movl	%r14d, %edi
	callq	_RelationGetPartitionDesc
	movl	%eax, %edi
	callq	_get_default_oid_from_partdesc
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_CacheInvalidateRelcacheByRelid
LBB0_6:
	movl	%r14d, %edi
	callq	_CacheInvalidateRelcache
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Natts_pg_class,4,2             ## @Natts_pg_class
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.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_relpartbound,4,2 ## @Anum_pg_class_relpartbound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StorePartitionBound            ; -- Begin function StorePartitionBound
	.p2align	2
_StorePartitionBound:                   ; @StorePartitionBound
	.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, x2
	mov	x19, x1
	mov	x20, 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, _Natts_pg_class@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Natts_pg_class@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	lsl	x8, x28, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x24, x9, x12
	mov	sp, x24
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x25, x8, x12
	mov	sp, x25
Lloh12:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_table_open
	mov	x23, x0
Lloh18:
	adrp	x8, _RELOID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RELOID@GOTPAGEOFF]
Lloh20:
	ldr	w26, [x8]
	mov	x0, x20
	bl	_RelationGetRelid
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x26
	bl	_SearchSysCacheCopy1
	mov	x26, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w27, [x8]
	mov	x0, x20
	bl	_RelationGetRelid
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x27
	bl	_elog
LBB0_2:
	lsl	w27, w28, #2
	mov	x0, x22
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	x0, x24
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	x0, x25
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	x0, x21
	bl	_nodeToString
	bl	_CStringGetTextDatum
Lloh26:
	adrp	x8, _Anum_pg_class_relpartbound@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Anum_pg_class_relpartbound@GOTPAGEOFF]
Lloh28:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x22, x8]
	str	wzr, [x24, x8]
	mov	w27, #1
	str	w27, [x25, x8]
	mov	x0, x23
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x26
	mov	x2, x22
	mov	x3, x24
	mov	x4, x25
	bl	_heap_modify_tuple
	mov	x22, x0
	bl	_GETSTRUCT
	str	w27, [x0]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x22
	bl	_CatalogTupleUpdate
	mov	x0, x22
	bl	_heap_freetuple
Lloh29:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_table_close
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x21, x0
	mov	x0, x20
	bl	_RelationGetRelid
	mov	x1, x0
	mov	x0, x21
	bl	_update_default_partition_oid
LBB0_4:
	bl	_CommandCounterIncrement
	mov	x0, x19
	bl	_RelationGetPartitionDesc
	bl	_get_default_oid_from_partdesc
	mov	x20, x0
	bl	_OidIsValid
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_CacheInvalidateRelcacheByRelid
LBB0_6:
	mov	x0, x19
	bl	_CacheInvalidateRelcache
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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 AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_Natts_pg_class,4,2             ; @Natts_pg_class
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.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_relpartbound,4,2 ; @Anum_pg_class_relpartbound
.subsections_via_symbols
