	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_thread_report_progress      ## -- Begin function ff_thread_report_progress
	.p2align	4, 0x90
_ff_thread_report_progress:             ## @ff_thread_report_progress
	.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	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.2:
	movl	%esi, %r12d
	movq	%rdi, %r14
	movslq	%edx, %r13
	leaq	(%r15,%r13,4), %rbx
	movq	_memory_order_relaxed@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atomic_load_explicit
	cmpl	%r12d, %eax
	jge	LBB0_6
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	leaq	8(%rbx), %rdi
	movq	_memory_order_relaxed@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_atomic_load_explicit
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rdi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rcx
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_av_log
LBB0_5:
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	movq	_memory_order_release@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_atomic_store_explicit
	leaq	4(%rbx), %rdi
	callq	_pthread_cond_broadcast
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_memory_order_relaxed,4,2       ## @memory_order_relaxed
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p finished %d field %d\n"

	.comm	_memory_order_release,4,2       ## @memory_order_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_thread_report_progress      ; -- Begin function ff_thread_report_progress
	.p2align	2
_ff_thread_report_progress:             ; @ff_thread_report_progress
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x22, [x8]
	cbz	x22, LBB0_6
; %bb.2:
	mov	x20, x2
	mov	x19, x1
	mov	x24, x0
	add	x21, x22, w2, sxtw #2
Lloh0:
	adrp	x25, _memory_order_relaxed@GOTPAGE
Lloh1:
	ldr	x25, [x25, _memory_order_relaxed@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_atomic_load_explicit
	cmp	w0, w19
	b.ge	LBB0_6
; %bb.3:
	sxtw	x26, w20
	ldr	x8, [x24]
	ldr	x8, [x8, x26, lsl #3]
	ldr	x8, [x8]
	ldr	x23, [x8]
	add	x0, x23, #8
	ldr	w1, [x25]
	bl	_atomic_load_explicit
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x8, [x24]
	ldr	x0, [x8, x26, lsl #3]
Lloh2:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x22
	mov	x4, x19
	mov	x5, x20
	bl	_av_log
LBB0_5:
	mov	x0, x23
	bl	_pthread_mutex_lock
Lloh7:
	adrp	x8, _memory_order_release@GOTPAGE
Lloh8:
	ldr	x8, [x8, _memory_order_release@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_atomic_store_explicit
	add	x0, x23, #4
	bl	_pthread_cond_broadcast
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_pthread_mutex_unlock
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_memory_order_relaxed,4,2       ; @memory_order_relaxed
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p finished %d field %d\n"

	.comm	_memory_order_release,4,2       ; @memory_order_release
.subsections_via_symbols
