	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lastchr                        ## -- Begin function lastchr
	.p2align	4, 0x90
_lastchr:                               ## @lastchr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.2:
	addq	$8, %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdi)
	leaq	8(%rdi), %rdi
	jne	LBB0_3
## %bb.4:
	movq	-16(%rdi), %rax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lastchr                        ; -- Begin function lastchr
	.p2align	2
_lastchr:                               ; @lastchr
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
	add	x8, x0, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8], #8
	cbnz	x9, LBB0_3
; %bb.4:
	ldur	x0, [x8, #-16]
LBB0_5:
	ret
LBB0_6:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
