	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_graph_thread_init           ## -- Begin function ff_graph_thread_init
	.p2align	4, 0x90
_ff_graph_thread_init:                  ## @ff_graph_thread_init
	.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
	cmpl	$1, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	$0, 16(%rbx)
	jmp	LBB0_6
LBB0_2:
	movl	$4, %edi
	callq	_av_mallocz
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_thread_init_internal
	movl	%eax, %r14d
	cmpl	$1, %eax
	jg	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	callq	_av_freep
	movq	$0, 16(%rbx)
	movl	$1, (%rbx)
	movl	%r14d, %eax
	sarl	$31, %eax
	andl	%r14d, %eax
	jmp	LBB0_7
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	movl	%r14d, (%rbx)
	movq	_thread_execute@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_thread_execute,4,2             ## @thread_execute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_graph_thread_init           ; -- Begin function ff_graph_thread_init
	.p2align	2
_ff_graph_thread_init:                  ; @ff_graph_thread_init
	.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	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x19, #16]
	b	LBB0_7
LBB0_2:
	mov	w0, #4
	bl	_av_mallocz
	ldr	x8, [x19, #8]
	str	w0, [x8, #4]
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w1, [x19]
	bl	_thread_init_internal
	mov	x20, x0
	cmp	w0, #1
	b.gt	LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	bl	_av_freep
	str	xzr, [x19, #16]
	mov	w8, #1
	str	w8, [x19]
	cmp	w20, #0
	csel	w0, w20, wzr, lt
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_6:
	str	w20, [x19]
Lloh3:
	adrp	x8, _thread_execute@GOTPAGE
Lloh4:
	ldr	x8, [x8, _thread_execute@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	str	w8, [x9]
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_thread_execute,4,2             ; @thread_execute
.subsections_via_symbols
