	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_our_ip                  ## -- Begin function lookup_our_ip
	.p2align	4, 0x90
_lookup_our_ip:                         ## @lookup_our_ip
	.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
	movl	%edi, %r14d
	movq	_used_our_ip@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.1:
	movq	_our_ip@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rcx,%rbx,4)
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rbx
	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
	jge	LBB0_10
## %bb.8:
	movq	_our_ip@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_9
LBB0_5:
	movl	$2, (%r15)
	movq	_our_ip@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	$2130706433, 8(%rax)            ## imm = 0x7F000001
	movq	_our_ipv6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	movl	$2130706433, %esi               ## imm = 0x7F000001
	callq	_set_4in6
	movl	$2, %ebx
	movl	$2, %edi
	callq	_fill_outbound_control
	movq	(%r12), %rcx
	cmpl	%r14d, 8(%rcx)
	je	LBB0_10
## %bb.6:
	movl	(%r15), %eax
LBB0_9:
	leal	2(%rax), %edx
	movl	%edx, (%r15)
	cltq
	movl	%r14d, 8(%rcx,%rax,4)
	movq	_our_ipv6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%r14d, %esi
	callq	_set_4in6
	movl	(%r15), %edi
	callq	_fill_outbound_control
	movl	(%r15), %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_used_our_ip,4,2                ## @used_our_ip
	.comm	_our_ip,8,3                     ## @our_ip
	.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_ip                  ; -- Begin function lookup_our_ip
	.p2align	2
_lookup_our_ip:                         ; @lookup_our_ip
	.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_ip@GOTPAGE
Lloh1:
	ldr	x21, [x21, _used_our_ip@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
Lloh2:
	adrp	x9, _our_ip@GOTPAGE
Lloh3:
	ldr	x9, [x9, _our_ip@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	mov	w20, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x20, lsl #2]
	cmp	w10, w19
	b.eq	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #2
	cmp	w8, w20
	b.ge	LBB0_2
LBB0_4:
	cbz	w8, LBB0_7
; %bb.5:
Lloh5:
	adrp	x9, _MAX_OUR_IPS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_OUR_IPS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	sub	w9, w9, #2
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.6:
Lloh8:
	adrp	x9, _our_ip@GOTPAGE
Lloh9:
	ldr	x9, [x9, _our_ip@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	b	LBB0_9
LBB0_7:
	mov	w20, #2
	str	w20, [x21]
Lloh11:
	adrp	x22, _our_ip@GOTPAGE
Lloh12:
	ldr	x22, [x22, _our_ip@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #1
	movk	w9, #32512, lsl #16
	str	w9, [x8, #8]
Lloh13:
	adrp	x8, _our_ipv6@GOTPAGE
Lloh14:
	ldr	x8, [x8, _our_ipv6@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
	mov	w1, #1
	movk	w1, #32512, lsl #16
	bl	_set_4in6
	mov	w0, #2
	bl	_fill_outbound_control
	ldr	x9, [x22]
	ldr	w8, [x9, #8]
	cmp	w8, w19
	b.eq	LBB0_11
; %bb.8:
	ldr	w8, [x21]
LBB0_9:
	add	w8, w8, #2
	str	w8, [x21]
	str	w19, [x9, w8, sxtw #2]
Lloh16:
	adrp	x8, _our_ipv6@GOTPAGE
Lloh17:
	ldr	x8, [x8, _our_ipv6@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldrsw	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x19
	bl	_set_4in6
	ldr	w0, [x21]
	bl	_fill_outbound_control
	ldr	w20, [x21]
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_used_our_ip,4,2                ; @used_our_ip
	.comm	_our_ip,8,3                     ; @our_ip
	.comm	_our_ipv6,8,3                   ; @our_ipv6
	.comm	_MAX_OUR_IPS,4,2                ; @MAX_OUR_IPS
.subsections_via_symbols
