	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_fs
_config_fs:                             ## @config_fs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	28(%rdi), %esi
	cmpl	$32, %esi
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movl	(%rdi), %r12d
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.2:
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	cmpl	%eax, %r12d
	jge	LBB0_6
## %bb.3:
	movl	%edx, %r14d
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	callq	_ND
	movq	_DN_QSIZE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r15), %rdi
	testl	%eax, 4(%r15)
	je	LBB0_7
## %bb.4:
	movq	_dn_cfg@GOTPCREL(%rip), %rax
	movl	24(%rax), %ecx
	movl	$16384, %esi                    ## imm = 0x4000
	movl	$1500, %edx                     ## imm = 0x5DC
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_D
LBB0_6:
	xorl	%ebx, %ebx
LBB0_27:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_dn_cfg@GOTPCREL(%rip), %rax
	movl	20(%rax), %ecx
	movl	$50, %esi
	movl	$1, %edx
LBB0_8:
	xorl	%r8d, %r8d
	callq	_ipdn_bound_var
	movq	_DN_HAVE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%r15), %rdi
	testl	%eax, 4(%r15)
	je	LBB0_28
## %bb.9:
	movq	_dn_cfg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rax), %ecx
	leaq	L_.str.2(%rip), %r8
	movl	$1, %edx
	callq	_ipdn_bound_var
	testl	%r14d, %r14d
	jne	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	callq	_DN_BH_WLOCK
LBB0_11:
	movl	24(%r15), %edx
	testl	%edx, %edx
	je	LBB0_13
## %bb.12:
	movq	_DNHT_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_13:
	movq	_dn_cfg@GOTPCREL(%rip), %r13
	movl	4(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r13), %edi
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	callq	_dn_ht_find
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_29
## %bb.14:
	cmpl	$0, 24(%r15)
	jne	LBB0_16
## %bb.15:
	movl	32(%rbx), %eax
	movl	%eax, 24(%r15)
LBB0_16:
	movq	16(%r15), %rax
	cmpl	$-1, (%rax)
	jne	LBB0_18
## %bb.17:
	movq	24(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_18:
	cmpl	$-1, 4(%rax)
	jne	LBB0_20
## %bb.19:
	movq	24(%rbx), %rcx
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rax)
LBB0_20:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	4(%r13), %eax
	je	LBB0_22
## %bb.21:
	incl	8(%r13)
LBB0_22:
	movq	%rbx, %r13
	addq	$8, %r13
	movl	24(%r15), %edi
	callq	_locate_scheduler
	movq	%rax, %r12
	movl	8(%rbx), %edx
	movl	32(%rbx), %ecx
	movq	40(%rbx), %r8
	movl	24(%r15), %r9d
	movq	%rax, (%rsp)
	leaq	L_.str.5(%rip), %rsi
	movl	$2, %edi
	callq	_DX
	cmpq	$0, 40(%rbx)
	je	LBB0_24
## %bb.23:
	movq	_DN_DETACH@GOTPCREL(%rip), %rax
	movq	_DN_DESTROY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_fsk_detach
LBB0_24:
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	%xmm1, 16(%r13)
	movups	%xmm0, (%r13)
	testq	%r12, %r12
	je	LBB0_26
## %bb.25:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fsk_attach
LBB0_26:
	testl	%r14d, %r14d
	jne	LBB0_27
	jmp	LBB0_30
LBB0_28:
	movl	$1, (%rdi)
	testl	%r14d, %r14d
	jne	LBB0_11
	jmp	LBB0_10
LBB0_29:
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	callq	_D
	testl	%r14d, %r14d
	jne	LBB0_27
LBB0_30:
	xorl	%eax, %eax
	callq	_DN_BH_WUNLOCK
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid flowset len %d"

	.comm	_DN_MAX_ID,4,2                  ## @DN_MAX_ID
L_.str.1:                               ## @.str.1
	.asciz	"flowset %d"

	.comm	_DN_QSIZE_BYTES,4,2             ## @DN_QSIZE_BYTES
	.comm	_dn_cfg,28,2                    ## @dn_cfg
	.comm	_DN_HAVE_MASK,4,2               ## @DN_HAVE_MASK
L_.str.2:                               ## @.str.2
	.asciz	"flowset buckets"

	.comm	_DNHT_INSERT,4,2                ## @DNHT_INSERT
L_.str.3:                               ## @.str.3
	.asciz	"missing sched for flowset %d"

L_.str.4:                               ## @.str.4
	.asciz	"flowset %d unchanged"

