	.file	"extr_necp.c_necp_allocate_new_session_order.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	necp_allocate_new_session_order, @function
necp_allocate_new_session_order:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR NECP_SESSION_PRIORITY_UNKNOWN[rip], edi
	je	.L2
	cmp	DWORD PTR NECP_SESSION_NUM_PRIORITIES[rip], edi
	jge	.L3
.L2:
	mov	edi, DWORD PTR NECP_SESSION_PRIORITY_DEFAULT[rip]
.L3:
	lea	eax, -1[rdi]
	imul	eax, eax, 1000
	add	eax, esi
	ret
	.cfi_endproc
.LFE0:
	.size	necp_allocate_new_session_order, .-necp_allocate_new_session_order
	.comm	NECP_SESSION_PRIORITY_UNKNOWN,4,4
	.comm	NECP_SESSION_PRIORITY_DEFAULT,4,4
	.comm	NECP_SESSION_NUM_PRIORITIES,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_necp.c_necp_allocate_new_session_order.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	necp_allocate_new_session_order, %function
necp_allocate_new_session_order:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L2
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, r0
	bge	.L3
.L2:
	ldr	r3, .L5+8
	ldr	r0, [r3]
.L3:
	sub	r0, r0, #1
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	add	r0, r1, r0, lsl #3
	bx	lr
.L6:
	.align	2
.L5:
	.word	NECP_SESSION_PRIORITY_UNKNOWN
	.word	NECP_SESSION_NUM_PRIORITIES
	.word	NECP_SESSION_PRIORITY_DEFAULT
	.size	necp_allocate_new_session_order, .-necp_allocate_new_session_order
	.comm	NECP_SESSION_PRIORITY_UNKNOWN,4,4
	.comm	NECP_SESSION_PRIORITY_DEFAULT,4,4
	.comm	NECP_SESSION_NUM_PRIORITIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
