	.file	"extr_jme.c_jme_dynamic_pcc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	jme_dynamic_pcc, @function
jme_dynamic_pcc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 8[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	NET_STAT@PLT
	sub	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR PCC_P3_THRESHOLD[rip]
	jle	.L2
	mov	esi, DWORD PTR PCC_P3[rip]
	mov	rdi, rbp
	call	jme_attempt_pcc@PLT
.L3:
	mov	rax, QWORD PTR 40[rbx]
	xor	edi, edi
	cmp	QWORD PTR 32[rbx], rax
	je	.L6
	xor	edi, edi
	cmp	DWORD PTR 48[rbx], 5
	setg	dil
.L6:
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	mov	rsi, QWORD PTR 32[rbx]
	cmp	rsi, QWORD PTR 40[rbx]
	jl	.L15
.L8:
	mov	rdi, rbx
	call	jme_set_rx_pcc@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	DWORD PTR 48[rbx], 0
	mov	QWORD PTR 40[rbx], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	call	NET_STAT@PLT
	sub	rdx, QWORD PTR 16[rbx]
	cmp	rdx, QWORD PTR PCC_P2_THRESHOLD[rip]
	jg	.L4
	mov	rax, QWORD PTR PCC_INTR_THRESHOLD[rip]
	cmp	QWORD PTR 24[rbx], rax
	jle	.L5
.L4:
	mov	esi, DWORD PTR PCC_P2[rip]
	mov	rdi, rbp
	call	jme_attempt_pcc@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbx
	call	tasklet_schedule@PLT
	mov	rsi, QWORD PTR 32[rbx]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR PCC_P1[rip]
	mov	rdi, rbp
	call	jme_attempt_pcc@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	jme_dynamic_pcc, .-jme_dynamic_pcc
	.comm	PCC_P3_THRESHOLD,8,8
	.comm	PCC_P3,4,4
	.comm	PCC_P2_THRESHOLD,8,8
	.comm	PCC_P2,4,4
	.comm	PCC_P1,4,4
	.comm	PCC_INTR_THRESHOLD,8,8
	.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_jme.c_jme_dynamic_pcc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jme_dynamic_pcc, %function
jme_dynamic_pcc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	sub	sp, sp, #28
	ldr	r3, .L18
	mov	r1, r4
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	NET_STAT
	ldr	r2, .L18+4
	ldr	r1, [r4, #4]
	ldr	r3, [sp, #4]
	ldr	r2, [r2]
	sub	r3, r3, r1
	cmp	r3, r2
	add	r5, r4, #4
	ble	.L2
	ldr	r3, .L18+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	jme_attempt_pcc
.L3:
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #20]
	cmp	r2, r3
	moveq	r0, #0
	beq	.L6
	ldr	r0, [r4, #24]
	cmp	r0, #5
	movle	r0, #0
	movgt	r0, #1
.L6:
	bl	unlikely
	cmp	r0, #0
	beq	.L1
	ldr	r1, [r4, #16]
	ldr	r3, [r4, #20]
	cmp	r1, r3
	blt	.L16
.L8:
	mov	r0, r4
	bl	jme_set_rx_pcc
	mov	r2, #0
	ldr	r3, [r4, #16]
	str	r2, [r4, #24]
	str	r3, [r4, #20]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	r1, r4
	add	r0, sp, #12
	bl	NET_STAT
	ldr	r2, .L18+12
	ldr	r3, [sp, #16]
	ldr	r1, [r4, #8]
	ldr	r2, [r2]
	sub	r3, r3, r1
	cmp	r3, r2
	bgt	.L4
	ldr	r3, .L18+16
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L5
.L4:
	ldr	r3, .L18+20
	mov	r0, r5
	ldr	r1, [r3]
	bl	jme_attempt_pcc
	b	.L3
.L16:
	mov	r0, r4
	bl	tasklet_schedule
	ldr	r1, [r4, #16]
	b	.L8
.L5:
	ldr	r3, .L18+24
	mov	r0, r5
	ldr	r1, [r3]
	bl	jme_attempt_pcc
	b	.L3
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	PCC_P3_THRESHOLD
	.word	PCC_P3
	.word	PCC_P2_THRESHOLD
	.word	PCC_INTR_THRESHOLD
	.word	PCC_P2
	.word	PCC_P1
	.size	jme_dynamic_pcc, .-jme_dynamic_pcc
	.comm	PCC_P3_THRESHOLD,4,4
	.comm	PCC_P3,4,4
	.comm	PCC_P2_THRESHOLD,4,4
	.comm	PCC_P2,4,4
	.comm	PCC_P1,4,4
	.comm	PCC_INTR_THRESHOLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
