	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_our_ipv6                ## -- Begin function lookup_our_ipv6
	.p2align	4, 0x90
_lookup_our_ipv6:                       ## @lookup_our_ipv6
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_used_our_ipv6@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movl	$1, %ebx
	movq	_our_ipv6@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rbx
	movl	(%r15), %eax
	cmpl	%ebx, %eax
	jge	LBB0_2
LBB0_4:
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movq	_MAX_OUR_IPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-2, %ecx
	xorl	%ebx, %ebx
	cmpl	%ecx, %eax
	jl	LBB0_8
	jmp	LBB0_9
LBB0_5:
	movl	$1, (%r15)
	movq	_our_ipv6@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	$1, 60(%rax)
	movl	$1, %ebx
	movl	$1, %edi
	callq	_fill_outbound_control
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	(%r15), %eax
LBB0_8:
	leal	2(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_our_ipv6@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	16(%rcx,%rax,8), %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcpy
	movl	(%r15), %edi
	callq	_fill_outbound_control
	movl	(%r15), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_used_our_ipv6,4,2              ## @used_our_ipv6
	.comm	_our_ipv6,8,3                   ## @our_ipv6
	.comm	_MAX_OUR_IPS,4,2                ## @MAX_OUR_IPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_our_ipv6                ; -- Begin function lookup_our_ipv6
	.p2align	2
_lookup_our_ipv6:                       ; @lookup_our_ipv6
	.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, x0
Lloh0:
	adrp	x21, _used_our_ipv6@GOTPAGE
Lloh1:
	ldr	x21, [x21, _used_our_ipv6@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w20, #1
Lloh2:
	adrp	x22, _our_ipv6@GOTPAGE
Lloh3:
	ldr	x22, [x22, _our_ipv6@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x0, [x8, x20, lsl #3]
	mov	x1, x19
	mov	w2, #16
	bl	_memcmp
	cbz	w0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #2
	ldr	w8, [x21]
	cmp	w8, w20
	b.ge	LBB0_2
LBB0_4:
	cbz	w8, LBB0_7
; %bb.5:
Lloh4:
	adrp	x9, _MAX_OUR_IPS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MAX_OUR_IPS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	sub	w9, w9, #2
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.6:
	mov	w20, #0
	b	LBB0_10
LBB0_7:
	mov	w20, #1
	str	w20, [x21]
Lloh7:
	adrp	x22, _our_ipv6@GOTPAGE
Lloh8:
	ldr	x22, [x22, _our_ipv6@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	str	w20, [x8, #60]
	mov	w0, #1
	bl	_fill_outbound_control
	ldr	x8, [x22]
	ldr	x0, [x8, #8]
	mov	x1, x19
	mov	w2, #16
	bl	_memcmp
	cbz	w0, LBB0_10
; %bb.8:
	ldr	w8, [x21]
LBB0_9:
	add	w8, w8, #2
	str	w8, [x21]
Lloh9:
	adrp	x9, _our_ipv6@GOTPAGE
Lloh10:
	ldr	x9, [x9, _our_ipv6@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x0, [x9, w8, sxtw #3]
	mov	x1, x19
	mov	w2, #16
	bl	_memcpy
	ldr	w0, [x21]
	bl	_fill_outbound_control
	ldr	w20, [x21]
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_used_our_ipv6,4,2              ; @used_our_ipv6
	.comm	_our_ipv6,8,3                   ; @our_ipv6
	.comm	_MAX_OUR_IPS,4,2                ; @MAX_OUR_IPS
.subsections_via_symbols
