	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setenv_route_ipv6
_setenv_route_ipv6:                     ## @setenv_route_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -48(%rbp)
	movq	_RT_DEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rbx
	movl	$256, %edi                      ## imm = 0x100
	movq	%rbx, %rsi
	callq	_alloc_buf_gc
	movl	%eax, -72(%rbp)
	movl	$256, %edi                      ## imm = 0x100
	movq	%rbx, %rsi
	callq	_alloc_buf_gc
	movl	%eax, -64(%rbp)
	movl	$256, %edi                      ## imm = 0x100
	movq	%rbx, %rsi
	callq	_alloc_buf_gc
	movl	%eax, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-72(%rbp), %r13
	movq	%r13, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_buf_printf
	movl	12(%r12), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_print_in6_addr
	movl	8(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_buf_printf
	movq	%r13, %rdi
	callq	_BSTR
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_BSTR
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_setenv_str
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_buf_printf
	movq	%rbx, %rdi
	callq	_BSTR
	movl	%eax, %ebx
	movl	4(%r12), %edi
	xorl	%esi, %esi
	leaq	-48(%rbp), %rdx
	callq	_print_in6_addr
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_setenv_str
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_gc_free
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT_DEFINED,4,2                 ## @RT_DEFINED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"route_ipv6_network_%d"

L_.str.1:                               ## @.str.1
	.asciz	"%s/%d"

L_.str.2:                               ## @.str.2
	.asciz	"route_ipv6_gateway_%d"

	.no_dead_strip	_setenv_route_ipv6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setenv_route_ipv6
_setenv_route_ipv6:                     ; @setenv_route_ipv6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_gc_new
	str	w0, [sp, #40]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _RT_DEFINED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RT_DEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x1, sp, #40
	mov	w0, #256
	bl	_alloc_buf_gc
	str	w0, [sp, #32]
	add	x1, sp, #40
	mov	w0, #256
	bl	_alloc_buf_gc
	str	w0, [sp, #24]
	add	x1, sp, #40
	mov	w0, #256
	bl	_alloc_buf_gc
	str	w0, [sp, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #32
	mov	x2, x21
	bl	_buf_printf
	ldr	w0, [x20, #12]
	add	x2, sp, #40
	mov	w1, #0
	bl	_print_in6_addr
	mov	x2, x0
	ldr	w8, [x20, #8]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	bl	_buf_printf
	add	x0, sp, #32
	bl	_BSTR
	mov	x22, x0
	add	x0, sp, #24
	bl	_BSTR
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_setenv_str
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #16
	mov	x2, x21
	bl	_buf_printf
	add	x0, sp, #16
	bl	_BSTR
	mov	x21, x0
	ldr	w0, [x20, #4]
	add	x2, sp, #40
	mov	w1, #0
	bl	_print_in6_addr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_setenv_str
LBB0_2:
	add	x0, sp, #40
	bl	_gc_free
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RT_DEFINED,4,2                 ; @RT_DEFINED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"route_ipv6_network_%d"

l_.str.1:                               ; @.str.1
	.asciz	"%s/%d"

l_.str.2:                               ; @.str.2
	.asciz	"route_ipv6_gateway_%d"

	.no_dead_strip	_setenv_route_ipv6
.subsections_via_symbols
