	.file	"extr_acquire_lock.c_StartLockAcquireHelperBackgroundWorker.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Citus Lock Acquire Helper: %d/%u"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"citus_lock_aqcuire"
.LC2:
	.string	"citus"
.LC3:
	.string	"LockAcquireHelperMain"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"could not start lock acquiring background worker to force the update"
	.align 8
.LC5:
	.string	"Increasing max_worker_processes might help."
	.text
	.p2align 4
	.globl	StartLockAcquireHelperBackgroundWorker
	.type	StartLockAcquireHelperBackgroundWorker, @function
StartLockAcquireHelperBackgroundWorker:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 56
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	xor	esi, esi
	sub	rsp, 152
	.cfi_def_cfa_offset 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	lea	r13, 16[rsp]
	lea	r12, 80[rsp]
	mov	QWORD PTR 8[rsp], 0
	mov	rdi, r13
	call	memset@PLT
	xor	esi, esi
	mov	edx, 56
	mov	rdi, r12
	call	memset@PLT
	mov	r8d, DWORD PTR MyDatabaseId[rip]
	mov	ecx, ebp
	xor	eax, eax
	mov	esi, DWORD PTR BGW_MAXLEN[rip]
	mov	edi, DWORD PTR 128[rsp]
	lea	rdx, .LC0[rip]
	mov	DWORD PTR 68[rsp], ebx
	mov	DWORD PTR 16[rsp], r8d
	call	snprintf@PLT
	mov	esi, DWORD PTR BGW_MAXLEN[rip]
	mov	edi, DWORD PTR 124[rsp]
	xor	eax, eax
	lea	rdx, .LC1[rip]
	call	snprintf@PLT
	mov	eax, DWORD PTR BGWORKER_SHMEM_ACCESS[rip]
	mov	edi, DWORD PTR 112[rsp]
	lea	rdx, .LC2[rip]
	or	eax, DWORD PTR BGWORKER_BACKEND_DATABASE_CONNECTION[rip]
	mov	esi, DWORD PTR BGW_MAXLEN[rip]
	mov	DWORD PTR 84[rsp], eax
	mov	eax, DWORD PTR BgWorkerStart_RecoveryFinished[rip]
	mov	DWORD PTR 120[rsp], eax
	mov	eax, DWORD PTR BGW_NEVER_RESTART[rip]
	mov	DWORD PTR 116[rsp], eax
	xor	eax, eax
	call	snprintf@PLT
	mov	esi, DWORD PTR BGW_MAXLEN[rip]
	mov	edi, DWORD PTR 108[rsp]
	xor	eax, eax
	lea	rdx, .LC3[rip]
	call	snprintf@PLT
	mov	edi, ebp
	call	Int32GetDatum@PLT
	xor	edi, edi
	mov	QWORD PTR 96[rsp], 0
	mov	DWORD PTR 104[rsp], eax
	call	Assert@PLT
	mov	edi, DWORD PTR 88[rsp]
	mov	rsi, r13
	mov	edx, 56
	call	memcpy@PLT
	lea	rsi, 8[rsp]
	mov	rdi, r12
	call	RegisterDynamicBackgroundWorker@PLT
	test	eax, eax
	je	.L6
