	.file	"extr_vmm_api.c_xh_setup_video_memory.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xh_setup_video_memory
	.type	xh_setup_video_memory, @function
xh_setup_video_memory:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rax, rsi
	mov	r13, rdx
	xor	edx, edx
	div	QWORD PTR XHYVE_PAGE_SIZE[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	r12d, edi
	xor	edi, edi
	mov	rbp, rsi
	test	rdx, rdx
	sete	dil
	call	assert@PLT
	mov	rcx, r13
	mov	rsi, rbp
	mov	edi, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	edx, DWORD PTR XHYVE_PROT_READ[rip]
	pop	r12
	.cfi_def_cfa_offset 16
	or	edx, DWORD PTR XHYVE_PROT_WRITE[rip]
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	setup_memory_segment@PLT
	.cfi_endproc
.LFE0:
	.size	xh_setup_video_memory, .-xh_setup_video_memory
	.comm	XHYVE_PROT_WRITE,4,4
	.comm	XHYVE_PROT_READ,4,4
	.comm	XHYVE_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_vmm_api.c_xh_setup_video_memory.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	xh_setup_video_memory
	.syntax unified
	.arm
	.fpu softvfp
	.type	xh_setup_video_memory, %function
xh_setup_video_memory:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	mov	r0, r1
	ldr	r1, [r3]
	mov	r6, r2
	bl	__aeabi_uidivmod
	clz	r0, r1
	lsr	r0, r0, #5
	bl	assert
	ldr	r2, .L4+4
	ldr	r3, .L4+8
	ldr	ip, [r2]
	ldr	r2, [r3]
	mov	r1, r4
	mov	r3, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	orr	r2, ip, r2
	b	setup_memory_segment
.L5:
	.align	2
.L4:
	.word	XHYVE_PAGE_SIZE
	.word	XHYVE_PROT_READ
	.word	XHYVE_PROT_WRITE
	.size	xh_setup_video_memory, .-xh_setup_video_memory
	.comm	XHYVE_PROT_WRITE,4,4
	.comm	XHYVE_PROT_READ,4,4
	.comm	XHYVE_PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
