	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_routes                     ## -- Begin function add_routes
	.p2align	4, 0x90
_add_routes:                            ## @add_routes
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movq	%r8, %rcx
	movq	%r9, %r8
	callq	_redirect_default_route_to_vpn
	testq	%rbx, %rbx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.1:
	movl	(%rbx), %eax
	movq	_RL_ROUTES_ADDED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_9
## %bb.2:
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	leaq	4(%rbx), %r12
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	movq	%r13, %r8
	movq	%rbx, %r9
	callq	_add_route
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	4(%r15), %edi
	leaq	L_.str(%rip), %rdx
	callq	_check_subnet_conflict
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_ROUTE_DELETE_FIRST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	movq	%r13, %r8
	movq	%rbx, %r9
	callq	_delete_route
	jmp	LBB0_6
LBB0_7:
	movq	_RL_ROUTES_ADDED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_8:
	orl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_9:
	testq	%r14, %r14
	je	LBB0_19
## %bb.10:
	movq	_RL_ROUTES_ADDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_19
## %bb.11:
	cmpl	$0, 4(%r13)
	jne	LBB0_13
## %bb.12:
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_msg
LBB0_13:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.14:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_add_route_ipv6
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_ROUTE_DELETE_FIRST@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_delete_route_ipv6
	jmp	LBB0_17
LBB0_18:
	movq	_RL_ROUTES_ADDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RL_ROUTES_ADDED,4,2            ## @RL_ROUTES_ADDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"route"

	.comm	_ROUTE_DELETE_FIRST,4,2         ## @ROUTE_DELETE_FIRST
	.comm	_M_INFO,4,2                     ## @M_INFO
L_.str.1:                               ## @.str.1
	.asciz	"WARNING: OpenVPN was configured to add an IPv6 route over %s. However, no IPv6 has been configured for this interface, therefore the route installation may fail or may not work as expected."

	.comm	_OPENVPN_STATE_ADD_ROUTES,4,2   ## @OPENVPN_STATE_ADD_ROUTES
	.comm	_management,8,3                 ## @management
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_routes                     ; -- Begin function add_routes
	.p2align	2
_add_routes:                            ; @add_routes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.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	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x24, x0
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	mov	x4, x5
	bl	_redirect_default_route_to_vpn
Lloh0:
	adrp	x26, _RL_ROUTES_ADDED@GOTPAGE
Lloh1:
	ldr	x26, [x26, _RL_ROUTES_ADDED@GOTPAGEOFF]
	cbz	x24, LBB0_9
; %bb.1:
	ldr	w9, [x24]
	ldr	w8, [x26]
	tst	w8, w9
	b.ne	LBB0_9
; %bb.2:
	ldr	x25, [x24, #8]
	cbz	x25, LBB0_8
; %bb.3:
	add	x26, x24, #4
Lloh2:
	adrp	x27, l_.str@PAGE
Lloh3:
	add	x27, x27, l_.str@PAGEOFF
Lloh4:
	adrp	x28, _ROUTE_DELETE_FIRST@GOTPAGE
Lloh5:
	ldr	x28, [x28, _ROUTE_DELETE_FIRST@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x22
	mov	x3, x26
	mov	x4, x21
	mov	x5, x20
	bl	_add_route
	ldr	x25, [x25, #8]
	cbz	x25, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x25]
	mov	x2, x27
	bl	_check_subnet_conflict
	ldr	w8, [x28]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x22
	mov	x3, x26
	mov	x4, x21
	mov	x5, x20
	bl	_delete_route
	b	LBB0_4
LBB0_7:
Lloh6:
	adrp	x26, _RL_ROUTES_ADDED@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RL_ROUTES_ADDED@GOTPAGEOFF]
	ldr	w8, [x26]
	ldr	w9, [x24]
LBB0_8:
	orr	w8, w9, w8
	str	w8, [x24]
LBB0_9:
	cbz	x19, LBB0_19
; %bb.10:
	ldr	w8, [x19]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.11:
	ldr	w8, [x23, #4]
	cbnz	w8, LBB0_13
; %bb.12:
Lloh8:
	adrp	x8, _M_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w2, [x23]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msg
LBB0_13:
	ldr	x24, [x19, #8]
	cbz	x24, LBB0_18
; %bb.14:
Lloh13:
	adrp	x25, _ROUTE_DELETE_FIRST@GOTPAGE
Lloh14:
	ldr	x25, [x25, _ROUTE_DELETE_FIRST@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_add_route_ipv6
	ldr	x24, [x24]
	cbz	x24, LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_delete_route_ipv6
	b	LBB0_15
LBB0_18:
	ldr	w8, [x26]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_19:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RL_ROUTES_ADDED,4,2            ; @RL_ROUTES_ADDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"route"

	.comm	_ROUTE_DELETE_FIRST,4,2         ; @ROUTE_DELETE_FIRST
	.comm	_M_INFO,4,2                     ; @M_INFO
l_.str.1:                               ; @.str.1
	.asciz	"WARNING: OpenVPN was configured to add an IPv6 route over %s. However, no IPv6 has been configured for this interface, therefore the route installation may fail or may not work as expected."

	.comm	_OPENVPN_STATE_ADD_ROUTES,4,2   ; @OPENVPN_STATE_ADD_ROUTES
	.comm	_management,8,3                 ; @management
.subsections_via_symbols
