	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function toend
_toend:                                 ## @toend
	.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	_whyles@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	(%rdi), %rax
	movq	_TCSH_F_SEEK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_2
LBB0_3:
	callq	_bseek
	jmp	LBB0_4
LBB0_2:
	movq	_TC_BREAK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_search
	movq	(%rbx), %rdi
	callq	_btell
	movq	(%rbx), %rax
	decq	8(%rax)
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_whyles,8,3                     ## @whyles
	.comm	_TCSH_F_SEEK,8,3                ## @TCSH_F_SEEK
	.comm	_TC_BREAK,4,2                   ## @TC_BREAK
	.no_dead_strip	_toend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function toend
_toend:                                 ; @toend
	.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, _whyles@GOTPAGE
Lloh1:
	ldr	x19, [x19, _whyles@GOTPAGEOFF]
	ldr	x0, [x19]
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _TCSH_F_SEEK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TCSH_F_SEEK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
LBB0_2:
	bl	_bseek
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _TC_BREAK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TC_BREAK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, #0
	bl	_search
	ldr	x0, [x19]
	bl	_btell
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	sub	x9, x9, #1
	str	x9, [x8, #8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wfree
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_whyles,8,3                     ; @whyles
	.comm	_TCSH_F_SEEK,8,3                ; @TCSH_F_SEEK
	.comm	_TC_BREAK,4,2                   ; @TC_BREAK
	.no_dead_strip	_toend
.subsections_via_symbols
