	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pool_alloc_buffer
_pool_alloc_buffer:                     ## @pool_alloc_buffer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movl	16(%r14), %edi
	callq	*%rax
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %edi
	callq	*8(%r14)
LBB0_3:
	movq	%rax, %rbx
	movq	%rax, -24(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	$32, %edi
	callq	_av_mallocz
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rcx
	movq	(%rbx), %rax
	movl	16(%rax), %edx
	movl	%edx, 24(%rcx)
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rcx)
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movq	%r14, (%rcx)
	movq	-24(%rbp), %rax
	movq	(%rax), %rdx
	movq	%rcx, 8(%rdx)
	movq	_pool_release_buffer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
	jmp	LBB0_9
LBB0_7:
	leaq	-24(%rbp), %rdi
	callq	_av_buffer_unref
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pool_release_buffer,4,2        ## @pool_release_buffer
	.no_dead_strip	_pool_alloc_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pool_alloc_buffer
_pool_alloc_buffer:                     ; @pool_alloc_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	ldr	w1, [x19]
	blr	x8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w0, [x19]
	blr	x8
LBB0_3:
	mov	x20, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.4:
	mov	w0, #32
	bl	_av_mallocz
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	w9, [x8, #16]
	str	w9, [x0, #24]
	ldr	x9, [x8, #8]
	str	x9, [x0, #16]
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	x19, [x0]
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	str	x0, [x9, #8]
Lloh0:
	adrp	x10, _pool_release_buffer@GOTPAGE
Lloh1:
	ldr	x10, [x10, _pool_release_buffer@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w10, [x9]
	b	LBB0_8
LBB0_6:
	add	x0, sp, #8
	bl	_av_buffer_unref
LBB0_7:
	mov	x8, #0
LBB0_8:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pool_release_buffer,4,2        ; @pool_release_buffer
	.no_dead_strip	_pool_alloc_buffer
.subsections_via_symbols
