	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipcp_SetIPv6address
_ipcp_SetIPv6address:                   ## @ipcp_SetIPv6address
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	-88(%rbp), %rdi
	movabsq	$549755814142, %r12             ## imm = 0x80000000FE
	movq	%r12, (%rdi)
	addq	$32, %rdi
	movq	_IPV6CP_IFIDLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movq	-80(%rbp), %rdi
	movq	%r12, (%rdi)
	addq	$32, %rdi
	movl	(%rbx), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	leaq	-88(%rbp), %rsi
	callq	_ncpaddr_setip6
	movq	%r14, %rdi
	leaq	-80(%rbp), %rsi
	callq	_ncpaddr_setip6
	leaq	-56(%rbp), %rdi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_ncprange_set
	movl	40(%r15), %edi
	movq	_IFACE_ADD_FIRST@GOTPCREL(%rip), %rax
	movq	_IFACE_FORCE_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	%r15, %r12
	leaq	16(%r15), %r13
	movq	_IFACE_SYSTEM@GOTPCREL(%rip), %r15
	orl	(%r15), %r8d
	movq	%r13, %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	callq	_iface_Add
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	_OPT_IFACEALIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_Enabled
	testq	%rax, %rax
	movq	%r12, %rbx
	jne	LBB0_3
## %bb.2:
	movl	40(%rbx), %edi
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IFACE_CLEAR_ALIASES@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	orl	(%rax), %ecx
	movq	%r13, %rsi
	callq	_iface_Clear
LBB0_3:
	movq	_in6addr_linklocal_mcast@GOTPCREL(%rip), %rsi
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	callq	_ncpaddr_setip6
	leaq	-120(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	callq	_ncprange_set
	movq	_RTM_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_rt_Set
	cmpq	$0, 24(%rbx)
	jg	LBB0_5
## %bb.4:
	cmpq	$0, 32(%rbx)
	jle	LBB0_9
LBB0_5:
	leaq	-56(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_ncprange_getsa
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ncpaddr_isset
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	-104(%rbp), %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ncpaddr_getsa
	jmp	LBB0_8
LBB0_6:
	xorl	%r12d, %r12d
LBB0_8:
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_rt_Update
LBB0_9:
	movq	_OPT_SROUTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_Enabled
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_route_Change
LBB0_11:
	movq	%rbx, %rdi
	movl	$1, %ebx
	cmpq	$0, 8(%rdi)
	je	LBB0_13
## %bb.12:
	movl	(%rdi), %esi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_route_Change
LBB0_13:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6CP_IFIDLEN,4,2             ## @IPV6CP_IFIDLEN
	.comm	_IFACE_ADD_FIRST,4,2            ## @IFACE_ADD_FIRST
	.comm	_IFACE_FORCE_ADD,4,2            ## @IFACE_FORCE_ADD
	.comm	_IFACE_SYSTEM,4,2               ## @IFACE_SYSTEM
	.comm	_OPT_IFACEALIAS,4,2             ## @OPT_IFACEALIAS
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_IFACE_CLEAR_ALIASES,4,2        ## @IFACE_CLEAR_ALIASES
	.comm	_in6addr_linklocal_mcast,8,3    ## @in6addr_linklocal_mcast
	.comm	_RTM_ADD,4,2                    ## @RTM_ADD
	.comm	_OPT_SROUTES,4,2                ## @OPT_SROUTES
	.no_dead_strip	_ipcp_SetIPv6address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ipcp_SetIPv6address
lCPI0_0:
	.long	254                             ; 0xfe
	.long	128                             ; 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ipcp_SetIPv6address:                   ; @ipcp_SetIPv6address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [sp, #56]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	str	d8, [x0], #32
Lloh2:
	adrp	x23, _IPV6CP_IFIDLEN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IPV6CP_IFIDLEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_memcpy
	ldr	x0, [sp, #48]
	str	d8, [x0], #32
	ldr	w2, [x23]
	mov	x1, x21
	bl	_memcpy
	add	x21, x19, #4
	add	x1, sp, #56
	mov	x0, x21
	bl	_ncpaddr_setip6
	add	x1, sp, #48
	mov	x0, x19
	bl	_ncpaddr_setip6
	add	x0, sp, #40
	mov	x1, x21
	mov	w2, #64
	bl	_ncprange_set
	ldr	w0, [x20, #40]
	add	x22, x20, #16
Lloh4:
	adrp	x8, _IFACE_ADD_FIRST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IFACE_ADD_FIRST@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _IFACE_FORCE_ADD@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IFACE_FORCE_ADD@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x23, _IFACE_SYSTEM@GOTPAGE
Lloh11:
	ldr	x23, [x23, _IFACE_SYSTEM@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w4, w8, w9
	add	x2, sp, #40
	mov	x1, x22
	mov	x3, x19
	bl	_iface_Add
	cbz	w0, LBB0_14
; %bb.1:
Lloh12:
	adrp	x8, _OPT_IFACEALIAS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OPT_IFACEALIAS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_Enabled
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #40]
Lloh15:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _IFACE_CLEAR_ALIASES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IFACE_CLEAR_ALIASES@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w3, w9, w8
	mov	x1, x22
	bl	_iface_Clear
LBB0_3:
Lloh21:
	adrp	x1, _in6addr_linklocal_mcast@GOTPAGE
Lloh22:
	ldr	x1, [x1, _in6addr_linklocal_mcast@GOTPAGEOFF]
	add	x0, sp, #24
	bl	_ncpaddr_setip6
	add	x0, sp, #32
	add	x1, sp, #24
	mov	w2, #32
	bl	_ncprange_set
Lloh23:
	adrp	x8, _RTM_ADD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RTM_ADD@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x20
	mov	x3, x21
	mov	w4, #1
	mov	w5, #0
	bl	_rt_Set
	ldr	x8, [x20, #24]
	cmp	x8, #0
	b.gt	LBB0_5
; %bb.4:
	ldr	x8, [x20, #32]
	cmp	x8, #1
	b.lt	LBB0_9
LBB0_5:
	add	x0, sp, #40
	add	x1, sp, #8
	mov	x2, sp
	bl	_ncprange_getsa
	mov	x0, x19
	bl	_ncpaddr_isset
	cbz	x0, LBB0_7
; %bb.6:
	add	x22, sp, #16
	add	x1, sp, #16
	mov	x0, x19
	bl	_ncpaddr_getsa
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x20
	mov	x1, x22
	mov	x4, #0
	mov	x5, #0
	bl	_rt_Update
LBB0_9:
Lloh26:
	adrp	x8, _OPT_SROUTES@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OPT_SROUTES@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_Enabled
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x20, #16]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_route_Change
LBB0_11:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w1, [x20]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_route_Change
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6CP_IFIDLEN,4,2             ; @IPV6CP_IFIDLEN
	.comm	_IFACE_ADD_FIRST,4,2            ; @IFACE_ADD_FIRST
	.comm	_IFACE_FORCE_ADD,4,2            ; @IFACE_FORCE_ADD
	.comm	_IFACE_SYSTEM,4,2               ; @IFACE_SYSTEM
	.comm	_OPT_IFACEALIAS,4,2             ; @OPT_IFACEALIAS
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_IFACE_CLEAR_ALIASES,4,2        ; @IFACE_CLEAR_ALIASES
	.comm	_in6addr_linklocal_mcast,8,3    ; @in6addr_linklocal_mcast
	.comm	_RTM_ADD,4,2                    ; @RTM_ADD
	.comm	_OPT_SROUTES,4,2                ; @OPT_SROUTES
	.no_dead_strip	_ipcp_SetIPv6address
.subsections_via_symbols
