	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_alloc_entries               ## -- Begin function ff_alloc_entries
	.p2align	4, 0x90
_ff_alloc_entries:                      ## @ff_alloc_entries
	.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	_FF_THREAD_SLICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_12
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	leaq	24(%r13), %r15
	cmpq	$0, 24(%r13)
	je	LBB0_3
## %bb.2:
	movl	(%r13), %eax
	xorl	%edi, %edi
	cmpl	4(%r12), %eax
	sete	%dil
	callq	_av_assert0
	movq	%r15, %rdi
	callq	_av_freep
LBB0_3:
	movl	4(%r12), %eax
	movl	%eax, (%r13)
	movl	%r14d, %edi
	movl	$4, %esi
	callq	_av_mallocz_array
	movq	%rax, 24(%r13)
	cmpq	$0, 16(%r13)
	jne	LBB0_5
## %bb.4:
	movl	(%r13), %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, 16(%r13)
	movl	(%r13), %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, 8(%r13)
	movq	24(%r13), %rax
LBB0_5:
	leaq	16(%r13), %r12
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.7:
	cmpq	$0, 8(%r13)
	je	LBB0_13
## %bb.8:
	movl	%r14d, 4(%r13)
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.9:
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	8(%r13), %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	cmpl	$2, (%r13)
	jl	LBB0_12
## %bb.10:
	movl	$1, %r14d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	8(%r13), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	incq	%r14
	movslq	(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r15, %rdi
	callq	_av_freep
	movq	%r12, %rdi
	callq	_av_freep
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_av_freep
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_THREAD_SLICE,4,2            ## @FF_THREAD_SLICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_alloc_entries               ; -- Begin function ff_alloc_entries
	.p2align	2
_ff_alloc_entries:                      ; @ff_alloc_entries
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FF_THREAD_SLICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_THREAD_SLICE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	mov	x20, x22
	ldr	x8, [x20, #24]!
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	ldr	w9, [x21, #4]
	cmp	w8, w9
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x20
	bl	_av_freep
LBB0_3:
	ldr	w8, [x21, #4]
	str	w8, [x22]
	mov	x0, x19
	mov	w1, #4
	bl	_av_mallocz_array
	mov	x21, x22
	ldr	x8, [x21, #16]!
	str	x0, [x21, #8]
	cbz	x8, LBB0_5
; %bb.4:
	cbnz	x0, LBB0_6
	b	LBB0_13
LBB0_5:
	ldr	w0, [x22]
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x22, #16]
	ldr	w0, [x22]
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x22, #8]
	ldr	x0, [x22, #24]
	cbz	x0, LBB0_13
LBB0_6:
	ldr	x0, [x21]
	cbz	x0, LBB0_13
; %bb.7:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_13
; %bb.8:
	str	w19, [x22, #4]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x1, #0
	bl	_pthread_mutex_init
	ldr	x0, [x22, #8]
	mov	x1, #0
	bl	_pthread_cond_init
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.10:
	mov	w19, #1
	mov	w20, #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	add	x0, x8, x20
	mov	x1, #0
	bl	_pthread_mutex_init
	ldr	x8, [x22, #8]
	add	x0, x8, x20
	mov	x1, #0
	bl	_pthread_cond_init
	add	x19, x19, #1
	ldrsw	x8, [x22]
	add	x20, x20, #4
	cmp	x19, x8
	b.lt	LBB0_11
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x20
	bl	_av_freep
	mov	x0, x21
	bl	_av_freep
	add	x0, x22, #8
	bl	_av_freep
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_THREAD_SLICE,4,2            ; @FF_THREAD_SLICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
