	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsk_attach
_fsk_attach:                            ## @fsk_attach
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %esi
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rdi
	callq	_ND
	movq	_dn_fsk@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sch_chain@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_dn_cfg@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_SLIST_REMOVE
	movq	%r14, 24(%rbx)
	leaq	24(%r14), %rdi
	movl	(%r15), %edx
	movq	%rbx, %rsi
	callq	_SLIST_INSERT_HEAD
	movq	16(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_2:
	movl	8(%rbx), %eax
	leaq	12(%rbx), %r15
	movl	%eax, 12(%rbx)
	movq	24(%rbx), %rdi
	movq	_DN_HAVE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.3:
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_flow_id_or
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movl	4(%rbx), %esi
	movl	4(%r14), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_D
	movq	$0, 16(%rbx)
LBB0_6:
	movq	%r15, %rdi
	callq	_nonzero_mask
	movq	_DN_QHT_HASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	orl	(%rbx), %ecx
	jmp	LBB0_9
LBB0_8:
	notl	%ecx
	andl	(%rbx), %ecx
LBB0_9:
	movl	%ecx, (%rbx)
	movq	_DN_IS_RED@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_config_red                     ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remove fs %d from fsunlinked, link to sched %d"

	.comm	_dn_cfg,4,2                     ## @dn_cfg
	.comm	_dn_fsk,4,2                     ## @dn_fsk
	.comm	_sch_chain,4,2                  ## @sch_chain
	.comm	_DN_HAVE_MASK,4,2               ## @DN_HAVE_MASK
L_.str.1:                               ## @.str.1
	.asciz	"XXX TODO requeue from fs %d to sch %d"

	.comm	_DN_QHT_HASH,4,2                ## @DN_QHT_HASH
	.comm	_DN_IS_RED,4,2                  ## @DN_IS_RED
	.no_dead_strip	_fsk_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsk_attach
_fsk_attach:                            ; @fsk_attach
	.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	x20, x1
	mov	x19, x0
	ldr	w1, [x0, #4]
	ldr	w2, [x20, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND
Lloh2:
	adrp	x8, _dn_fsk@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dn_fsk@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x21, _sch_chain@GOTPAGE
Lloh6:
	ldr	x21, [x21, _sch_chain@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh7:
	adrp	x0, _dn_cfg@GOTPAGE
Lloh8:
	ldr	x0, [x0, _dn_cfg@GOTPAGEOFF]
	mov	x1, x19
	bl	_SLIST_REMOVE
	str	x20, [x19, #24]
	add	x0, x20, #24
	ldr	w2, [x21]
	mov	x1, x19
	bl	_SLIST_INSERT_HEAD
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	ldr	w8, [x19, #8]
	mov	x21, x19
	str	w8, [x21, #12]!
	ldur	x8, [x21, #12]
	ldr	w9, [x8]
Lloh9:
	adrp	x10, _DN_HAVE_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DN_HAVE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	add	x0, x8, #8
	mov	x1, x21
	bl	_flow_id_or
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w1, [x19, #4]
	ldr	w2, [x20, #4]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D
	str	xzr, [x19, #16]
LBB0_6:
	mov	x0, x21
	bl	_nonzero_mask
Lloh14:
	adrp	x8, _DN_QHT_HASH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DN_QHT_HASH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_9
LBB0_8:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_9:
	str	w8, [x19]
Lloh17:
	adrp	x9, _DN_IS_RED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DN_IS_RED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	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	_config_red
LBB0_11:
	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
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remove fs %d from fsunlinked, link to sched %d"

	.comm	_dn_cfg,4,2                     ; @dn_cfg
	.comm	_dn_fsk,4,2                     ; @dn_fsk
	.comm	_sch_chain,4,2                  ; @sch_chain
	.comm	_DN_HAVE_MASK,4,2               ; @DN_HAVE_MASK
l_.str.1:                               ; @.str.1
	.asciz	"XXX TODO requeue from fs %d to sch %d"

	.comm	_DN_QHT_HASH,4,2                ; @DN_QHT_HASH
	.comm	_DN_IS_RED,4,2                  ; @DN_IS_RED
	.no_dead_strip	_fsk_attach
.subsections_via_symbols
