	.file	"extr_heap.c_heap_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"permission denied to create \"%s.%s\""
	.align 8
.LC1:
	.string	"System catalog modifications are currently disallowed."
	.text
	.p2align 4
	.globl	heap_create
	.type	heap_create, @function
heap_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	rdi, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	eax, DWORD PTR 112[rsp]
	mov	r15d, DWORD PTR 152[rsp]
	mov	QWORD PTR 24[rsp], r9
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR 120[rsp]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR 128[rsp]
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR 136[rsp]
	mov	DWORD PTR 40[rsp], eax
	mov	eax, DWORD PTR 144[rsp]
	mov	DWORD PTR 44[rsp], eax
	mov	rax, QWORD PTR 160[rsp]
	mov	QWORD PTR [rsp], rax
	mov	rax, QWORD PTR 168[rsp]
	mov	QWORD PTR 8[rsp], rax
	call	OidIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	test	r15d, r15d
	je	.L30
.L3:
	mov	eax, DWORD PTR InvalidTransactionId[rip]
	mov	rcx, QWORD PTR [rsp]
	mov	rsi, QWORD PTR 8[rsp]
	movsx	r15d, BYTE PTR 20[rsp]
	mov	DWORD PTR [rcx], eax
	mov	eax, DWORD PTR InvalidMultiXactId[rip]
	mov	edi, r15d
	mov	DWORD PTR [rsi], eax
	call	RELKIND_HAS_STORAGE@PLT
	movsx	r10d, BYTE PTR 32[rsp]
	test	eax, eax
	jne	.L31
.L8:
	cmp	rbx, QWORD PTR MyDatabaseTableSpace[rip]
	je	.L32
	mov	eax, DWORD PTR 44[rsp]
	mov	DWORD PTR 144[rsp], r15d
	mov	DWORD PTR 136[rsp], r10d
	mov	DWORD PTR 128[rsp], eax
	mov	eax, DWORD PTR 40[rsp]
	mov	QWORD PTR 112[rsp], rbx
	mov	DWORD PTR 120[rsp], eax
.L28:
	mov	r8, QWORD PTR 24[rsp]
	mov	edx, DWORD PTR 36[rsp]
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	r9, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rcx, r12
	mov	rsi, rbp
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	RelationBuildLocalRelation@PLT
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rdi, rbp
	call	IsCatalogNamespace@PLT
	test	rax, rax
	je	.L4
.L7:
	xor	eax, eax
	call	IsNormalProcessingMode@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR ERRCODE_INSUFFICIENT_PRIVILEGE[rip]
	call	errcode@PLT
	mov	rdi, rbp
	call	get_namespace_name@PLT
	mov	rdx, r14
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	errmsg@PLT
	lea	rdi, .LC1[rip]
	call	errdetail@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdi, r13
	mov	DWORD PTR 20[rsp], r10d
	call	OidIsValid@PLT
	mov	r10d, DWORD PTR 20[rsp]
	test	eax, eax
	jne	.L8
	cmp	rbx, QWORD PTR MyDatabaseTableSpace[rip]
	je	.L33
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	push	r15
	.cfi_def_cfa_offset 128
	push	r10
	.cfi_def_cfa_offset 136
	mov	eax, DWORD PTR 68[rsp]
	mov	DWORD PTR 44[rsp], r10d
	push	rax
	.cfi_def_cfa_offset 144
	mov	eax, DWORD PTR 72[rsp]
	push	rax
	.cfi_def_cfa_offset 152
	push	rbx
	.cfi_def_cfa_offset 160
.L27:
	mov	r8, QWORD PTR 72[rsp]
	mov	edx, DWORD PTR 84[rsp]
	mov	r9, r12
	mov	rcx, r12
	mov	rsi, rbp
	mov	rdi, r14
	call	RelationBuildLocalRelation@PLT
	mov	r10d, DWORD PTR 68[rsp]
	add	rsp, 48
	.cfi_def_cfa_offset 112
	mov	r12, rax
	mov	rdi, r12
	mov	DWORD PTR 20[rsp], r10d
	call	RelationOpenSmgr@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	eax, DWORD PTR [rax]
	add	eax, -128
	cmp	eax, 9
	ja	.L1
	lea	rdx, .L12[rip]
	mov	r10d, DWORD PTR 20[rsp]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L12:
	.long	.L11-.L12
	.long	.L14-.L12
	.long	.L13-.L12
	.long	.L14-.L12
	.long	.L11-.L12
	.long	.L11-.L12
	.long	.L14-.L12
	.long	.L13-.L12
	.long	.L11-.L12
	.long	.L11-.L12
	.text
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	IsToastNamespace@PLT
	test	rax, rax
	jne	.L7
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	xor	edi, edi
	call	Assert@PLT
