	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function statext_store
_statext_store:                         ## @statext_store
	.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	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_statistic_ext_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	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
	leal	(,%r12,4), %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_statext_ndistinct_serialize
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movq	_Anum_pg_statistic_ext_data_stxdndistinct@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdx
	movl	%ecx, -4(%r14,%rdx,4)
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movslq	(%rbx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
LBB0_2:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_statext_dependencies_serialize
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movq	_Anum_pg_statistic_ext_data_stxddependencies@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdx
	movl	%ecx, -4(%r14,%rdx,4)
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movslq	(%rbx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
LBB0_4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.6:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_statext_mcv_serialize
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movq	_Anum_pg_statistic_ext_data_stxdmcv@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdx
	movl	%ecx, -4(%r14,%rdx,4)
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movslq	(%rbx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
	jmp	LBB0_7
LBB0_5:
	movq	_Anum_pg_statistic_ext_data_stxdmcv@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
LBB0_7:
	decq	%rcx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_Anum_pg_statistic_ext_data_stxdndistinct@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	$1, -4(%r15,%rax,4)
	movq	_Anum_pg_statistic_ext_data_stxddependencies@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	$1, -4(%r15,%rax,4)
	movl	$1, (%r15,%rcx,4)
	movq	_STATEXTDATASTXOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_elog
LBB0_9:
	movq	_StatisticExtDataRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_RelationGetDescr
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_heap_modify_tuple
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ReleaseSysCache
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_CatalogTupleUpdate
	movq	%rbx, %rdi
	callq	_heap_freetuple
	movl	(%r12), %esi
	movl	%r13d, %edi
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	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	_Natts_pg_statistic_ext_data,4,2 ## @Natts_pg_statistic_ext_data
	.comm	_Anum_pg_statistic_ext_data_stxdndistinct,4,2 ## @Anum_pg_statistic_ext_data_stxdndistinct
	.comm	_Anum_pg_statistic_ext_data_stxddependencies,4,2 ## @Anum_pg_statistic_ext_data_stxddependencies
	.comm	_Anum_pg_statistic_ext_data_stxdmcv,4,2 ## @Anum_pg_statistic_ext_data_stxdmcv
	.comm	_STATEXTDATASTXOID,4,2          ## @STATEXTDATASTXOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for statistics object %u"

	.comm	_StatisticExtDataRelationId,4,2 ## @StatisticExtDataRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.no_dead_strip	_statext_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function statext_store
_statext_store:                         ; @statext_store
	.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	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	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, _Natts_pg_statistic_ext_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Natts_pg_statistic_ext_data@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #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	x13, x10, #0x7fffffff0
	sub	x19, x9, x13
	mov	sp, x19
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x13
	mov	sp, x20
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x13
	mov	sp, x22
	lsl	w27, w12, #2
	mov	x0, x20
	mov	w1, #1
	mov	x2, x27
	bl	_memset
	mov	x0, x22
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	x0, x19
	mov	w1, #0
	mov	x2, x27
	bl	_memset
Lloh12:
	adrp	x27, _Anum_pg_statistic_ext_data_stxdndistinct@GOTPAGE
Lloh13:
	ldr	x27, [x27, _Anum_pg_statistic_ext_data_stxdndistinct@GOTPAGEOFF]
	cbz	x26, LBB0_2
; %bb.1:
	mov	x0, x26
	bl	_statext_ndistinct_serialize
	cmp	x0, #0
	cset	w8, eq
	ldrsw	x9, [x27]
	add	x9, x20, x9, lsl #2
	stur	w8, [x9, #-4]
	bl	_PointerGetDatum
	ldrsw	x8, [x27]
	add	x8, x19, x8, lsl #2
	stur	w0, [x8, #-4]
LBB0_2:
Lloh14:
	adrp	x26, _Anum_pg_statistic_ext_data_stxddependencies@GOTPAGE
Lloh15:
	ldr	x26, [x26, _Anum_pg_statistic_ext_data_stxddependencies@GOTPAGEOFF]
	cbz	x25, LBB0_4
; %bb.3:
	mov	x0, x25
	bl	_statext_dependencies_serialize
	cmp	x0, #0
	cset	w8, eq
	ldrsw	x9, [x26]
	add	x9, x20, x9, lsl #2
	stur	w8, [x9, #-4]
	bl	_PointerGetDatum
	ldrsw	x8, [x26]
	add	x8, x19, x8, lsl #2
	stur	w0, [x8, #-4]
LBB0_4:
	cbz	x24, LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x23
	bl	_statext_mcv_serialize
	cmp	x0, #0
	cset	w8, eq
Lloh16:
	adrp	x23, _Anum_pg_statistic_ext_data_stxdmcv@GOTPAGE
Lloh17:
	ldr	x23, [x23, _Anum_pg_statistic_ext_data_stxdmcv@GOTPAGEOFF]
	ldrsw	x9, [x23]
	add	x9, x20, x9, lsl #2
	stur	w8, [x9, #-4]
	bl	_PointerGetDatum
	ldrsw	x8, [x23]
	sub	x8, x8, #1
	str	w0, [x19, x8, lsl #2]
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _Anum_pg_statistic_ext_data_stxdmcv@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Anum_pg_statistic_ext_data_stxdmcv@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
LBB0_7:
	ldrsw	x9, [x27]
	add	x9, x22, x9, lsl #2
	mov	w10, #1
	stur	w10, [x9, #-4]
	ldrsw	x9, [x26]
	add	x9, x22, x9, lsl #2
	stur	w10, [x9, #-4]
	str	w10, [x22, x8, lsl #2]
Lloh21:
	adrp	x8, _STATEXTDATASTXOID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STATEXTDATASTXOID@GOTPAGEOFF]
Lloh23:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_SearchSysCache1
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_9:
Lloh29:
	adrp	x8, _StatisticExtDataRelationId@GOTPAGE
Lloh30:
	ldr	x8, [x8, _StatisticExtDataRelationId@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x24, _RowExclusiveLock@GOTPAGE
Lloh33:
	ldr	x24, [x24, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_table_open
	mov	x21, x0
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	bl	_heap_modify_tuple
	mov	x19, x0
	mov	x0, x23
	bl	_ReleaseSysCache
	mov	x0, x21
	mov	x1, x19
	mov	x2, x19
	bl	_CatalogTupleUpdate
	mov	x0, x19
	bl	_heap_freetuple
	ldr	w1, [x24]
	mov	x0, x21
	bl	_table_close
	ldur	x8, [x29, #-88]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	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	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_Natts_pg_statistic_ext_data,4,2 ; @Natts_pg_statistic_ext_data
	.comm	_Anum_pg_statistic_ext_data_stxdndistinct,4,2 ; @Anum_pg_statistic_ext_data_stxdndistinct
	.comm	_Anum_pg_statistic_ext_data_stxddependencies,4,2 ; @Anum_pg_statistic_ext_data_stxddependencies
	.comm	_Anum_pg_statistic_ext_data_stxdmcv,4,2 ; @Anum_pg_statistic_ext_data_stxdmcv
	.comm	_STATEXTDATASTXOID,4,2          ; @STATEXTDATASTXOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for statistics object %u"

	.comm	_StatisticExtDataRelationId,4,2 ; @StatisticExtDataRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.no_dead_strip	_statext_store
.subsections_via_symbols
