	.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
	xorl	%eax, %eax
	callq	___sigev_list_lock
	movl	(%rbx), %eax
	movq	_SNF_SYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	movq	$0, 8(%rdi)
	callq	__pthread_cond_broadcast
	movl	(%rbx), %eax
LBB0_2:
	movq	_SNF_REMOVED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	___sigev_free
	jmp	LBB0_5
LBB0_4:
	movq	_SNF_WORKING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___sigev_list_unlock            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNF_SYNC,4,2                   ## @SNF_SYNC
	.comm	_SNF_REMOVED,4,2                ## @SNF_REMOVED
	.comm	_SNF_WORKING,4,2                ## @SNF_WORKING
	.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
	bl	___sigev_list_lock
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _SNF_SYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNF_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	str	xzr, [x0, #8]
	bl	__pthread_cond_broadcast
	ldr	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _SNF_REMOVED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNF_REMOVED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	___sigev_free
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x9, _SNF_WORKING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SNF_WORKING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___sigev_list_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNF_SYNC,4,2                   ; @SNF_SYNC
	.comm	_SNF_REMOVED,4,2                ; @SNF_REMOVED
	.comm	_SNF_WORKING,4,2                ; @SNF_WORKING
	.no_dead_strip	_worker_cleanup
.subsections_via_symbols
