	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_final
_tls_final:                             ## @tls_final
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	8(%rdi), %r14
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_get_env
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$3, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movl	4(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_ovpn_note
	movl	(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_server_store
LBB0_5:
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_ovpn_note
	jmp	LBB0_6
LBB0_1:
	movq	_OPENVPN_PLUGIN_FUNC_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	_client_store
LBB0_6:
	movq	_OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exported_keying_material"

	.comm	_OPENVPN_PLUGIN_FUNC_ERROR,4,2  ## @OPENVPN_PLUGIN_FUNC_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"app session key:  %s"

	.comm	_OPENVPN_PLUGIN_FUNC_SUCCESS,4,2 ## @OPENVPN_PLUGIN_FUNC_SUCCESS
L_.str.3:                               ## @.str.3
	.asciz	"app session user: %s"

	.no_dead_strip	_tls_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_final
_tls_final:                             ; @tls_final
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldp	x20, x21, [x0, #8]
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_get_env
	cbz	x0, LBB0_5
; %bb.1:
	mov	x3, x0
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #3
	bl	_snprintf
	ldr	w1, [x20, #4]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ovpn_note
	ldr	w8, [x21]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_server_store
LBB0_4:
	ldr	w1, [x20]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ovpn_note
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _OPENVPN_PLUGIN_FUNC_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OPENVPN_PLUGIN_FUNC_ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_client_store
LBB0_7:
Lloh10:
	adrp	x8, _OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exported_keying_material"

	.comm	_OPENVPN_PLUGIN_FUNC_ERROR,4,2  ; @OPENVPN_PLUGIN_FUNC_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"app session key:  %s"

	.comm	_OPENVPN_PLUGIN_FUNC_SUCCESS,4,2 ; @OPENVPN_PLUGIN_FUNC_SUCCESS
l_.str.3:                               ; @.str.3
	.asciz	"app session user: %s"

	.no_dead_strip	_tls_final
.subsections_via_symbols