.L1:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	r8, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR [rsp]
	mov	edx, r10d
	mov	rsi, r12
	mov	rdi, r12
	call	table_relation_set_new_filenode@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR [r12]
	mov	esi, r10d
	call	RelationCreateStorage@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	mov	eax, DWORD PTR 44[rsp]
	mov	DWORD PTR 144[rsp], r15d
	mov	DWORD PTR 136[rsp], r10d
	mov	DWORD PTR 128[rsp], eax
	mov	eax, DWORD PTR 40[rsp]
	mov	DWORD PTR 120[rsp], eax
	mov	rax, QWORD PTR InvalidOid[rip]
	mov	QWORD PTR 112[rsp], rax
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L33:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	push	r15
	.cfi_def_cfa_offset 128
	push	r10
	.cfi_def_cfa_offset 136
	mov	eax, DWORD PTR 68[rsp]
	mov	DWORD PTR 44[rsp], r10d
	push	rax
	.cfi_def_cfa_offset 144
	mov	eax, DWORD PTR 72[rsp]
	push	rax
	.cfi_def_cfa_offset 152
	push	QWORD PTR InvalidOid[rip]
	.cfi_def_cfa_offset 160
	jmp	.L27
	.cfi_endproc
.LFE0:
	.size	heap_create, .-heap_create
	.comm	MyDatabaseTableSpace,8,8
	.comm	InvalidTransactionId,4,4
	.comm	InvalidOid,8,8
	.comm	InvalidMultiXactId,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_INSUFFICIENT_PRIVILEGE,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_heap.c_heap_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"permission denied to create \"%s.%s\"\000"
	.align	2
.LC1:
	.ascii	"System catalog modifications are currently disallow"
	.ascii	"ed.\000"
	.text
	.align	2
	.global	heap_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	heap_create, %function
