	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsk_detach
_fsk_detach:                            ## @fsk_detach
	.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, %r14
	movq	_DN_DELETE_FS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, %ebx
	andl	%esi, %ebx
	movq	_DN_DESTROY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmovnel	%edi, %ebx
	orl	%esi, %ebx
	movl	16(%r14), %edx
	movl	20(%r14), %esi
	testl	%eax, %ebx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	testl	%edi, %ebx
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rax, %r8
	movq	_DN_DETACH@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	andl	%ebx, %edi
	leaq	L_.str.4(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str(%rip), %rdi
	callq	_ND
	testl	%ebx, (%r12)
	je	LBB0_5
## %bb.1:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.3:
	movq	_dn_cfg@GOTPCREL(%rip), %rdi
	jmp	LBB0_4
LBB0_2:
	addq	$8, %rdi
LBB0_4:
	movq	_dn_fsk@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sch_chain@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	callq	_SLIST_REMOVE
LBB0_5:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	_M_DUMMYNET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_7:
	movq	$0, 8(%r14)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_qht_delete
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	*%rax
LBB0_10:
	movq	$0, (%r14)
	testl	%ebx, (%r15)
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_bzero
	movq	_M_DUMMYNET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_free
	movq	_dn_cfg@GOTPCREL(%rip), %rax
	decl	4(%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_sch_chain@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_dn_cfg@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SLIST_INSERT_HEAD              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DN_DELETE_FS,4,2               ## @DN_DELETE_FS
	.comm	_DN_DESTROY,4,2                 ## @DN_DESTROY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fs %d from sched %d flags %s %s %s"

L_.str.1:                               ## @.str.1
	.asciz	"DEL_FS"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"DEL"

	.comm	_DN_DETACH,4,2                  ## @DN_DETACH
L_.str.4:                               ## @.str.4
	.asciz	"DET"

	.comm	_dn_cfg,8,2                     ## @dn_cfg
	.comm	_dn_fsk,4,2                     ## @dn_fsk
	.comm	_sch_chain,4,2                  ## @sch_chain
	.comm	_M_DUMMYNET,4,2                 ## @M_DUMMYNET
	.no_dead_strip	_fsk_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsk_detach
_fsk_detach:                            ; @fsk_detach
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _DN_DELETE_FS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DN_DELETE_FS@GOTPAGEOFF]
Lloh2:
	adrp	x8, _DN_DESTROY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DN_DESTROY@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh4:
	ldr	w8, [x8]
	tst	w9, w1
	csel	w10, wzr, w8, eq
	orr	w20, w10, w1
	ldp	w2, w1, [x0, #16]
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh7:
	adrp	x11, l_.str.2@PAGE
Lloh8:
	add	x11, x11, l_.str.2@PAGEOFF
	tst	w20, w9
	csel	x3, x11, x10, eq
Lloh9:
	adrp	x9, l_.str.3@PAGE
Lloh10:
	add	x9, x9, l_.str.3@PAGEOFF
	tst	w20, w8
Lloh11:
	adrp	x22, _DN_DETACH@GOTPAGE
Lloh12:
	ldr	x22, [x22, _DN_DETACH@GOTPAGEOFF]
	csel	x4, x11, x9, eq
	ldr	w8, [x22]
Lloh13:
	adrp	x9, l_.str.4@PAGE
Lloh14:
	add	x9, x9, l_.str.4@PAGEOFF
	tst	w20, w8
	csel	x5, x11, x9, eq
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND
	ldr	w8, [x22]
Lloh17:
	adrp	x22, _dn_cfg@GOTPAGE
Lloh18:
	ldr	x22, [x22, _dn_cfg@GOTPAGEOFF]
Lloh19:
	adrp	x23, _sch_chain@GOTPAGE
Lloh20:
	ldr	x23, [x23, _sch_chain@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	add	x9, x8, #8
	cmp	x8, #0
	csel	x0, x22, x9, eq
Lloh21:
	adrp	x8, _dn_fsk@GOTPAGE
Lloh22:
	ldr	x8, [x8, _dn_fsk@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x1, x19
	bl	_SLIST_REMOVE
LBB0_2:
	ldr	x0, [x19, #8]
Lloh24:
	adrp	x24, _M_DUMMYNET@GOTPAGE
Lloh25:
	ldr	x24, [x24, _M_DUMMYNET@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x24]
	bl	_free
LBB0_4:
	str	xzr, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_qht_delete
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	blr	x8
LBB0_7:
	str	xzr, [x19]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #24
	bl	_bzero
	ldr	w1, [x24]
	mov	x0, x19
	bl	_free
	ldr	w8, [x22, #4]
	sub	w8, w8, #1
	str	w8, [x22, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w2, [x23]
Lloh26:
	adrp	x0, _dn_cfg@GOTPAGE
Lloh27:
	ldr	x0, [x0, _dn_cfg@GOTPAGEOFF]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_SLIST_INSERT_HEAD
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_DN_DELETE_FS,4,2               ; @DN_DELETE_FS
	.comm	_DN_DESTROY,4,2                 ; @DN_DESTROY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fs %d from sched %d flags %s %s %s"

l_.str.1:                               ; @.str.1
	.asciz	"DEL_FS"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"DEL"

	.comm	_DN_DETACH,4,2                  ; @DN_DETACH
l_.str.4:                               ; @.str.4
	.asciz	"DET"

	.comm	_dn_cfg,8,2                     ; @dn_cfg
	.comm	_dn_fsk,4,2                     ; @dn_fsk
	.comm	_sch_chain,4,2                  ; @sch_chain
	.comm	_M_DUMMYNET,4,2                 ; @M_DUMMYNET
	.no_dead_strip	_fsk_detach
.subsections_via_symbols
