	.file	"extr_vmm_instruction_emul.c_verify_gla.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"verify_gla: error %d getting base reg %d\n"
	.align 8
.LC1:
	.string	"verify_gla: error %d getting index reg %d\n"
	.align 8
.LC2:
	.string	"verify_gla mismatch: base(0x%0llx), scale(%d), index(0x%0llx), disp(0x%0llx), gla(0x%0llx), gla2(0x%0llx)\n"
	.text
	.p2align 4
	.type	verify_gla, @function
verify_gla:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR VIE_INVALID_GLA[rip], edx
	je	.L8
	mov	ebp, edx
	mov	eax, DWORD PTR VM_REG_LAST[rip]
	mov	edx, DWORD PTR [rcx]
	mov	r13, rdi
	mov	DWORD PTR [rsp], 0
	mov	r12d, esi
	mov	rbx, rcx
	cmp	edx, eax
	jne	.L13
.L4:
	mov	edx, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rsp], 0
	xor	ecx, ecx
	cmp	edx, eax
	jne	.L14
.L6:
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rsp]
	mov	r8, QWORD PTR 24[rbx]
	mov	r9, QWORD PTR 16[rbx]
	mov	eax, edx
	mov	rdi, QWORD PTR size2mask[rip]
	imul	eax, ecx
	add	eax, esi
	add	eax, r8d
	and	eax, DWORD PTR [rdi+r9*4]
	cmp	ebp, eax
	jne	.L15
.L8:
	xor	eax, eax
.L1:
	mov	rdi, QWORD PTR 8[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rcx, rsp
	call	vm_get_register@PLT
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR VM_REG_LAST[rip]
	mov	esi, DWORD PTR VM_REG_GUEST_RIP[rip]
	cmp	DWORD PTR [rbx], esi
	jne	.L4
	mov	rdx, QWORD PTR 32[rbx]
	add	DWORD PTR [rsp], edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rcx, 4[rsp]
	mov	esi, r12d
	mov	rdi, r13
	call	vm_get_register@PLT
	test	eax, eax
	jne	.L7
	mov	ecx, DWORD PTR 4[rsp]
	jmp	.L6
.L15:
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	r9d, ebp
	lea	rdi, .LC2[rip]
	push	rax
	.cfi_def_cfa_offset 80
	xor	eax, eax
	call	printf@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	mov	eax, -1
	pop	rdx
	.cfi_def_cfa_offset 64
	jmp	.L1
.L17:
	mov	edx, DWORD PTR [rbx]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
	mov	eax, -1
	jmp	.L1
.L7:
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	mov	eax, -1
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	verify_gla, .-verify_gla
	.comm	size2mask,8,8
	.comm	VM_REG_LAST,4,4
	.comm	VM_REG_GUEST_RIP,4,4
	.comm	VIE_INVALID_GLA,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_vmm_instruction_emul.c_verify_gla.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"verify_gla: error %d getting base reg %d\012\000"
	.align	2
.LC1:
	.ascii	"verify_gla: error %d getting index reg %d\012\000"
	.align	2
.LC2:
	.ascii	"verify_gla mismatch: base(0x%0llx), scale(%d), inde"
	.ascii	"x(0x%0llx), disp(0x%0llx), gla(0x%0llx), gla2(0x%0l"
	.ascii	"lx)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_gla, %function
verify_gla:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r2, .L18
	mov	r4, r3
	ldr	r3, [r2]
	ldr	r2, .L18+4
	sub	sp, sp, #32
	cmp	r3, r5
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	beq	.L8
	mov	r3, #0
	ldr	r8, .L18+8
	ldr	r2, [r4]
	ldr	ip, [r8]
	mov	r7, r0
	cmp	r2, ip
	mov	r6, r1
	str	r3, [sp, #20]
	bne	.L13
.L4:
	mov	r3, #0
	ldr	r2, [r4, #4]
	str	r3, [sp, #24]
	cmp	r2, ip
	bne	.L14
.L6:
	ldr	r2, [r4, #8]
	ldr	r1, [sp, #20]
	ldr	ip, .L18+12
	mla	r0, r3, r2, r1
	ldr	lr, [ip]
	ldr	r6, [r4, #12]
	ldr	ip, [r4, #16]
	ldr	lr, [lr, r6, lsl #2]
	add	r0, r0, ip
	and	r0, r0, lr
	cmp	r5, r0
	bne	.L15
.L8:
	mov	r0, #0
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	add	r3, sp, #20
	bl	vm_get_register
	cmp	r0, #0
	bne	.L17
	ldr	r3, .L18+16
	ldr	r2, [r4]
	ldr	r3, [r3]
	ldr	ip, [r8]
	cmp	r2, r3
	ldreq	r3, [sp, #20]
	ldreq	r2, [r4, #20]
	addeq	r3, r3, r2
	streq	r3, [sp, #20]
	b	.L4
.L14:
	mov	r1, r6
	mov	r0, r7
	add	r3, sp, #24
	bl	vm_get_register
	cmp	r0, #0
	bne	.L7
	ldr	r3, [sp, #24]
	b	.L6
.L15:
	str	r0, [sp, #8]
	str	r5, [sp, #4]
	ldr	r0, .L18+20
	str	ip, [sp]
	bl	printf
	mvn	r0, #0
	b	.L1
.L17:
	mov	r1, r0
	ldr	r2, [r4]
	ldr	r0, .L18+24
	bl	printf
	mvn	r0, #0
	b	.L1
.L7:
	mov	r1, r0
	ldr	r2, [r4, #4]
	ldr	r0, .L18+28
	bl	printf
	mvn	r0, #0
	b	.L1
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	VIE_INVALID_GLA
	.word	.LC3
	.word	VM_REG_LAST
	.word	size2mask
	.word	VM_REG_GUEST_RIP
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	verify_gla, .-verify_gla
	.comm	size2mask,4,4
	.comm	VM_REG_LAST,4,4
	.comm	VM_REG_GUEST_RIP,4,4
	.comm	VIE_INVALID_GLA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
