	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_init_crypto_static
_do_init_crypto_static:                 ## @do_init_crypto_static
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	64(%rdi), %edi
	callq	_ASSERT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_init_crypto_pre
	cmpq	$0, 96(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_CO_MUTE_REPLAY_WARNINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
LBB0_2:
	cmpq	$0, 48(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	28(%rbx), %r14
	movl	84(%rbx), %edx
	movl	88(%rbx), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_packet_id_init
	leaq	8(%rbx), %rdi
	movq	%rdi, 40(%rbx)
	movq	_CO_PACKET_ID_LONG_FORM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
	movq	%r14, %rsi
	callq	_packet_id_persist_load_obj
LBB0_4:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_key_ctx_bi_defined
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_msg
	jmp	LBB0_7
LBB0_5:
	movl	80(%rbx), %esi
	movl	76(%rbx), %edx
	movl	68(%rbx), %r8d
	movl	72(%rbx), %ecx
	movq	%rbx, %rdi
	movl	$1, %r9d
	callq	_init_key_type
	movl	64(%rbx), %edx
	movl	56(%rbx), %r8d
	movl	60(%rbx), %ecx
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %r9
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_crypto_read_openvpn_key
LBB0_7:
	movl	4(%rbx), %eax
	leaq	16(%rbx), %rdi
	movl	%eax, 24(%rbx)
	movq	48(%rbx), %rdx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_crypto_adjust_frame_parameters
	movq	48(%rbx), %rsi
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_check_replay_consistency       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CO_MUTE_REPLAY_WARNINGS,4,2    ## @CO_MUTE_REPLAY_WARNINGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STATIC"

	.comm	_CO_PACKET_ID_LONG_FORM,4,2     ## @CO_PACKET_ID_LONG_FORM
L_.str.1:                               ## @.str.1
	.asciz	"Static Key Encryption"

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

	.comm	_M_INFO,4,2                     ## @M_INFO
L_.str.3:                               ## @.str.3
	.asciz	"Re-using pre-shared static key"

	.no_dead_strip	_do_init_crypto_static
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_init_crypto_static
_do_init_crypto_static:                 ; @do_init_crypto_static
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #64]
	bl	_ASSERT
	mov	x0, x19
	mov	x1, x20
	bl	_init_crypto_pre
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CO_MUTE_REPLAY_WARNINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CO_MUTE_REPLAY_WARNINGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
LBB0_2:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_4
; %bb.3:
	add	x20, x19, #28
	ldp	w2, w1, [x19, #84]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	w4, #0
	bl	_packet_id_init
	add	x0, x19, #8
	str	x0, [x19, #40]
Lloh5:
	adrp	x8, _CO_PACKET_ID_LONG_FORM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CO_PACKET_ID_LONG_FORM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
	mov	x1, x20
	bl	_packet_id_persist_load_obj
LBB0_4:
	add	x20, x19, #4
	mov	x0, x20
	bl	_key_ctx_bi_defined
	cbz	w0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _M_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_msg
	b	LBB0_7
LBB0_6:
	ldp	w2, w1, [x19, #76]
	ldp	w4, w3, [x19, #68]
	mov	x0, x19
	mov	w5, #1
	bl	_init_key_type
	ldp	w3, w2, [x19, #60]
	ldr	w4, [x19, #56]
Lloh13:
	adrp	x5, l_.str.1@PAGE
Lloh14:
	add	x5, x5, l_.str.1@PAGEOFF
Lloh15:
	adrp	x6, l_.str.2@PAGE
Lloh16:
	add	x6, x6, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_crypto_read_openvpn_key
LBB0_7:
	ldr	w8, [x19, #4]
	add	x0, x19, #16
	str	w8, [x19, #24]
	ldr	x2, [x19, #48]
	mov	x1, x19
	mov	w3, #1
	bl	_crypto_adjust_frame_parameters
	ldr	x1, [x19, #48]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_check_replay_consistency
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CO_MUTE_REPLAY_WARNINGS,4,2    ; @CO_MUTE_REPLAY_WARNINGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STATIC"

	.comm	_CO_PACKET_ID_LONG_FORM,4,2     ; @CO_PACKET_ID_LONG_FORM
l_.str.1:                               ; @.str.1
	.asciz	"Static Key Encryption"

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

	.comm	_M_INFO,4,2                     ; @M_INFO
l_.str.3:                               ; @.str.3
	.asciz	"Re-using pre-shared static key"

	.no_dead_strip	_do_init_crypto_static
.subsections_via_symbols
