	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_init_route_ipv6_list
_do_init_route_ipv6_list:               ## @do_init_route_ipv6_list
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rax
LBB0_2:
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	16(%r13), %eax
	xorl	%r15d, %r15d
	cmpl	$1, %eax
	sbbl	%r15d, %r15d
	orl	%eax, %r15d
	movq	24(%r13), %r14
	movq	_RG_REROUTE_GW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_6
## %bb.3:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rbx
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rdi, -96(%rbp)
	leaq	-88(%rbp), %r12
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -72(%rbp)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14), %esi
	callq	_string_alloc
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_add_route_ipv6_to_option_list
	movq	(%r12), %rdi
	addq	$8, %r12
	movq	24(%r13), %r14
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %r12
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
LBB0_6:
	movq	%rdx, %rdi
	callq	_link_socket_current_remote_ipv6
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	%r15d, %ecx
	movl	%eax, %r8d
	movq	%r12, %r9
	callq	_init_route_ipv6_list
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.8:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setenv_routes_ipv6             ## TAILCALL
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RG_REROUTE_GW,4,2              ## @RG_REROUTE_GW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"::/3"

L_.str.1:                               ## @.str.1
	.asciz	"2000::/4"

L_.str.2:                               ## @.str.2
	.asciz	"3000::/4"

L_.str.3:                               ## @.str.3
	.asciz	"fc00::/7"

	.no_dead_strip	_do_init_route_ipv6_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_init_route_ipv6_list
_do_init_route_ipv6_list:               ; @do_init_route_ipv6_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldp	x8, x9, [x0]
	cmp	x9, #0
	csel	x23, x8, x9, eq
	ldr	w8, [x0, #16]
	cmp	w8, #0
	csinv	w24, w8, wzr, ne
	ldr	x26, [x0, #24]
	ldr	w8, [x26]
Lloh3:
	adrp	x9, _RG_REROUTE_GW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RG_REROUTE_GW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x25, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x8, sp
	add	x27, x8, #8
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x0, x8, [sp]
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh12:
	adrp	x9, l_.str.3@PAGE
Lloh13:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x8, [sp, #16]
	stp	x9, xzr, [sp, #24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26, #4]
	bl	_string_alloc
	mov	x1, x0
	mov	x0, x26
	mov	x2, #0
	mov	x3, #0
	bl	_add_route_ipv6_to_option_list
	ldr	x0, [x27], #8
	ldr	x26, [x25, #24]
	cbnz	x0, LBB0_2
LBB0_3:
	mov	x0, x22
	bl	_link_socket_current_remote_ipv6
	mov	x4, x0
	mov	x0, x20
	mov	x1, x26
	mov	x2, x23
	mov	x3, x24
	mov	x5, x19
	mov	x6, x21
	bl	_init_route_ipv6_list
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	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	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_setenv_routes_ipv6
LBB0_6:
	ldr	x8, [sp, #40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RG_REROUTE_GW,4,2              ; @RG_REROUTE_GW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"::/3"

l_.str.1:                               ; @.str.1
	.asciz	"2000::/4"

l_.str.2:                               ; @.str.2
	.asciz	"3000::/4"

l_.str.3:                               ; @.str.3
	.asciz	"fc00::/7"

	.no_dead_strip	_do_init_route_ipv6_list
.subsections_via_symbols
