	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scope6_set
_scope6_set:                            ## @scope6_set
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_IF_AFDATA_WLOCK
	movq	%r15, %rdi
	callq	_SID
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	(%r14), %rcx
	movq	_IPV6_ADDR_SCOPE_INTFACELOCAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_IPV6_ADDR_SCOPE_LINKLOCAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	xorl	%edi, %edi
	movq	_V_if_index@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, (%rdx,%rdi,8)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	$16, %rdi
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	cmpq	(%rdx,%rdi,8), %rbx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %r9
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r15), %rbx
	jne	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rsi
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r8), %rbx
	jle	LBB0_9
LBB0_8:
	movq	%r15, %rdi
	callq	_IF_AFDATA_WUNLOCK
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	callq	_IF_AFDATA_WUNLOCK
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPV6_ADDR_SCOPE_INTFACELOCAL,4,2 ## @IPV6_ADDR_SCOPE_INTFACELOCAL
	.comm	_IPV6_ADDR_SCOPE_LINKLOCAL,4,2  ## @IPV6_ADDR_SCOPE_LINKLOCAL
	.comm	_V_if_index,8,3                 ## @V_if_index
	.no_dead_strip	_scope6_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scope6_set
_scope6_set:                            ; @scope6_set
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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
	bl	_IF_AFDATA_WLOCK
	mov	x0, x19
	bl	_SID
	cbz	x0, LBB0_10
; %bb.1:
	mov	x8, #0
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _IPV6_ADDR_SCOPE_INTFACELOCAL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPV6_ADDR_SCOPE_INTFACELOCAL@GOTPAGEOFF]
Lloh2:
	adrp	x11, _IPV6_ADDR_SCOPE_LINKLOCAL@GOTPAGE
Lloh3:
	ldr	x11, [x11, _IPV6_ADDR_SCOPE_LINKLOCAL@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x10]
Lloh5:
	ldr	w10, [x11]
	lsl	x10, x10, #3
	lsl	x11, x12, #3
Lloh6:
	adrp	x12, _V_if_index@GOTPAGE
Lloh7:
	ldr	x12, [x12, _V_if_index@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x13, [x14, x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #8
	cmp	x8, #128
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9, x8]
	cbz	x13, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x14, [x0]
	ldr	x15, [x14, x8]
	cmp	x13, x15
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x11, x8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x19]
	cmp	x13, x15
	b.ne	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x12]
	cmp	x13, x15
	b.le	LBB0_2
LBB0_10:
	mov	x0, x19
	bl	_IF_AFDATA_WUNLOCK
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_IF_AFDATA_WUNLOCK
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPV6_ADDR_SCOPE_INTFACELOCAL,4,2 ; @IPV6_ADDR_SCOPE_INTFACELOCAL
	.comm	_IPV6_ADDR_SCOPE_LINKLOCAL,4,2  ; @IPV6_ADDR_SCOPE_LINKLOCAL
	.comm	_V_if_index,8,3                 ; @V_if_index
	.no_dead_strip	_scope6_set
.subsections_via_symbols
