	.file	"extr_spec_vnops.c_throttle_add_to_list.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	throttle_add_to_list, @function
throttle_add_to_list:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR [rdi]
	mov	r14, QWORD PTR FALSE[rip]
	mov	QWORD PTR [rsp], rcx
	movsx	rcx, edx
	mov	r15d, DWORD PTR THROTTLE_LEVEL_START[rip]
	lea	r13, 0[0+rcx*4]
	mov	QWORD PTR 8[rsp], rcx
	add	rdi, r13
	call	TAILQ_EMPTY@PLT
	mov	rcx, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR TRUE[rip]
.L3:
	mov	r8d, DWORD PTR uu_throttlelist[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	add	rdi, r13
	mov	edx, r8d
	cmp	QWORD PTR [rsp], rax
	je	.L9
	call	TAILQ_INSERT_HEAD@PLT
	cmp	QWORD PTR TRUE[rip], r14
	mov	DWORD PTR 0[rbp], r12d
	je	.L10
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	r14, QWORD PTR TRUE[rip]
	mov	esi, DWORD PTR [rax+rcx*4]
	mov	rax, QWORD PTR 16[rbx]
	mov	DWORD PTR [rax+rcx*4], esi
	mov	rax, r14
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	call	TAILQ_INSERT_TAIL@PLT
	cmp	QWORD PTR TRUE[rip], r14
	mov	DWORD PTR 0[rbp], r12d
	jne	.L1
.L10:
	mov	edx, DWORD PTR THROTTLE_LEVEL_START[rip]
	mov	rsi, QWORD PTR FALSE[rip]
	mov	rdi, rbx
	call	throttle_timer_start@PLT
	cmp	DWORD PTR THROTTLE_LEVEL_END[rip], eax
	mov	r15d, eax
	jne	.L1
	movsx	rax, DWORD PTR 0[rbp]
	cmp	eax, DWORD PTR THROTTLE_LEVEL_THROTTLED[rip]
	jl	.L1
	mov	rdx, QWORD PTR [rbx]
	mov	rsi, rbp
	lea	rdi, [rdx+rax*4]
	mov	edx, DWORD PTR uu_throttlelist[rip]
	call	TAILQ_REMOVE@PLT
	mov	rax, QWORD PTR THROTTLE_LEVEL_NONE[rip]
	mov	DWORD PTR 0[rbp], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	throttle_add_to_list, .-throttle_add_to_list
	.comm	uu_throttlelist,4,4
	.comm	TRUE,8,8
	.comm	THROTTLE_LEVEL_THROTTLED,4,4
	.comm	THROTTLE_LEVEL_START,4,4
	.comm	THROTTLE_LEVEL_NONE,8,8
	.comm	THROTTLE_LEVEL_END,4,4
	.comm	FALSE,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_spec_vnops.c_throttle_add_to_list.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	throttle_add_to_list, %function
throttle_add_to_list:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	ldr	r0, [r0]
	ldr	r9, .L11
	ldr	r10, .L11+4
	sub	sp, sp, #12
	add	r0, r0, r2, lsl #2
	mov	r6, r1
	mov	r4, r2
	mov	fp, r3
	ldr	r7, [r9]
	ldr	r8, [r10]
	bl	TAILQ_EMPTY
	ldr	r3, .L11+8
	cmp	r0, #0
	ldrne	r1, [r5, #4]
	ldrne	r7, [r3]
	ldrne	ip, [r1, r4, lsl #2]
	movne	r1, r7
	ldrne	r0, [r5, #8]
	ldreq	r1, [r3]
	strne	ip, [r0, r4, lsl #2]
	cmp	fp, r1
	ldr	r0, [r5]
	ldr	fp, .L11+12
	lsl	r2, r4, #2
	add	r0, r0, r2
	mov	r1, r6
	ldr	r2, [fp]
	str	r3, [sp, #4]
	beq	.L9
	bl	TAILQ_INSERT_HEAD
	ldr	r3, [sp, #4]
	ldr	r3, [r3]
	str	r4, [r6]
	cmp	r3, r7
	beq	.L10
.L1:
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	bl	TAILQ_INSERT_TAIL
	ldr	r3, [sp, #4]
	ldr	r3, [r3]
	str	r4, [r6]
	cmp	r3, r7
	bne	.L1
.L10:
	mov	r0, r5
	ldr	r2, [r10]
	ldr	r1, [r9]
	bl	throttle_timer_start
	ldr	r3, .L11+16
	mov	r8, r0
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L1
	ldr	r2, .L11+20
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	blt	.L1
	ldr	r0, [r5]
	mov	r1, r6
	add	r0, r0, r3, lsl #2
	ldr	r2, [fp]
	bl	TAILQ_REMOVE
	ldr	r3, .L11+24
	ldr	r3, [r3]
	str	r3, [r6]
	b	.L1
.L12:
	.align	2
.L11:
	.word	FALSE
	.word	THROTTLE_LEVEL_START
	.word	TRUE
	.word	uu_throttlelist
	.word	THROTTLE_LEVEL_END
	.word	THROTTLE_LEVEL_THROTTLED
	.word	THROTTLE_LEVEL_NONE
	.size	throttle_add_to_list, .-throttle_add_to_list
	.comm	uu_throttlelist,4,4
	.comm	TRUE,4,4
	.comm	THROTTLE_LEVEL_THROTTLED,4,4
	.comm	THROTTLE_LEVEL_START,4,4
	.comm	THROTTLE_LEVEL_NONE,4,4
	.comm	THROTTLE_LEVEL_END,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
