	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swcr_newsession
_swcr_newsession:                       ## @swcr_newsession
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_73
## %bb.1:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_73
## %bb.2:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_crypto_get_driver_session
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	movq	_MTX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_mtx_init
	movq	%rbx, %rcx
	movq	$-1, %rbx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, 48(%r13,%r15)
	movq	%r15, %r12
LBB0_70:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	%eax, (%r13,%r12)
	addq	$64, %r12
	movq	8(%r14), %r14
	incl	(%rcx)
	testq	%r14, %r14
	je	LBB0_71
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rdi
	callq	_nitems
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_72
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$37, %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	ja	LBB0_68
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	addq	%rdx, %rsi
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	movq	_enc_xform_des@GOTPCREL(%rip), %r12
	movq	_auth_hash_hmac_md5@GOTPCREL(%rip), %r13
	movq	_auth_hash_key_md5@GOTPCREL(%rip), %rdi
	movq	_auth_hash_sha1@GOTPCREL(%rip), %r15
	movq	_auth_hash_nist_gmac_aes_128@GOTPCREL(%rip), %rdx
	movq	_auth_hash_blake2b@GOTPCREL(%rip), %rbx
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_skipjack@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_hmac_sha2_512@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_45:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_sha2_512@GOTPCREL(%rip), %r15
	jmp	LBB0_46
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_hmac_sha2_384@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_44:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_sha2_384@GOTPCREL(%rip), %r15
	jmp	LBB0_46
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_hmac_sha2_256@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_sha2_256@GOTPCREL(%rip), %r15
	jmp	LBB0_46
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_hmac_sha2_224@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_42:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_sha2_224@GOTPCREL(%rip), %r15
LBB0_46:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 24(%r13,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.47:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	*8(%r15)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r14), %eax
	movl	%eax, 32(%r13,%r12)
	movq	%r15, 16(%r13,%r12)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_70
