	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocate_buffers
_allocate_buffers:                      ## @allocate_buffers
	.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	24(%rdi), %rdi
	movq	32(%rbx), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	24(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.2:
	movq	_WV_MONO_DATA@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_3
LBB0_5:
	movq	24(%rbx), %rdi
	movq	32(%rbx), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	24(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.6:
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.7:
	movl	(%r14), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_8
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	24(%rbx), %rdi
	addq	$4, %rdi
	movq	32(%rbx), %rsi
	addq	$4, %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	24(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_11
## %bb.4:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_5
	jmp	LBB0_11
LBB0_8:
	movq	24(%rbx), %rdi
	addq	$4, %rdi
	movq	32(%rbx), %rsi
	addq	$4, %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	24(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_11
## %bb.9:
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	addq	$4, %rdi
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	addq	$4, %rsi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_av_fast_padded_malloc
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_10
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WV_MONO_DATA,4,2               ## @WV_MONO_DATA
	.no_dead_strip	_allocate_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocate_buffers
_allocate_buffers:                      ; @allocate_buffers
	.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
	ldr	x0, [x0, #24]
	ldr	x1, [x19, #32]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.1:
	ldp	x8, x9, [x19, #8]
	ldr	x0, [x8]
	ldr	x1, [x9]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.2:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x20, _WV_MONO_DATA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WV_MONO_DATA@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_3:
	ldp	x0, x1, [x19, #24]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.4:
	ldp	x8, x9, [x19, #8]
	ldr	x0, [x8, #8]
	ldr	x1, [x9, #8]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.5:
	ldr	w8, [x19, #4]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldp	x8, x9, [x19, #24]
	add	x0, x8, #4
	add	x1, x9, #4
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_11
; %bb.8:
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8]
	add	x0, x8, #4
	ldr	x8, [x9]
	add	x1, x8, #4
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_3
	b	LBB0_11
LBB0_9:
	ldp	x8, x9, [x19, #24]
	add	x0, x8, #4
	add	x1, x9, #4
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_11
; %bb.10:
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8, #8]
	add	x0, x8, #4
	ldr	x8, [x9, #8]
	add	x1, x8, #4
	ldr	w8, [x19]
	lsl	w2, w8, #2
	bl	_av_fast_padded_malloc
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_6
LBB0_11:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WV_MONO_DATA,4,2               ; @WV_MONO_DATA
	.no_dead_strip	_allocate_buffers
.subsections_via_symbols
