	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_statext_ndistinct_load         ## -- Begin function statext_ndistinct_load
	.p2align	4, 0x90
_statext_ndistinct_load:                ## @statext_ndistinct_load
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_STATEXTDATASTXOID@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r12d
	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	%r14d, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_2:
	movl	(%r15), %edi
	movq	_Anum_pg_statistic_ext_data_stxdndistinct@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	movl	%r12d, %esi
	callq	_SysCacheGetAttr
	movl	%eax, %r15d
	cmpl	$0, -36(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STATS_EXT_NDISTINCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_elog
LBB0_4:
	movl	%r15d, %edi
	callq	_DatumGetByteaPP
	movl	%eax, %edi
	callq	_statext_ndistinct_deserialize
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_ReleaseSysCache
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_Anum_pg_statistic_ext_data_stxdndistinct,4,2 ## @Anum_pg_statistic_ext_data_stxdndistinct
L_.str.1:                               ## @.str.1
	.asciz	"requested statistic kind \"%c\" is not yet built for statistics object %u"

	.comm	_STATS_EXT_NDISTINCT,4,2        ## @STATS_EXT_NDISTINCT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_statext_ndistinct_load         ; -- Begin function statext_ndistinct_load
	.p2align	2
_statext_ndistinct_load:                ; @statext_ndistinct_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
Lloh0:
	adrp	x21, _STATEXTDATASTXOID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _STATEXTDATASTXOID@GOTPAGEOFF]
	ldr	w19, [x21]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
Lloh2:
	adrp	x22, _ERROR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ERROR@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_2:
	ldr	w0, [x21]
Lloh6:
	adrp	x8, _Anum_pg_statistic_ext_data_stxdndistinct@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Anum_pg_statistic_ext_data_stxdndistinct@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x19
	bl	_SysCacheGetAttr
	mov	x21, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x22]
Lloh9:
	adrp	x8, _STATS_EXT_NDISTINCT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATS_EXT_NDISTINCT@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_4:
	mov	x0, x21
	bl	_DatumGetByteaPP
	bl	_statext_ndistinct_deserialize
	mov	x20, x0
	mov	x0, x19
	bl	_ReleaseSysCache
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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	_Anum_pg_statistic_ext_data_stxdndistinct,4,2 ; @Anum_pg_statistic_ext_data_stxdndistinct
l_.str.1:                               ; @.str.1
	.asciz	"requested statistic kind \"%c\" is not yet built for statistics object %u"

	.comm	_STATS_EXT_NDISTINCT,4,2        ; @STATS_EXT_NDISTINCT
.subsections_via_symbols
