	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExtractLine                    ## -- Begin function ExtractLine
	.p2align	4, 0x90
_ExtractLine:                           ## @ExtractLine
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_currentFileLine@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_lineParseOffset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_token@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	_MAX_LINE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.6:
	leaq	-1(%rax), %rdx
	xorl	%ebx, %ebx
	testb	%cl, %cl
	je	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, %cl
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rbx, %rdx
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movzbl	1(%r14,%rbx), %ecx
	incq	%rbx
	testb	%cl, %cl
	jne	LBB0_8
LBB0_3:
	cmpl	%eax, %ebx
	jne	LBB0_11
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_CodeError
	jmp	LBB0_12
LBB0_5:
	movq	_lineBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_2:
	xorl	%ebx, %ebx
	cmpl	%eax, %ebx
	je	LBB0_4
LBB0_11:
	movq	_lineBuffer@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	(%r15), %rax
	movl	%ebx, %ecx
	movq	$0, (%rax,%rcx,8)
	xorl	%edx, %edx
	cmpb	$10, (%r14,%rcx)
	sete	%dl
	addq	%r14, %rdx
	addq	%rcx, %rdx
	movq	%rdx, %r14
LBB0_12:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_currentFileLine,4,2            ## @currentFileLine
	.comm	_lineParseOffset,8,3            ## @lineParseOffset
	.comm	_token,8,3                      ## @token
	.comm	_lineBuffer,8,3                 ## @lineBuffer
	.comm	_MAX_LINE_LENGTH,4,2            ## @MAX_LINE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAX_LINE_LENGTH"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExtractLine                    ; -- Begin function ExtractLine
	.p2align	2
_ExtractLine:                           ; @ExtractLine
	.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
Lloh0:
	adrp	x8, _currentFileLine@GOTPAGE
Lloh1:
	ldr	x8, [x8, _currentFileLine@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _lineParseOffset@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lineParseOffset@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x8, _token@GOTPAGE
Lloh6:
	ldr	x8, [x8, _token@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	xzr, [x8]
	ldrb	w9, [x0]
	cbz	w9, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh8:
	adrp	x8, _MAX_LINE_LENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_LINE_LENGTH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x20, #0
	add	x10, x19, #1
	sub	x11, x8, #1
	cbz	w9, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #10
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x11, x20
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x10, x20]
	add	x20, x20, #1
	cbnz	w9, LBB0_3
LBB0_6:
	cmp	w20, w8
	b.ne	LBB0_10
LBB0_7:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CodeError
	b	LBB0_11
LBB0_8:
	mov	x19, #0
Lloh13:
	adrp	x8, _lineBuffer@GOTPAGE
Lloh14:
	ldr	x8, [x8, _lineBuffer@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	xzr, [x8]
	b	LBB0_11
LBB0_9:
	mov	w20, #0
	cmp	w20, w8
	b.eq	LBB0_7
LBB0_10:
Lloh16:
	adrp	x21, _lineBuffer@GOTPAGE
Lloh17:
	ldr	x21, [x21, _lineBuffer@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x21]
	str	xzr, [x8, w20, uxtw #3]
	add	x8, x19, w20, uxtw
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #10
	csel	x19, x8, x9, ne
LBB0_11:
	mov	x0, x19
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_currentFileLine,4,2            ; @currentFileLine
	.comm	_lineParseOffset,8,3            ; @lineParseOffset
	.comm	_token,8,3                      ; @token
	.comm	_lineBuffer,8,3                 ; @lineBuffer
	.comm	_MAX_LINE_LENGTH,4,2            ; @MAX_LINE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAX_LINE_LENGTH"

.subsections_via_symbols
