	.file	"extr_lexer.c_lexer_getstroffset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lexer_getstroffset
	.type	lexer_getstroffset, @function
lexer_getstroffset:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L14
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, 1
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, 1
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR [rdi]
	cmp	rbx, rsi
	jb	.L6
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbx, 1
	cmp	r12, rbx
	jbe	.L3
.L6:
	movsx	edi, BYTE PTR [rbx]
	add	ebp, 1
	call	is_newline@PLT
	test	rax, rax
	je	.L5
	mov	rdi, rbx
	add	r13d, 1
	mov	ebp, 1
	call	newline_size@PLT
	sub	eax, 1
	cdqe
	add	rbx, rax
	add	rbx, 1
	cmp	r12, rbx
	ja	.L6
.L3:
	mov	DWORD PTR [r15], r13d
	mov	DWORD PTR [r14], ebp
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE0:
	.size	lexer_getstroffset, .-lexer_getstroffset
	.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_lexer.c_lexer_getstroffset.c"
	.text
	.align	2
	.global	lexer_getstroffset
	.syntax unified
	.arm
	.fpu softvfp
	.type	lexer_getstroffset, %function
lexer_getstroffset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r6, r1, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r7, #1
	ldr	r4, [r0]
	mov	r9, r2
	cmp	r4, r6
	mov	r8, r3
	mov	r5, r7
	bcc	.L6
	b	.L3
.L5:
	add	r4, r4, #1
	cmp	r6, r4
	bls	.L3
.L6:
	ldrb	r0, [r4]	@ zero_extendqisi2
	bl	is_newline
	cmp	r0, #0
	addeq	r5, r5, #1
	beq	.L5
	mov	r0, r4
	bl	newline_size
	sub	r0, r0, #1
	add	r4, r4, r0
	add	r4, r4, #1
	cmp	r6, r4
	mov	r5, #1
	add	r7, r7, #1
	bhi	.L6
.L3:
	str	r7, [r9]
	str	r5, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	lexer_getstroffset, .-lexer_getstroffset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
