	.file	"extr_priolist.c_nn_priolist_activate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nn_priolist_activate
	.type	nn_priolist_activate, @function
nn_priolist_activate:
.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	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsx	rax, DWORD PTR [rsi]
	mov	rbx, rsi
	mov	rdx, QWORD PTR 8[rdi]
	lea	r14, 4[rbx]
	sal	rax, 4
	lea	r13, -16[rdx+rax]
	lea	r12, 8[r13]
	mov	rdi, r12
	call	nn_list_empty@PLT
	mov	rdi, r12
	test	eax, eax
	je	.L7
	call	nn_list_end@PLT
	mov	rsi, r14
	mov	rdi, r12
	mov	edx, eax
	call	nn_list_insert@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 0[r13], rbx
	cmp	eax, -1
	je	.L8
	mov	edx, DWORD PTR [rbx]
	cmp	eax, edx
	jg	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	nn_list_end@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	mov	edx, eax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	nn_list_insert@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	DWORD PTR 0[rbp], edx
	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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	DWORD PTR 0[rbp], eax
	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
	.cfi_endproc
.LFE0:
	.size	nn_priolist_activate, .-nn_priolist_activate
	.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_priolist.c_nn_priolist_activate.c"
	.text
	.align	2
	.global	nn_priolist_activate
	.syntax unified
	.arm
	.fpu softvfp
	.type	nn_priolist_activate, %function
nn_priolist_activate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r1
	ldr	r7, [r8], #4
	ldr	r9, [r0, #4]
	sub	r7, r7, #-536870911
	add	r4, r9, r7, lsl #3
	add	r4, r4, #4
	mov	r6, r0
	mov	r0, r4
	mov	r5, r1
	bl	nn_list_empty
	cmp	r0, #0
	mov	r0, r4
	beq	.L7
	bl	nn_list_end
	mov	r1, r8
	mov	r2, r0
	mov	r0, r4
	bl	nn_list_insert
	ldr	r3, [r6]
	str	r5, [r9, r7, lsl #3]
	cmn	r3, #1
	beq	.L8
	ldr	r2, [r5]
	cmp	r3, r2
	strgt	r2, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	bl	nn_list_end
	mov	r1, r8
	mov	r2, r0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	nn_list_insert
.L8:
	ldr	r3, [r5]
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	nn_priolist_activate, .-nn_priolist_activate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
