	.file	"extr_relay.c_relay_file_read_end_pos.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	relay_file_read_end_pos, @function
relay_file_read_end_pos:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	mov	r8, rdx
	xor	edx, edx
	mov	rdi, QWORD PTR [rdi]
	mov	rcx, QWORD PTR [rax]
	mov	r9, QWORD PTR 8[rax]
	mov	rax, rsi
	div	rcx
	add	rdx, r8
	add	rdx, QWORD PTR [rdi+rax*8]
	add	r8, rsi
	cmp	rdx, rcx
	jne	.L3
	lea	r8, 1[rax]
	imul	r8, rcx
.L3:
	imul	rcx, r9
	mov	eax, 0
	cmp	rcx, r8
	cmovbe	r8, rax
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	relay_file_read_end_pos, .-relay_file_read_end_pos
	.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_relay.c_relay_file_read_end_pos.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	relay_file_read_end_pos, %function
relay_file_read_end_pos:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r3]
	mov	r7, r0
	mov	r4, r1
	mov	r0, r1
	mov	r1, r5
	mov	r8, r2
	ldr	r6, [r3, #4]
	bl	__aeabi_uidivmod
	ldr	r3, [r7]
	add	ip, r1, r8
	ldr	r1, [r3, r0, lsl #2]
	add	ip, ip, r1
	cmp	ip, r5
	addeq	r0, r0, #1
	muleq	r0, r5, r0
	mul	r5, r6, r5
	addne	r0, r4, r8
	cmp	r5, r0
	movls	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	relay_file_read_end_pos, .-relay_file_read_end_pos
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
