	.file	"extr_foreigncmds.c_RemoveForeignServerById.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cache lookup failed for foreign server %u"
	.text
	.p2align 4
	.globl	RemoveForeignServerById
	.type	RemoveForeignServerById, @function
RemoveForeignServerById:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, DWORD PTR RowExclusiveLock[rip]
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	edi, DWORD PTR ForeignServerRelationId[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	table_open@PLT
	mov	edi, r13d
	mov	r12d, eax
	call	ObjectIdGetDatum@PLT
	mov	edi, DWORD PTR FOREIGNSERVEROID[rip]
	mov	esi, eax
	call	SearchSysCache1@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	HeapTupleIsValid@PLT
	test	eax, eax
	je	.L5
.L2:
	mov	rsi, rbp
	mov	edi, r12d
	call	CatalogTupleDelete@PLT
	mov	rdi, rbp
	call	ReleaseSysCache@PLT
	mov	esi, DWORD PTR RowExclusiveLock[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	table_close@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR ERROR[rip]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	elog@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	RemoveForeignServerById, .-RemoveForeignServerById
	.comm	RowExclusiveLock,4,4
	.comm	ForeignServerRelationId,4,4
	.comm	FOREIGNSERVEROID,4,4
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_foreigncmds.c_RemoveForeignServerById.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cache lookup failed for foreign server %u\000"
	.text
	.align	2
	.global	RemoveForeignServerById
	.syntax unified
	.arm
	.fpu softvfp
	.type	RemoveForeignServerById, %function
RemoveForeignServerById:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L6
	ldr	r7, .L6+4
	mov	r6, r0
	ldr	r1, [r7]
	ldr	r0, [r3]
	bl	table_open
	ldr	r3, .L6+8
	mov	r4, r0
	mov	r0, r6
	ldr	r5, [r3]
	bl	ObjectIdGetDatum
	mov	r1, r0
	mov	r0, r5
	bl	SearchSysCache1
	mov	r5, r0
	bl	HeapTupleIsValid
	cmp	r0, #0
	beq	.L5
.L2:
	mov	r1, r5
	mov	r0, r4
	bl	CatalogTupleDelete
	mov	r0, r5
	bl	ReleaseSysCache
	mov	r0, r4
	ldr	r1, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	table_close
.L5:
	ldr	r3, .L6+12
	mov	r2, r6
	ldr	r0, [r3]
	ldr	r1, .L6+16
	bl	elog
	b	.L2
.L7:
	.align	2
.L6:
	.word	ForeignServerRelationId
	.word	RowExclusiveLock
	.word	FOREIGNSERVEROID
	.word	ERROR
	.word	.LC0
	.size	RemoveForeignServerById, .-RemoveForeignServerById
	.comm	RowExclusiveLock,4,4
	.comm	ForeignServerRelationId,4,4
	.comm	FOREIGNSERVEROID,4,4
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