LBB0_36:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_key_sha1@GOTPCREL(%rip), %rdi
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_malloc
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 24(%r13,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.38:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %eax
	leal	7(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$3, %edi
	movl	(%rcx), %esi
	movl	(%r14), %edx
	callq	_malloc
	movq	%rax, 40(%r13,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.39:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	movq	%rbx, %r14
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r14), %ecx
	movq	%r15, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_swcr_authprepare
	testl	%eax, %eax
	je	LBB0_41
	jmp	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_hmac_sha1@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_hmac_ripemd_160@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_rijndael128@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_64:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_poly1305@GOTPCREL(%rip), %rbx
	jmp	LBB0_65
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_null@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movl	(%r13), %edi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_malloc
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 24(%rbx,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movl	(%r15), %esi
	movl	(%r14), %edx
	callq	_malloc
	movq	%rax, 40(%rbx,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r14), %ecx
	movq	%r13, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_swcr_authprepare
	testl	%eax, %eax
	jne	LBB0_22
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r14), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 32(%rcx,%r12)
	movq	%r13, 16(%rcx,%r12)
	movq	%rcx, %r13
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_70
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_null@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_67:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_comp_algo_deflate@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 8(%r13,%r12)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_70
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_chacha20@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_cast5@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_camellia@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_blf@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_63:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_blake2s@GOTPCREL(%rip), %rbx
LBB0_65:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 24(%r13,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.66:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rsi
	movl	4(%r14), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	movq	%rax, %rdi
	callq	*16(%rbx)
	movq	24(%r13,%r12), %rdi
	callq	*8(%rbx)
	jmp	LBB0_61
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_aes_xts@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_aes_nist_gmac@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 48(%r13,%r12)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_70
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_aes_nist_gcm@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_aes_icm@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_48:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$256, %eax                      ## imm = 0x100
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$192, %eax
	jne	LBB0_68
## %bb.52:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_ccm_cbc_mac_192@GOTPCREL(%rip), %rdx
	jmp	LBB0_56
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_ccm@GOTPCREL(%rip), %r12
	jmp	LBB0_20
LBB0_55:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_nist_gmac_aes_256@GOTPCREL(%rip), %rdx
	jmp	LBB0_56
LBB0_54:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_nist_gmac_aes_192@GOTPCREL(%rip), %rdx
	jmp	LBB0_56
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_enc_xform_3des@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_69
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rdi
	addq	$56, %rdi
	movl	4(%r14), %eax
	leal	7(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
	callq	*(%r12)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_69
	jmp	LBB0_22
LBB0_49:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_ccm_cbc_mac_128@GOTPCREL(%rip), %rdx
	jmp	LBB0_56
LBB0_53:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_auth_hash_ccm_cbc_mac_256@GOTPCREL(%rip), %rdx
LBB0_56:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %eax
	leal	7(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	andl	$-8, %eax
	cmpl	$128, %eax
	je	LBB0_59
## %bb.57:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$192, %eax
	je	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$256, %eax                      ## imm = 0x100
	jne	LBB0_68
LBB0_59:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rbx
	movl	(%rdx), %edi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 24(%r13,%r12)
	testq	%rax, %rax
	je	LBB0_31
## %bb.60:                              ##   in Loop: Header=BB0_3 Depth=1
	sarl	$3, %r15d
	movq	%rax, %rdi
	callq	*8(%rbx)
	movq	24(%r13,%r12), %rdi
	movq	16(%r14), %rsi
	movl	%r15d, %edx
	callq	*16(%rbx)
LBB0_61:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, 16(%r13,%r12)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_70
LBB0_72:
	leaq	L_.str.1(%rip), %rdi
	callq	_CRYPTDEB
LBB0_73:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_74:
	movl	(%rax), %ebx
LBB0_75:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_71:
	xorl	%ebx, %ebx
	jmp	LBB0_75
LBB0_31:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_swcr_freesession
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_74
LBB0_22:
	movl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_swcr_freesession
	jmp	LBB0_75
LBB0_68:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_swcr_freesession
	jmp	LBB0_73
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_68, LBB0_68-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_27
	.long	L0_0_set_45
	.long	L0_0_set_26
	.long	L0_0_set_44
	.long	L0_0_set_25
	.long	L0_0_set_43
	.long	L0_0_set_24
	.long	L0_0_set_42
	.long	L0_0_set_36
	.long	L0_0_set_23
	.long	L0_0_set_46
	.long	L0_0_set_29
	.long	L0_0_set_10
	.long	L0_0_set_64
	.long	L0_0_set_28
	.long	L0_0_set_18
	.long	L0_0_set_37
	.long	L0_0_set_30
	.long	L0_0_set_68
	.long	L0_0_set_20
	.long	L0_0_set_67
	.long	L0_0_set_19
	.long	L0_0_set_8
	.long	L0_0_set_17
	.long	L0_0_set_7
	.long	L0_0_set_63
	.long	L0_0_set_65
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_48
	.long	L0_0_set_14
	.long	L0_0_set_55
	.long	L0_0_set_54
	.long	L0_0_set_56
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"swcr session lock"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_enc_xform_des,8,3              ## @enc_xform_des
	.comm	_enc_xform_3des,8,3             ## @enc_xform_3des
	.comm	_enc_xform_blf,8,3              ## @enc_xform_blf
	.comm	_enc_xform_cast5,8,3            ## @enc_xform_cast5
	.comm	_enc_xform_skipjack,8,3         ## @enc_xform_skipjack
	.comm	_enc_xform_rijndael128,8,3      ## @enc_xform_rijndael128
	.comm	_enc_xform_aes_xts,8,3          ## @enc_xform_aes_xts
	.comm	_enc_xform_aes_icm,8,3          ## @enc_xform_aes_icm
	.comm	_enc_xform_aes_nist_gcm,8,3     ## @enc_xform_aes_nist_gcm
	.comm	_enc_xform_ccm,8,3              ## @enc_xform_ccm
	.comm	_enc_xform_aes_nist_gmac,8,3    ## @enc_xform_aes_nist_gmac
	.comm	_enc_xform_camellia,8,3         ## @enc_xform_camellia
	.comm	_enc_xform_null,8,3             ## @enc_xform_null
	.comm	_enc_xform_chacha20,8,3         ## @enc_xform_chacha20
	.comm	_auth_hash_hmac_md5,24,3        ## @auth_hash_hmac_md5
	.comm	_auth_hash_hmac_sha1,24,3       ## @auth_hash_hmac_sha1
	.comm	_auth_hash_hmac_sha2_224,24,3   ## @auth_hash_hmac_sha2_224
	.comm	_auth_hash_hmac_sha2_256,24,3   ## @auth_hash_hmac_sha2_256
	.comm	_auth_hash_hmac_sha2_384,24,3   ## @auth_hash_hmac_sha2_384
	.comm	_auth_hash_hmac_sha2_512,24,3   ## @auth_hash_hmac_sha2_512
	.comm	_auth_hash_null,24,3            ## @auth_hash_null
	.comm	_auth_hash_hmac_ripemd_160,24,3 ## @auth_hash_hmac_ripemd_160
	.comm	_M_CRYPTO_DATA,4,2              ## @M_CRYPTO_DATA
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_auth_hash_key_md5,24,3         ## @auth_hash_key_md5
	.comm	_auth_hash_key_sha1,24,3        ## @auth_hash_key_sha1
	.comm	_auth_hash_sha1,24,3            ## @auth_hash_sha1
	.comm	_auth_hash_sha2_224,24,3        ## @auth_hash_sha2_224
	.comm	_auth_hash_sha2_256,24,3        ## @auth_hash_sha2_256
	.comm	_auth_hash_sha2_384,24,3        ## @auth_hash_sha2_384
	.comm	_auth_hash_sha2_512,24,3        ## @auth_hash_sha2_512
	.comm	_auth_hash_ccm_cbc_mac_128,24,3 ## @auth_hash_ccm_cbc_mac_128
	.comm	_auth_hash_ccm_cbc_mac_192,24,3 ## @auth_hash_ccm_cbc_mac_192
	.comm	_auth_hash_ccm_cbc_mac_256,24,3 ## @auth_hash_ccm_cbc_mac_256
	.comm	_auth_hash_nist_gmac_aes_128,24,3 ## @auth_hash_nist_gmac_aes_128
	.comm	_auth_hash_nist_gmac_aes_192,24,3 ## @auth_hash_nist_gmac_aes_192
	.comm	_auth_hash_nist_gmac_aes_256,24,3 ## @auth_hash_nist_gmac_aes_256
	.comm	_auth_hash_blake2b,24,3         ## @auth_hash_blake2b
	.comm	_auth_hash_blake2s,24,3         ## @auth_hash_blake2s
	.comm	_auth_hash_poly1305,24,3        ## @auth_hash_poly1305
	.comm	_comp_algo_deflate,4,2          ## @comp_algo_deflate
L_.str.1:                               ## @.str.1
	.asciz	"Bogus session request for three or more algorithms"

	.comm	_auth_hash_md5,24,3             ## @auth_hash_md5
	.no_dead_strip	_swcr_newsession
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swcr_newsession
_swcr_newsession:                       ; @swcr_newsession
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_66
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_66
; %bb.2:
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x1
	bl	_crypto_get_driver_session
	mov	x19, x0
	add	x0, x0, #16
Lloh0:
	adrp	x8, _MTX_DEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTX_DEF@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
	mov	x11, x19
	mov	x19, #0
	mov	x26, #-1
	str	x11, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x28, x19
	str	x20, [x8, #48]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	str	w8, [x28, x19]
	add	x19, x19, #64
	ldr	x21, [x21, #8]
	ldr	w8, [x11]
	add	w8, w8, #1
	str	w8, [x11]
	cbz	x21, LBB0_69
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x11, #8]
	bl	_nitems
	add	x26, x26, #1
	cmp	x26, x0
	b.hs	LBB0_65
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #37
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	b.hi	LBB0_72
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x11, #8]
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	add	x23, x9, x19
Lloh5:
	adrp	x20, _enc_xform_des@GOTPAGE
Lloh6:
	ldr	x20, [x20, _enc_xform_des@GOTPAGEOFF]
Lloh7:
	adrp	x24, _auth_hash_hmac_md5@GOTPAGE
Lloh8:
	ldr	x24, [x24, _auth_hash_hmac_md5@GOTPAGEOFF]
Lloh9:
	adrp	x12, lJTI0_0@PAGE
Lloh10:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x9, LBB0_8
	ldrh	w10, [x12, x8, lsl #1]
	add	x9, x9, x10, lsl #2
Lloh11:
	adrp	x25, _auth_hash_key_md5@GOTPAGE
Lloh12:
	ldr	x25, [x25, _auth_hash_key_md5@GOTPAGEOFF]
Lloh13:
	adrp	x27, _auth_hash_sha1@GOTPAGE
Lloh14:
	ldr	x27, [x27, _auth_hash_sha1@GOTPAGEOFF]
Lloh15:
	adrp	x28, _auth_hash_nist_gmac_aes_128@GOTPAGE
Lloh16:
	ldr	x28, [x28, _auth_hash_nist_gmac_aes_128@GOTPAGEOFF]
Lloh17:
	adrp	x22, _auth_hash_blake2b@GOTPAGE
Lloh18:
	ldr	x22, [x22, _auth_hash_blake2b@GOTPAGEOFF]
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh19:
	adrp	x20, _enc_xform_skipjack@GOTPAGE
Lloh20:
	ldr	x20, [x20, _enc_xform_skipjack@GOTPAGEOFF]
	b	LBB0_56
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh21:
	adrp	x24, _auth_hash_hmac_sha2_512@GOTPAGE
Lloh22:
	ldr	x24, [x24, _auth_hash_hmac_sha2_512@GOTPAGEOFF]
	b	LBB0_30
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh23:
	adrp	x27, _auth_hash_sha2_512@GOTPAGE
Lloh24:
	ldr	x27, [x27, _auth_hash_sha2_512@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x24, _auth_hash_hmac_sha2_384@GOTPAGE
Lloh26:
	ldr	x24, [x24, _auth_hash_hmac_sha2_384@GOTPAGEOFF]
	b	LBB0_30
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh27:
	adrp	x27, _auth_hash_sha2_384@GOTPAGE
Lloh28:
	ldr	x27, [x27, _auth_hash_sha2_384@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh29:
	adrp	x24, _auth_hash_hmac_sha2_256@GOTPAGE
Lloh30:
	ldr	x24, [x24, _auth_hash_hmac_sha2_256@GOTPAGEOFF]
	b	LBB0_30
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh31:
	adrp	x27, _auth_hash_sha2_256@GOTPAGE
Lloh32:
	ldr	x27, [x27, _auth_hash_sha2_256@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh33:
	adrp	x24, _auth_hash_hmac_sha2_224@GOTPAGE
Lloh34:
	ldr	x24, [x24, _auth_hash_hmac_sha2_224@GOTPAGEOFF]
	b	LBB0_30
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh35:
	adrp	x27, _auth_hash_sha2_224@GOTPAGE
Lloh36:
	ldr	x27, [x27, _auth_hash_sha2_224@GOTPAGEOFF]
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
Lloh37:
	adrp	x8, _M_CRYPTO_DATA@GOTPAGE
Lloh38:
	ldr	x8, [x8, _M_CRYPTO_DATA@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	bl	_malloc
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	x20, x28, x19
	str	x0, [x20, #24]
	cbz	x0, LBB0_70
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27, #8]
	blr	x8
	ldr	w8, [x21, #24]
	str	w8, [x20, #32]
	str	x27, [x20, #16]
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh43:
	adrp	x25, _auth_hash_key_sha1@GOTPAGE
Lloh44:
	ldr	x25, [x25, _auth_hash_key_sha1@GOTPAGEOFF]
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
Lloh45:
	adrp	x20, _M_CRYPTO_DATA@GOTPAGE
Lloh46:
	ldr	x20, [x20, _M_CRYPTO_DATA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh47:
	adrp	x22, _M_NOWAIT@GOTPAGE
Lloh48:
	ldr	x22, [x22, _M_NOWAIT@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_malloc
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	x24, x28, x19
	str	x0, [x24, #24]
	cbz	x0, LBB0_70
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #4]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	ldr	w1, [x20]
	ldr	w2, [x22]
	bl	_malloc
	str	x0, [x24, #40]
	cbz	x0, LBB0_70
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x21, #16]
	cbz	x2, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [x21, #4]
	mov	x0, x25
	mov	x1, x23
	bl	_swcr_authprepare
	cbnz	w0, LBB0_71
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #24]
	add	x9, x28, x19
	str	w8, [x9, #32]
	str	x25, [x9, #16]
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_4
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh49:
	adrp	x24, _auth_hash_hmac_sha1@GOTPAGE
Lloh50:
	ldr	x24, [x24, _auth_hash_hmac_sha1@GOTPAGEOFF]
	b	LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh51:
	adrp	x24, _auth_hash_hmac_ripemd_160@GOTPAGE
Lloh52:
	ldr	x24, [x24, _auth_hash_hmac_ripemd_160@GOTPAGEOFF]
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh53:
	adrp	x20, _enc_xform_rijndael128@GOTPAGE
Lloh54:
	ldr	x20, [x20, _enc_xform_rijndael128@GOTPAGEOFF]
	b	LBB0_56
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh55:
	adrp	x22, _auth_hash_poly1305@GOTPAGE
Lloh56:
	ldr	x22, [x22, _auth_hash_poly1305@GOTPAGEOFF]
	b	LBB0_42
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh57:
	adrp	x24, _auth_hash_null@GOTPAGE
Lloh58:
	ldr	x24, [x24, _auth_hash_null@GOTPAGEOFF]
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
Lloh59:
	adrp	x20, _M_CRYPTO_DATA@GOTPAGE
Lloh60:
	ldr	x20, [x20, _M_CRYPTO_DATA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh61:
	adrp	x22, _M_NOWAIT@GOTPAGE
Lloh62:
	ldr	x22, [x22, _M_NOWAIT@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_malloc
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	x25, x28, x19
	str	x0, [x25, #24]
	cbz	x0, LBB0_70
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x20]
	ldr	w2, [x22]
	bl	_malloc
	str	x0, [x25, #40]
	cbz	x0, LBB0_70
; %bb.32:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x21, #16]
	cbz	x2, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [x21, #4]
	mov	x0, x24
	mov	x1, x23
	bl	_swcr_authprepare
	cbnz	w0, LBB0_71
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #24]
	add	x9, x28, x19
	str	w8, [x9, #32]
	str	x24, [x9, #16]
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_4
LBB0_35:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh63:
	adrp	x20, _enc_xform_null@GOTPAGE
Lloh64:
	ldr	x20, [x20, _enc_xform_null@GOTPAGEOFF]
	b	LBB0_56
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	x8, x28, x19
Lloh65:
	adrp	x9, _comp_algo_deflate@GOTPAGE
Lloh66:
	ldr	x9, [x9, _comp_algo_deflate@GOTPAGEOFF]
	str	x9, [x8, #8]
	b	LBB0_4
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh67:
	adrp	x20, _enc_xform_chacha20@GOTPAGE
Lloh68:
	ldr	x20, [x20, _enc_xform_chacha20@GOTPAGEOFF]
	b	LBB0_56
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh69:
	adrp	x20, _enc_xform_cast5@GOTPAGE
Lloh70:
	ldr	x20, [x20, _enc_xform_cast5@GOTPAGEOFF]
	b	LBB0_56
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh71:
	adrp	x20, _enc_xform_camellia@GOTPAGE
Lloh72:
	ldr	x20, [x20, _enc_xform_camellia@GOTPAGEOFF]
	b	LBB0_56
LBB0_40:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh73:
	adrp	x20, _enc_xform_blf@GOTPAGE
Lloh74:
	ldr	x20, [x20, _enc_xform_blf@GOTPAGEOFF]
	b	LBB0_56
LBB0_41:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh75:
	adrp	x22, _auth_hash_blake2s@GOTPAGE
Lloh76:
	ldr	x22, [x22, _auth_hash_blake2s@GOTPAGEOFF]
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
Lloh77:
	adrp	x8, _M_CRYPTO_DATA@GOTPAGE
Lloh78:
	ldr	x8, [x8, _M_CRYPTO_DATA@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
Lloh80:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh81:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh82:
	ldr	w2, [x8]
	bl	_malloc
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	x20, x28, x19
	str	x0, [x20, #24]
	cbz	x0, LBB0_70
; %bb.43:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #16]
	ldr	x1, [x21, #16]
	ldr	w9, [x21, #4]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w2, w9, #3
	blr	x8
	ldr	x8, [x22, #8]
	ldr	x0, [x20, #24]
	blr	x8
	str	x22, [x20, #16]
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_4
LBB0_44:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh83:
	adrp	x20, _enc_xform_aes_xts@GOTPAGE
Lloh84:
	ldr	x20, [x20, _enc_xform_aes_xts@GOTPAGEOFF]
	b	LBB0_56
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	add	x8, x28, x19
Lloh85:
	adrp	x9, _enc_xform_aes_nist_gmac@GOTPAGE
Lloh86:
	ldr	x9, [x9, _enc_xform_aes_nist_gmac@GOTPAGEOFF]
	str	x9, [x8, #48]
	b	LBB0_4
LBB0_46:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh87:
	adrp	x20, _enc_xform_aes_nist_gcm@GOTPAGE
Lloh88:
	ldr	x20, [x20, _enc_xform_aes_nist_gcm@GOTPAGEOFF]
	b	LBB0_56
LBB0_47:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh89:
	adrp	x20, _enc_xform_aes_icm@GOTPAGE
Lloh90:
	ldr	x20, [x20, _enc_xform_aes_icm@GOTPAGEOFF]
	b	LBB0_56
LBB0_48:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #128
	b.eq	LBB0_58
; %bb.49:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #256
	b.eq	LBB0_59
; %bb.50:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #192
	b.ne	LBB0_72
; %bb.51:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh91:
	adrp	x28, _auth_hash_ccm_cbc_mac_192@GOTPAGE
Lloh92:
	ldr	x28, [x28, _auth_hash_ccm_cbc_mac_192@GOTPAGEOFF]
	b	LBB0_60
LBB0_52:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh93:
	adrp	x20, _enc_xform_ccm@GOTPAGE
Lloh94:
	ldr	x20, [x20, _enc_xform_ccm@GOTPAGEOFF]
	b	LBB0_56
LBB0_53:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh95:
	adrp	x28, _auth_hash_nist_gmac_aes_256@GOTPAGE
Lloh96:
	ldr	x28, [x28, _auth_hash_nist_gmac_aes_256@GOTPAGEOFF]
	b	LBB0_60
LBB0_54:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh97:
	adrp	x28, _auth_hash_nist_gmac_aes_192@GOTPAGE
Lloh98:
	ldr	x28, [x28, _auth_hash_nist_gmac_aes_192@GOTPAGEOFF]
	b	LBB0_60
LBB0_55:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh99:
	adrp	x20, _enc_xform_3des@GOTPAGE
Lloh100:
	ldr	x20, [x20, _enc_xform_3des@GOTPAGEOFF]
LBB0_56:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x21, #16]
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x1, LBB0_3
; %bb.57:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	add	x9, x28, x19
	add	x0, x9, #56
	ldr	w9, [x21, #4]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w2, w9, #3
	blr	x8
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	cbz	w0, LBB0_3
	b	LBB0_71
LBB0_58:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh101:
	adrp	x28, _auth_hash_ccm_cbc_mac_128@GOTPAGE
Lloh102:
	ldr	x28, [x28, _auth_hash_ccm_cbc_mac_128@GOTPAGEOFF]
	b	LBB0_60
LBB0_59:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh103:
	adrp	x28, _auth_hash_ccm_cbc_mac_256@GOTPAGE
Lloh104:
	ldr	x28, [x28, _auth_hash_ccm_cbc_mac_256@GOTPAGEOFF]
LBB0_60:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #4]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w20, w9, w8, lt
	and	w8, w8, #0xfffffff8
	cmp	w8, #128
	b.eq	LBB0_63
; %bb.61:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #192
	b.eq	LBB0_63
; %bb.62:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #256
	b.ne	LBB0_72
LBB0_63:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28]
Lloh105:
	adrp	x8, _M_CRYPTO_DATA@GOTPAGE
Lloh106:
	ldr	x8, [x8, _M_CRYPTO_DATA@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
Lloh108:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh109:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh110:
	ldr	w2, [x8]
	bl	_malloc
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x8, x19
	str	x0, [x22, #24]
	cbz	x0, LBB0_70
; %bb.64:                               ;   in Loop: Header=BB0_5 Depth=1
	asr	w23, w20, #3
	ldr	x8, [x28, #8]
	blr	x8
	ldr	x8, [x28, #16]
	ldr	x0, [x22, #24]
	ldr	x1, [x21, #16]
	mov	x2, x23
	blr	x8
	str	x28, [x22, #16]
	ldp	x11, x28, [sp, #16]             ; 16-byte Folded Reload
	b	LBB0_4
LBB0_65:
Lloh111:
	adrp	x0, l_.str.1@PAGE
Lloh112:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_CRYPTDEB
LBB0_66:
Lloh113:
	adrp	x8, _EINVAL@GOTPAGE
Lloh114:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_67:
	ldr	w23, [x8]
LBB0_68:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_69:
	mov	w23, #0
	b	LBB0_68
LBB0_70:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_swcr_freesession
Lloh115:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh116:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_67
LBB0_71:
	mov	x23, x0
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_swcr_freesession
	b	LBB0_68
LBB0_72:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_swcr_freesession
	b	LBB0_66
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh115, Lloh116
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_8-LBB0_8)>>2
	.short	(LBB0_9-LBB0_8)>>2
	.short	(LBB0_10-LBB0_8)>>2
	.short	(LBB0_11-LBB0_8)>>2
	.short	(LBB0_12-LBB0_8)>>2
	.short	(LBB0_13-LBB0_8)>>2
	.short	(LBB0_14-LBB0_8)>>2
	.short	(LBB0_15-LBB0_8)>>2
	.short	(LBB0_16-LBB0_8)>>2
	.short	(LBB0_19-LBB0_8)>>2
	.short	(LBB0_25-LBB0_8)>>2
	.short	(LBB0_17-LBB0_8)>>2
	.short	(LBB0_26-LBB0_8)>>2
	.short	(LBB0_27-LBB0_8)>>2
	.short	(LBB0_28-LBB0_8)>>2
	.short	(LBB0_29-LBB0_8)>>2
	.short	(LBB0_35-LBB0_8)>>2
	.short	(LBB0_20-LBB0_8)>>2
	.short	(LBB0_30-LBB0_8)>>2
	.short	(LBB0_72-LBB0_8)>>2
	.short	(LBB0_56-LBB0_8)>>2
	.short	(LBB0_36-LBB0_8)>>2
	.short	(LBB0_37-LBB0_8)>>2
	.short	(LBB0_38-LBB0_8)>>2
	.short	(LBB0_39-LBB0_8)>>2
	.short	(LBB0_40-LBB0_8)>>2
	.short	(LBB0_41-LBB0_8)>>2
	.short	(LBB0_42-LBB0_8)>>2
	.short	(LBB0_44-LBB0_8)>>2
	.short	(LBB0_45-LBB0_8)>>2
	.short	(LBB0_46-LBB0_8)>>2
	.short	(LBB0_47-LBB0_8)>>2
	.short	(LBB0_48-LBB0_8)>>2
	.short	(LBB0_52-LBB0_8)>>2
	.short	(LBB0_53-LBB0_8)>>2
	.short	(LBB0_54-LBB0_8)>>2
	.short	(LBB0_60-LBB0_8)>>2
	.short	(LBB0_55-LBB0_8)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"swcr session lock"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_enc_xform_des,8,3              ; @enc_xform_des
	.comm	_enc_xform_3des,8,3             ; @enc_xform_3des
	.comm	_enc_xform_blf,8,3              ; @enc_xform_blf
	.comm	_enc_xform_cast5,8,3            ; @enc_xform_cast5
	.comm	_enc_xform_skipjack,8,3         ; @enc_xform_skipjack
	.comm	_enc_xform_rijndael128,8,3      ; @enc_xform_rijndael128
	.comm	_enc_xform_aes_xts,8,3          ; @enc_xform_aes_xts
	.comm	_enc_xform_aes_icm,8,3          ; @enc_xform_aes_icm
	.comm	_enc_xform_aes_nist_gcm,8,3     ; @enc_xform_aes_nist_gcm
	.comm	_enc_xform_ccm,8,3              ; @enc_xform_ccm
	.comm	_enc_xform_aes_nist_gmac,8,3    ; @enc_xform_aes_nist_gmac
	.comm	_enc_xform_camellia,8,3         ; @enc_xform_camellia
	.comm	_enc_xform_null,8,3             ; @enc_xform_null
	.comm	_enc_xform_chacha20,8,3         ; @enc_xform_chacha20
	.comm	_auth_hash_hmac_md5,24,3        ; @auth_hash_hmac_md5
	.comm	_auth_hash_hmac_sha1,24,3       ; @auth_hash_hmac_sha1
	.comm	_auth_hash_hmac_sha2_224,24,3   ; @auth_hash_hmac_sha2_224
	.comm	_auth_hash_hmac_sha2_256,24,3   ; @auth_hash_hmac_sha2_256
	.comm	_auth_hash_hmac_sha2_384,24,3   ; @auth_hash_hmac_sha2_384
	.comm	_auth_hash_hmac_sha2_512,24,3   ; @auth_hash_hmac_sha2_512
	.comm	_auth_hash_null,24,3            ; @auth_hash_null
	.comm	_auth_hash_hmac_ripemd_160,24,3 ; @auth_hash_hmac_ripemd_160
	.comm	_M_CRYPTO_DATA,4,2              ; @M_CRYPTO_DATA
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_auth_hash_key_md5,24,3         ; @auth_hash_key_md5
	.comm	_auth_hash_key_sha1,24,3        ; @auth_hash_key_sha1
	.comm	_auth_hash_sha1,24,3            ; @auth_hash_sha1
	.comm	_auth_hash_sha2_224,24,3        ; @auth_hash_sha2_224
	.comm	_auth_hash_sha2_256,24,3        ; @auth_hash_sha2_256
	.comm	_auth_hash_sha2_384,24,3        ; @auth_hash_sha2_384
	.comm	_auth_hash_sha2_512,24,3        ; @auth_hash_sha2_512
	.comm	_auth_hash_ccm_cbc_mac_128,24,3 ; @auth_hash_ccm_cbc_mac_128
	.comm	_auth_hash_ccm_cbc_mac_192,24,3 ; @auth_hash_ccm_cbc_mac_192
	.comm	_auth_hash_ccm_cbc_mac_256,24,3 ; @auth_hash_ccm_cbc_mac_256
	.comm	_auth_hash_nist_gmac_aes_128,24,3 ; @auth_hash_nist_gmac_aes_128
	.comm	_auth_hash_nist_gmac_aes_192,24,3 ; @auth_hash_nist_gmac_aes_192
	.comm	_auth_hash_nist_gmac_aes_256,24,3 ; @auth_hash_nist_gmac_aes_256
	.comm	_auth_hash_blake2b,24,3         ; @auth_hash_blake2b
	.comm	_auth_hash_blake2s,24,3         ; @auth_hash_blake2s
	.comm	_auth_hash_poly1305,24,3        ; @auth_hash_poly1305
	.comm	_comp_algo_deflate,4,2          ; @comp_algo_deflate
l_.str.1:                               ; @.str.1
	.asciz	"Bogus session request for three or more algorithms"

	.comm	_auth_hash_md5,24,3             ; @auth_hash_md5
	.no_dead_strip	_swcr_newsession
.subsections_via_symbols
