	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfree                          ## -- Begin function wfree
	.p2align	4, 0x90
_wfree:                                 ## @wfree
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-56(%rbp), %rdi
	callq	_btell
	movq	_whyles@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.1:
	movq	_TCSH_I_SEEK@GOTPCREL(%rip), %r15
	movq	_TCSH_F_SEEK@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_wpfree
	movq	%rbx, (%r14)
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	48(%rbx), %rbx
	movl	(%rdi), %eax
	cmpl	(%r15), %eax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rdi), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-56(%rbp), %ecx
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r12), %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-40(%rbp), %rax
	cmpq	40(%rdi), %rax
	jl	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdi), %rcx
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	cmpq	32(%rdi), %rax
	jl	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rcx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rax
	jge	LBB0_12
LBB0_13:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_whyles,8,3                     ## @whyles
	.comm	_TCSH_I_SEEK,4,2                ## @TCSH_I_SEEK
	.comm	_TCSH_F_SEEK,4,2                ## @TCSH_F_SEEK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfree                          ; -- Begin function wfree
	.p2align	2
_wfree:                                 ; @wfree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	add	x0, sp, #8
	bl	_btell
Lloh0:
	adrp	x19, _whyles@GOTPAGE
Lloh1:
	ldr	x19, [x19, _whyles@GOTPAGEOFF]
	ldr	x20, [x19]
	cbz	x20, LBB0_11
; %bb.1:
Lloh2:
	adrp	x21, _TCSH_I_SEEK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TCSH_I_SEEK@GOTPAGEOFF]
Lloh4:
	adrp	x22, _TCSH_F_SEEK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _TCSH_F_SEEK@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x9
	b.lt	LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_wpfree
	str	x20, [x19]
	cbz	x20, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	ldr	x20, [x20, #48]
	ldr	w8, [x0]
	ldr	w9, [x21]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x0, #24]
	ldr	w10, [sp, #8]
	cmp	w9, w8
	ccmp	w9, w10, #0, eq
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [x0, #40]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x0, #16]
	cbnz	x9, LBB0_2
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x0, #32]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x0, #8]
	cbnz	x9, LBB0_2
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_whyles,8,3                     ; @whyles
	.comm	_TCSH_I_SEEK,4,2                ; @TCSH_I_SEEK
	.comm	_TCSH_F_SEEK,4,2                ; @TCSH_F_SEEK
.subsections_via_symbols
