	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_frame_buf
_free_frame_buf:                        ## @free_frame_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	_FRAME_NUM@GOTPCREL(%rip), %r14
	movq	_CPIA_MAX_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	(%r14), %esi
	callq	_rvfree
	movq	$0, 8(%rbx)
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAME_NUM,4,2                  ## @FRAME_NUM
	.comm	_CPIA_MAX_FRAME_SIZE,4,2        ## @CPIA_MAX_FRAME_SIZE
	.no_dead_strip	_free_frame_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_frame_buf
_free_frame_buf:                        ; @free_frame_buf
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _FRAME_NUM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FRAME_NUM@GOTPAGEOFF]
	ldr	x0, [x0, #8]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _CPIA_MAX_FRAME_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CPIA_MAX_FRAME_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mul	w1, w9, w8
	bl	_rvfree
	str	xzr, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x19]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAME_NUM,4,2                  ; @FRAME_NUM
	.comm	_CPIA_MAX_FRAME_SIZE,4,2        ; @CPIA_MAX_FRAME_SIZE
	.no_dead_strip	_free_frame_buf
.subsections_via_symbols
