	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_defrouters
_probe_defrouters:                      ## @probe_defrouters
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_IPPROTO_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_probe_defrouters.probesock(%rip), %rdi
	callq	_getsocket
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movl	$-1, %ebx
	jmp	LBB0_16
LBB0_3:
	movq	_CTL_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_IPPROTO_ICMPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_ICMPV6CTL_ND6_DRLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_nitems
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	js	LBB0_2
## %bb.4:
	cmpq	$0, -72(%rbp)
	je	LBB0_16
## %bb.5:
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	$24, -96(%rbp)
	movq	-72(%rbp), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	movq	%rax, %r15
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_nitems
	leaq	-72(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_16
## %bb.7:
	movq	-72(%rbp), %r13
	testq	%r13, %r13
	jle	LBB0_14
## %bb.8:
	addq	%r15, %r13
	movq	%r15, %rbx
	addq	$8, %rbx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	leaq	16(%rbx), %rax
	addq	$8, %rbx
	cmpq	%r13, %rbx
	movq	%rax, %rbx
	jae	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, -8(%rbx)
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_LINKLOCAL
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx), %eax
	movl	%eax, -80(%rbp)
	movq	%r14, -88(%rbp)
	movl	_probe_defrouters.probesock(%rip), %edi
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sendpacket
	jmp	LBB0_9
LBB0_14:
	movq	%r15, %rdi
	callq	_free
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.17:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @probe_defrouters.probesock
_probe_defrouters.probesock:
	.long	4294967295                      ## 0xffffffff

	.comm	_IPPROTO_NONE,4,2               ## @IPPROTO_NONE
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_IPPROTO_ICMPV6,4,2             ## @IPPROTO_ICMPV6
	.comm	_ICMPV6CTL_ND6_DRLIST,4,2       ## @ICMPV6CTL_ND6_DRLIST
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_probe_defrouters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_defrouters
_probe_defrouters:                      ; @probe_defrouters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _IPPROTO_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPPROTO_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _probe_defrouters.probesock@PAGE
Lloh7:
	add	x0, x0, _probe_defrouters.probesock@PAGEOFF
	bl	_getsocket
	cbz	x0, LBB0_5
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldr	x8, [sp, #56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
Lloh11:
	adrp	x8, _CTL_NET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh13:
	adrp	x9, _PF_INET6@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PF_INET6@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #40]
Lloh17:
	adrp	x8, _IPPROTO_ICMPV6@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IPPROTO_ICMPV6@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _ICMPV6CTL_ND6_DRLIST@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ICMPV6CTL_ND6_DRLIST@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #48]
	add	x0, sp, #40
	bl	_nitems
	mov	x1, x0
	add	x0, sp, #40
	add	x3, sp, #8
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_2
; %bb.6:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_16
; %bb.7:
	mov	w21, #24
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh23:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	str	w21, [sp, #16]
	ldr	x0, [sp, #8]
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.8:
	mov	x21, x0
	add	x0, sp, #40
	bl	_nitems
	mov	x1, x0
	add	x0, sp, #40
	add	x3, sp, #8
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_2
; %bb.9:
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.10:
	add	x23, x21, x8
	add	x22, x21, #8
	adrp	x24, _probe_defrouters.probesock@PAGE
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x22, #8
	add	x22, x22, #16
	cmp	x8, x23
	b.hs	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x22, #-8]
	cmp	x8, x20
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	bl	_IN6_IS_ADDR_LINKLOCAL
	cbz	w0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x22]
	str	w8, [sp, #32]
	str	x19, [sp, #24]
	ldr	w0, [x24, _probe_defrouters.probesock@PAGEOFF]
	add	x1, sp, #16
	mov	x2, x20
	mov	w3, #1
	mov	x4, #0
	mov	w5, #0
	bl	_sendpacket
	b	LBB0_11
LBB0_15:
	mov	x0, x21
	bl	_free
LBB0_16:
	mov	w0, #0
	b	LBB0_3
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @probe_defrouters.probesock
_probe_defrouters.probesock:
	.long	4294967295                      ; 0xffffffff

	.comm	_IPPROTO_NONE,4,2               ; @IPPROTO_NONE
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_IPPROTO_ICMPV6,4,2             ; @IPPROTO_ICMPV6
	.comm	_ICMPV6CTL_ND6_DRLIST,4,2       ; @ICMPV6CTL_ND6_DRLIST
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_probe_defrouters
.subsections_via_symbols
