	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_attstatsslot               ## -- Begin function get_attstatsslot
	.p2align	4, 0x90
_get_attstatsslot:                      ## @get_attstatsslot
	.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	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rdi, %r12
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_GETSTRUCT
	movq	%rax, %r14
	xorl	%r13d, %r13d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_STATISTIC_NUM_SLOTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_27
## %bb.1:
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	negq	%rax
	movl	$2, %esi
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%r12
	addq	$2, %rsi
	cmpq	%r12, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, -4(%r14,%rsi,2)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, %rdx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, (%r14,%rsi,4)
	jne	LBB0_5
LBB0_7:
	movq	8(%r14,%rsi,4), %rax
	movups	(%r14,%rsi,4), %xmm0
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movups	%xmm0, (%rbx)
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_DEFAULT_COLLATION_OID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_9:
	movq	_ATTSTATSSLOT_VALUES@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.10:
	movq	_STATRELATTINH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Anum_pg_statistic_stavalues1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%r12, %rdx
	leaq	-44(%rbp), %rcx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_SysCacheGetAttr
	movl	%eax, %ebx
	cmpl	$0, -44(%rbp)
	je	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_12:
	movl	%ebx, %edi
	callq	_DatumGetArrayTypePCopy
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_ARR_ELEMTYPE
	movq	%rax, %r15
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 56(%r13)
	movq	_TYPEOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_elog
LBB0_14:
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movq	%rax, %rbx
	movl	8(%rax), %edx
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	leaq	52(%r13), %r9
	leaq	48(%r13), %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	pushq	%rax
	pushq	$0
	callq	_deconstruct_array
	addq	$16, %rsp
	cmpl	$0, (%rbx)
	je	LBB0_15
## %bb.16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pfree
	jmp	LBB0_17
LBB0_6:
	xorl	%r13d, %r13d
	jmp	LBB0_27
LBB0_15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r13)
LBB0_17:
	movq	%r13, %rbx
	movl	%r14d, %edi
	callq	_ReleaseSysCache
LBB0_18:
	movq	_ATTSTATSSLOT_NUMBERS@GOTPCREL(%rip), %rax
	movl	$1, %r13d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_27
## %bb.19:
	movq	_STATRELATTINH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Anum_pg_statistic_stanumbers1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%r12, %rdx
	leaq	-44(%rbp), %rcx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_SysCacheGetAttr
	movl	%eax, %r14d
	cmpl	$0, -44(%rbp)
	je	LBB0_21
## %bb.20:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_21:
	movl	%r14d, %edi
	callq	_DatumGetArrayTypePCopy
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ARR_DIMS
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_ARR_NDIM
	cmpl	$1, %eax
	jne	LBB0_25
## %bb.22:
	testl	%r15d, %r15d
	jle	LBB0_25
## %bb.23:
	movq	%r14, %rdi
	callq	_ARR_HASNULL
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movq	%r14, %rdi
	callq	_ARR_ELEMTYPE
	movq	_FLOAT4OID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
LBB0_25:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_26:
	movq	%r14, %rdi
	callq	_ARR_DATA_PTR
	movq	%rax, 32(%rbx)
	movl	%r15d, 16(%rbx)
	movq	%r14, 24(%rbx)
LBB0_27:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATISTIC_NUM_SLOTS,4,2        ## @STATISTIC_NUM_SLOTS
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_DEFAULT_COLLATION_OID,8,3      ## @DEFAULT_COLLATION_OID
	.comm	_ATTSTATSSLOT_VALUES,4,2        ## @ATTSTATSSLOT_VALUES
	.comm	_STATRELATTINH,4,2              ## @STATRELATTINH
	.comm	_Anum_pg_statistic_stavalues1,8,3 ## @Anum_pg_statistic_stavalues1
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stavalues is null"

	.comm	_TYPEOID,4,2                    ## @TYPEOID
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for type %u"

	.comm	_ATTSTATSSLOT_NUMBERS,4,2       ## @ATTSTATSSLOT_NUMBERS
	.comm	_Anum_pg_statistic_stanumbers1,8,3 ## @Anum_pg_statistic_stanumbers1
L_.str.2:                               ## @.str.2
	.asciz	"stanumbers is null"

	.comm	_FLOAT4OID,8,3                  ## @FLOAT4OID
L_.str.3:                               ## @.str.3
	.asciz	"stanumbers is not a 1-D float4 array"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_attstatsslot               ; -- Begin function get_attstatsslot
	.p2align	2
_get_attstatsslot:                      ; @get_attstatsslot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_GETSTRUCT
	mov	x24, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x8, _STATISTIC_NUM_SLOTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATISTIC_NUM_SLOTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x27, #0
