	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_status                     ## -- Begin function nd6_status
	.p2align	4, 0x90
_nd6_status:                            ## @nd6_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-20(%rbp), %edi
	movq	_ifr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	movl	%eax, %ebx
	movq	_SIOCGIFINFO_IN6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movl	%ebx, %edi
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EPFNOSUPPORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_7:
	movl	%ebx, %edi
	callq	_close
	jmp	LBB0_10
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.2:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_10
LBB0_8:
	movl	%ebx, %edi
	callq	_isnd6defif
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_close
	movl	-24(%rbp), %esi
	movl	%esi, %eax
	orl	%r14d, %eax
	je	LBB0_10
## %bb.9:
	shll	$15, %r14d
	orl	%r14d, %esi
	movq	_ND6BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	callq	_printb
	movl	$10, %edi
	callq	_putchar
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifr,4,2                        ## @ifr
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_errno,8,3                      ## @errno
	.comm	_EAFNOSUPPORT,8,3               ## @EAFNOSUPPORT
	.comm	_EPROTONOSUPPORT,8,3            ## @EPROTONOSUPPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket(AF_INET6, SOCK_DGRAM)"

	.comm	_SIOCGIFINFO_IN6,4,2            ## @SIOCGIFINFO_IN6
	.comm	_EPFNOSUPPORT,8,3               ## @EPFNOSUPPORT
L_.str.1:                               ## @.str.1
	.asciz	"ioctl(SIOCGIFINFO_IN6)"

L_.str.2:                               ## @.str.2
	.asciz	"\tnd6 options"

	.comm	_ND6BITS,4,2                    ## @ND6BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_status                     ; -- Begin function nd6_status
	.p2align	2
_nd6_status:                            ; @nd6_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [sp, #12]
Lloh0:
	adrp	x8, _ifr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
Lloh3:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh9:
	adrp	x8, _SIOCGIFINFO_IN6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIOCGIFINFO_IN6@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cbz	w0, LBB0_7
; %bb.2:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _EPFNOSUPPORT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EPFNOSUPPORT@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_4:
	mov	x0, x19
	bl	_close
	b	LBB0_9
LBB0_5:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _EAFNOSUPPORT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x10, _EPROTONOSUPPORT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _EPROTONOSUPPORT@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_9
; %bb.6:
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_isnd6defif
	mov	x20, x0
	mov	x0, x19
	bl	_close
	ldr	w8, [sp, #8]
	orr	w9, w8, w20
	cbz	w9, LBB0_9
; %bb.8:
	orr	w1, w8, w20, lsl #15
Lloh31:
	adrp	x8, _ND6BITS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ND6BITS@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printb
	mov	w0, #10
	bl	_putchar
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ifr,4,2                        ; @ifr
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_errno,8,3                      ; @errno
	.comm	_EAFNOSUPPORT,8,3               ; @EAFNOSUPPORT
	.comm	_EPROTONOSUPPORT,8,3            ; @EPROTONOSUPPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket(AF_INET6, SOCK_DGRAM)"

	.comm	_SIOCGIFINFO_IN6,4,2            ; @SIOCGIFINFO_IN6
	.comm	_EPFNOSUPPORT,8,3               ; @EPFNOSUPPORT
l_.str.1:                               ; @.str.1
	.asciz	"ioctl(SIOCGIFINFO_IN6)"

l_.str.2:                               ; @.str.2
	.asciz	"\tnd6 options"

	.comm	_ND6BITS,4,2                    ; @ND6BITS
.subsections_via_symbols