.L2:
	mov	edi, 16
	call	palloc0@PLT
	mov	edi, DWORD PTR CurrentMemoryContext[rip]
	mov	rsi, rax
	mov	eax, DWORD PTR EnsureStopLockAcquireHelper[rip]
	mov	DWORD PTR 8[rsi], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rsi], rax
	call	MemoryContextRegisterResetCallback@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR 136[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC4[rip]
	call	errmsg@PLT
	lea	rdi, .LC5[rip]
	call	errhint@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L2
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	StartLockAcquireHelperBackgroundWorker, .-StartLockAcquireHelperBackgroundWorker
	.comm	MyDatabaseId,4,4
	.comm	EnsureStopLockAcquireHelper,4,4
	.comm	ERROR,4,4
	.comm	CurrentMemoryContext,4,4
	.comm	BgWorkerStart_RecoveryFinished,4,4
	.comm	BGW_NEVER_RESTART,4,4
	.comm	BGW_MAXLEN,4,4
	.comm	BGWORKER_SHMEM_ACCESS,4,4
	.comm	BGWORKER_BACKEND_DATABASE_CONNECTION,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_acquire_lock.c_StartLockAcquireHelperBackgroundWorker.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Citus Lock Acquire Helper: %d/%u\000"
	.align	2
.LC1:
	.ascii	"citus_lock_aqcuire\000"
	.align	2
.LC2:
	.ascii	"citus\000"
	.align	2
.LC3:
	.ascii	"LockAcquireHelperMain\000"
	.align	2
.LC4:
	.ascii	"could not start lock acquiring background worker to"
	.ascii	" force the update\000"
	.align	2
.LC5:
	.ascii	"Increasing max_worker_processes might help.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	StartLockAcquireHelperBackgroundWorker
	.syntax unified
	.arm
	.fpu softvfp
	.type	StartLockAcquireHelperBackgroundWorker, %function
StartLockAcquireHelperBackgroundWorker:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, #0
	mov	r5, r0
	mov	r7, r1
	sub	sp, sp, #116
	ldr	r3, .L8
	mov	r1, r4
	mov	r2, #40
	add	r0, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #108]
	mov	r3,#0
	str	r4, [sp, #8]
	bl	memset
	mov	r1, r4
	mov	r2, #48
	add	r0, sp, #60
	bl	memset
	ldr	r3, .L8+4
	ldr	r6, .L8+8
	ldr	ip, [r3]
	ldr	r1, [r6]
	mov	r3, r5
	str	ip, [sp]
	ldr	r2, .L8+12
	mov	r0, r4
	str	ip, [sp, #12]
	str	r7, [sp, #56]
	bl	snprintf
	ldr	r1, [r6]
	ldr	r2, .L8+16
	ldr	r0, [sp, #96]
	bl	snprintf
	ldr	r3, .L8+20
	ldr	r2, .L8+24
	ldr	r0, .L8+28
	ldr	r1, .L8+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	lr, [r0]
	ldr	ip, [r1]
	orr	r3, r3, r2
	ldr	r1, [r6]
	ldr	r2, .L8+36
	ldr	r0, [sp, #84]
	str	lr, [sp, #92]
	str	ip, [sp, #88]
	str	r3, [sp, #64]
	bl	snprintf
	ldr	r1, [r6]
	ldr	r2, .L8+40
	ldr	r0, [sp, #80]
	bl	snprintf
	mov	r0, r5
	bl	Int32GetDatum
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #76]
	str	r4, [sp, #72]
	bl	Assert
	mov	r2, #48
	add	r1, sp, #12
	ldr	r0, [sp, #68]
	bl	memcpy
	add	r0, sp, #60
	add	r1, sp, #8
	bl	RegisterDynamicBackgroundWorker
	cmp	r0, r4
	beq	.L6
.L2:
	mov	r0, #8
	bl	palloc0
	mov	r1, r0
	ldr	r3, .L8+44
	ldr	r2, [sp, #8]
	ldr	r0, [r3]
	ldr	r3, .L8+48
	str	r0, [r1, #4]
	str	r2, [r1]
	ldr	r0, [r3]
	bl	MemoryContextRegisterResetCallback
	ldr	r3, .L8
	ldr	r0, [sp, #8]
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #116
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	ldr	r3, .L8+52
	ldr	r0, .L8+56
	ldr	r4, [r3]
	bl	errmsg
	ldr	r0, .L8+60
	bl	errhint
	mov	r1, r0
	mov	r0, r4
	bl	ereport
	b	.L2
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC6
	.word	MyDatabaseId
	.word	BGW_MAXLEN
	.word	.LC0
	.word	.LC1
	.word	BGWORKER_SHMEM_ACCESS
	.word	BGWORKER_BACKEND_DATABASE_CONNECTION
	.word	BgWorkerStart_RecoveryFinished
	.word	BGW_NEVER_RESTART
	.word	.LC2
	.word	.LC3
	.word	EnsureStopLockAcquireHelper
	.word	CurrentMemoryContext
	.word	ERROR
	.word	.LC4
	.word	.LC5
	.size	StartLockAcquireHelperBackgroundWorker, .-StartLockAcquireHelperBackgroundWorker
	.comm	MyDatabaseId,4,4
	.comm	EnsureStopLockAcquireHelper,4,4
	.comm	ERROR,4,4
	.comm	CurrentMemoryContext,4,4
	.comm	BgWorkerStart_RecoveryFinished,4,4
	.comm	BGW_NEVER_RESTART,4,4
	.comm	BGW_MAXLEN,4,4
	.comm	BGWORKER_SHMEM_ACCESS,4,4
	.comm	BGWORKER_BACKEND_DATABASE_CONNECTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
