	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lastline                       ## -- Begin function lastline
	.p2align	4, 0x90
_lastline:                              ## @lastline
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_infile@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movl	(%rbx), %edi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
LBB0_1:
	movq	_inplace@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_ispan@GOTPCREL(%rip), %rcx
	movb	$1, %al
	cmpq	$0, (%rcx)
	je	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	callq	_next_files_have_lines
	testq	%rax, %rax
	sete	%al
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ungetc
	xorl	%eax, %eax
LBB0_6:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_infile,4,2                     ## @infile
	.comm	_inplace,8,3                    ## @inplace
	.comm	_ispan,8,3                      ## @ispan
	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lastline                       ; -- Begin function lastline
	.p2align	2
_lastline:                              ; @lastline
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _infile@GOTPAGE
Lloh1:
	ldr	x19, [x19, _infile@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_feof
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_getc
Lloh2:
	adrp	x8, _EOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _inplace@GOTPAGE
Lloh6:
	ldr	x8, [x8, _inplace@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _ispan@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ispan@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_4
; %bb.3:
	bl	_next_files_have_lines
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_6
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	ldr	w1, [x19]
	bl	_ungetc
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_infile,4,2                     ; @infile
	.comm	_inplace,8,3                    ; @inplace
	.comm	_ispan,8,3                      ; @ispan
	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
