	.file	"extr_vm_pageout.c_vector_upl_set_iostate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"setting sub-upl iostate when none exists"
	.align 8
.LC1:
	.string	"vector_upl_set_iostate was passed a non-vectored UPL\n"
	.align 8
.LC2:
	.string	"vector_upl_set_iostate was passed a NULL UPL\n"
	.text
	.p2align 4
	.globl	vector_upl_set_iostate
	.type	vector_upl_set_iostate, @function
vector_upl_set_iostate:
.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
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	call	vector_upl_is_valid@PLT
	test	rax, rax
	je	.L2
	mov	r14, QWORD PTR [rbx]
	test	r14, r14
	je	.L3
	mov	rbx, QWORD PTR [r14]
	test	rbx, rbx
	je	.L4
	mov	rdx, QWORD PTR 16[r14]
	xor	eax, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	add	rax, 1
	cmp	rbx, rax
	je	.L17
.L7:
	cmp	QWORD PTR [rdx+rax*8], rbp
	jne	.L5
	sal	rax, 4
	mov	rbx, rax
.L6:
	add	rbx, QWORD PTR 8[r14]
	cmp	QWORD PTR PAGE_SIZE[rip], r12
	cmovge	r12, QWORD PTR PAGE_SIZE[rip]
	mov	DWORD PTR 8[rbx], r13d
	mov	QWORD PTR [rbx], r12
	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
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, .LC2[rip]
	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
	jmp	panic@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	sal	rbx, 4
.L4:
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	pop	rbx
	.cfi_def_cfa_offset 40
	lea	rdi, .LC1[rip]
	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
	jmp	panic@PLT
	.cfi_endproc
.LFE0:
	.size	vector_upl_set_iostate, .-vector_upl_set_iostate
	.comm	PAGE_SIZE,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_vm_pageout.c_vector_upl_set_iostate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"setting sub-upl iostate when none exists\000"
	.align	2
.LC1:
	.ascii	"vector_upl_set_iostate was passed a non-vectored UP"
	.ascii	"L\012\000"
	.align	2
.LC2:
	.ascii	"vector_upl_set_iostate was passed a NULL UPL\012\000"
	.text
	.align	2
	.global	vector_upl_set_iostate
	.syntax unified
	.arm
	.fpu softvfp
	.type	vector_upl_set_iostate, %function
vector_upl_set_iostate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r7, r2
	mov	r6, r3
	mov	r5, r0
	bl	vector_upl_is_valid
	cmp	r0, #0
	beq	.L2
	ldr	r8, [r5]
	cmp	r8, #0
	beq	.L3
	ldr	r5, [r8]
	cmp	r5, #0
	beq	.L4
	ldr	ip, [r8, #8]
	mov	r0, #0
	sub	ip, ip, #4
	b	.L7
.L5:
	add	r0, r0, #1
	cmp	r5, r0
	beq	.L16
.L7:
	ldr	lr, [ip, #4]!
	cmp	lr, r4
	bne	.L5
	lsl	r5, r0, #3
.L6:
	ldr	r3, .L17
	ldr	r2, [r8, #4]
	ldr	r3, [r3]
	add	r1, r2, r5
	cmp	r3, r6
	movlt	r3, r6
	str	r7, [r1, #4]
	str	r3, [r2, r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L17+4
	pop	{r4, r5, r6, r7, r8, lr}
	b	panic
.L16:
	lsl	r5, r5, #3
.L4:
	ldr	r0, .L17+8
	bl	panic
	b	.L6
.L3:
	ldr	r0, .L17+12
	pop	{r4, r5, r6, r7, r8, lr}
	b	panic
.L18:
	.align	2
.L17:
	.word	PAGE_SIZE
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	vector_upl_set_iostate, .-vector_upl_set_iostate
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
