	.file	"extr_scvtb.c_sc_vtb_erase.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sc_vtb_erase
	.type	sc_vtb_erase, @function
sc_vtb_erase:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r9d, [rsi+rdx]
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	mov	edx, eax
	sub	edx, esi
	cmp	r9d, eax
	mov	rax, QWORD PTR VTB_FRAMEBUFFER[rip]
	cmovg	r12d, edx
	or	r8d, ecx
	mov	ebp, r8d
	cmp	QWORD PTR 8[rdi], rax
	je	.L6
	call	sc_vtb_pointer@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	edi, ebp
	mov	rsi, rax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	fillw@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	call	sc_vtb_pointer@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	edi, ebp
	mov	rsi, rax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	fillw_io@PLT
	.cfi_endproc
.LFE0:
	.size	sc_vtb_erase, .-sc_vtb_erase
	.comm	VTB_FRAMEBUFFER,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_scvtb.c_sc_vtb_erase.c"
	.text
	.align	2
	.global	sc_vtb_erase
	.syntax unified
	.arm
	.fpu softvfp
	.type	sc_vtb_erase, %function
sc_vtb_erase:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	ldr	r2, [r0]
	add	ip, r1, r4
	cmp	ip, r2
	subgt	r4, r2, r1
	ldr	r2, .L7
	ldr	ip, [r0, #4]
	ldr	r2, [r2]
	ldr	r5, [sp, #16]
	cmp	ip, r2
	orr	r5, r5, r3
	beq	.L6
	bl	sc_vtb_pointer
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	fillw
.L6:
	bl	sc_vtb_pointer
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	fillw_io
.L8:
	.align	2
.L7:
	.word	VTB_FRAMEBUFFER
	.size	sc_vtb_erase, .-sc_vtb_erase
	.comm	VTB_FRAMEBUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
