	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfree
_bfree:                                 ## @bfree
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cantell@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_whyles@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	_fseekp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movq	_BUFSIZE@GOTPCREL(%rip), %r15
	cltd
	idivl	(%r15)
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movl	%eax, %r12d
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	movq	_fbuf@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_xfree
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_3
## %bb.4:
	movq	(%r14), %rdi
	movslq	%r12d, %rax
	leaq	(%rdi,%rax,4), %rsi
	callq	_blkcpy
	movl	(%r15), %eax
	imull	%r12d, %eax
	movq	_fseekp@GOTPCREL(%rip), %rcx
	subl	%eax, (%rcx)
	movq	_feobp@GOTPCREL(%rip), %rcx
	subl	%eax, (%rcx)
	movq	_fblocks@GOTPCREL(%rip), %rax
	subl	%r12d, (%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cantell,8,3                    ## @cantell
	.comm	_whyles,8,3                     ## @whyles
	.comm	_fseekp,4,2                     ## @fseekp
	.comm	_BUFSIZE,4,2                    ## @BUFSIZE
	.comm	_fbuf,8,3                       ## @fbuf
	.comm	_feobp,4,2                      ## @feobp
	.comm	_fblocks,4,2                    ## @fblocks
	.no_dead_strip	_bfree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfree
_bfree:                                 ; @bfree
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _cantell@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cantell@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _whyles@GOTPAGE
Lloh4:
	ldr	x9, [x9, _whyles@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbnz	x8, LBB0_5
; %bb.1:
Lloh6:
	adrp	x20, _fseekp@GOTPAGE
Lloh7:
	ldr	x20, [x20, _fseekp@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w8, w8, #1
Lloh8:
	adrp	x21, _BUFSIZE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _BUFSIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	sdiv	w19, w8, w9
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
	lsl	x23, x19, #2
Lloh10:
	adrp	x24, _fbuf@GOTPAGE
Lloh11:
	ldr	x24, [x24, _fbuf@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w0, [x8, x22]
	bl	_xfree
	add	x22, x22, #4
	cmp	x23, x22
	b.ne	LBB0_3
; %bb.4:
	ldr	x0, [x24]
	add	x1, x0, w19, sxtw #2
	bl	_blkcpy
	ldr	w8, [x21]
	mul	w8, w8, w19
	ldr	w9, [x20]
	sub	w9, w9, w8
	str	w9, [x20]
Lloh12:
	adrp	x9, _feobp@GOTPAGE
Lloh13:
	ldr	x9, [x9, _feobp@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w8, w10, w8
	str	w8, [x9]
Lloh14:
	adrp	x8, _fblocks@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fblocks@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, w19
	str	w9, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_cantell,8,3                    ; @cantell
	.comm	_whyles,8,3                     ; @whyles
	.comm	_fseekp,4,2                     ; @fseekp
	.comm	_BUFSIZE,4,2                    ; @BUFSIZE
	.comm	_fbuf,8,3                       ; @fbuf
	.comm	_feobp,4,2                      ; @feobp
	.comm	_fblocks,4,2                    ; @fblocks
	.no_dead_strip	_bfree
.subsections_via_symbols
