	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function worker_cleanup
_worker_cleanup:                        ## @worker_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	decq	(%rdi)
	je	LBB0_1
LBB0_5:
	addq	$12, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
LBB0_1:
	movl	8(%rbx), %eax
	movq	_TP_DESTROY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TP_ABANDON@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	orl	%ecx, %esi
	testl	%eax, %esi
	je	LBB0_5
## %bb.2:
	testl	%eax, %edx
	je	LBB0_3
## %bb.6:
	leaq	12(%rbx), %rdi
	callq	_pthread_mutex_unlock
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_delete_pool                    ## TAILCALL
LBB0_3:
	testl	%eax, %ecx
	je	LBB0_5
## %bb.4:
	leaq	16(%rbx), %rdi
	callq	_pthread_cond_broadcast
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_DESTROY,4,2                 ## @TP_DESTROY
	.comm	_TP_ABANDON,4,2                 ## @TP_ABANDON
	.no_dead_strip	_worker_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function worker_cleanup
_worker_cleanup:                        ; @worker_cleanup
	.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	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.eq	LBB0_2
LBB0_1:
	add	x0, x19, #12
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pthread_mutex_unlock
LBB0_2:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _TP_DESTROY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TP_DESTROY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _TP_ABANDON@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TP_ABANDON@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w11, w10, w9
	tst	w11, w8
	b.eq	LBB0_1
; %bb.3:
	tst	w10, w8
	b.eq	LBB0_5
; %bb.4:
	add	x0, x19, #12
	bl	_pthread_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_delete_pool
LBB0_5:
	tst	w9, w8
	b.eq	LBB0_1
; %bb.6:
	add	x0, x19, #16
	bl	_pthread_cond_broadcast
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_DESTROY,4,2                 ; @TP_DESTROY
	.comm	_TP_ABANDON,4,2                 ; @TP_ABANDON
	.no_dead_strip	_worker_cleanup
.subsections_via_symbols