Lloh3:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
	ldr	x10, [x9]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	cmp	x8, x27
	b.eq	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x24, x27, lsl #2]
	cmp	w11, w23
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x10, x22
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x24, x27, lsl #3
	ldr	x11, [x11, #8]
	cmp	x11, x22
	b.ne	LBB0_2
LBB0_6:
	add	x8, x24, x27, lsl #3
	ldp	x10, x8, [x8, #8]
	stp	x10, x8, [x19]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _DEFAULT_COLLATION_OID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEFAULT_COLLATION_OID@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_8:
Lloh8:
	adrp	x8, _ATTSTATSSLOT_VALUES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATTSTATSSLOT_VALUES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x28, _STATRELATTINH@GOTPAGE
Lloh12:
	ldr	x28, [x28, _STATRELATTINH@GOTPAGEOFF]
Lloh13:
	adrp	x26, _ERROR@GOTPAGE
Lloh14:
	ldr	x26, [x26, _ERROR@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.9:
	ldr	w0, [x28]
Lloh15:
	adrp	x8, _Anum_pg_statistic_stavalues1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Anum_pg_statistic_stavalues1@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x2, x8, x27
	add	x3, sp, #12
	mov	x1, x20
	bl	_SysCacheGetAttr
	mov	x22, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_11
; %bb.10:
	ldr	w0, [x26]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_11:
	mov	x0, x22
	bl	_DatumGetArrayTypePCopy
	mov	x22, x0
	bl	_ARR_ELEMTYPE
	mov	x24, x0
	str	x0, [x19, #56]
Lloh20:
	adrp	x8, _TYPEOID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TYPEOID@GOTPAGEOFF]
Lloh22:
	ldr	w23, [x8]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_SearchSysCache1
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	w0, [x26]
	str	x24, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_13:
	mov	x0, x23
	bl	_GETSTRUCT
	mov	x25, x0
	ldp	w4, w2, [x0, #4]
	ldr	w3, [x0]
	add	x5, x19, #52
	add	x7, x19, #48
	mov	x0, x22
	mov	x1, x24
	mov	x6, #0
	bl	_deconstruct_array
	ldr	w8, [x25]
	cbz	w8, LBB0_16
; %bb.14:
	mov	x0, x22
	bl	_pfree
	b	LBB0_17
LBB0_15:
	mov	w0, #0
	b	LBB0_27
LBB0_16:
	str	x22, [x19, #40]
LBB0_17:
	mov	x0, x23
	bl	_ReleaseSysCache
LBB0_18:
Lloh25:
	adrp	x8, _ATTSTATSSLOT_NUMBERS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ATTSTATSSLOT_NUMBERS@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_26
; %bb.19:
	ldr	w0, [x28]
Lloh28:
	adrp	x8, _Anum_pg_statistic_stanumbers1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _Anum_pg_statistic_stanumbers1@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	add	x2, x8, x27
	add	x3, sp, #12
	mov	x1, x20
	bl	_SysCacheGetAttr
	mov	x20, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_21
; %bb.20:
	ldr	w0, [x26]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_21:
	mov	x0, x20
	bl	_DatumGetArrayTypePCopy
	mov	x20, x0
	bl	_ARR_DIMS
	ldr	w21, [x0]
	mov	x0, x20
	bl	_ARR_NDIM
	cmp	w0, #1
	ccmp	w21, #1, #8, eq
	b.lt	LBB0_24
; %bb.22:
	mov	x0, x20
	bl	_ARR_HASNULL
	cbnz	x0, LBB0_24
; %bb.23:
	mov	x0, x20
	bl	_ARR_ELEMTYPE
Lloh33:
	adrp	x8, _FLOAT4OID@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FLOAT4OID@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_25
LBB0_24:
	ldr	w0, [x26]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_elog
LBB0_25:
	mov	x0, x20
	bl	_ARR_DATA_PTR
	str	w21, [x19, #16]
	stp	x20, x0, [x19, #24]
LBB0_26:
	mov	w0, #1
LBB0_27:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_STATISTIC_NUM_SLOTS,4,2        ; @STATISTIC_NUM_SLOTS
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_DEFAULT_COLLATION_OID,8,3      ; @DEFAULT_COLLATION_OID
	.comm	_ATTSTATSSLOT_VALUES,4,2        ; @ATTSTATSSLOT_VALUES
	.comm	_STATRELATTINH,4,2              ; @STATRELATTINH
	.comm	_Anum_pg_statistic_stavalues1,8,3 ; @Anum_pg_statistic_stavalues1
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stavalues is null"

	.comm	_TYPEOID,4,2                    ; @TYPEOID
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for type %u"

	.comm	_ATTSTATSSLOT_NUMBERS,4,2       ; @ATTSTATSSLOT_NUMBERS
	.comm	_Anum_pg_statistic_stanumbers1,8,3 ; @Anum_pg_statistic_stanumbers1
l_.str.2:                               ; @.str.2
	.asciz	"stanumbers is null"

	.comm	_FLOAT4OID,8,3                  ; @FLOAT4OID
l_.str.3:                               ; @.str.3
	.asciz	"stanumbers is not a 1-D float4 array"

.subsections_via_symbols
