	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSStaticRefreshParams          ## -- Begin function DSStaticRefreshParams
	.p2align	4, 0x90
_DSStaticRefreshParams:                 ## @DSStaticRefreshParams
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ApiLock
	movl	(%r15), %edi
	callq	_AdapterFindIndex
	movq	%rax, %rbx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	setne	%al
	movl	%eax, -48(%rbp)
	je	LBB0_9
## %bb.1:
	leaq	8(%rbx), %r12
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_DeleteIPAddress
	movq	$0, (%r12)
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	24(%rbx), %r13
	movq	%r13, %rdi
	callq	_DeleteIpForwardEntry
	movq	$0, (%r13)
LBB0_5:
	movq	_S_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_find_protocol_by_adapter
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_remove_protocol
LBB0_7:
	movl	8(%r15), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_AddIPAddress
	movl	%eax, %edi
	callq	_NT_SUCCESS
	movl	%eax, -48(%rbp)
	movq	_AdapterStateChangedEvent@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_SetEvent
LBB0_9:
	xorl	%eax, %eax
	callq	_ApiUnlock
	leaq	-48(%rbp), %rdi
	callq	*%r14
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_STATIC,4,2                   ## @S_STATIC
	.comm	_AdapterStateChangedEvent,8,3   ## @AdapterStateChangedEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSStaticRefreshParams          ; -- Begin function DSStaticRefreshParams
	.p2align	2
_DSStaticRefreshParams:                 ; @DSStaticRefreshParams
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	bl	_ApiLock
	ldr	w0, [x20]
	bl	_AdapterFindIndex
	cmp	x0, #0
	cset	w8, ne
	str	w8, [sp, #8]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x22, x0
	ldr	x0, [x22, #8]!
	cbz	x0, LBB0_3
; %bb.2:
	bl	_DeleteIPAddress
	str	xzr, [x22]
LBB0_3:
	mov	x23, x21
	ldr	x8, [x23, #24]!
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x23
	bl	_DeleteIpForwardEntry
	str	xzr, [x23]
LBB0_5:
Lloh0:
	adrp	x8, _S_STATIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_STATIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #20]
	add	x0, x21, #16
	bl	_find_protocol_by_adapter
	cbz	x0, LBB0_7
; %bb.6:
	bl	_remove_protocol
LBB0_7:
	ldp	w1, w0, [x20, #4]
	ldr	w2, [x20]
	mov	x3, x22
	mov	x4, x21
	bl	_AddIPAddress
	bl	_NT_SUCCESS
	str	w0, [sp, #8]
Lloh3:
	adrp	x8, _AdapterStateChangedEvent@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AdapterStateChangedEvent@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_SetEvent
LBB0_9:
	bl	_ApiUnlock
	add	x0, sp, #8
	blr	x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_S_STATIC,4,2                   ; @S_STATIC
	.comm	_AdapterStateChangedEvent,8,3   ; @AdapterStateChangedEvent
.subsections_via_symbols
