	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveStatisticsById           ## -- Begin function RemoveStatisticsById
	.p2align	4, 0x90
_RemoveStatisticsById:                  ## @RemoveStatisticsById
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_StatisticExtDataRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r15d
	movq	_STATEXTDATASTXOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movq	%rax, %rbx
	movq	%rax, %rdi
	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
	callq	_elog
LBB0_2:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_CatalogTupleDelete
	movq	%rbx, %rdi
	callq	_ReleaseSysCache
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_table_close
	movq	_StatisticExtRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r15d
	movq	_STATEXTOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_elog
LBB0_4:
	movq	%rbx, %rdi
	callq	_GETSTRUCT
	movl	(%rax), %edi
	callq	_CacheInvalidateRelcacheByRelid
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_CatalogTupleDelete
	movq	%rbx, %rdi
	callq	_ReleaseSysCache
	movl	(%r12), %esi
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_StatisticExtDataRelationId,4,2 ## @StatisticExtDataRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_STATEXTDATASTXOID,4,2          ## @STATEXTDATASTXOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for statistics data %u"

	.comm	_StatisticExtRelationId,4,2     ## @StatisticExtRelationId
	.comm	_STATEXTOID,4,2                 ## @STATEXTOID
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for statistics object %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveStatisticsById           ; -- Begin function RemoveStatisticsById
	.p2align	2
_RemoveStatisticsById:                  ; @RemoveStatisticsById
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _StatisticExtDataRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _StatisticExtDataRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x22, _RowExclusiveLock@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_table_open
	mov	x20, x0
Lloh5:
	adrp	x8, _STATEXTDATASTXOID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STATEXTDATASTXOID@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x21
	bl	_SearchSysCache1
	mov	x21, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	bl	_CatalogTupleDelete
	mov	x0, x21
	bl	_ReleaseSysCache
	ldr	w1, [x22]
	mov	x0, x20
	bl	_table_close
Lloh13:
	adrp	x8, _StatisticExtRelationId@GOTPAGE
Lloh14:
	ldr	x8, [x8, _StatisticExtRelationId@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_table_open
	mov	x20, x0
Lloh16:
	adrp	x8, _STATEXTOID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STATEXTOID@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x21
	bl	_SearchSysCache1
	mov	x21, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_4
; %bb.3:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_4:
	mov	x0, x21
	bl	_GETSTRUCT
	ldr	w0, [x0]
	bl	_CacheInvalidateRelcacheByRelid
	mov	x0, x20
	mov	x1, x21
	bl	_CatalogTupleDelete
	mov	x0, x21
	bl	_ReleaseSysCache
	ldr	w1, [x22]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_table_close
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_StatisticExtDataRelationId,4,2 ; @StatisticExtDataRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_STATEXTDATASTXOID,4,2          ; @STATEXTDATASTXOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for statistics data %u"

	.comm	_StatisticExtRelationId,4,2     ; @StatisticExtRelationId
	.comm	_STATEXTOID,4,2                 ; @STATEXTOID
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for statistics object %u"

.subsections_via_symbols
