	.file	"extr_master_metadata_utility.c_AllShardPlacementsOnNodeGroup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	AllShardPlacementsOnNodeGroup
	.type	AllShardPlacementsOnNodeGroup, @function
AllShardPlacementsOnNodeGroup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13d, DWORD PTR AccessShareLock[rip]
	mov	r12, QWORD PTR NIL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	DistPlacementRelationId@PLT
	mov	esi, r13d
	mov	edi, eax
	call	heap_open@PLT
	mov	edi, ebp
	lea	rbp, 4[rsp]
	mov	r13, rax
	call	Int32GetDatum@PLT
	mov	ecx, DWORD PTR F_INT4EQ[rip]
	mov	edx, DWORD PTR BTEqualStrategyNumber[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR Anum_pg_dist_placement_groupid[rip]
	mov	r8d, eax
	call	ScanKeyInit@PLT
	xor	eax, eax
	call	DistPlacementGroupidIndexId@PLT
	mov	r9, rbp
	mov	r8d, 1
	xor	ecx, ecx
	mov	esi, eax
	mov	edx, 1
	mov	rdi, r13
	call	systable_beginscan@PLT
	mov	rdi, rax
	mov	r14, rax
	call	systable_getnext@PLT
	mov	rbp, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r13
	call	RelationGetDescr@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	TupleToGroupShardPlacement@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	lappend@PLT
	mov	rdi, r14
	mov	r12, rax
	call	systable_getnext@PLT
	mov	rbp, rax
.L2:
	mov	rdi, rbp
	call	HeapTupleIsValid@PLT
	test	rax, rax
	jne	.L3
	mov	rdi, r14
	call	systable_endscan@PLT
	mov	esi, DWORD PTR NoLock[rip]
	mov	rdi, r13
	call	heap_close@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AllShardPlacementsOnNodeGroup, .-AllShardPlacementsOnNodeGroup
	.comm	NoLock,4,4
	.comm	NIL,8,8
	.comm	F_INT4EQ,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_dist_placement_groupid,4,4
	.comm	AccessShareLock,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_master_metadata_utility.c_AllShardPlacementsOnNodeGroup.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AllShardPlacementsOnNodeGroup
	.syntax unified
	.arm
	.fpu softvfp
	.type	AllShardPlacementsOnNodeGroup, %function
AllShardPlacementsOnNodeGroup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, .L8
	ldr	r3, .L8+4
	sub	sp, sp, #20
	mov	r4, r0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r5, [r3]
	bl	DistPlacementRelationId
	ldr	r3, .L8+8
	add	r7, sp, #8
	ldr	r1, [r3]
	bl	heap_open
	ldr	r1, .L8+12
	ldr	r2, .L8+16
	ldr	r3, .L8+20
	mov	r6, r0
	mov	r0, r4
	ldr	r8, [r2]
	ldr	r4, [r1]
	ldr	r9, [r3]
	bl	Int32GetDatum
	mov	r1, r4
	mov	r3, r9
	mov	r2, r8
	str	r0, [sp]
	mov	r0, r7
	bl	ScanKeyInit
	bl	DistPlacementGroupidIndexId
	mov	r2, #1
	mov	r1, r0
	mov	r3, #0
	str	r7, [sp, #4]
	str	r2, [sp]
	mov	r0, r6
	bl	systable_beginscan
	mov	r7, r0
	bl	systable_getnext
	mov	r4, r0
	b	.L2
.L3:
	mov	r0, r6
	bl	RelationGetDescr
	mov	r1, r4
	bl	TupleToGroupShardPlacement
	mov	r1, r0
	mov	r0, r5
	bl	lappend
	mov	r5, r0
	mov	r0, r7
	bl	systable_getnext
	mov	r4, r0
.L2:
	mov	r0, r4
	bl	HeapTupleIsValid
	cmp	r0, #0
	bne	.L3
	mov	r0, r7
	bl	systable_endscan
	ldr	r3, .L8+24
	mov	r0, r6
	ldr	r1, [r3]
	bl	heap_close
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	NIL
	.word	AccessShareLock
	.word	Anum_pg_dist_placement_groupid
	.word	BTEqualStrategyNumber
	.word	F_INT4EQ
	.word	NoLock
	.size	AllShardPlacementsOnNodeGroup, .-AllShardPlacementsOnNodeGroup
	.comm	NoLock,4,4
	.comm	NIL,4,4
	.comm	F_INT4EQ,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_dist_placement_groupid,4,4
	.comm	AccessShareLock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
