	.file	"extr_sysv_sema.c_IpcSemaphoreInitialize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"semctl(%d, %d, SETVAL, %d) failed: %m"
	.align 8
.LC1:
	.string	"You possibly need to raise your kernel's SEMVMX value to be at least %d.  Look into the PostgreSQL documentation for details."
	.text
	.p2align 4
	.type	IpcSemaphoreInitialize, @function
IpcSemaphoreInitialize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, edx
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR SETVAL[rip]
	call	semctl@PLT
	test	rax, rax
	js	.L7
	add	rsp, 8
	.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
.L7:
	.cfi_restore_state
	mov	esi, r12d
	mov	ecx, ebp
	mov	edx, r13d
	mov	ebx, DWORD PTR errno[rip]
	lea	rdi, .LC0[rip]
	call	errmsg_internal@PLT
	xor	esi, esi
	cmp	DWORD PTR ERANGE[rip], ebx
	je	.L8
.L3:
	mov	edi, DWORD PTR FATAL[rip]
	add	rsp, 8
	.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
	jmp	ereport@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	errhint@PLT
	mov	esi, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	IpcSemaphoreInitialize, .-IpcSemaphoreInitialize
	.comm	errno,4,4
	.comm	SETVAL,4,4
	.comm	FATAL,4,4
	.comm	ERANGE,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_sysv_sema.c_IpcSemaphoreInitialize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"semctl(%d, %d, SETVAL, %d) failed: %m\000"
	.align	2
.LC1:
	.ascii	"You possibly need to raise your kernel's SEMVMX val"
	.ascii	"ue to be at least %d.  Look into the PostgreSQL doc"
	.ascii	"umentation for details.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	IpcSemaphoreInitialize, %function
IpcSemaphoreInitialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	ldr	r2, .L8
	mov	r3, r4
	ldr	r2, [r2]
	mov	r5, r0
	mov	r6, r1
	bl	semctl
	cmp	r0, #0
	popge	{r4, r5, r6, pc}
	ldr	lr, .L8+4
	ldr	ip, .L8+8
	mov	r1, r5
	mov	r2, r6
	mov	r3, r4
	ldr	r0, .L8+12
	ldr	r6, [lr]
	ldr	r5, [ip]
	bl	errmsg_internal
	ldr	r3, .L8+16
	ldr	r3, [r3]
	cmp	r3, r6
	movne	r1, #0
	beq	.L7
.L3:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	ereport
.L7:
	mov	r1, r4
	ldr	r0, .L8+20
	bl	errhint
	mov	r1, r0
	b	.L3
.L9:
	.align	2
.L8:
	.word	SETVAL
	.word	errno
	.word	FATAL
	.word	.LC0
	.word	ERANGE
	.word	.LC1
	.size	IpcSemaphoreInitialize, .-IpcSemaphoreInitialize
	.comm	errno,4,4
	.comm	SETVAL,4,4
	.comm	FATAL,4,4
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