L_.str.5:                               ## @.str.5
	.asciz	"fs %d changed sched %d@%p to %d@%p"

	.comm	_DN_DETACH,4,2                  ## @DN_DETACH
	.comm	_DN_DESTROY,4,2                 ## @DN_DESTROY
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.no_dead_strip	_config_fs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_fs
_config_fs:                             ; @config_fs
	.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
	ldr	w1, [x0, #28]
	cmp	w1, #32
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w22, [x0]
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _DN_MAX_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DN_MAX_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	cmp	w22, w8
	b.ge	LBB0_6
; %bb.3:
	mov	x19, x2
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_ND
Lloh5:
	adrp	x8, _DN_QSIZE_BYTES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DN_QSIZE_BYTES@GOTPAGEOFF]
	ldr	w9, [x20, #4]
Lloh7:
	ldr	w8, [x8]
	add	x0, x20, #8
Lloh8:
	adrp	x23, _dn_cfg@GOTPAGE
Lloh9:
	ldr	x23, [x23, _dn_cfg@GOTPAGEOFF]
	tst	w8, w9
	b.eq	LBB0_8
; %bb.4:
	ldr	w3, [x23, #24]
	mov	w1, #16384
	mov	w2, #1500
	b	LBB0_9
LBB0_5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D
LBB0_6:
	mov	x21, #0
LBB0_7:
	mov	x0, x21
	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_8:
	ldr	w3, [x23, #20]
	mov	w1, #50
	mov	w2, #1
LBB0_9:
	mov	x4, #0
	bl	_ipdn_bound_var
	ldr	w8, [x20, #4]
Lloh12:
	adrp	x9, _DN_HAVE_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DN_HAVE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	add	x0, x20, #12
	tst	w9, w8
	b.eq	LBB0_26
; %bb.10:
	ldr	w1, [x23]
	ldr	w3, [x23, #16]
Lloh15:
	adrp	x4, l_.str.2@PAGE
Lloh16:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	w2, #1
	bl	_ipdn_bound_var
	cbnz	w19, LBB0_12
LBB0_11:
	bl	_DN_BH_WLOCK
LBB0_12:
Lloh17:
	adrp	x8, _DNHT_INSERT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DNHT_INSERT@GOTPAGEOFF]
	ldr	w9, [x20, #24]
Lloh19:
	ldr	w8, [x8]
	cmp	w9, #0
	csel	w2, wzr, w8, eq
	ldr	w24, [x23, #4]
	ldr	w0, [x23, #12]
	mov	x1, x22
	mov	x3, #0
	bl	_dn_ht_find
	mov	x21, x0
	cbz	x0, LBB0_27
; %bb.13:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_15
; %bb.14:
	ldr	w8, [x21, #32]
	str	w8, [x20, #24]
LBB0_15:
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	cmn	w9, #1
	b.ne	LBB0_17
; %bb.16:
	ldr	x9, [x21, #24]
	ldr	w9, [x9]
	str	w9, [x8]
LBB0_17:
	ldr	w9, [x8, #4]
	cmn	w9, #1
	b.ne	LBB0_19
; %bb.18:
	ldr	x9, [x21, #24]
	ldr	w9, [x9, #4]
	str	w9, [x8, #4]
LBB0_19:
	ldr	w8, [x23, #4]
	cmp	w24, w8
	b.eq	LBB0_21
; %bb.20:
	ldr	w8, [x23, #8]
	add	w8, w8, #1
	str	w8, [x23, #8]
LBB0_21:
	add	x23, x21, #8
	ldr	w0, [x20, #24]
	bl	_locate_scheduler
	mov	x22, x0
	ldr	w2, [x21, #8]
	ldr	w3, [x21, #32]
	ldr	x4, [x21, #40]
	ldr	w5, [x20, #24]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #2
	mov	x6, x22
	bl	_DX
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_23
; %bb.22:
Lloh22:
	adrp	x8, _DN_DETACH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DN_DETACH@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _DN_DESTROY@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DN_DESTROY@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_fsk_detach
LBB0_23:
	ldp	q0, q1, [x20]
	stp	q0, q1, [x23]
	cbz	x22, LBB0_25
; %bb.24:
	mov	x0, x21
	mov	x1, x22
	bl	_fsk_attach
LBB0_25:
	cbnz	w19, LBB0_7
	b	LBB0_28
LBB0_26:
	mov	w8, #1
	str	w8, [x0]
	cbnz	w19, LBB0_12
	b	LBB0_11
LBB0_27:
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	bl	_D
	cbnz	w19, LBB0_7
LBB0_28:
	bl	_DN_BH_WUNLOCK
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid flowset len %d"

	.comm	_DN_MAX_ID,4,2                  ; @DN_MAX_ID
l_.str.1:                               ; @.str.1
	.asciz	"flowset %d"

	.comm	_DN_QSIZE_BYTES,4,2             ; @DN_QSIZE_BYTES
	.comm	_dn_cfg,28,2                    ; @dn_cfg
	.comm	_DN_HAVE_MASK,4,2               ; @DN_HAVE_MASK
l_.str.2:                               ; @.str.2
	.asciz	"flowset buckets"

	.comm	_DNHT_INSERT,4,2                ; @DNHT_INSERT
l_.str.3:                               ; @.str.3
	.asciz	"missing sched for flowset %d"

l_.str.4:                               ; @.str.4
	.asciz	"flowset %d unchanged"

l_.str.5:                               ; @.str.5
	.asciz	"fs %d changed sched %d@%p to %d@%p"

	.comm	_DN_DETACH,4,2                  ; @DN_DETACH
	.comm	_DN_DESTROY,4,2                 ; @DN_DESTROY
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.no_dead_strip	_config_fs
.subsections_via_symbols
