	.file	"extr_parman.c_parman_prio_item_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parman_prio_item_remove, @function
parman_prio_item_remove:
.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
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	r14, 8[rbp]
	call	parman_prio_last_item@PLT
	cmp	rax, rbp
	je	.L5
	mov	rbp, QWORD PTR 0[rbp]
	mov	rbx, rax
	mov	rsi, r12
	mov	r8d, 1
	lea	r12, 8[rbx]
	mov	rdx, rax
	mov	rdi, r13
	mov	rcx, rbp
	call	__parman_prio_move@PLT
	mov	rdi, r12
	call	list_del@PLT
	mov	rsi, r12
	mov	rdi, r14
	call	list_replace@PLT
	mov	QWORD PTR [rbx], rbp
	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
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	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
	jmp	list_del@PLT
	.cfi_endproc
.LFE0:
	.size	parman_prio_item_remove, .-parman_prio_item_remove
	.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_parman.c_parman_prio_item_remove.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parman_prio_item_remove, %function
parman_prio_item_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	sub	sp, sp, #8
	mov	r0, r1
	mov	r5, r2
	mov	r6, r1
	bl	parman_prio_last_item
	cmp	r0, r5
	add	r8, r5, #4
	beq	.L5
	mov	r4, r0
	mov	r2, #1
	ldr	r5, [r5]
	mov	r1, r6
	mov	r3, r5
	str	r2, [sp]
	add	r6, r4, #4
	mov	r2, r4
	mov	r0, r7
	bl	__parman_prio_move
	mov	r0, r6
	bl	list_del
	mov	r1, r6
	mov	r0, r8
	bl	list_replace
	str	r5, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	list_del
	.size	parman_prio_item_remove, .-parman_prio_item_remove
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
