	.file	"extr_dn_sched_wf2q.c_wf2qp_enqueue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"++ ouch! not eligible but empty scheduler!"
	.text
	.p2align 4
	.type	wf2qp_enqueue, @function
wf2qp_enqueue:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	r14, QWORD PTR 8[rsi]
	mov	r13d, DWORD PTR [rdx]
	cmp	QWORD PTR [rsi], rdx
	je	.L9
	mov	rbp, rdx
	mov	rdi, r12
	xor	edx, edx
	mov	rsi, rbp
	call	dn_enqueue@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	jne	.L1
	xor	eax, eax
	cmp	QWORD PTR [r12], rbp
	jne	.L1
	mov	rdi, QWORD PTR 8[r12]
	mov	rsi, QWORD PTR 16[r12]
	call	DN_KEY_LT@PLT
	test	rax, rax
	je	.L4
.L16:
	mov	rax, QWORD PTR [r14]
	mov	ecx, DWORD PTR 4[rbx]
	mov	r8, QWORD PTR 28[rbx]
	add	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR ONE_FP[rip]
	mov	QWORD PTR 16[r12], r8
	mov	rdi, r8
	cdq
	mov	DWORD PTR 4[rbx], ecx
	idiv	ecx
	mov	DWORD PTR 8[rbx], eax
.L5:
	imul	r13d, DWORD PTR [r12]
	movsx	r13, r13d
	add	r13, r8
	cmp	QWORD PTR 20[rbx], 0
	mov	QWORD PTR 8[r12], r13
	jne	.L6
	cmp	QWORD PTR 12[rbx], 0
	je	.L14
.L6:
	mov	rsi, r8
	call	DN_KEY_LT@PLT
	test	rax, rax
	je	.L7
	cmp	QWORD PTR 12[rbx], 0
	je	.L15
.L8:
	mov	rsi, QWORD PTR 16[r12]
	lea	rdi, 20[rbx]
	mov	rdx, r12
	call	heap_insert@PLT
	xor	eax, eax
.L1:
	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
.L9:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[r12]
	mov	rdi, r14
	call	DN_KEY_LT@PLT
	test	rax, rax
	jne	.L16
.L4:
	lea	rdi, 36[rbx]
	mov	rsi, r12
	call	heap_extract@PLT
	mov	rdi, QWORD PTR 8[r12]
	mov	rsi, QWORD PTR 28[rbx]
	call	MAX64@PLT
	mov	rdi, QWORD PTR 28[rbx]
	mov	QWORD PTR 16[r12], rax
	mov	r8, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, rdi
	mov	rdi, r8
	call	MAX64@PLT
	mov	r8, QWORD PTR 16[r12]
	mov	QWORD PTR 28[rbx], rax
	mov	rdi, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR 8[r12]
	lea	rdi, 12[rbx]
	mov	rdx, r12
	call	heap_insert@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, 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
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	D@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	wf2qp_enqueue, .-wf2qp_enqueue
	.comm	ONE_FP,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_dn_sched_wf2q.c_wf2qp_enqueue.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"++ ouch! not eligible but empty scheduler!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wf2qp_enqueue, %function
wf2qp_enqueue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, r2
	mov	r4, r1
	mov	r5, r0
	ldr	r9, [r1, #4]
	ldr	r8, [r2]
	beq	.L9
	mov	r7, r2
	mov	r0, r4
	mov	r2, #0
	mov	r1, r7
	bl	dn_enqueue
	subs	r6, r0, #0
	movne	r6, #1
	bne	.L1
	ldr	r3, [r4]
	cmp	r3, r7
	bne	.L1
	ldr	r0, [r4, #4]
	ldr	r1, [r4, #8]
	bl	DN_KEY_LT
	cmp	r0, #0
	beq	.L4
.L15:
	ldr	r3, [r9]
	ldr	r2, [r5, #4]
	ldr	r1, [r3]
	ldr	r6, [r5, #20]
	ldr	r3, .L16
	add	r1, r1, r2
	ldr	r0, [r3]
	str	r6, [r4, #8]
	str	r1, [r5, #4]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #8]
.L5:
	ldr	r2, [r4]
	ldr	r3, [r5, #16]
	mla	r8, r2, r8, r6
	cmp	r3, #0
	str	r8, [r4, #4]
	bne	.L6
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L13
.L6:
	mov	r1, r6
	bl	DN_KEY_LT
	subs	r6, r0, #0
	beq	.L7
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L14
.L8:
	mov	r2, r4
	ldr	r1, [r4, #8]
	add	r0, r5, #16
	bl	heap_insert
	mov	r6, #0
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	mov	r0, r9
	ldr	r1, [r4, #8]
	bl	DN_KEY_LT
	cmp	r0, #0
	bne	.L15
.L4:
	mov	r1, r4
	add	r0, r5, #24
	bl	heap_extract
	ldr	r1, [r5, #20]
	ldr	r0, [r4, #4]
	bl	MAX64
	mov	r6, r0
	ldr	r0, [r5, #20]
	str	r6, [r4, #8]
	b	.L5
.L13:
	mov	r1, r0
	mov	r0, r6
	bl	MAX64
	ldr	r6, [r4, #8]
	str	r0, [r5, #20]
	b	.L6
.L7:
	mov	r2, r4
	ldr	r1, [r4, #4]
	add	r0, r5, #12
	bl	heap_insert
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	ldr	r0, .L16+4
	bl	D
	b	.L8
.L17:
	.align	2
.L16:
	.word	ONE_FP
	.word	.LC0
	.size	wf2qp_enqueue, .-wf2qp_enqueue
	.comm	ONE_FP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
