	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_add_epd_to_zombie_list    ## -- Begin function scif_add_epd_to_zombie_list
	.p2align	4, 0x90
_scif_add_epd_to_zombie_list:           ## @scif_add_epd_to_zombie_list
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	_scif_info@GOTPCREL(%rip), %rdi
	addq	$4, %rdi
	callq	_mutex_lock
LBB0_2:
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	_SCIFEP_ZOMBIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_scif_info@GOTPCREL(%rip), %rbx
	leaq	12(%rbx), %rsi
	movq	%r15, %rdi
	callq	_list_add_tail
	incl	8(%rbx)
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_mutex_unlock
LBB0_4:
	movq	_scif_info@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scif_info,16,2                 ## @scif_info
	.comm	_SCIFEP_ZOMBIE,4,2              ## @SCIFEP_ZOMBIE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_add_epd_to_zombie_list    ; -- Begin function scif_add_epd_to_zombie_list
	.p2align	2
_scif_add_epd_to_zombie_list:           ; @scif_add_epd_to_zombie_list
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _scif_info@GOTPAGE
Lloh1:
	ldr	x22, [x22, _scif_info@GOTPAGEOFF]
	cbnz	w1, LBB0_2
; %bb.1:
	add	x0, x22, #4
	bl	_mutex_lock
LBB0_2:
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock
Lloh2:
	adrp	x8, _SCIFEP_ZOMBIE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCIFEP_ZOMBIE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	x0, x21
	bl	_spin_unlock
	add	x1, x22, #12
	mov	x0, x20
	bl	_list_add_tail
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	cbnz	w19, LBB0_4
; %bb.3:
	add	x0, x22, #4
	bl	_mutex_unlock
LBB0_4:
Lloh5:
	adrp	x0, _scif_info@GOTPAGE
Lloh6:
	ldr	x0, [x0, _scif_info@GOTPAGEOFF]
	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
	b	_schedule_work
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_scif_info,16,2                 ; @scif_info
	.comm	_SCIFEP_ZOMBIE,4,2              ; @SCIFEP_ZOMBIE
.subsections_via_symbols
