	.file	"extr_api-seek-test.c_read_seek_range.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Incorrect input ranges of seeking\n"
	.text
	.p2align 4
	.type	read_seek_range, @function
read_seek_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 10
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	QWORD PTR [rsp], 0
	call	strtol@PLT
	mov	rdi, rbx
	mov	r12, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR [rsp]
	cdqe
	sub	rdx, rbx
	cmp	rdx, rax
	jne	.L6
	test	r12, r12
	js	.L6
	cmp	QWORD PTR LONG_MAX[rip], r12
	je	.L5
	cmp	QWORD PTR LONG_MIN[rip], r12
	je	.L5
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR ERANGE[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	lea	rdx, .LC0[rip]
	xor	edi, edi
	mov	r12, -1
	call	av_log@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_seek_range, .-read_seek_range
	.comm	errno,8,8
	.comm	LONG_MIN,8,8
	.comm	LONG_MAX,8,8
	.comm	ERANGE,8,8
	.comm	AV_LOG_ERROR,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_api-seek-test.c_read_seek_range.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Incorrect input ranges of seeking\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_seek_range, %function
read_seek_range:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	ip, .L10
	sub	sp, sp, #12
	mov	r2, #10
	mov	r1, sp
	mov	r5, r0
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	str	r3, [sp]
	bl	strtol
	mov	r4, r0
	mov	r0, r5
	bl	strlen
	ldr	r3, [sp]
	sub	r3, r3, r5
	subs	r3, r3, r0
	movne	r3, #1
	orrs	r3, r3, r4, lsr #31
	bne	.L5
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L4
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L4
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	ldr	r2, .L10+12
	ldr	r3, .L10+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L1
.L5:
	ldr	r3, .L10+20
	mov	r0, #0
	ldr	r2, .L10+24
	ldr	r1, [r3]
	bl	av_log
	mvn	r4, #0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	LONG_MAX
	.word	LONG_MIN
	.word	errno
	.word	ERANGE
	.word	AV_LOG_ERROR
	.word	.LC0
	.size	read_seek_range, .-read_seek_range
	.comm	errno,4,4
	.comm	LONG_MIN,4,4
	.comm	LONG_MAX,4,4
	.comm	ERANGE,4,4
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
