	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function del_rdisc
_del_rdisc:                             ## @del_rdisc
	.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, %r15
	movl	24(%rdi), %r14d
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_del_redirects
	movq	$0, (%r15)
	movq	$0, 16(%r15)
	movq	8(%r15), %r15
	movq	_MAX_ADS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_6
## %bb.1:
	movq	_drs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$5, %rax
	addq	%rcx, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rcx
	cmpq	%rax, %rcx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	cmpq	%r15, 8(%rcx)
	sete	%dl
	addl	%edx, %ebx
	jmp	LBB0_4
LBB0_5:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.8:
	movl	%r14d, %edi
	callq	_naddr_ntoa
	movl	8(%r15), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trace_act                      ## TAILCALL
LBB0_6:
	movq	(%r15), %r12
	movq	_MAX_SOLICITATIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r14d, %edi
	callq	_naddr_ntoa
	movl	8(%r15), %edx
	cmpq	%rbx, %r12
	jge	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trace_act                      ## TAILCALL
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_trace_act
	movq	$0, (%r15)
	movq	$0, 16(%r15)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdisc_sol                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_drs,8,3                        ## @drs
	.comm	_MAX_ADS,8,3                    ## @MAX_ADS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"discovered router %s via %s is bad--have %d remaining"

	.comm	_MAX_SOLICITATIONS,8,3          ## @MAX_SOLICITATIONS
L_.str.1:                               ## @.str.1
	.asciz	"last discovered router %s via %s is bad--re-solicit"

L_.str.2:                               ## @.str.2
	.asciz	"last discovered router %s via %s is bad--wait to solicit"

	.no_dead_strip	_del_rdisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function del_rdisc
_del_rdisc:                             ; @del_rdisc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	ldr	w19, [x0, #24]
	mov	x0, x19
	mov	w1, #0
	bl	_del_redirects
	str	xzr, [x20]
	str	xzr, [x20, #16]
	ldr	x20, [x20, #8]
Lloh0:
	adrp	x8, _MAX_ADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_ADS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w21, #0
Lloh3:
	adrp	x8, _drs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _drs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x9, x8, x9, lsl #5
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #32
	cmp	x8, x9
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8, #8]
	cmp	x10, x20
	cinc	w21, w21, eq
	b	LBB0_2
LBB0_5:
	cbz	w21, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_naddr_ntoa
	mov	x1, x0
	ldr	w2, [x20, #8]
	str	x21, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trace_act
	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
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	x21, [x20]
Lloh8:
	adrp	x8, _MAX_SOLICITATIONS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_SOLICITATIONS@GOTPAGEOFF]
Lloh10:
	ldr	x22, [x8]
	mov	x0, x19
	bl	_naddr_ntoa
	mov	x1, x0
	ldr	w2, [x20, #8]
	cmp	x21, x22
	b.ge	LBB0_9
; %bb.8:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	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
	add	sp, sp, #64
	b	_trace_act
LBB0_9:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trace_act
	str	xzr, [x20]
	str	xzr, [x20, #16]
	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
	add	sp, sp, #64
	b	_rdisc_sol
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_drs,8,3                        ; @drs
	.comm	_MAX_ADS,8,3                    ; @MAX_ADS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"discovered router %s via %s is bad--have %d remaining"

	.comm	_MAX_SOLICITATIONS,8,3          ; @MAX_SOLICITATIONS
l_.str.1:                               ; @.str.1
	.asciz	"last discovered router %s via %s is bad--re-solicit"

l_.str.2:                               ; @.str.2
	.asciz	"last discovered router %s via %s is bad--wait to solicit"

	.no_dead_strip	_del_rdisc
.subsections_via_symbols
