	.file	"extr_vm_shared_region.c_vm_shared_region_slide_page_v2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"vm_shared_region_slide_page() did not find page start in slide info: pageIndex=%u, count=%u\n"
	.align 8
.LC1:
	.string	"vm_shared_region_slide_page() out-of-bounds extras index: index=%u, count=%u\n"
	.text
	.p2align 4
	.type	vm_shared_region_slide_page_v2, @function
vm_shared_region_slide_page_v2:
.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
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR 24[rbx]
	mov	edx, DWORD PTR 4[rbx]
	add	rax, rbx
	cmp	edx, r13d
	jle	.L15
	movsx	rdx, r13d
	mov	ebp, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR DYLD_CACHE_SLIDE_PAGE_ATTR_NO_REBASE[rip], ebp
	mov	rax, QWORD PTR KERN_SUCCESS[rip]
	je	.L1
	mov	eax, DWORD PTR [rdi]
	mov	ecx, 32
	xor	r14d, r14d
	mov	r15, rsi
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR [rbx]
	sar	eax, cl
	test	eax, eax
	setne	r14b
	test	DWORD PTR DYLD_CACHE_SLIDE_PAGE_ATTR_EXTRA[rip], ebp
	je	.L5
	mov	rax, QWORD PTR 16[rbx]
	and	ebp, DWORD PTR DYLD_CACHE_SLIDE_PAGE_VALUE[rip]
	movsx	rdx, ebp
	add	rax, rbx
	lea	r12, [rax+rdx*4]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r10d, DWORD PTR [r12]
	mov	ecx, DWORD PTR DYLD_CACHE_SLIDE_PAGE_OFFSET_SHIFT[rip]
	mov	r9, rbx
	mov	rdx, r15
	mov	r8d, DWORD PTR 12[rsp]
	mov	esi, r13d
	mov	edi, r14d
	mov	eax, r10d
	and	eax, DWORD PTR DYLD_CACHE_SLIDE_PAGE_VALUE[rip]
	mov	DWORD PTR 8[rsp], r10d
	sal	eax, cl
	mov	ecx, eax
	call	rebase_chain@PLT
	mov	r10d, DWORD PTR 8[rsp]
	mov	r8, rax
	mov	rax, QWORD PTR KERN_SUCCESS[rip]
	cmp	rax, r8
	jne	.L13
	add	ebp, 1
	add	r12, 4
	test	DWORD PTR DYLD_CACHE_SLIDE_PAGE_ATTR_END[rip], r10d
	jne	.L1
