	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_EM_GetLine
_EDIT_EM_GetLine:                       ## @EDIT_EM_GetLine
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_ES_MULTILINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.4:
	cmpq	%rsi, 8(%rbx)
	jg	LBB0_2
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	xorl	%esi, %esi
LBB0_2:
	movq	%rbx, %rdi
	callq	_EDIT_EM_LineIndex
	movq	16(%rbx), %r15
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_EDIT_EM_LineLength
	movq	(%r14), %rbx
	cmpq	%rax, %rbx
	jle	LBB0_3
## %bb.6:
	movq	%rax, %r12
	movq	%rax, %rdx
	shlq	$2, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	$0, (%r14,%r12,8)
	movq	%r12, %rbx
	jmp	LBB0_7
LBB0_3:
	leaq	(,%rbx,4), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_memcpy
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ES_MULTILINE,4,2               ## @ES_MULTILINE
	.no_dead_strip	_EDIT_EM_GetLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_EM_GetLine
_EDIT_EM_GetLine:                       ; @EDIT_EM_GetLine
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x0
	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_3
; %bb.1:
	ldr	x8, [x20, #8]
	cmp	x8, x1
	b.gt	LBB0_4
; %bb.2:
	mov	x20, #0
	b	LBB0_7
LBB0_3:
	mov	x1, #0
LBB0_4:
	mov	x0, x20
	bl	_EDIT_EM_LineIndex
	mov	x1, x0
	ldr	x8, [x20, #16]
	add	x21, x8, x0
	mov	x0, x20
	bl	_EDIT_EM_LineLength
	ldr	x20, [x19]
	cmp	x20, x0
	b.le	LBB0_6
; %bb.5:
	mov	x22, x0
	lsl	x2, x0, #2
	mov	x0, x19
	mov	x1, x21
	bl	_memcpy
	str	xzr, [x19, x22, lsl #3]
	mov	x20, x22
	b	LBB0_7
LBB0_6:
	lsl	x2, x20, #2
	mov	x0, x19
	mov	x1, x21
	bl	_memcpy
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ES_MULTILINE,4,2               ; @ES_MULTILINE
	.no_dead_strip	_EDIT_EM_GetLine
.subsections_via_symbols
