	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_crypt_init_key             ## -- Begin function tls_crypt_init_key
	.p2align	4, 0x90
_tls_crypt_init_key:                    ## @tls_crypt_init_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_KEY_DIRECTION_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_KEY_DIRECTION_INVERSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_tls_crypt_kt
	movq	%rax, -56(%rbp)
	movq	%rax, %rcx
	shrq	$32, %rcx
	je	LBB0_2
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movq	_M_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_msg
LBB0_3:
	testl	%r13d, %r13d
	cmovel	%r14d, %ebx
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %r9
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, %r8d
	callq	_crypto_read_openvpn_key
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_DIRECTION_NORMAL,4,2       ## @KEY_DIRECTION_NORMAL
	.comm	_KEY_DIRECTION_INVERSE,4,2      ## @KEY_DIRECTION_INVERSE
	.comm	_M_FATAL,4,2                    ## @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: --tls-crypt not supported"

L_.str.1:                               ## @.str.1
	.asciz	"Control Channel Encryption"

L_.str.2:                               ## @.str.2
	.asciz	"tls-crypt"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_crypt_init_key             ; -- Begin function tls_crypt_init_key
	.p2align	2
_tls_crypt_init_key:                    ; @tls_crypt_init_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _KEY_DIRECTION_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_DIRECTION_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _KEY_DIRECTION_INVERSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEY_DIRECTION_INVERSE@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	bl	_tls_crypt_kt
	str	x0, [sp, #8]
	lsr	x8, x0, #32
	cbz	x8, LBB0_2
; %bb.1:
	cbnz	w0, LBB0_3
LBB0_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:
	cmp	w22, #0
	csel	w4, w24, w23, eq
Lloh11:
	adrp	x5, l_.str.1@PAGE
Lloh12:
	add	x5, x5, l_.str.1@PAGEOFF
Lloh13:
	adrp	x6, l_.str.2@PAGE
Lloh14:
	add	x6, x6, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_read_openvpn_key
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_DIRECTION_NORMAL,4,2       ; @KEY_DIRECTION_NORMAL
	.comm	_KEY_DIRECTION_INVERSE,4,2      ; @KEY_DIRECTION_INVERSE
	.comm	_M_FATAL,4,2                    ; @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: --tls-crypt not supported"

l_.str.1:                               ; @.str.1
	.asciz	"Control Channel Encryption"

l_.str.2:                               ; @.str.2
	.asciz	"tls-crypt"

.subsections_via_symbols
