	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv6_get_saddr_eval
_ipv6_get_saddr_eval:                   ## @ipv6_get_saddr_eval
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rsi, %r14
	cmpl	%ecx, (%rsi)
	jge	LBB0_1
## %bb.6:
	xorl	%r15d, %r15d
	leal	-128(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_21
## %bb.7:
	movq	%rdx, %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	24(%r14), %edi
	callq	___ipv6_addr_src_scope
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	negl	%ecx
	cmpl	(%r13), %eax
	leal	-128(%rax), %r12d
	cmovgel	%ecx, %r12d
	movl	%r12d, 4(%r14)
	jmp	LBB0_19
LBB0_1:
	cmpl	$130, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_5
## %bb.3:
	movl	4(%r14), %r15d
	jmp	LBB0_22
LBB0_4:
	movl	8(%r14), %r15d
	jmp	LBB0_22
LBB0_5:
	movl	12(%r14), %esi
	movl	%ebx, %edi
	callq	_test_bit
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_22
LBB0_18:
	movq	16(%r14), %rdi
	addq	$4, %rdi
	movq	8(%r13), %rsi
	callq	_ipv6_addr_diff
	movl	%eax, %r12d
	movl	%eax, 8(%r14)
	jmp	LBB0_19
LBB0_11:
	movl	24(%r14), %edi
	callq	_ipv6_saddr_preferred
	movl	$1, %r12d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	movq	16(%r14), %rax
	movq	_IFA_F_DEPRECATED@GOTPCREL(%rip), %rcx
	movq	_IFA_F_OPTIMISTIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	xorl	%r12d, %r12d
	testl	%edx, (%rax)
	sete	%r12b
	jmp	LBB0_19
LBB0_17:
	movq	16(%r14), %rdi
	addq	$4, %rdi
	callq	_ipv6_addr_orchid
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rdi
	callq	_ipv6_addr_orchid
	xorl	%r12d, %r12d
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	sete	%r12b
	jmp	LBB0_19
LBB0_13:
	movl	20(%r13), %eax
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	16(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	8(%rcx), %rcx
	xorl	%r12d, %r12d
	cmpl	(%rcx), %eax
	sete	%r12b
	jmp	LBB0_19
LBB0_9:
	movq	16(%r14), %rdi
	addq	$4, %rdi
	movq	8(%r13), %rsi
	callq	_ipv6_addr_equal
	movl	%eax, %r12d
	jmp	LBB0_19
LBB0_16:
	movq	16(%r14), %rsi
	movl	24(%r14), %edx
	movq	8(%rsi), %rax
	addq	$4, %rsi
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	callq	_ipv6_addr_label
	xorl	%r12d, %r12d
	cmpl	16(%r13), %eax
	sete	%r12b
	jmp	LBB0_19
LBB0_8:
	xorl	%r12d, %r12d
	cmpq	$0, 16(%r14)
	setne	%r12b
LBB0_19:
	testl	%r12d, %r12d
	je	LBB0_21
LBB0_20:
	movl	12(%r14), %esi
	movl	%ebx, %edi
	callq	___set_bit
	movl	%r12d, %r15d
LBB0_21:
	movl	%ebx, (%r14)
LBB0_22:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	$1, %r12d
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_11
	.long	L0_0_set_17
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_IFA_F_DEPRECATED,4,2           ## @IFA_F_DEPRECATED
	.comm	_IFA_F_OPTIMISTIC,4,2           ## @IFA_F_OPTIMISTIC
	.comm	_IFA_F_HOMEADDRESS,4,2          ## @IFA_F_HOMEADDRESS
	.comm	_IFA_F_TEMPORARY,4,2            ## @IFA_F_TEMPORARY
	.comm	_IPV6_PREFER_SRC_COA,4,2        ## @IPV6_PREFER_SRC_COA
	.comm	_IPV6_PREFER_SRC_PUBLIC,4,2     ## @IPV6_PREFER_SRC_PUBLIC
	.comm	_IPV6_PREFER_SRC_TMP,4,2        ## @IPV6_PREFER_SRC_TMP
	.no_dead_strip	_ipv6_get_saddr_eval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv6_get_saddr_eval
_ipv6_get_saddr_eval:                   ; @ipv6_get_saddr_eval
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x1
	ldr	w8, [x1]
	cmp	w8, w3
	b.ge	LBB0_4
; %bb.1:
	mov	w21, #0
	sub	w8, w19, #128
	cmp	w8, #8
	b.hi	LBB0_20
; %bb.2:
	mov	x22, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w0, [x20, #24]
	bl	___ipv6_addr_src_scope
	ldr	w8, [x22]
	sub	w9, w0, #128
	cmp	w0, w8
	csneg	w21, w9, w0, lt
	str	w21, [x20, #4]
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_4:
	cmp	w19, #130
	b.eq	LBB0_7
; %bb.5:
	cmp	w19, #128
	b.ne	LBB0_8
; %bb.6:
	ldr	w21, [x20, #4]
	b	LBB0_21
LBB0_7:
	ldr	w21, [x20, #8]
	b	LBB0_21
LBB0_8:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_test_bit
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_21
LBB0_9:
	ldr	x8, [x20, #16]
	add	x0, x8, #4
	ldr	x1, [x22, #8]
	bl	_ipv6_addr_diff
	mov	x21, x0
	str	w0, [x20, #8]
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_10:
	ldr	w0, [x20, #24]
	bl	_ipv6_saddr_preferred
	cbnz	w0, LBB0_18
; %bb.11:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _IFA_F_DEPRECATED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFA_F_DEPRECATED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _IFA_F_OPTIMISTIC@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IFA_F_OPTIMISTIC@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w21, eq
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_12:
	ldr	x8, [x20, #16]
	add	x0, x8, #4
	bl	_ipv6_addr_orchid
	mov	x21, x0
	ldr	x0, [x22, #8]
	bl	_ipv6_addr_orchid
	cmp	w21, w0
	cset	w21, eq
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_13:
	ldr	w8, [x22, #20]
	cbz	w8, LBB0_18
; %bb.14:
	ldr	x9, [x20, #16]
	ldr	x9, [x9, #8]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w21, eq
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_15:
	ldr	x8, [x20, #16]
	add	x0, x8, #4
	ldr	x1, [x22, #8]
	bl	_ipv6_addr_equal
	mov	x21, x0
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_16:
	ldr	x8, [x20, #16]
	add	x1, x8, #4
	ldr	w2, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #8]
	ldr	w3, [x8]
	bl	_ipv6_addr_label
	ldr	w8, [x22, #16]
	cmp	w0, w8
	cset	w21, eq
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_17:
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w21, ne
	cbnz	w21, LBB0_19
	b	LBB0_20
LBB0_18:
	mov	w21, #1
LBB0_19:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	___set_bit
LBB0_20:
	str	w19, [x20]
LBB0_21:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
                                        ; -- End function
	.comm	_IFA_F_DEPRECATED,4,2           ; @IFA_F_DEPRECATED
	.comm	_IFA_F_OPTIMISTIC,4,2           ; @IFA_F_OPTIMISTIC
	.comm	_IFA_F_HOMEADDRESS,4,2          ; @IFA_F_HOMEADDRESS
	.comm	_IFA_F_TEMPORARY,4,2            ; @IFA_F_TEMPORARY
	.comm	_IPV6_PREFER_SRC_COA,4,2        ; @IPV6_PREFER_SRC_COA
	.comm	_IPV6_PREFER_SRC_PUBLIC,4,2     ; @IPV6_PREFER_SRC_PUBLIC
	.comm	_IPV6_PREFER_SRC_TMP,4,2        ; @IPV6_PREFER_SRC_TMP
	.no_dead_strip	_ipv6_get_saddr_eval
.subsections_via_symbols
