	.file	"extr_tablecmds.c_RangeVarCallbackOwnsTable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"\"%s\" is not a table or materialized view"
	.text
	.p2align 4
	.globl	RangeVarCallbackOwnsTable
	.type	RangeVarCallbackOwnsTable, @function
RangeVarCallbackOwnsTable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, esi
	call	OidIsValid@PLT
	test	eax, eax
	jne	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, ebp
	call	get_rel_relkind@PLT
	test	al, al
	je	.L1
	cmp	BYTE PTR RELKIND_RELATION[rip], al
	je	.L5
	cmp	BYTE PTR RELKIND_TOASTVALUE[rip], al
	je	.L5
	cmp	BYTE PTR RELKIND_MATVIEW[rip], al
	je	.L5
	cmp	BYTE PTR RELKIND_PARTITIONED_TABLE[rip], al
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	call	GetUserId@PLT
	mov	edi, ebp
	mov	esi, eax
	call	pg_class_ownercheck@PLT
	test	eax, eax
	jne	.L1
	mov	edi, ebp
	mov	r12d, DWORD PTR [rbx]
	call	get_rel_relkind@PLT
	movsx	edi, al
	call	get_relkind_objtype@PLT
	mov	edi, DWORD PTR ACLCHECK_NOT_OWNER[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	aclcheck_error@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR ERRCODE_WRONG_OBJECT_TYPE[rip]
	call	errcode@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	RangeVarCallbackOwnsTable, .-RangeVarCallbackOwnsTable
	.comm	RELKIND_TOASTVALUE,1,1
	.comm	RELKIND_RELATION,1,1
	.comm	RELKIND_PARTITIONED_TABLE,1,1
	.comm	RELKIND_MATVIEW,1,1
	.comm	ERROR,4,4
	.comm	ERRCODE_WRONG_OBJECT_TYPE,4,4
	.comm	ACLCHECK_NOT_OWNER,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_tablecmds.c_RangeVarCallbackOwnsTable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\"%s\" is not a table or materialized view\000"
	.text
	.align	2
	.global	RangeVarCallbackOwnsTable
	.syntax unified
	.arm
	.fpu softvfp
	.type	RangeVarCallbackOwnsTable, %function
RangeVarCallbackOwnsTable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	bl	OidIsValid
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	bl	get_rel_relkind
	subs	r3, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, .L12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r2, .L12+4
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r2, .L12+8
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r2, .L12+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
.L5:
	bl	GetUserId
	mov	r1, r0
	mov	r0, r4
	bl	pg_class_ownercheck
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L12+16
	mov	r0, r4
	ldr	r4, [r3]
	bl	get_rel_relkind
	bl	get_relkind_objtype
	ldr	r2, [r5]
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	aclcheck_error
.L11:
	ldr	r2, .L12+20
	ldr	r3, .L12+24
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	errcode
	ldr	r1, [r5]
	ldr	r0, .L12+28
	bl	errmsg
	mov	r1, r0
	mov	r0, r6
	bl	ereport
	b	.L5
.L13:
	.align	2
.L12:
	.word	RELKIND_RELATION
	.word	RELKIND_TOASTVALUE
	.word	RELKIND_MATVIEW
	.word	RELKIND_PARTITIONED_TABLE
	.word	ACLCHECK_NOT_OWNER
	.word	ERRCODE_WRONG_OBJECT_TYPE
	.word	ERROR
	.word	.LC0
	.size	RangeVarCallbackOwnsTable, .-RangeVarCallbackOwnsTable
	.comm	RELKIND_TOASTVALUE,1,1
	.comm	RELKIND_RELATION,1,1
	.comm	RELKIND_PARTITIONED_TABLE,1,1
	.comm	RELKIND_MATVIEW,1,1
	.comm	ERROR,4,4
	.comm	ERRCODE_WRONG_OBJECT_TYPE,4,4
	.comm	ACLCHECK_NOT_OWNER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
