	.file	"extr_walreceiverfuncs.c_WalRcvShmemInit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Wal Receiver Ctl"
	.text
	.p2align 4
	.globl	WalRcvShmemInit
	.type	WalRcvShmemInit, @function
WalRcvShmemInit:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	WalRcvShmemSize@PLT
	lea	rdx, 4[rsp]
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	ShmemInitStruct@PLT
	mov	QWORD PTR WalRcv[rip], rax
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	eax, eax
	call	WalRcvShmemSize@PLT
	mov	rdi, QWORD PTR WalRcv[rip]
	xor	esi, esi
	mov	edx, eax
	call	MemSet@PLT
	mov	rdi, QWORD PTR WalRcv[rip]
	mov	eax, DWORD PTR WALRCV_STOPPED[rip]
	mov	DWORD PTR 12[rdi], eax
	add	rdi, 8
	call	SpinLockInit@PLT
	mov	rax, QWORD PTR WalRcv[rip]
	mov	QWORD PTR [rax], 0
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	WalRcvShmemInit, .-WalRcvShmemInit
	.comm	WalRcv,8,8
	.comm	WALRCV_STOPPED,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_walreceiverfuncs.c_WalRcvShmemInit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Wal Receiver Ctl\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	WalRcvShmemInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	WalRcvShmemInit, %function
WalRcvShmemInit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	WalRcvShmemSize
	mov	r2, sp
	mov	r1, r0
	ldr	r0, .L8+4
	bl	ShmemInitStruct
	ldr	r5, [sp]
	ldr	r6, .L8+8
	cmp	r5, #0
	str	r0, [r6]
	beq	.L6
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	mov	r4, r0
	bl	WalRcvShmemSize
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	MemSet
	ldr	r2, .L8+12
	ldr	r3, [r6]
	ldr	r2, [r2]
	add	r0, r3, #4
	str	r2, [r3, #8]
	bl	SpinLockInit
	ldr	r3, [r6]
	str	r5, [r3]
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	WalRcv
	.word	WALRCV_STOPPED
	.size	WalRcvShmemInit, .-WalRcvShmemInit
	.comm	WalRcv,4,4
	.comm	WALRCV_STOPPED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
