	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_get_es_version
_key_get_es_version:                    ## @key_get_es_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rdi), %rax
	xorl	%ecx, %ecx
	cmpq	$2, %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rdx, %rcx
	cmpq	$1, %rax
	leaq	L_.str(%rip), %rax
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X25519-XSalsa20Poly1305"

L_.str.1:                               ## @.str.1
	.asciz	"X25519-XChacha20Poly1305"

	.no_dead_strip	_key_get_es_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_get_es_version
_key_get_es_version:                    ; @key_get_es_version
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #2
	csel	x9, x9, xzr, eq
Lloh2:
	adrp	x10, l_.str@PAGE
Lloh3:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x8, #1
	csel	x0, x10, x9, eq
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X25519-XSalsa20Poly1305"

l_.str.1:                               ; @.str.1
	.asciz	"X25519-XChacha20Poly1305"

	.no_dead_strip	_key_get_es_version
.subsections_via_symbols
