	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_up_down
_run_up_down:                           ## @run_up_down
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	64(%rbp), %r15
	movq	48(%rbp), %r12
	movq	40(%rbp), %r14
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -88(%rbp)
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_setenv_str
LBB0_2:
	movq	32(%rbp), %r12
	movq	24(%rbp), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_setenv_str
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_setenv_int
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	16(%rbp), %edx
	callq	_setenv_int
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_setenv_str
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_setenv_str
LBB0_4:
	testq	%rbx, %rbx
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %rbx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	cmoveq	%rax, %r12
	testq	%r14, %r14
	cmoveq	%rax, %r14
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_plugin_defined
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_argv_new
	movl	%eax, -48(%rbp)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_ASSERT
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%r15, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	16(%rbp), %r8d
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	pushq	%r14
	pushq	%r12
	callq	_argv_printf
	addq	$16, %rsp
	movq	%r13, %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	movq	64(%rbp), %r15
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_plugin_call
	movq	_OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_M_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_msg
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_argv_reset
LBB0_8:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %r12                ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_10
## %bb.9:
	movq	%r15, %r13
	movq	56(%rbp), %rbx
	xorl	%eax, %eax
	callq	_argv_new
	movl	%eax, -80(%rbp)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_ASSERT
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_setenv_str
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_argv_parse_cmd
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	16(%rbp), %r8d
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	pushq	%r14
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_argv_printf_cat
	addq	$16, %rsp
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_argv_msg
	movq	_S_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.10(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_openvpn_run_script
	movq	%rbx, %rdi
	callq	_argv_reset
LBB0_10:
	leaq	-88(%rbp), %rdi
	callq	_gc_free
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"signal"

L_.str.1:                               ## @.str.1
	.asciz	"script_context"

L_.str.2:                               ## @.str.2
	.asciz	"tun_mtu"

L_.str.3:                               ## @.str.3
	.asciz	"link_mtu"

L_.str.4:                               ## @.str.4
	.asciz	"dev"

L_.str.5:                               ## @.str.5
	.asciz	"dev_type"

L_.str.6:                               ## @.str.6
	.space	1

L_.str.7:                               ## @.str.7
	.asciz	"%s %d %d %s %s %s"

	.comm	_OPENVPN_PLUGIN_FUNC_SUCCESS,8,3 ## @OPENVPN_PLUGIN_FUNC_SUCCESS
	.comm	_M_FATAL,4,2                    ## @M_FATAL
L_.str.8:                               ## @.str.8
	.asciz	"ERROR: up/down plugin call failed"

L_.str.9:                               ## @.str.9
	.asciz	"script_type"

	.comm	_M_INFO,4,2                     ## @M_INFO
	.comm	_S_FATAL,4,2                    ## @S_FATAL
L_.str.10:                              ## @.str.10
	.asciz	"--up/--down"

	.no_dead_strip	_run_up_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_up_down
_run_up_down:                           ; @run_up_down
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x26, x7
	mov	x20, x6
	mov	x21, x5
	mov	x27, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x19, [x29, #48]
	ldp	x28, x23, [x29, #24]
	bl	_gc_new
	str	w0, [sp, #24]
	cbz	x23, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_setenv_str
LBB0_2:
	ldr	x23, [x29, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x28
	bl	_setenv_str
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_setenv_int
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_setenv_int
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_setenv_str
	cbz	x27, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x27
	bl	_setenv_str
LBB0_4:
Lloh12:
	adrp	x8, l_.str.6@PAGE
Lloh13:
	add	x8, x8, l_.str.6@PAGEOFF
	cmp	x26, #0
	csel	x26, x8, x26, eq
	cmp	x23, #0
	csel	x27, x8, x23, eq
	cmp	x28, #0
	csel	x28, x8, x28, eq
	mov	x0, x25
	mov	x1, x24
	bl	_plugin_defined
	cbz	x0, LBB0_8
; %bb.5:
	bl	_argv_new
	str	w0, [sp, #16]
	mov	x0, x22
	bl	_ASSERT
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #16
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x26
	mov	x6, x27
	mov	x7, x28
	bl	_argv_printf
	add	x2, sp, #16
	mov	x0, x25
	mov	x1, x24
	mov	x3, #0
	mov	x4, x19
	bl	_plugin_call
Lloh16:
	adrp	x8, _OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
Lloh19:
	adrp	x8, _M_FATAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_FATAL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_msg
LBB0_7:
	add	x0, sp, #16
	bl	_argv_reset
LBB0_8:
	ldr	x24, [sp]                       ; 8-byte Folded Reload
	cbz	x24, LBB0_10
; %bb.9:
	ldr	x23, [x29, #40]
	bl	_argv_new
	str	w0, [sp, #8]
	mov	x0, x22
	bl	_ASSERT
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_setenv_str
	add	x0, sp, #8
	mov	x1, x24
	bl	_argv_parse_cmd
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #8
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x26
	mov	x6, x27
	mov	x7, x28
	bl	_argv_printf_cat
Lloh28:
	adrp	x8, _M_INFO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_argv_msg
Lloh31:
	adrp	x8, _S_FATAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _S_FATAL@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x3, l_.str.10@PAGE
Lloh35:
	add	x3, x3, l_.str.10@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_openvpn_run_script
	add	x0, sp, #8
	bl	_argv_reset
LBB0_10:
	add	x0, sp, #24
	bl	_gc_free
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"signal"

l_.str.1:                               ; @.str.1
	.asciz	"script_context"

l_.str.2:                               ; @.str.2
	.asciz	"tun_mtu"

l_.str.3:                               ; @.str.3
	.asciz	"link_mtu"

l_.str.4:                               ; @.str.4
	.asciz	"dev"

l_.str.5:                               ; @.str.5
	.asciz	"dev_type"

l_.str.6:                               ; @.str.6
	.space	1

l_.str.7:                               ; @.str.7
	.asciz	"%s %d %d %s %s %s"

	.comm	_OPENVPN_PLUGIN_FUNC_SUCCESS,8,3 ; @OPENVPN_PLUGIN_FUNC_SUCCESS
	.comm	_M_FATAL,4,2                    ; @M_FATAL
l_.str.8:                               ; @.str.8
	.asciz	"ERROR: up/down plugin call failed"

l_.str.9:                               ; @.str.9
	.asciz	"script_type"

	.comm	_M_INFO,4,2                     ; @M_INFO
	.comm	_S_FATAL,4,2                    ; @S_FATAL
l_.str.10:                              ; @.str.10
	.asciz	"--up/--down"

	.no_dead_strip	_run_up_down
.subsections_via_symbols
