	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_getscopezone               ## -- Begin function in6_getscopezone
	.p2align	4, 0x90
_in6_getscopezone:                      ## @in6_getscopezone
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_IPV6_ADDR_SCOPE_INTFACELOCAL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.1:
	movl	%esi, %ebx
	movq	_IPV6_ADDR_SCOPE_LINKLOCAL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.3:
	movq	_IPV6_ADDR_SCOPES_COUNT@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_6
## %bb.4:
	callq	_SID
	movl	%ebx, %edi
	shlq	$2, %rdi
	addq	(%rax), %rdi
LBB0_5:
	movl	(%rdi), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6_ADDR_SCOPE_INTFACELOCAL,4,2 ## @IPV6_ADDR_SCOPE_INTFACELOCAL
	.comm	_IPV6_ADDR_SCOPE_LINKLOCAL,4,2  ## @IPV6_ADDR_SCOPE_LINKLOCAL
	.comm	_IPV6_ADDR_SCOPES_COUNT,4,2     ## @IPV6_ADDR_SCOPES_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_getscopezone               ; -- Begin function in6_getscopezone
	.p2align	2
_in6_getscopezone:                      ; @in6_getscopezone
	.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
Lloh0:
	adrp	x8, _IPV6_ADDR_SCOPE_INTFACELOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPV6_ADDR_SCOPE_INTFACELOCAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IPV6_ADDR_SCOPE_LINKLOCAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPV6_ADDR_SCOPE_LINKLOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	w8, #0
	tbnz	w1, #31, LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, _IPV6_ADDR_SCOPES_COUNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPV6_ADDR_SCOPES_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w19
	b.le	LBB0_5
; %bb.3:
	bl	_SID
	ldr	x8, [x0]
	add	x0, x8, w19, uxtw #2
LBB0_4:
	ldr	w8, [x0]
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6_ADDR_SCOPE_INTFACELOCAL,4,2 ; @IPV6_ADDR_SCOPE_INTFACELOCAL
	.comm	_IPV6_ADDR_SCOPE_LINKLOCAL,4,2  ; @IPV6_ADDR_SCOPE_LINKLOCAL
	.comm	_IPV6_ADDR_SCOPES_COUNT,4,2     ; @IPV6_ADDR_SCOPES_COUNT
.subsections_via_symbols
