	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_EM_LineIndex
_EDIT_EM_LineIndex:                     ## @EDIT_EM_LineIndex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_ES_MULTILINE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	je	LBB0_14
## %bb.1:
	movl	$-1, %eax
	cmpl	%esi, 4(%rdi)
	jle	LBB0_14
## %bb.2:
	movq	16(%rdi), %rcx
	cmpl	$-1, %esi
	je	LBB0_6
## %bb.3:
	movl	$0, %eax
	testl	%esi, %esi
	jle	LBB0_14
## %bb.4:
	leal	-1(%rsi), %eax
	movl	%esi, %edx
	andl	$3, %edx
	cmpl	$3, %eax
	jae	LBB0_10
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_6:
	movl	8(%rdi), %edx
	movl	(%rcx), %esi
	subl	%esi, %edx
	movl	$0, %eax
	js	LBB0_14
## %bb.7:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addl	%esi, %eax
	movl	(%rcx), %esi
	subl	%esi, %edx
	jns	LBB0_8
	jmp	LBB0_14
LBB0_10:
	andl	$-4, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rcx), %eax
	movq	8(%rcx), %rcx
	addl	(%rcx), %eax
	movq	8(%rcx), %rcx
	addl	(%rcx), %eax
	movq	8(%rcx), %rcx
	addl	(%rcx), %eax
	movq	8(%rcx), %rcx
	addl	$-4, %esi
	jne	LBB0_11
LBB0_12:
	testl	%edx, %edx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rcx), %eax
	movq	8(%rcx), %rcx
	decl	%edx
	jne	LBB0_13
LBB0_14:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ES_MULTILINE,4,2               ## @ES_MULTILINE
	.no_dead_strip	_EDIT_EM_LineIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_EM_LineIndex
_EDIT_EM_LineIndex:                     ; @EDIT_EM_LineIndex
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ES_MULTILINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ES_MULTILINE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	ldr	w8, [x0, #4]
	cmp	w8, w1
	b.le	LBB0_7
; %bb.2:
	ldr	x8, [x0, #16]
	cmn	w1, #1
	b.eq	LBB0_8
; %bb.3:
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w0, #0
	add	w9, w1, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	add	w0, w10, w0
	ldr	x8, [x8, #8]
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_5
	b	LBB0_11
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #-1
	ret
LBB0_8:
	ldr	w9, [x0, #8]
	ldr	w10, [x8]
	mov	w0, #0
	subs	w9, w9, w10
	b.mi	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w0, w10, w0
	ldr	w10, [x8]
	subs	w9, w9, w10
	b.pl	LBB0_9
LBB0_11:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ES_MULTILINE,4,2               ; @ES_MULTILINE
	.no_dead_strip	_EDIT_EM_LineIndex
.subsections_via_symbols
