	.file	"extr_node_metadata.c_InsertNodeRow.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	InsertNodeRow, @function
InsertNodeRow:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r9d, edi
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edx
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR Natts_pg_dist_node[rip]
	mov	rsi, rsp
	mov	r15, rax
	lea	rax, 15[0+rax*4]
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rsi, rcx
	mov	rcx, rsi
	cmp	rsp, rcx
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L17
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L18
.L4:
	mov	rdx, rax
	mov	rdi, rsp
	and	rax, -4096
	mov	r14, rsp
	sub	rdi, rax
	and	rdx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L6
.L19:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L19
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L20
.L7:
	mov	edi, DWORD PTR 32[rbx]
	mov	r8, rsp
	mov	DWORD PTR -80[rbp], r9d
	sal	r15d, 2
	mov	QWORD PTR -72[rbp], r8
	call	CStringGetDatum@PLT
	mov	edi, DWORD PTR namein[rip]
	mov	esi, eax
	call	DirectFunctionCall1@PLT
	mov	edx, r15d
	xor	esi, esi
	mov	rdi, r14
	mov	DWORD PTR -76[rbp], eax
	call	memset@PLT
	mov	r8, QWORD PTR -72[rbp]
	mov	edx, r15d
	xor	esi, esi
	mov	rdi, r8
	call	memset@PLT
	mov	r9d, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR Anum_pg_dist_node_nodeid[rip]
	mov	edi, r9d
	lea	r15d, -1[rax]
	call	UInt32GetDatum@PLT
	movsx	r15, r15d
	mov	edi, DWORD PTR 28[rbx]
	mov	DWORD PTR [r14+r15*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_groupid[rip]
	lea	r15d, -1[rax]
	call	Int32GetDatum@PLT
	movsx	r15, r15d
	mov	rdi, r13
	mov	DWORD PTR [r14+r15*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_nodename[rip]
	lea	r15d, -1[rax]
	call	CStringGetTextDatum@PLT
	movsx	r15, r15d
	mov	edi, r12d
	mov	DWORD PTR [r14+r15*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_nodeport[rip]
	lea	r13d, -1[rax]
	call	UInt32GetDatum@PLT
	movsx	r13, r13d
	mov	rdi, QWORD PTR [rbx]
	mov	DWORD PTR [r14+r13*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_noderack[rip]
	lea	r12d, -1[rax]
	call	CStringGetTextDatum@PLT
	movsx	r12, r12d
	mov	edi, DWORD PTR 24[rbx]
	mov	DWORD PTR [r14+r12*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_hasmetadata[rip]
	lea	r12d, -1[rax]
	call	BoolGetDatum@PLT
	movsx	r12, r12d
	mov	edi, DWORD PTR 20[rbx]
	mov	DWORD PTR [r14+r12*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_metadatasynced[rip]
	lea	r12d, -1[rax]
	call	BoolGetDatum@PLT
	movsx	r12, r12d
	mov	edi, DWORD PTR 16[rbx]
	mov	DWORD PTR [r14+r12*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_isactive[rip]
	lea	r12d, -1[rax]
	call	BoolGetDatum@PLT
	movsx	r12, r12d
	mov	edi, DWORD PTR 12[rbx]
	mov	DWORD PTR [r14+r12*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_noderole[rip]
	lea	r12d, -1[rax]
	call	ObjectIdGetDatum@PLT
	movsx	r12, r12d
	mov	ecx, DWORD PTR -76[rbp]
	mov	edi, DWORD PTR 8[rbx]
	mov	DWORD PTR [r14+r12*4], eax
	mov	eax, DWORD PTR Anum_pg_dist_node_nodecluster[rip]
	sub	eax, 1
	cdqe
	mov	DWORD PTR [r14+rax*4], ecx
	mov	eax, DWORD PTR Anum_pg_dist_node_shouldhaveshards[rip]
	lea	r12d, -1[rax]
	call	BoolGetDatum@PLT
	movsx	r12, r12d
	mov	DWORD PTR [r14+r12*4], eax
	mov	r12d, DWORD PTR RowExclusiveLock[rip]
	xor	eax, eax
	call	DistNodeRelationId@PLT
	mov	edi, eax
	mov	esi, r12d
	call	heap_open@PLT
	mov	rdi, rax
	mov	r12, rax
	call	RelationGetDescr@PLT
	mov	r8, QWORD PTR -72[rbp]
	mov	rsi, r14
	mov	rdi, rax
	mov	rdx, r8
	call	heap_form_tuple@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	CatalogTupleInsert@PLT
	xor	eax, eax
	call	DistNodeRelationId@PLT
	mov	edi, eax
	call	CitusInvalidateRelcacheByRelid@PLT
	xor	eax, eax
	call	CommandCounterIncrement@PLT
	mov	esi, DWORD PTR NoLock[rip]
	mov	rdi, r12
	call	heap_close@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	InsertNodeRow, .-InsertNodeRow
	.comm	namein,4,4
	.comm	RowExclusiveLock,4,4
	.comm	NoLock,4,4
	.comm	Natts_pg_dist_node,4,4
	.comm	Anum_pg_dist_node_shouldhaveshards,4,4
	.comm	Anum_pg_dist_node_noderole,4,4
	.comm	Anum_pg_dist_node_noderack,4,4
	.comm	Anum_pg_dist_node_nodeport,4,4
	.comm	Anum_pg_dist_node_nodename,4,4
	.comm	Anum_pg_dist_node_nodeid,4,4
	.comm	Anum_pg_dist_node_nodecluster,4,4
	.comm	Anum_pg_dist_node_metadatasynced,4,4
	.comm	Anum_pg_dist_node_isactive,4,4
	.comm	Anum_pg_dist_node_hasmetadata,4,4
	.comm	Anum_pg_dist_node_groupid,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_node_metadata.c_InsertNodeRow.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	InsertNodeRow, %function
InsertNodeRow:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	mov	r5, r3
	ldr	r3, .L6
	mov	r9, r0
	ldr	r6, [r3]
	str	r1, [fp, #-48]
	lsl	r6, r6, #2
	add	r3, r6, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r4, sp
	sub	sp, sp, r3
	ldr	r3, .L6+4
	ldr	r0, [r5, #28]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r10, r2
	bl	CStringGetDatum
	ldr	r2, .L6+8
	mov	r1, r0
	ldr	r0, [r2]
	bl	DirectFunctionCall1
	mov	r7, sp
	mov	r2, r6
	mov	r8, r0
	mov	r1, #0
	mov	r0, r4
	bl	memset
	mov	r2, r6
	mov	r1, #0
	mov	r0, r7
	bl	memset
	ldr	r2, .L6+12
	mov	r0, r9
	ldr	r6, [r2]
	bl	UInt32GetDatum
	mov	r2, r0
	ldr	r1, .L6+16
	ldr	r0, [r5, #24]
	sub	r6, r6, #1
	ldr	r9, [r1]
	str	r2, [r4, r6, lsl #2]
	bl	Int32GetDatum
	mov	r2, r0
	ldr	r3, [fp, #-48]
	ldr	r1, .L6+20
	mov	r0, r3
	sub	r9, r9, #1
	ldr	r6, [r1]
	str	r2, [r4, r9, lsl #2]
	bl	CStringGetTextDatum
	mov	r3, r0
	ldr	r2, .L6+24
	sub	r6, r6, #1
	mov	r0, r10
	ldr	r9, [r2]
	str	r3, [r4, r6, lsl #2]
	bl	UInt32GetDatum
	mov	r3, r0
	ldr	r2, .L6+28
	ldr	r0, [r5]
	sub	r9, r9, #1
	ldr	r6, [r2]
	str	r3, [r4, r9, lsl #2]
	bl	CStringGetTextDatum
	mov	r3, r0
	ldr	r2, .L6+32
	ldr	r0, [r5, #20]
	sub	r6, r6, #1
	ldr	r9, [r2]
	str	r3, [r4, r6, lsl #2]
	bl	BoolGetDatum
	mov	r3, r0
	ldr	r2, .L6+36
	ldr	r0, [r5, #16]
	sub	r9, r9, #1
	ldr	r6, [r2]
	str	r3, [r4, r9, lsl #2]
	bl	BoolGetDatum
	mov	r3, r0
	ldr	r2, .L6+40
	ldr	r0, [r5, #12]
	sub	r6, r6, #1
	ldr	r9, [r2]
	str	r3, [r4, r6, lsl #2]
	bl	BoolGetDatum
	mov	r3, r0
	ldr	r2, .L6+44
	ldr	r0, [r5, #8]
	sub	r9, r9, #1
	ldr	r6, [r2]
	str	r3, [r4, r9, lsl #2]
	bl	ObjectIdGetDatum
	mov	r1, r0
	ldr	r2, .L6+48
	ldr	r3, .L6+52
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	r2, r2, #1
	ldr	r0, [r5, #4]
	sub	r6, r6, #1
	sub	r5, r3, #1
	str	r1, [r4, r6, lsl #2]
	str	r8, [r4, r2, lsl #2]
	bl	BoolGetDatum
	str	r0, [r4, r5, lsl #2]
	bl	DistNodeRelationId
	ldr	r3, .L6+56
	ldr	r1, [r3]
	bl	heap_open
	mov	r5, r0
	bl	RelationGetDescr
	mov	r2, r7
	mov	r1, r4
	bl	heap_form_tuple
	mov	r1, r0
	mov	r0, r5
	bl	CatalogTupleInsert
	bl	DistNodeRelationId
	bl	CitusInvalidateRelcacheByRelid
	bl	CommandCounterIncrement
	ldr	r3, .L6+60
	mov	r0, r5
	ldr	r1, [r3]
	bl	heap_close
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	Natts_pg_dist_node
	.word	.LC0
	.word	namein
	.word	Anum_pg_dist_node_nodeid
	.word	Anum_pg_dist_node_groupid
	.word	Anum_pg_dist_node_nodename
	.word	Anum_pg_dist_node_nodeport
	.word	Anum_pg_dist_node_noderack
	.word	Anum_pg_dist_node_hasmetadata
	.word	Anum_pg_dist_node_metadatasynced
	.word	Anum_pg_dist_node_isactive
	.word	Anum_pg_dist_node_noderole
	.word	Anum_pg_dist_node_nodecluster
	.word	Anum_pg_dist_node_shouldhaveshards
	.word	RowExclusiveLock
	.word	NoLock
	.size	InsertNodeRow, .-InsertNodeRow
	.comm	namein,4,4
	.comm	RowExclusiveLock,4,4
	.comm	NoLock,4,4
	.comm	Natts_pg_dist_node,4,4
	.comm	Anum_pg_dist_node_shouldhaveshards,4,4
	.comm	Anum_pg_dist_node_noderole,4,4
	.comm	Anum_pg_dist_node_noderack,4,4
	.comm	Anum_pg_dist_node_nodeport,4,4
	.comm	Anum_pg_dist_node_nodename,4,4
	.comm	Anum_pg_dist_node_nodeid,4,4
	.comm	Anum_pg_dist_node_nodecluster,4,4
	.comm	Anum_pg_dist_node_metadatasynced,4,4
	.comm	Anum_pg_dist_node_isactive,4,4
	.comm	Anum_pg_dist_node_hasmetadata,4,4
	.comm	Anum_pg_dist_node_groupid,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
