	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function last_line
_last_line:                             ## @last_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	cmpq	$1, %rsi
	je	LBB0_6
## %bb.2:
	movl	%esi, %eax
	addl	$-2, %eax
	js	LBB0_6
## %bb.3:
	decl	%esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	leal	-1(%rax), %esi
	cmpb	$10, (%rdi,%rsi)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%esi, %esi
	jg	LBB0_4
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_last_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function last_line
_last_line:                             ; @last_line
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_8
; %bb.1:
	cmp	x1, #1
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #2
	b.mi	LBB0_6
; %bb.3:
	sub	w8, w1, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w8, #1
	ldrb	w10, [x0, w9, uxtw]
	cmp	w10, #10
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x9
	cmp	w9, #0
	b.gt	LBB0_4
LBB0_6:
	mov	w8, #0
LBB0_7:
	mov	x0, x8
	ret
LBB0_8:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_last_line
.subsections_via_symbols