heap_create:
	@ args = 40, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #60
	mov	r5, r3
	mov	r8, r0
	mov	r0, r3
	ldr	r3, [sp, #124]
	mov	r6, r1
	str	r3, [sp, #36]
	ldr	r3, [sp, #100]
	mov	r4, r2
	str	r3, [sp, #44]
	ldrb	r3, [sp, #112]	@ zero_extendqisi2
	ldr	r10, [sp, #96]
	str	r3, [sp, #40]
	ldr	r3, [sp, #116]
	ldr	fp, [sp, #104]
	str	r3, [sp, #48]
	ldr	r3, [sp, #120]
	ldrb	r7, [sp, #108]	@ zero_extendqisi2
	str	r3, [sp, #52]
	ldr	r3, [sp, #132]
	ldr	r9, [sp, #128]
	str	r3, [sp, #32]
	bl	OidIsValid
	bl	Assert
	ldr	r3, [sp, #36]
	cmp	r3, #0
	beq	.L33
.L3:
	ldr	r3, .L37
	ldr	r2, .L37+4
	ldr	r3, [r3]
	ldr	r1, [sp, #32]
	str	r3, [r9]
	sub	r3, r7, #128
	ldr	r2, [r2]
	and	r3, r3, #255
	cmp	r3, #9
	str	r2, [r1]
	bhi	.L8
	mov	r1, #1
	ldr	r2, .L37+8
	ands	r3, r2, r1, lsl r3
	ldrne	r3, .L37+12
	ldrne	r4, [r3]
.L8:
	mov	r0, r7
	bl	RELKIND_HAS_STORAGE
	cmp	r0, #0
	bne	.L34
.L9:
	ldr	r3, .L37+16
	ldr	r3, [r3]
	cmp	r4, r3
	beq	.L35
	ldr	r3, [sp, #40]
	mov	r2, fp
	str	r3, [sp, #116]
	ldr	r3, [sp, #52]
	mov	r1, r6
	str	r3, [sp, #112]
	ldr	r3, [sp, #48]
	mov	r0, r8
	str	r3, [sp, #108]
	ldr	r3, [sp, #44]
	str	r7, [sp, #120]
	str	r3, [sp, #96]
	mov	r3, r5
	str	r4, [sp, #104]
	str	r10, [sp, #100]
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	RelationBuildLocalRelation
.L33:
	mov	r0, r6
	bl	IsCatalogNamespace
	cmp	r0, #0
	cmpne	r7, #135
	bne	.L7
	mov	r0, r6
	bl	IsToastNamespace
	cmp	r0, #0
	beq	.L3
.L7:
	bl	IsNormalProcessingMode
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L37+20
	ldr	r2, .L37+24
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r3, [sp, #36]
	bl	errcode
	mov	r0, r6
	bl	get_namespace_name
	mov	r2, r8
	mov	r1, r0
	ldr	r0, .L37+28
	bl	errmsg
	ldr	r0, .L37+32
	bl	errdetail
	ldr	r3, [sp, #36]
	mov	r1, r0
	mov	r0, r3
	bl	ereport
	b	.L3
.L34:
	mov	r0, r10
	bl	OidIsValid
	cmp	r0, #0
	bne	.L9
	ldr	r3, .L37+16
	ldr	r3, [r3]
	cmp	r4, r3
	beq	.L36
	ldr	r3, [sp, #40]
	str	r4, [sp, #8]
	str	r3, [sp, #20]
	ldr	r3, [sp, #52]
	mov	r2, fp
	str	r3, [sp, #16]
	ldr	r3, [sp, #48]
	mov	r1, r6
	str	r3, [sp, #12]
	ldr	r3, [sp, #44]
	mov	r0, r8
	str	r3, [sp]
	str	r7, [sp, #24]
	mov	r3, r5
	str	r5, [sp, #4]
	bl	RelationBuildLocalRelation
	mov	r4, r0
.L16:
	mov	r0, r4
	bl	RelationOpenSmgr
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	sub	r3, r3, #128
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L13:
	.word	.L12
	.word	.L15
	.word	.L14
	.word	.L15
	.word	.L12
	.word	.L12
	.word	.L15
	.word	.L14
	.word	.L12
	.word	.L12
.L12:
	mov	r0, #0
	bl	Assert
.L1:
	mov	r0, r4
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r3, [sp, #32]
	mov	r1, r4
	str	r3, [sp]
	mov	r0, r4
	mov	r3, r9
	ldr	r2, [sp, #40]
	bl	table_relation_set_new_filenode
	b	.L1
.L14:
	ldr	r1, [sp, #40]
	ldr	r0, [r4]
	bl	RelationCreateStorage
	b	.L1
.L35:
	ldr	r3, .L37+12
	str	r7, [sp, #120]
	ldr	ip, [r3]
	ldr	r3, [sp, #40]
	mov	r2, fp
	str	r3, [sp, #116]
	ldr	r3, [sp, #52]
	mov	r1, r6
	str	r3, [sp, #112]
	ldr	r3, [sp, #48]
	mov	r0, r8
	str	r3, [sp, #108]
	ldr	r3, [sp, #44]
	str	r10, [sp, #100]
	str	r3, [sp, #96]
	mov	r3, r5
	str	ip, [sp, #104]
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	RelationBuildLocalRelation
.L36:
	ldr	r3, .L37+12
	str	r7, [sp, #24]
	ldr	ip, [r3]
	ldr	r3, [sp, #40]
	mov	r2, fp
	str	r3, [sp, #20]
	ldr	r3, [sp, #52]
	mov	r1, r6
	str	r3, [sp, #16]
	ldr	r3, [sp, #48]
	mov	r0, r8
	str	r3, [sp, #12]
	ldr	r3, [sp, #44]
	str	r5, [sp, #4]
	str	r3, [sp]
	str	ip, [sp, #8]
	mov	r3, r5
	bl	RelationBuildLocalRelation
	mov	r4, r0
	b	.L16
.L38:
	.align	2
.L37:
	.word	InvalidTransactionId
	.word	InvalidMultiXactId
	.word	773
	.word	InvalidOid
	.word	MyDatabaseTableSpace
	.word	ERROR
	.word	ERRCODE_INSUFFICIENT_PRIVILEGE
	.word	.LC0
	.word	.LC1
	.size	heap_create, .-heap_create
	.comm	MyDatabaseTableSpace,4,4
	.comm	InvalidTransactionId,4,4
	.comm	InvalidOid,4,4
	.comm	InvalidMultiXactId,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_INSUFFICIENT_PRIVILEGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
