	.file	"extr_vm_purgeable.c_vm_purgeable_token_delete_last.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vm_purgeable_token_delete_last
	.type	vm_purgeable_token_delete_last, @function
vm_purgeable_token_delete_last:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR LCK_MTX_ASSERT_OWNED[rip]
	mov	ebp, edi
	lea	rdi, vm_page_queue_lock[rip]
	call	LCK_MTX_ASSERT@PLT
	mov	edi, ebp
	call	vm_purgeable_token_remove_last@PLT
	test	eax, eax
	je	.L1
	mov	ecx, DWORD PTR token_free_idx[rip]
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, QWORD PTR tokens[rip]
	mov	DWORD PTR [rdx], ecx
	mov	QWORD PTR 8[rdx], 0
	mov	DWORD PTR token_free_idx[rip], eax
.L1:
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vm_purgeable_token_delete_last, .-vm_purgeable_token_delete_last
	.comm	vm_page_queue_lock,4,4
	.comm	tokens,8,8
	.comm	token_free_idx,4,4
	.comm	LCK_MTX_ASSERT_OWNED,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_vm_purgeable.c_vm_purgeable_token_delete_last.c"
	.text
	.align	2
	.global	vm_purgeable_token_delete_last
	.syntax unified
	.arm
	.fpu softvfp
	.type	vm_purgeable_token_delete_last, %function
vm_purgeable_token_delete_last:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L8
	ldr	r0, .L8+4
	ldr	r1, [r3]
	bl	LCK_MTX_ASSERT
	mov	r0, r4
	bl	vm_purgeable_token_remove_last
	cmp	r0, #0
	popeq	{r4, pc}
	mov	ip, #0
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	r2, [r2]
	ldr	lr, [r3]
	add	r1, r2, r0, lsl #3
	str	lr, [r2, r0, lsl #3]
	str	r0, [r3]
	str	ip, [r1, #4]
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	LCK_MTX_ASSERT_OWNED
	.word	vm_page_queue_lock
	.word	tokens
	.word	token_free_idx
	.size	vm_purgeable_token_delete_last, .-vm_purgeable_token_delete_last
	.comm	vm_page_queue_lock,4,4
	.comm	tokens,4,4
	.comm	token_free_idx,4,4
	.comm	LCK_MTX_ASSERT_OWNED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