.L8:
	mov	edx, DWORD PTR 8[rbx]
	cmp	edx, ebp
	jg	.L6
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	printf@PLT
	mov	rax, QWORD PTR KERN_FAILURE[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L5:
	.cfi_restore_state
	mov	ecx, DWORD PTR DYLD_CACHE_SLIDE_PAGE_OFFSET_SHIFT[rip]
	mov	rdx, rsi
	mov	r9, rbx
	mov	esi, r13d
	mov	r8d, DWORD PTR 12[rsp]
	mov	edi, r14d
	sal	ebp, cl
	mov	ecx, ebp
	call	rebase_chain@PLT
	cmp	QWORD PTR KERN_SUCCESS[rip], rax
	je	.L1
.L13:
	mov	rax, QWORD PTR KERN_FAILURE[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L15:
	.cfi_restore_state
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	rax, QWORD PTR KERN_FAILURE[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	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
	.cfi_endproc
.LFE0:
	.size	vm_shared_region_slide_page_v2, .-vm_shared_region_slide_page_v2
	.comm	KERN_SUCCESS,8,8
	.comm	KERN_FAILURE,8,8
	.comm	DYLD_CACHE_SLIDE_PAGE_VALUE,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_OFFSET_SHIFT,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_ATTR_NO_REBASE,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_ATTR_EXTRA,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_ATTR_END,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_shared_region.c_vm_shared_region_slide_page_v2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vm_shared_region_slide_page() did not find page sta"
	.ascii	"rt in slide info: pageIndex=%u, count=%u\012\000"
	.align	2
.LC1:
	.ascii	"vm_shared_region_slide_page() out-of-bounds extras "
	.ascii	"index: index=%u, count=%u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vm_shared_region_slide_page_v2, %function
vm_shared_region_slide_page_v2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r2
	ldr	r5, [r0, #4]
	mov	r2, r1
	ldr	r1, [r5, #4]
	ldr	r3, [r5, #16]
	cmp	r1, r8
	sub	sp, sp, #20
	add	r3, r5, r3
	ble	.L15
	ldr	r1, .L17
	ldr	r4, [r3, r8, lsl #2]
	ldr	r3, [r1]
	cmp	r3, r4
	beq	.L16
	mov	r3, #32
	ldr	r1, [r5]
	ldr	r0, [r0]
	asrs	r3, r1, r3
	ldr	r3, .L17+4
	movne	r9, #1
	ldr	r3, [r3]
	moveq	r9, #0
	tst	r4, r3
	str	r0, [sp, #12]
	beq	.L5
	ldr	r10, .L17+8
	ldr	r6, [r5, #12]
	ldr	r3, [r10]
	add	r6, r5, r6
	and	r4, r4, r3
	mov	r1, r8
	ldr	fp, .L17+12
	mov	r8, r2
	add	r6, r6, r4, lsl #2
	b	.L8
.L6:
	ldr	r7, [r6]
	ldr	r3, [r10]
	ldr	r0, [fp]
	ldr	r2, [sp, #12]
	and	r3, r3, r7
	lsl	r3, r3, r0
	str	r2, [sp]
	mov	r0, r9
	mov	r2, r8
	str	r5, [sp, #4]
	str	r1, [sp, #8]
	bl	rebase_chain
	ldr	r3, .L17+16
	ldr	r1, [sp, #8]
	ldr	r3, [r3]
	add	r4, r4, #1
	cmp	r3, r0
	bne	.L13
	ldr	r2, .L17+20
	add	r6, r6, #4
	ldr	r0, [r2]
	tst	r7, r0
	bne	.L1
.L8:
	ldr	r3, [r5, #8]
	cmp	r3, r4
	bgt	.L6
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L17+24
	bl	printf
	ldr	r3, .L17+28
	ldr	r3, [r3]
.L1:
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r3, .L17+12
	str	r5, [sp, #4]
	ldr	r3, [r3]
	ldr	r1, [sp, #12]
	lsl	r3, r4, r3
	str	r1, [sp]
	mov	r0, r9
	mov	r1, r8
	bl	rebase_chain
	ldr	r2, .L17+16
	mov	r3, r0
	ldr	r2, [r2]
	cmp	r2, r0
	beq	.L1
.L13:
	ldr	r3, .L17+28
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r2, r1
	ldr	r0, .L17+32
	mov	r1, r8
	bl	printf
	ldr	r3, .L17+28
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	DYLD_CACHE_SLIDE_PAGE_ATTR_NO_REBASE
	.word	DYLD_CACHE_SLIDE_PAGE_ATTR_EXTRA
	.word	DYLD_CACHE_SLIDE_PAGE_VALUE
	.word	DYLD_CACHE_SLIDE_PAGE_OFFSET_SHIFT
	.word	KERN_SUCCESS
	.word	DYLD_CACHE_SLIDE_PAGE_ATTR_END
	.word	.LC1
	.word	KERN_FAILURE
	.word	.LC0
	.size	vm_shared_region_slide_page_v2, .-vm_shared_region_slide_page_v2
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_FAILURE,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_VALUE,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_OFFSET_SHIFT,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_ATTR_NO_REBASE,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_ATTR_EXTRA,4,4
	.comm	DYLD_CACHE_SLIDE_PAGE_ATTR_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
