	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swcr_authenc
_swcr_authenc:                          ## @swcr_authenc
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EALG_MAX_BLOCK_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$4, %esi
	callq	_howmany
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movl	%eax, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_AALG_MAX_RESULT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$3, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -168(%rbp)                ## 8-byte Spill
	movl	(%r14), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movl	16(%r12), %edi
	movl	20(%r12), %ebx
	callq	_crypto_get_driver_session
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	8(%r12), %r13
	testq	%r13, %r13
	je	LBB0_26
## %bb.1:
	movq	%rax, %r15
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rax,%rcx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_AES_CCM_IV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r13, %rax
	movq	%r13, -144(%rbp)                ## 8-byte Spill
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	56(%r13), %r13
	testq	%r13, %r13
	je	LBB0_15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r15), %rdi
	callq	_nitems
	movl	$0, %ebx
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rdi
	movq	(%rdi,%r14), %rax
	cmpq	(%r13), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	callq	_nitems
	cltq
	addq	$32, %r14
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rdi
	callq	_nitems
	cmpl	%eax, %ebx
	je	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	movl	%ebx, %ecx
	shlq	$5, %rcx
	movq	(%rax,%rcx), %rdx
	addq	$-128, %rdx
	cmpq	$6, %rdx
	ja	LBB0_26
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rax,%rcx), %rbx
	movl	$11, %esi
	btq	%rdx, %rsi
	jb	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$112, %esi
	btq	%rdx, %rsi
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%rax,%rcx), %edi
	testl	%edi, %edi
	je	LBB0_26
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rax,%rcx), %r12
	movl	(%r12), %edx
	leaq	-88(%rbp), %rsi
	callq	_bcopy
	movl	4(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r13, %rax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_15:
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_26
## %bb.16:
	testq	%r15, %r15
	je	LBB0_26
## %bb.17:
	movq	(%rbx), %rax
	cmpq	$131, %rax
	je	LBB0_20
## %bb.18:
	cmpq	$129, %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_22
## %bb.19:
	movq	$-132, %rax
	addq	(%r15), %rax
	cmpq	$3, %rax
	jb	LBB0_21
	jmp	LBB0_26
LBB0_20:
	cmpq	$130, (%r15)
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_26
LBB0_21:
	movq	_CRD_F_IV_EXPLICIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_26
LBB0_22:
	movq	16(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_26
## %bb.23:
	movl	8(%rbx), %eax
	movq	_CRD_F_ENCRYPT@GOTPCREL(%rip), %rdx
	movq	_CRD_F_IV_EXPLICIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rdx)
	je	LBB0_30
## %bb.24:
	testl	%eax, %ecx
	je	LBB0_32
## %bb.25:
	movl	48(%rbx), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_bcopy
	jmp	LBB0_33
LBB0_26:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_79
## %bb.29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	testl	%eax, %ecx
	je	LBB0_35
## %bb.31:
	movl	48(%rbx), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_bcopy
	jmp	LBB0_36
LBB0_32:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_arc4rand
LBB0_33:
	movq	_CRD_F_IV_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	jne	LBB0_37
## %bb.34:
	movl	(%r14), %edi
	movq	32(%rbx), %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	callq	_crypto_copyback
	jmp	LBB0_36
LBB0_35:
	movl	(%r14), %edi
	movq	32(%rbx), %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	callq	_crypto_copydata
LBB0_36:
	movq	-112(%rbp), %rax                ## 8-byte Reload
LBB0_37:
	cmpq	$130, (%rax)
	jne	LBB0_39
## %bb.38:
	movl	24(%r15), %eax
	movl	%eax, -88(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -84(%rbp)
LBB0_39:
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	leaq	-88(%rbp), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	*%rax
LBB0_41:
	movl	24(%r15), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	testl	%eax, %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_44
## %bb.42:
	movq	%r15, %rcx
	movslq	-56(%rbp), %r15                 ## 4-byte Folded Reload
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movl	-112(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %edi
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	addl	%ebx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r15d, %esi
	callq	_MIN
	movq	%r13, %r12
	movl	%eax, %r13d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rdx
	addq	%r14, %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %ecx
	movq	%r12, %r8
	callq	_crypto_copydata
	movslq	%r13d, %rax
	movq	%r12, %r13
	movq	-160(%rbp), %r12                ## 8-byte Reload
	leaq	(,%rax,8), %rdi
	addq	%r13, %rdi
	movl	%r15d, %esi
	subl	%eax, %esi
	callq	_bzero
	leaq	-88(%rbp), %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	*24(%r12)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	%r15, %r14
	movslq	24(%rcx), %rdi
	subl	%r15d, %ebx
	cmpq	%rdi, %r14
	jl	LBB0_43
LBB0_44:
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	8(%rcx), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	*%rax
LBB0_46:
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movl	24(%r15), %edi
	testl	%edi, %edi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_65
## %bb.47:
	shll	$2, -148(%rbp)                  ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_50
LBB0_64:                                ##   in Loop: Header=BB0_50 Depth=1
	leaq	-88(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	*24(%r12)
LBB0_48:                                ##   in Loop: Header=BB0_50 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	addq	40(%r15), %r14
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_crypto_copyback
LBB0_49:                                ##   in Loop: Header=BB0_50 Depth=1
	addl	%ebx, %r13d
	movl	24(%r15), %edi
	cmpl	%r13d, %edi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jle	LBB0_65
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=1
	subl	%r13d, %edi
	movl	%ebx, %esi
	callq	_rounddown
	movl	%ebx, %esi
	testl	%eax, %eax
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_50 Depth=1
	movl	%eax, %edi
	movl	-148(%rbp), %esi                ## 4-byte Reload
	callq	_MIN
	movl	%eax, %esi
LBB0_53:                                ##   in Loop: Header=BB0_50 Depth=1
	movl	24(%r15), %edi
	subl	%r13d, %edi
	callq	_MIN
	movl	%ebx, %ecx
	movl	%eax, %ebx
	cmpl	%ecx, %eax
	jge	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_50 Depth=1
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_bzero
LBB0_55:                                ##   in Loop: Header=BB0_50 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r14, %r8
	movslq	%r13d, %r14
	movq	40(%r15), %rdx
	addq	%r14, %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_crypto_copydata
	movq	_CRD_F_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_60
## %bb.56:                              ##   in Loop: Header=BB0_50 Depth=1
	cmpl	$0, -136(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_50 Depth=1
	leaq	-88(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	*24(%r12)
LBB0_58:                                ##   in Loop: Header=BB0_50 Depth=1
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_63
## %bb.59:                              ##   in Loop: Header=BB0_50 Depth=1
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	8(%rcx), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	*%rax
	cmpl	$0, -136(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_48
	jmp	LBB0_64
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_50 Depth=1
	cmpl	$0, -136(%rbp)                  ## 4-byte Folded Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_50 Depth=1
	xorl	%edi, %edi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	cmpq	$0, 16(%r15)
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movq	%r14, %rsi
	callq	*(%r15)
	movq	-144(%rbp), %r15                ## 8-byte Reload
LBB0_62:                                ##   in Loop: Header=BB0_50 Depth=1
	leaq	-88(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	*24(%r12)
	jmp	LBB0_49
LBB0_63:                                ##   in Loop: Header=BB0_50 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	*24(%rcx)
	cmpl	$0, -136(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_48
	jmp	LBB0_64
LBB0_65:
	movq	$-132, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	(%rcx), %rax
	cmpq	$2, %rax
	ja	LBB0_67
## %bb.66:
	movq	%r14, %rdi
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_bzero
	movl	-112(%rbp), %edi                ## 4-byte Reload
	shll	$3, %edi
	callq	_htobe32
	movl	%eax, 4(%r14)
	movl	24(%r15), %edi
	shll	$3, %edi
	callq	_htobe32
	movl	%eax, 12(%r14)
	leaq	-88(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	*24(%r12)
LBB0_67:
	leaq	-88(%rbp), %rsi
	movq	-176(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	*16(%r12)
	movq	_CRD_F_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rdx
	movl	8(%r12), %ecx
	testl	%esi, 8(%r15)
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	je	LBB0_70
## %bb.68:
	movq	%r14, %r8
	callq	_crypto_copyback
LBB0_69:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_70:
	movq	-168(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r8
	callq	_crypto_copydata
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_timingsafe_bcmp
	testl	%eax, %eax
	je	LBB0_72
## %bb.71:
	movq	_EBADMSG@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_72:
	cmpl	$0, -136(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_74
## %bb.73:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	*8(%rbx)
LBB0_74:
	movl	24(%r15), %edi
	testl	%edi, %edi
	jle	LBB0_69
## %bb.75:
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movslq	%ebx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	-144(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_77
LBB0_76:                                ##   in Loop: Header=BB0_77 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	40(%r15), %rdx
	addq	%r13, %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r14d, %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_crypto_copydata
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movq	%r14, %rsi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	callq	*(%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	40(%r15), %rdx
	addq	%r13, %rdx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %ecx
	movq	%r14, %r8
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	callq	_crypto_copyback
	addq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	movslq	24(%r15), %rdi
	subl	%ebx, %r12d
	xorl	%eax, %eax
	cmpq	%rdi, %r13
	jge	LBB0_28
LBB0_77:                                ## =>This Inner Loop Header: Depth=1
	addl	%r12d, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%ebx, %esi
	callq	_MIN
	movl	%eax, %r14d
	cmpl	%ebx, %eax
	jge	LBB0_76
## %bb.78:                              ##   in Loop: Header=BB0_77 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_bzero
	jmp	LBB0_76
LBB0_79:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EALG_MAX_BLOCK_LEN,4,2         ## @EALG_MAX_BLOCK_LEN
	.comm	_AALG_MAX_RESULT_LEN,4,2        ## @AALG_MAX_RESULT_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AES_CCM_IV_LEN,4,2             ## @AES_CCM_IV_LEN
	.comm	_CRD_F_IV_EXPLICIT,4,2          ## @CRD_F_IV_EXPLICIT
	.comm	_CRD_F_ENCRYPT,4,2              ## @CRD_F_ENCRYPT
	.comm	_CRD_F_IV_PRESENT,4,2           ## @CRD_F_IV_PRESENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"assume CCM is single-block only"

L_.str.1:                               ## @.str.1
	.asciz	"AES-CCM reinit function must be set"

	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.no_dead_strip	_swcr_authenc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swcr_authenc
_swcr_authenc:                          ; @swcr_authenc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #112
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x19, _EALG_MAX_BLOCK_LEN@GOTPAGE
Lloh4:
	ldr	x19, [x19, _EALG_MAX_BLOCK_LEN@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #4
	bl	_howmany
	stur	w0, [x29, #-180]                ; 4-byte Folded Spill
	mov	w8, w0
	lsl	x9, x8, #2
	add	x8, x9, #15
	and	x8, x8, #0x7fffffff0
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x8, x9, x8
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh7:
	adrp	x8, _AALG_MAX_RESULT_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AALG_MAX_RESULT_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x9, x9, x12
	stur	x9, [x29, #-176]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	stur	x8, [x29, #-192]                ; 8-byte Folded Spill
	mov	sp, x8
	ldr	w8, [x19]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	mov	sp, x8
	ldp	w0, w8, [x20, #16]
	stur	w8, [x29, #-148]                ; 4-byte Folded Spill
	bl	_crypto_get_driver_session
	stur	x20, [x29, #-168]               ; 8-byte Folded Spill
	ldr	x26, [x20, #8]
	cbz	x26, LBB0_26
; %bb.1:
	mov	x28, x0
	stur	wzr, [x29, #-132]               ; 4-byte Folded Spill
	mov	w27, #0
	mov	w22, #0
	stp	xzr, xzr, [x29, #-112]          ; 16-byte Folded Spill
	stp	xzr, xzr, [x29, #-128]          ; 16-byte Folded Spill
	mov	x23, #0
                                        ; implicit-def: $x21
	mov	w19, #1
	mov	w20, #11
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x9, lsl #5
	ldr	x8, [x8, #24]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
Lloh16:
	adrp	x8, _AES_CCM_IV_LEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AES_CCM_IV_LEN@GOTPAGEOFF]
Lloh18:
	ldr	w27, [x8]
	stp	x24, x26, [x29, #-120]          ; 16-byte Folded Spill
	ldr	x26, [x26, #56]
	cbz	x26, LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x0, [x28]
	bl	_nitems
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	mov	x24, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x28]
	ldr	x8, [x0, x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x24, x24, #1
	bl	_nitems
	add	x25, x25, #32
	cmp	x24, w0, sxtw
	b.lt	LBB0_5
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x28]
	bl	_nitems
	cmp	w24, w0
	b.eq	LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	mov	w9, w24
	add	x24, x8, x9, lsl #5
	ldr	x10, [x24]
	sub	x10, x10, #128
	cmp	x10, #6
	b.hi	LBB0_26
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	lsl	x11, x19, x10
	tst	x11, x20
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	lsl	x10, x19, x10
	tst	x10, #0x70
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w10, #1
	stur	w10, [x29, #-132]               ; 4-byte Folded Spill
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #12]
	cbz	w0, LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x8, #16]
	ldr	w2, [x23]
	sub	x1, x29, #96
	bl	_bcopy
	ldr	w22, [x23, #4]
	mov	x21, x24
	stur	x26, [x29, #-104]               ; 8-byte Folded Spill
	ldr	x26, [x26, #56]
	cbnz	x26, LBB0_3
LBB0_15:
	ldp	x19, x28, [x29, #-112]          ; 16-byte Folded Reload
	cbz	x19, LBB0_26
; %bb.16:
	cbz	x28, LBB0_26
; %bb.17:
	ldr	x8, [x19]
	cmp	x8, #131
	b.eq	LBB0_20
; %bb.18:
	cmp	x8, #129
	ldur	x25, [x29, #-144]               ; 8-byte Folded Reload
	ldur	w26, [x29, #-148]               ; 4-byte Folded Reload
	b.ne	LBB0_22
; %bb.19:
	ldr	x8, [x28]
	sub	x8, x8, #132
	cmp	x8, #3
	b.lo	LBB0_21
	b	LBB0_26
LBB0_20:
	ldr	x8, [x28]
	cmp	x8, #130
	ldur	x25, [x29, #-144]               ; 8-byte Folded Reload
	ldur	w26, [x29, #-148]               ; 4-byte Folded Reload
	b.ne	LBB0_26
LBB0_21:
	ldr	w8, [x19, #8]
Lloh19:
	adrp	x9, _CRD_F_IV_EXPLICIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CRD_F_IV_EXPLICIT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
LBB0_22:
	ldr	x8, [x19, #16]
	ldr	x9, [x28, #16]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.23:
	ldr	w9, [x19, #8]
Lloh22:
	adrp	x8, _CRD_F_ENCRYPT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CRD_F_ENCRYPT@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x8]
Lloh25:
	adrp	x8, _CRD_F_IV_EXPLICIT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CRD_F_IV_EXPLICIT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	and	w8, w8, w9
	tst	w10, w9
	b.eq	LBB0_30
; %bb.24:
	cbz	w8, LBB0_32
; %bb.25:
	ldr	w0, [x19, #48]
	ldur	x1, [x29, #-160]                ; 8-byte Folded Reload
	mov	x2, x27
	bl	_bcopy
	b	LBB0_33
LBB0_26:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_27:
	ldr	w0, [x8]
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_78
; %bb.29:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	cbz	w8, LBB0_35
; %bb.31:
	ldr	w0, [x19, #48]
	ldur	x1, [x29, #-160]                ; 8-byte Folded Reload
	mov	x2, x27
	bl	_bcopy
	b	LBB0_36
LBB0_32:
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	mov	x1, x27
	mov	w2, #0
	bl	_arc4rand
LBB0_33:
	ldr	w8, [x19, #8]
Lloh33:
	adrp	x9, _CRD_F_IV_PRESENT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CRD_F_IV_PRESENT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_36
; %bb.34:
	ldp	x8, x4, [x29, #-168]            ; 16-byte Folded Reload
	ldr	w0, [x8]
	ldr	x2, [x19, #32]
	mov	x1, x26
	mov	x3, x27
	bl	_crypto_copyback
	b	LBB0_36
LBB0_35:
	ldp	x8, x4, [x29, #-168]            ; 16-byte Folded Reload
	ldr	w0, [x8]
	ldr	x2, [x19, #32]
	mov	x1, x26
	mov	x3, x27
	bl	_crypto_copydata
LBB0_36:
	ldr	x8, [x21]
	cmp	x8, #130
	b.ne	LBB0_38
; %bb.37:
	ldr	w8, [x28, #24]
	ldr	w9, [x19, #24]
	stp	w8, w9, [x29, #-96]
LBB0_38:
	ldr	x8, [x23, #32]
	ldur	x21, [x29, #-168]               ; 8-byte Folded Reload
	cbz	x8, LBB0_40
; %bb.39:
	sub	x0, x29, #96
	ldur	x1, [x29, #-160]                ; 8-byte Folded Reload
	mov	x2, x27
	blr	x8
LBB0_40:
	ldr	w8, [x28, #24]
	stur	w8, [x29, #-148]                ; 4-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_43
; %bb.41:
	mov	w19, #0
	mov	x20, #0
	sxtw	x24, w22
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w8, w19
	mov	x1, x22
	bl	_MIN
	mov	x27, x0
	ldr	w0, [x21]
	ldr	x8, [x28, #40]
	add	x2, x20, x8
	mov	x1, x26
	mov	x3, x27
	mov	x4, x25
	bl	_crypto_copydata
	add	x0, x25, w27, sxtw #3
	sub	w1, w22, w27
	bl	_bzero
	ldr	x8, [x23, #24]
	sub	x0, x29, #96
	mov	x1, x25
	mov	x2, x22
	blr	x8
	ldrsw	x8, [x28, #24]
	sub	w19, w19, w22
	add	x20, x20, x24
	cmp	x20, x8
	b.lt	LBB0_42
LBB0_43:
	ldur	x20, [x29, #-128]               ; 8-byte Folded Reload
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_45
; %bb.44:
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w0, [x9, #8]
	ldur	x1, [x29, #-160]                ; 8-byte Folded Reload
	blr	x8
LBB0_45:
	ldur	x19, [x29, #-112]               ; 8-byte Folded Reload
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_64
; %bb.46:
	mov	w24, #0
	ldur	w9, [x29, #-180]                ; 4-byte Folded Reload
	lsl	w9, w9, #2
	stur	w9, [x29, #-144]                ; 4-byte Folded Spill
	b	LBB0_50
LBB0_47:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x23, #24]
	sub	x0, x29, #96
	mov	x1, x25
	mov	x2, x28
	blr	x8
LBB0_48:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	w0, [x21]
	ldur	x19, [x29, #-112]               ; 8-byte Folded Reload
	ldr	x8, [x19, #40]
	add	x2, x8, x27
	mov	x1, x26
	mov	x3, x28
	mov	x4, x25
	bl	_crypto_copyback
LBB0_49:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	w8, [x19, #24]
	add	w24, w28, w24
	cmp	w8, w24
	b.le	LBB0_64
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	mov	x1, x22
	cbz	x9, LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_50 Depth=1
	sub	w0, w8, w24
	mov	x1, x22
	bl	_rounddown
	mov	x1, x22
	cbz	w0, LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_50 Depth=1
	ldur	w1, [x29, #-144]                ; 4-byte Folded Reload
	bl	_MIN
	mov	x1, x0
LBB0_53:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	w8, [x19, #24]
	sub	w0, w8, w24
	bl	_MIN
	mov	x28, x0
	cmp	w0, w22
	b.ge	LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_50 Depth=1
	mov	x0, x25
	mov	x1, x22
	bl	_bzero
LBB0_55:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	w0, [x21]
	ldr	x8, [x19, #40]
	sxtw	x27, w24
	add	x2, x8, x27
	mov	x1, x26
	mov	x3, x28
	mov	x4, x25
	bl	_crypto_copydata
	ldr	w8, [x19, #8]
Lloh36:
	adrp	x9, _CRD_F_ENCRYPT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _CRD_F_ENCRYPT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_60
; %bb.56:                               ;   in Loop: Header=BB0_50 Depth=1
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	cbz	w8, LBB0_58
; %bb.57:                               ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x23, #24]
	sub	x0, x29, #96
	mov	x1, x25
	mov	x2, x28
	blr	x8
LBB0_58:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_63
; %bb.59:                               ;   in Loop: Header=BB0_50 Depth=1
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w0, [x9, #8]
	mov	x1, x25
	mov	x2, x28
	blr	x8
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	cbnz	w8, LBB0_48
	b	LBB0_47
LBB0_60:                                ;   in Loop: Header=BB0_50 Depth=1
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	cbz	w8, LBB0_62
; %bb.61:                               ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, eq
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	x8, [x20]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w0, [x9, #8]
	mov	x1, x25
	blr	x8
LBB0_62:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x23, #24]
	sub	x0, x29, #96
	mov	x1, x25
	mov	x2, x28
	blr	x8
	ldur	x19, [x29, #-112]               ; 8-byte Folded Reload
	b	LBB0_49
LBB0_63:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x20, #24]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w0, [x9, #8]
	mov	x1, x25
	blr	x8
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	cbnz	w8, LBB0_48
	b	LBB0_47
LBB0_64:
	ldur	x27, [x29, #-104]               ; 8-byte Folded Reload
	ldr	x8, [x27]
	sub	x8, x8, #132
	cmp	x8, #2
	b.hi	LBB0_66
; %bb.65:
	mov	x0, x25
	mov	x1, x22
	bl	_bzero
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	lsl	w0, w8, #3
	bl	_htobe32
	str	w0, [x25, #4]
	ldr	w8, [x19, #24]
	lsl	w0, w8, #3
	bl	_htobe32
	str	w0, [x25, #12]
	ldr	x8, [x23, #24]
	sub	x0, x29, #96
	mov	x1, x25
	mov	x2, x22
	blr	x8
LBB0_66:
	ldr	x8, [x23, #16]
	sub	x1, x29, #96
	ldur	x24, [x29, #-176]               ; 8-byte Folded Reload
	mov	x0, x24
	blr	x8
	ldr	w8, [x19, #8]
Lloh41:
	adrp	x9, _CRD_F_ENCRYPT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _CRD_F_ENCRYPT@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	ldr	w0, [x21]
	ldr	x2, [x27, #32]
	ldr	w3, [x23, #8]
	tst	w9, w8
	b.eq	LBB0_69
; %bb.67:
	mov	x1, x26
	mov	x4, x24
	bl	_crypto_copyback
LBB0_68:
	mov	w0, #0
	b	LBB0_28
LBB0_69:
	mov	x1, x26
	ldur	x27, [x29, #-192]               ; 8-byte Folded Reload
	mov	x4, x27
	bl	_crypto_copydata
	ldr	w2, [x23, #8]
	mov	x0, x24
	mov	x1, x27
	bl	_timingsafe_bcmp
	cbz	w0, LBB0_71
; %bb.70:
Lloh44:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
	b	LBB0_27
LBB0_71:
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	cbz	w8, LBB0_73
; %bb.72:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, ne
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	ldr	x8, [x20, #8]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w0, [x9, #8]
	ldur	x1, [x29, #-160]                ; 8-byte Folded Reload
	blr	x8
LBB0_73:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_68
; %bb.74:
	mov	w19, #0
	mov	x20, #0
	mov	x9, x22
	sxtw	x24, w9
	ldur	x27, [x29, #-112]               ; 8-byte Folded Reload
	b	LBB0_76
LBB0_75:                                ;   in Loop: Header=BB0_76 Depth=1
	ldr	w0, [x21]
	ldr	x8, [x27, #40]
	add	x2, x20, x8
	mov	x1, x26
	mov	x3, x23
	mov	x4, x25
	bl	_crypto_copydata
	ldp	x8, x9, [x29, #-128]            ; 16-byte Folded Reload
	ldr	x8, [x8]
	ldr	w0, [x9, #8]
	mov	x1, x25
	blr	x8
	ldr	w0, [x21]
	ldr	x8, [x27, #40]
	add	x2, x20, x8
	mov	x1, x26
	mov	x3, x23
	mov	x4, x25
	bl	_crypto_copyback
	mov	w0, #0
	ldrsw	x8, [x27, #24]
	sub	w19, w19, w22
	add	x20, x20, x24
	cmp	x20, x8
	b.ge	LBB0_28
LBB0_76:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w8, w19
	mov	x1, x22
	bl	_MIN
	mov	x23, x0
	cmp	w0, w22
	b.ge	LBB0_75
; %bb.77:                               ;   in Loop: Header=BB0_76 Depth=1
	mov	x0, x25
	mov	x1, x22
	bl	_bzero
	b	LBB0_75
LBB0_78:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_EALG_MAX_BLOCK_LEN,4,2         ; @EALG_MAX_BLOCK_LEN
	.comm	_AALG_MAX_RESULT_LEN,4,2        ; @AALG_MAX_RESULT_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AES_CCM_IV_LEN,4,2             ; @AES_CCM_IV_LEN
	.comm	_CRD_F_IV_EXPLICIT,4,2          ; @CRD_F_IV_EXPLICIT
	.comm	_CRD_F_ENCRYPT,4,2              ; @CRD_F_ENCRYPT
	.comm	_CRD_F_IV_PRESENT,4,2           ; @CRD_F_IV_PRESENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"assume CCM is single-block only"

l_.str.1:                               ; @.str.1
	.asciz	"AES-CCM reinit function must be set"

	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.no_dead_strip	_swcr_authenc
.subsections_via_symbols
