	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function threaded_find_deltas
_threaded_find_deltas:                  ## @threaded_find_deltas
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_progress_lock
	cmpq	$0, 48(%rbx)
	je	LBB0_6
## %bb.1:
	leaq	48(%rbx), %r14
	leaq	16(%rbx), %r15
	movq	_progress_cond@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_pthread_mutex_unlock
	xorl	%eax, %eax
	callq	_progress_lock
	cmpq	$0, 48(%rbx)
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%eax, %eax
	callq	_progress_unlock
	movl	56(%rbx), %edi
	movl	40(%rbx), %edx
	movl	32(%rbx), %r8d
	movl	36(%rbx), %ecx
	movq	%r14, %rsi
	callq	_find_deltas
	xorl	%eax, %eax
	callq	_progress_lock
	movq	$0, 24(%rbx)
	movq	%r12, %rdi
	callq	_pthread_cond_signal
	xorl	%eax, %eax
	callq	_progress_unlock
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_pthread_cond_wait
	cmpq	$0, 8(%rbx)
	je	LBB0_3
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_progress_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_progress_cond,4,2              ## @progress_cond
	.no_dead_strip	_threaded_find_deltas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function threaded_find_deltas
_threaded_find_deltas:                  ; @threaded_find_deltas
	.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
	mov	x19, x0
	bl	_progress_lock
	mov	x20, x19
	ldr	x8, [x20, #48]!
	cbz	x8, LBB0_5
; %bb.1:
	add	x21, x19, #16
Lloh0:
	adrp	x22, _progress_cond@GOTPAGE
Lloh1:
	ldr	x22, [x22, _progress_cond@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_pthread_mutex_unlock
	bl	_progress_lock
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	bl	_progress_unlock
	ldr	w0, [x19, #56]
	ldp	w3, w2, [x19, #36]
	ldr	w4, [x19, #32]
	mov	x1, x20
	bl	_find_deltas
	bl	_progress_lock
	str	xzr, [x19, #24]
	mov	x0, x22
	bl	_pthread_cond_signal
	bl	_progress_unlock
	mov	x0, x19
	bl	_pthread_mutex_lock
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x19
	bl	_pthread_cond_wait
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
	b	LBB0_2
LBB0_5:
	bl	_progress_unlock
	mov	x0, #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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_progress_cond,4,2              ; @progress_cond
	.no_dead_strip	_threaded_find_deltas
.subsections_via_symbols
