	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___sigev_delete_node            ## -- Begin function __sigev_delete_node
	.p2align	4, 0x90
___sigev_delete_node:                   ## @__sigev_delete_node
	.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
	movq	_sn_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LIST_REMOVE
	movq	8(%rbx), %rax
	decq	(%rax)
	jne	LBB0_2
## %bb.1:
	movl	8(%rax), %edi
	movq	_SIGLIBRT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	__pthread_kill
LBB0_2:
	movl	(%rbx), %eax
	movq	_SNF_WORKING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_SNF_REMOVED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	___sigev_free
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sn_link,4,2                    ## @sn_link
	.comm	_SIGLIBRT,4,2                   ## @SIGLIBRT
	.comm	_SNF_WORKING,4,2                ## @SNF_WORKING
	.comm	_SNF_REMOVED,4,2                ## @SNF_REMOVED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___sigev_delete_node            ; -- Begin function __sigev_delete_node
	.p2align	2
___sigev_delete_node:                   ; @__sigev_delete_node
	.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
Lloh0:
	adrp	x8, _sn_link@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sn_link@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LIST_REMOVE
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	subs	x9, x9, #1
	str	x9, [x8]
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x8, #8]
Lloh3:
	adrp	x8, _SIGLIBRT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGLIBRT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	__pthread_kill
LBB0_2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _SNF_WORKING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SNF_WORKING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _SNF_REMOVED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SNF_REMOVED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	___sigev_free
LBB0_5:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_sn_link,4,2                    ; @sn_link
	.comm	_SIGLIBRT,4,2                   ; @SIGLIBRT
	.comm	_SNF_WORKING,4,2                ; @SNF_WORKING
	.comm	_SNF_REMOVED,4,2                ; @SNF_REMOVED
.subsections_via_symbols
