	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NET_AddLocalAddress
_NET_AddLocalAddress:                   ## @NET_AddLocalAddress
	.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
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.3:
	movq	_numIP@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_MAX_IPS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_9
## %bb.4:
	movq	%rdi, %rsi
	movq	(%rbx), %r12
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_6
## %bb.5:
	movq	_NA_IP@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_9
## %bb.7:
	movq	_NA_IP6@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %ecx
	movq	_localIP@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	leaq	(%rax,%rax,2), %rax
	movl	%ecx, 20(%rdx,%rax,8)
	movl	16(%rdx,%rax,8), %edi
	movl	$4, %edx
	callq	_Q_strncpyz
	movq	(%r13), %rax
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	%r12, 8(%rax,%rcx,8)
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %rdi
	addq	$4, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r15), %rax
	leaq	(%rax,%rax,2), %rdi
	shlq	$3, %rdi
	addq	(%r13), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	incq	(%r15)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numIP,8,3                      ## @numIP
	.comm	_MAX_IPS,8,3                    ## @MAX_IPS
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_NA_IP,4,2                      ## @NA_IP
	.comm	_localIP,8,3                    ## @localIP
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_NA_IP6,4,2                     ## @NA_IP6
	.no_dead_strip	_NET_AddLocalAddress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NET_AddLocalAddress
_NET_AddLocalAddress:                   ; @NET_AddLocalAddress
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_9
; %bb.3:
Lloh0:
	adrp	x21, _numIP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _numIP@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _MAX_IPS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_IPS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_9
; %bb.4:
	mov	x1, x0
	ldr	x22, [x20]
Lloh5:
	adrp	x9, _AF_INET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x22, x9
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x9, _NA_IP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NA_IP@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x22, x9
	b.ne	LBB0_9
; %bb.7:
Lloh13:
	adrp	x9, _NA_IP6@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NA_IP6@GOTPAGEOFF]
LBB0_8:
Lloh15:
	adrp	x23, _localIP@GOTPAGE
Lloh16:
	ldr	x23, [x23, _localIP@GOTPAGEOFF]
	ldr	w9, [x9]
	ldr	x10, [x23]
	mov	w24, #24
	madd	x8, x8, x24, x10
	str	w9, [x8, #20]
	ldr	w0, [x8, #16]
	mov	w2, #4
	bl	_Q_strncpyz
	ldr	x8, [x23]
	ldr	x9, [x21]
	madd	x9, x9, x24, x8
	str	x22, [x9, #8]
	ldr	x9, [x21]
	madd	x8, x9, x24, x8
	add	x0, x8, #4
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x23]
	ldr	x9, [x21]
	madd	x0, x9, x24, x8
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_numIP,8,3                      ; @numIP
	.comm	_MAX_IPS,8,3                    ; @MAX_IPS
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_NA_IP,4,2                      ; @NA_IP
	.comm	_localIP,8,3                    ; @localIP
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_NA_IP6,4,2                     ; @NA_IP6
	.no_dead_strip	_NET_AddLocalAddress
.subsections_via_symbols
