	.file	"extr_util.c_ubh_mark_buffer_uptodate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ubh_mark_buffer_uptodate
	.type	ubh_mark_buffer_uptodate, @function
ubh_mark_buffer_uptodate:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L15
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	test	esi, esi
	je	.L19
	test	eax, eax
	je	.L1
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, ebp
	add	ebp, 1
	mov	edi, DWORD PTR [rax+rdx*4]
	call	set_buffer_uptodate@PLT
	cmp	DWORD PTR [rbx], ebp
	ja	.L6
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	xor	ebp, ebp
	test	eax, eax
	je	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, ebp
	add	ebp, 1
	mov	edi, DWORD PTR [rax+rdx*4]
	call	clear_buffer_uptodate@PLT
	cmp	DWORD PTR [rbx], ebp
	ja	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	ubh_mark_buffer_uptodate, .-ubh_mark_buffer_uptodate
	.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_util.c_ubh_mark_buffer_uptodate.c"
	.text
	.align	2
	.global	ubh_mark_buffer_uptodate
	.syntax unified
	.arm
	.fpu softvfp
	.type	ubh_mark_buffer_uptodate, %function
ubh_mark_buffer_uptodate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	popeq	{r4, r5, r6, pc}
	cmp	r1, #0
	ldr	r3, [r4]
	beq	.L17
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r5, #0
.L6:
	ldr	r3, [r4, #4]
	ldr	r0, [r3, r5, lsl #2]
	bl	set_buffer_uptodate
	ldr	r3, [r4]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L6
	pop	{r4, r5, r6, pc}
.L17:
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r5, r1
.L4:
	ldr	r3, [r4, #4]
	ldr	r0, [r3, r5, lsl #2]
	bl	clear_buffer_uptodate
	ldr	r3, [r4]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L4
	pop	{r4, r5, r6, pc}
	.size	ubh_mark_buffer_uptodate, .-ubh_mark_buffer_uptodate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
