	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveFunctionById             ## -- Begin function RemoveFunctionById
	.p2align	4, 0x90
_RemoveFunctionById:                    ## @RemoveFunctionById
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_ProcedureRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r15d
	movq	_PROCOID@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:
	movq	%rbx, %rdi
	callq	_GETSTRUCT
	movb	(%rax), %r13b
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_CatalogTupleDelete
	movq	%rbx, %rdi
	callq	_ReleaseSysCache
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_table_close
	movq	_PROKIND_AGGREGATE@GOTPCREL(%rip), %rax
	cmpb	(%rax), %r13b
	jne	LBB0_6
## %bb.3:
	movq	_AggregateRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r15d
	movq	_AGGFNOID@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_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_elog
LBB0_5:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_CatalogTupleDelete
	movq	%rbx, %rdi
	callq	_ReleaseSysCache
	movl	(%r12), %esi
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcedureRelationId,4,2        ## @ProcedureRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_PROCOID,4,2                    ## @PROCOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for function %u"

	.comm	_PROKIND_AGGREGATE,1,0          ## @PROKIND_AGGREGATE
	.comm	_AggregateRelationId,4,2        ## @AggregateRelationId
	.comm	_AGGFNOID,4,2                   ## @AGGFNOID
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for pg_aggregate tuple for function %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveFunctionById             ; -- Begin function RemoveFunctionById
	.p2align	2
_RemoveFunctionById:                    ; @RemoveFunctionById
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _ProcedureRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ProcedureRelationId@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, _PROCOID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PROCOID@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, x21
	bl	_GETSTRUCT
	ldrb	w23, [x0]
	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, _PROKIND_AGGREGATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROKIND_AGGREGATE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_6
; %bb.3:
Lloh15:
	adrp	x8, _AggregateRelationId@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AggregateRelationId@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_table_open
	mov	x20, x0
Lloh18:
	adrp	x8, _AGGFNOID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AGGFNOID@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x21
	bl	_SearchSysCache1
	mov	x21, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	bl	_CatalogTupleDelete
	mov	x0, x21
	bl	_ReleaseSysCache
	ldr	w1, [x22]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_table_close
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcedureRelationId,4,2        ; @ProcedureRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_PROCOID,4,2                    ; @PROCOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for function %u"

	.comm	_PROKIND_AGGREGATE,1,0          ; @PROKIND_AGGREGATE
	.comm	_AggregateRelationId,4,2        ; @AggregateRelationId
	.comm	_AGGFNOID,4,2                   ; @AGGFNOID
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for pg_aggregate tuple for function %u"

.subsections_via_symbols
