	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isnd6defif
_isnd6defif:                            ## @isnd6defif
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	leaq	-40(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-36(%rbp), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	-36(%rbp), %edi
	callq	_if_nametoindex
	movl	%eax, %r12d
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIOCGDEFIFACE_IN6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_ifconfig_ioctlwrap
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
	cmpl	%r12d, -40(%rbp)
	sete	%bl
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_SIOCGDEFIFACE_IN6,4,2          ## @SIOCGDEFIFACE_IN6
	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_isnd6defif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isnd6defif
_isnd6defif:                            ; @isnd6defif
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [sp, #12]
	mov	x1, x20
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [sp, #12]
	bl	_if_nametoindex
	mov	x20, x0
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SIOCGDEFIFACE_IN6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCGDEFIFACE_IN6@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_ifconfig_ioctlwrap
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [sp, #8]
	cmp	w8, w20
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_SIOCGDEFIFACE_IN6,4,2          ; @SIOCGDEFIFACE_IN6
	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_isnd6defif
.subsections_via_symbols
