	.file	"extr_openvpn.c_openvpn_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.type	openvpn_main, @function
openvpn_main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 96
	.cfi_def_cfa_offset 152
	mov	DWORD PTR 20[rsp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 80[rsp], rax
	xor	eax, eax
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 160
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 168
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 176
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 184
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 192
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 200
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 208
	call	CLEAR@PLT
	mov	DWORD PTR 80[rsp], 1
	xor	eax, eax
	add	rsp, 64
	.cfi_def_cfa_offset 144
	call	init_static@PLT
	lea	rbp, 16[rsp]
	test	rax, rax
	je	.L2
	lea	r13, siginfo_static[rip]
	lea	r14, 36[rsp]
	lea	rbx, 40[rsp]
	lea	r12, 32[rsp]
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	call	pre_init_signal_catch@PLT
	mov	rdi, rbp
	call	context_clear_all_except_first_time@PLT
	lea	rax, siginfo_static[rip+40]
	sub	rsp, 8
	.cfi_def_cfa_offset 152
	push	QWORD PTR 8[rax]
	.cfi_def_cfa_offset 160
	push	QWORD PTR [rax]
	.cfi_def_cfa_offset 168
	push	QWORD PTR -8[rax]
	.cfi_def_cfa_offset 176
	push	QWORD PTR -16[rax]
	.cfi_def_cfa_offset 184
	push	QWORD PTR -24[rax]
	.cfi_def_cfa_offset 192
	push	QWORD PTR -32[rax]
	.cfi_def_cfa_offset 200
	push	QWORD PTR 0[r13]
	.cfi_def_cfa_offset 208
	call	CLEAR@PLT
	mov	QWORD PTR 120[rsp], r13
	mov	rdi, r14
	add	rsp, 64
	.cfi_def_cfa_offset 144
	call	gc_init@PLT
	xor	edi, edi
	call	env_set_create@PLT
	mov	esi, 1
	mov	rdi, rbx
	mov	DWORD PTR 52[rsp], eax
	call	init_options@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 152
	mov	rdx, r15
	xor	r9d, r9d
	mov	eax, DWORD PTR 60[rsp]
	mov	ecx, DWORD PTR M_USAGE[rip]
	mov	rdi, rbx
	mov	r8d, DWORD PTR OPT_P_DEFAULT[rip]
	push	rax
	.cfi_def_cfa_offset 160
	mov	esi, DWORD PTR 28[rsp]
	call	parse_argv@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	net_ctx_init@PLT
	mov	esi, DWORD PTR IVM_LEVEL_1[rip]
	mov	rdi, rbp
	call	init_verb_mute@PLT
	mov	rdi, rbx
	call	init_options_dev@PLT
	mov	rdi, rbx
	call	print_openssl_info@PLT
	pop	rdx
	.cfi_def_cfa_offset 152
	pop	rcx
	.cfi_def_cfa_offset 144
	test	rax, rax
	jne	.L2
	mov	rdi, rbx
	call	do_genkey@PLT
	test	rax, rax
	jne	.L2
	mov	rsi, r12
	mov	rdi, rbx
	call	do_persist_tuntap@PLT
	test	rax, rax
	jne	.L2
	mov	rdi, rbx
	call	options_postprocess@PLT
	mov	rdi, rbx
	call	show_settings@PLT
	mov	edx, DWORD PTR title_string[rip]
	mov	edi, DWORD PTR M_INFO[rip]
	lea	rsi, .LC0[rip]
	call	msg@PLT
	mov	edi, DWORD PTR M_INFO[rip]
	call	show_library_versions@PLT
	mov	rdi, rbx
	call	pre_setup@PLT
	mov	rdi, rbx
	call	do_test_crypto@PLT
	test	rax, rax
	jne	.L2
	mov	rdi, rbp
	call	init_query_passwords@PLT
	mov	eax, DWORD PTR 16[rsp]
	test	eax, eax
	jne	.L24
.L3:
	mov	edi, DWORD PTR 52[rsp]
	mov	rsi, rbx
	call	setenv_settings@PLT
	mov	rdi, rbp
	call	context_init_1@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	xor	edi, edi
	call	ASSERT@PLT
.L5:
	mov	rdi, rbp
	mov	DWORD PTR 16[rsp], 0
	call	IS_SIG@PLT
	test	rax, rax
	jne	.L25
.L6:
	mov	rdi, QWORD PTR 56[rsp]
	call	signal_restart_status@PLT
	mov	rax, QWORD PTR 56[rsp]
	mov	rcx, QWORD PTR SIGUSR1[rip]
	cmp	QWORD PTR 8[rax], rcx
	jne	.L26
.L7:
	cmp	DWORD PTR 44[rsp], 129
	jne	.L4
	mov	rdi, rbp
	call	tunnel_point_to_point@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edx, DWORD PTR M_INFO[rip]
	mov	rdi, QWORD PTR 56[rsp]
	xor	esi, esi
	call	print_signal@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR 52[rsp]
	call	env_set_destroy@PLT
	mov	rdi, rbx
	call	uninit_options@PLT
	mov	rdi, r14
	call	gc_reset@PLT
	mov	rdi, r12
	call	net_ctx_free@PLT
	mov	rax, QWORD PTR 56[rsp]
	mov	rdx, QWORD PTR SIGHUP[rip]
	cmp	QWORD PTR 8[rax], rdx
	je	.L8
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	context_gc_free@PLT
	xor	eax, eax
	call	uninit_static@PLT
	mov	edi, DWORD PTR OPENVPN_EXIT_STATUS_GOOD[rip]
	call	openvpn_exit@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rdi, rbx
	call	possibly_become_daemon@PLT
	mov	edi, DWORD PTR 48[rsp]
	mov	DWORD PTR 64[rsp], eax
	call	write_pid@PLT
	jmp	.L3
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	openvpn_main, .-openvpn_main
	.comm	title_string,4,4
	.comm	stderr,4,4
	.comm	siginfo_static,56,32
	.comm	SIGUSR1,8,8
	.comm	SIGHUP,8,8
	.comm	OPT_P_DEFAULT,4,4
	.comm	OPENVPN_PLUGIN_INIT_PRE_CONFIG_PARSE,4,4
	.comm	OPENVPN_EXIT_STATUS_GOOD,4,4
	.comm	M_USAGE,4,4
	.comm	M_INFO,4,4
	.comm	MF_QUERY_PASSWORDS,4,4
	.comm	IVM_LEVEL_1,4,4
	.comm	CP_UTF8,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_openvpn.c_openvpn_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	openvpn_main, %function
openvpn_main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #76
	mov	ip, sp
	add	lr, sp, #44
	mov	r9, r0
	mov	r10, r1
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	ip, .L27
	add	r4, sp, #28
	ldm	r4, {r0, r1, r2, r3}
	ldr	ip, [ip]
	str	ip, [sp, #68]
	mov	ip,#0
	bl	CLEAR
	mov	r3, #1
	str	r3, [sp, #28]
	bl	init_static
	cmp	r0, #0
	beq	.L2
	mov	r5, #0
	ldr	r7, .L27+4
	ldr	fp, .L27+8
	ldr	r8, .L27+12
	ldr	r6, .L27+16
.L8:
	bl	pre_init_signal_catch
	mov	r0, r4
	bl	context_clear_all_except_first_time
	mov	ip, sp
	ldr	lr, .L27+20
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldm	r7, {r0, r1, r2, r3}
	bl	CLEAR
	add	r0, sp, #40
	str	r7, [sp, #60]
	bl	gc_init
	mov	r0, #0
	bl	env_set_create
	mov	r3, r0
	mov	r1, #1
	add	r0, sp, #44
	str	r3, [sp, #56]
	bl	init_options
	ldr	r3, [fp]
	ldr	r2, [sp, #56]
	str	r3, [sp]
	ldr	r3, .L27+24
	str	r2, [sp, #8]
	str	r5, [sp, #4]
	mov	r2, r10
	ldr	r3, [r3]
	mov	r1, r9
	add	r0, sp, #44
	bl	parse_argv
	add	r1, sp, #36
	mov	r0, r4
	bl	net_ctx_init
	ldr	r3, .L27+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	init_verb_mute
	add	r0, sp, #44
	bl	init_options_dev
	add	r0, sp, #44
	bl	print_openssl_info
	cmp	r0, #0
	bne	.L2
	add	r0, sp, #44
	bl	do_genkey
	cmp	r0, #0
	bne	.L2
	add	r1, sp, #36
	add	r0, sp, #44
	bl	do_persist_tuntap
	cmp	r0, #0
	bne	.L2
	add	r0, sp, #44
	bl	options_postprocess
	add	r0, sp, #44
	bl	show_settings
	ldr	r3, .L27+32
	ldr	r1, .L27+36
	ldr	r2, [r3]
	ldr	r0, [r8]
	bl	msg
	ldr	r0, [r8]
	bl	show_library_versions
	add	r0, sp, #44
	bl	pre_setup
	add	r0, sp, #44
	bl	do_test_crypto
	cmp	r0, #0
	bne	.L2
	mov	r0, r4
	bl	init_query_passwords
	ldr	r3, [sp, #28]
	cmp	r3, #0
	bne	.L23
.L3:
	ldr	r0, [sp, #56]
	add	r1, sp, #44
	bl	setenv_settings
	mov	r0, r4
	bl	context_init_1
	b	.L7
.L4:
	mov	r0, #0
	bl	ASSERT
.L5:
	mov	r0, r4
	str	r5, [sp, #28]
	bl	IS_SIG
	cmp	r0, #0
	bne	.L24
.L6:
	ldr	r0, [sp, #60]
	bl	signal_restart_status
	ldr	r2, [sp, #60]
	ldr	r3, [r6]
	ldr	r2, [r2, #4]
	cmp	r2, r3
	bne	.L25
.L7:
	ldr	r3, [sp, #48]
	cmp	r3, #129
	bne	.L4
	mov	r0, r4
	bl	tunnel_point_to_point
	b	.L5
.L24:
	mov	r1, #0
	ldr	r2, [r8]
	ldr	r0, [sp, #60]
	bl	print_signal
	b	.L6
.L25:
	ldr	r0, [sp, #56]
	bl	env_set_destroy
	add	r0, sp, #44
	bl	uninit_options
	add	r0, sp, #40
	bl	gc_reset
	add	r0, sp, #36
	bl	net_ctx_free
	ldr	r2, [sp, #60]
	ldr	r3, .L27+40
	ldr	r2, [r2, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
.L2:
	mov	r0, r4
	bl	context_gc_free
	bl	uninit_static
	ldr	r3, .L27+44
	ldr	r0, [r3]
	bl	openvpn_exit
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, #0
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	add	r0, sp, #44
	bl	possibly_become_daemon
	mov	r3, r0
	ldr	r0, [sp, #52]
	str	r3, [sp, #64]
	bl	write_pid
	b	.L3
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	siginfo_static
	.word	OPT_P_DEFAULT
	.word	M_INFO
	.word	SIGUSR1
	.word	siginfo_static+16
	.word	M_USAGE
	.word	IVM_LEVEL_1
	.word	title_string
	.word	.LC0
	.word	SIGHUP
	.word	OPENVPN_EXIT_STATUS_GOOD
	.size	openvpn_main, .-openvpn_main
	.comm	title_string,4,4
	.comm	stderr,4,4
	.comm	siginfo_static,40,4
	.comm	SIGUSR1,4,4
	.comm	SIGHUP,4,4
	.comm	OPT_P_DEFAULT,4,4
	.comm	OPENVPN_PLUGIN_INIT_PRE_CONFIG_PARSE,4,4
	.comm	OPENVPN_EXIT_STATUS_GOOD,4,4
	.comm	M_USAGE,4,4
	.comm	M_INFO,4,4
	.comm	MF_QUERY_PASSWORDS,4,4
	.comm	IVM_LEVEL_1,4,4
	.comm	CP_UTF8,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
