	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_route                      ## -- Begin function add_route
	.p2align	4, 0x90
_add_route:                             ## @add_route
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rcx, %r15
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_argv_new
	movl	%eax, -40(%rbp)
	movq	_RT_DEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.1:
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_gc_init
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_print_in_addr_t
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_print_in_addr_t
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_print_in_addr_t
	movl	16(%rbx), %edi
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	movq	%r15, %rcx
	callq	_local_route
	movq	_LR_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movq	_M_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_msg
LBB0_3:
	movq	_RT_ADDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	leaq	-40(%rbp), %rdi
	callq	_argv_reset
	leaq	-48(%rbp), %rdi
	callq	_gc_free
	movq	%r14, %rdi
	callq	_net_ctx_reset
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT_DEFINED,4,2                 ## @RT_DEFINED
	.comm	_LR_ERROR,4,2                   ## @LR_ERROR
	.comm	_M_FATAL,4,2                    ## @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sorry, but I don't know how to do 'route' commands on this operating system.  Try putting your routes in a --route-up script"

	.comm	_RT_ADDED,4,2                   ## @RT_ADDED
	.comm	_D_ROUTE,4,2                    ## @D_ROUTE
	.comm	_M_WARN,4,2                     ## @M_WARN
	.comm	_ROUTE_METHOD_ADAPTIVE,4,2      ## @ROUTE_METHOD_ADAPTIVE
	.comm	_ROUTE_METHOD_EXE,4,2           ## @ROUTE_METHOD_EXE
	.comm	_ROUTE_METHOD_IPAPI,4,2         ## @ROUTE_METHOD_IPAPI
	.comm	_ROUTE_METHOD_MASK,4,2          ## @ROUTE_METHOD_MASK
	.comm	_ROUTE_METHOD_SERVICE,4,2       ## @ROUTE_METHOD_SERVICE
	.comm	_ROUTE_PATH,4,2                 ## @ROUTE_PATH
	.comm	_RT_METRIC_DEFINED,4,2          ## @RT_METRIC_DEFINED
	.comm	_TUN_ADAPTER_INDEX_INVALID,4,2  ## @TUN_ADAPTER_INDEX_INVALID
	.comm	_WIN_ROUTE_PATH_SUFFIX,4,2      ## @WIN_ROUTE_PATH_SUFFIX
	.comm	_management,4,2                 ## @management
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_route                      ; -- Begin function add_route
	.p2align	2
_add_route:                             ; @add_route
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x5
	mov	x21, x3
	mov	x20, x0
	bl	_argv_new
	str	w0, [sp]
	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_4
; %bb.1:
	add	x0, sp, #8
	bl	_gc_init
	ldr	w0, [x20, #16]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in_addr_t
	ldr	w0, [x20, #8]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in_addr_t
	ldr	w0, [x20, #12]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in_addr_t
	ldp	w2, w0, [x20, #12]
	ldr	w1, [x20, #8]
	mov	x3, x21
	bl	_local_route
Lloh3:
	adrp	x8, _LR_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LR_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _M_FATAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msg
LBB0_3:
Lloh11:
	adrp	x8, _RT_ADDED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RT_ADDED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, sp
	bl	_argv_reset
	add	x0, sp, #8
	bl	_gc_free
	mov	x0, x19
	bl	_net_ctx_reset
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RT_DEFINED,4,2                 ; @RT_DEFINED
	.comm	_LR_ERROR,4,2                   ; @LR_ERROR
	.comm	_M_FATAL,4,2                    ; @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sorry, but I don't know how to do 'route' commands on this operating system.  Try putting your routes in a --route-up script"

	.comm	_RT_ADDED,4,2                   ; @RT_ADDED
	.comm	_D_ROUTE,4,2                    ; @D_ROUTE
	.comm	_M_WARN,4,2                     ; @M_WARN
	.comm	_ROUTE_METHOD_ADAPTIVE,4,2      ; @ROUTE_METHOD_ADAPTIVE
	.comm	_ROUTE_METHOD_EXE,4,2           ; @ROUTE_METHOD_EXE
	.comm	_ROUTE_METHOD_IPAPI,4,2         ; @ROUTE_METHOD_IPAPI
	.comm	_ROUTE_METHOD_MASK,4,2          ; @ROUTE_METHOD_MASK
	.comm	_ROUTE_METHOD_SERVICE,4,2       ; @ROUTE_METHOD_SERVICE
	.comm	_ROUTE_PATH,4,2                 ; @ROUTE_PATH
	.comm	_RT_METRIC_DEFINED,4,2          ; @RT_METRIC_DEFINED
	.comm	_TUN_ADAPTER_INDEX_INVALID,4,2  ; @TUN_ADAPTER_INDEX_INVALID
	.comm	_WIN_ROUTE_PATH_SUFFIX,4,2      ; @WIN_ROUTE_PATH_SUFFIX
	.comm	_management,4,2                 ; @management
.subsections_via_symbols
