	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ValidateRestrictionEstimator
_ValidateRestrictionEstimator:          ## @ValidateRestrictionEstimator
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_INTERNALOID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_OIDOID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)
	movl	%eax, -56(%rbp)
	movq	_INT4OID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rdx
	movl	$4, %esi
	xorl	%ecx, %ecx
	callq	_LookupFuncName
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_get_func_rettype
	movq	_FLOAT8OID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_OBJECT_DEFINITION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_NameListToString
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	xorl	%eax, %eax
	callq	_GetUserId
	movq	_ACL_EXECUTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_pg_proc_aclcheck
	movq	%rax, %rbx
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_4
## %bb.3:
	movq	_OBJECT_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_NameListToString
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_aclcheck_error
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTERNALOID,4,2                ## @INTERNALOID
	.comm	_OIDOID,4,2                     ## @OIDOID
	.comm	_INT4OID,4,2                    ## @INT4OID
	.comm	_FLOAT8OID,8,3                  ## @FLOAT8OID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_OBJECT_DEFINITION,4,2 ## @ERRCODE_INVALID_OBJECT_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"restriction estimator function %s must return type %s"

L_.str.1:                               ## @.str.1
	.asciz	"float8"

	.comm	_ACL_EXECUTE,4,2                ## @ACL_EXECUTE
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_OBJECT_FUNCTION,4,2            ## @OBJECT_FUNCTION
	.no_dead_strip	_ValidateRestrictionEstimator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ValidateRestrictionEstimator
_ValidateRestrictionEstimator:          ; @ValidateRestrictionEstimator
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _INTERNALOID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTERNALOID@GOTPAGEOFF]
	str	x8, [sp, #24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _OIDOID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OIDOID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
Lloh9:
	adrp	x9, _INT4OID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INT4OID@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	add	x2, sp, #8
	mov	w1, #4
	mov	w3, #0
	bl	_LookupFuncName
	mov	x20, x0
	bl	_get_func_rettype
Lloh12:
	adrp	x8, _FLOAT8OID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FLOAT8OID@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
Lloh18:
	adrp	x8, _ERRCODE_INVALID_OBJECT_DEFINITION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERRCODE_INVALID_OBJECT_DEFINITION@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x19
	bl	_NameListToString
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	bl	_GetUserId
	mov	x1, x0
Lloh25:
	adrp	x8, _ACL_EXECUTE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ACL_EXECUTE@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_pg_proc_aclcheck
Lloh28:
	adrp	x8, _ACLCHECK_OK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ACLCHECK_OK@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x21, x0
Lloh31:
	adrp	x8, _OBJECT_FUNCTION@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OBJECT_FUNCTION@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_NameListToString
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_aclcheck_error
LBB0_4:
	ldr	x8, [sp, #24]
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_6
; %bb.5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_INTERNALOID,4,2                ; @INTERNALOID
	.comm	_OIDOID,4,2                     ; @OIDOID
	.comm	_INT4OID,4,2                    ; @INT4OID
	.comm	_FLOAT8OID,8,3                  ; @FLOAT8OID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_OBJECT_DEFINITION,4,2 ; @ERRCODE_INVALID_OBJECT_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"restriction estimator function %s must return type %s"

l_.str.1:                               ; @.str.1
	.asciz	"float8"

	.comm	_ACL_EXECUTE,4,2                ; @ACL_EXECUTE
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_OBJECT_FUNCTION,4,2            ; @OBJECT_FUNCTION
	.no_dead_strip	_ValidateRestrictionEstimator
.subsections_via_symbols
