	.file	"extr_vfs_subr.c_vn_syncer_add_to_worklist.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vn_syncer_add_to_worklist, @function
vn_syncer_add_to_worklist:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	ASSERT_BO_WLOCKED@PLT
	lea	rdi, sync_mtx[rip]
	call	mtx_lock@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR BO_ONWORKLST[rip]
	test	eax, edx
	jne	.L7
	or	eax, edx
	mov	DWORD PTR 0[rbp], eax
	add	DWORD PTR syncer_worklist_len[rip], 1
.L3:
	mov	eax, DWORD PTR syncer_maxdelay[rip]
	mov	rsi, rbp
	lea	edx, -1[rax]
	sub	eax, 2
	cmp	edx, ebx
	mov	edx, DWORD PTR bo_synclist[rip]
	cmovle	ebx, eax
	mov	rax, QWORD PTR syncer_workitem_pending[rip]
	add	ebx, DWORD PTR syncer_delayno[rip]
	and	ebx, DWORD PTR syncer_mask[rip]
	movsx	rbx, ebx
	lea	rdi, [rax+rbx*4]
	call	LIST_INSERT_HEAD@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, sync_mtx[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mtx_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR bo_synclist[rip]
	mov	rdi, rbp
	call	LIST_REMOVE@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vn_syncer_add_to_worklist, .-vn_syncer_add_to_worklist
	.comm	syncer_worklist_len,4,4
	.comm	syncer_workitem_pending,8,8
	.comm	syncer_maxdelay,4,4
	.comm	syncer_mask,4,4
	.comm	syncer_delayno,4,4
	.comm	sync_mtx,4,4
	.comm	bo_synclist,4,4
	.comm	BO_ONWORKLST,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_vfs_subr.c_vn_syncer_add_to_worklist.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vn_syncer_add_to_worklist, %function
vn_syncer_add_to_worklist:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	bl	ASSERT_BO_WLOCKED
	ldr	r0, .L8
	bl	mtx_lock
	ldr	r2, .L8+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L7
	orr	r3, r3, r2
	ldr	r2, .L8+8
	str	r3, [r5]
	ldr	r3, [r2]
	ldr	r6, .L8+12
	add	r3, r3, #1
	str	r3, [r2]
.L3:
	ldr	r3, .L8+16
	mov	r1, r5
	ldr	r3, [r3]
	sub	r2, r3, #1
	cmp	r2, r4
	ldr	r2, .L8+20
	suble	r4, r3, #2
	ldr	r3, .L8+24
	ldr	r0, [r2]
	ldr	r2, .L8+28
	ldr	r3, [r3]
	add	r4, r4, r0
	ldr	r0, [r2]
	and	r4, r4, r3
	ldr	r2, [r6]
	add	r0, r0, r4, lsl #2
	bl	LIST_INSERT_HEAD
	pop	{r4, r5, r6, lr}
	ldr	r0, .L8
	b	mtx_unlock
.L7:
	ldr	r6, .L8+12
	mov	r0, r5
	ldr	r1, [r6]
	bl	LIST_REMOVE
	b	.L3
.L9:
	.align	2
.L8:
	.word	sync_mtx
	.word	BO_ONWORKLST
	.word	syncer_worklist_len
	.word	bo_synclist
	.word	syncer_maxdelay
	.word	syncer_delayno
	.word	syncer_mask
	.word	syncer_workitem_pending
	.size	vn_syncer_add_to_worklist, .-vn_syncer_add_to_worklist
	.comm	syncer_worklist_len,4,4
	.comm	syncer_workitem_pending,4,4
	.comm	syncer_maxdelay,4,4
	.comm	syncer_mask,4,4
	.comm	syncer_delayno,4,4
	.comm	sync_mtx,4,4
	.comm	bo_synclist,4,4
	.comm	BO_ONWORKLST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
