	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_init_tls_wrap_key
_do_init_tls_wrap_key:                  ## @do_init_tls_wrap_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 64(%rdi)
	je	LBB0_5
## %bb.1:
	leaq	12(%rbx), %r14
	movq	12(%rbx), %rdi
	callq	_CLEAR
	movl	80(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_streq
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_M_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	80(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_msg
	jmp	LBB0_4
LBB0_2:
	movl	80(%rbx), %edi
	callq	_md_kt_get
	movl	%eax, 12(%rbx)
	movl	%eax, %edi
	callq	_md_kt_size
	movl	%eax, 16(%rbx)
LBB0_4:
	leaq	4(%rbx), %rsi
	movq	64(%rbx), %rdx
	movl	56(%rbx), %r8d
	movl	60(%rbx), %ecx
	leaq	L_.str.3(%rip), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %r9
	movq	%r14, %rdi
	callq	_crypto_read_openvpn_key
LBB0_5:
	movq	48(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	leaq	4(%rbx), %rdi
	movl	40(%rbx), %edx
	movq	72(%rbx), %rcx
	callq	_tls_crypt_init_key
LBB0_7:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.8:
	cmpq	$0, 72(%rbx)
	je	LBB0_9
## %bb.11:
	movl	24(%rbx), %ecx
	addq	$8, %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tls_crypt_v2_init_server_key   ## TAILCALL
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	leaq	4(%rbx), %rdi
	movl	24(%rbx), %ecx
	movq	%rbx, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tls_crypt_v2_init_client_key   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"none"

	.comm	_M_FATAL,4,2                    ## @M_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"ERROR: tls-auth enabled, but no valid --auth algorithm specified ('%s')"

L_.str.2:                               ## @.str.2
	.asciz	"Control Channel Authentication"

L_.str.3:                               ## @.str.3
	.asciz	"tls-auth"

	.no_dead_strip	_do_init_tls_wrap_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_init_tls_wrap_key
_do_init_tls_wrap_key:                  ; @do_init_tls_wrap_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x19
	ldr	x0, [x20, #12]!
	bl	_CLEAR
	ldr	w0, [x20, #68]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_streq
	cbz	w0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _M_FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w2, [x19, #80]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msg
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19, #80]
	bl	_md_kt_get
	str	w0, [x19, #12]
	bl	_md_kt_size
	str	w0, [x19, #16]
LBB0_4:
	add	x1, x19, #4
	ldr	x2, [x19, #64]
	ldp	w4, w3, [x19, #56]
Lloh7:
	adrp	x5, l_.str.2@PAGE
Lloh8:
	add	x5, x5, l_.str.2@PAGEOFF
Lloh9:
	adrp	x6, l_.str.3@PAGE
Lloh10:
	add	x6, x6, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_crypto_read_openvpn_key
LBB0_5:
	ldr	x1, [x19, #48]
	cbz	x1, LBB0_7
; %bb.6:
	add	x0, x19, #4
	ldr	w2, [x19, #40]
	ldr	x3, [x19, #72]
	bl	_tls_crypt_init_key
LBB0_7:
	ldr	x2, [x19, #32]
	cbz	x2, LBB0_10
; %bb.8:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_11
; %bb.9:
	add	x0, x19, #8
	ldr	w3, [x19, #24]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tls_crypt_v2_init_server_key
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	add	x0, x19, #4
	ldr	w3, [x19, #24]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tls_crypt_v2_init_client_key
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

	.comm	_M_FATAL,4,2                    ; @M_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"ERROR: tls-auth enabled, but no valid --auth algorithm specified ('%s')"

l_.str.2:                               ; @.str.2
	.asciz	"Control Channel Authentication"

l_.str.3:                               ; @.str.3
	.asciz	"tls-auth"

	.no_dead_strip	_do_init_tls_wrap_key
.subsections_via_symbols
