	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMAC_Final                     ## -- Begin function CMAC_Final
	.p2align	4, 0x90
_CMAC_Final:                            ## @CMAC_Final
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpl	$-1, (%rdi)
	je	LBB0_22
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	callq	_EVP_CIPHER_CTX_block_size
	movl	%eax, %r15d
	cltq
	movq	%rax, (%r13)
	movl	$1, %r14d
	testq	%r12, %r12
	je	LBB0_22
## %bb.2:
	movslq	(%rbx), %rax
	cmpl	%eax, %r15d
	jne	LBB0_10
## %bb.3:
	testl	%r15d, %r15d
	jle	LBB0_20
## %bb.4:
	movl	%r15d, %r8d
	cmpl	$1, %r15d
	jne	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_10:
	movq	8(%rbx), %rcx
	movb	$-128, (%rcx,%rax)
	movl	%r15d, %edx
	subl	%eax, %edx
	cmpl	$2, %edx
	jl	LBB0_12
## %bb.11:
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	decl	%edx
	xorl	%esi, %esi
	callq	_memset
LBB0_12:
	testl	%r15d, %r15d
	jle	LBB0_20
## %bb.13:
	movl	%r15d, %r8d
	cmpl	$1, %r15d
	jne	LBB0_15
## %bb.14:
	xorl	%ecx, %ecx
	jmp	LBB0_17
LBB0_6:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	movzbl	(%rdi,%rcx), %eax
	xorb	(%rsi,%rcx), %al
	movb	%al, (%r12,%rcx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	movzbl	1(%rsi,%rcx), %edx
	xorb	1(%rax,%rcx), %dl
	movb	%dl, 1(%r12,%rcx)
	addq	$2, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_7
LBB0_8:
	testb	$1, %r8b
	je	LBB0_20
## %bb.9:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rdx
	jmp	LBB0_19
LBB0_15:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rdi
	movzbl	(%rdi,%rcx), %eax
	xorb	(%rsi,%rcx), %al
	movb	%al, (%r12,%rcx)
	movq	8(%rbx), %rax
	movq	24(%rbx), %rsi
	movzbl	1(%rsi,%rcx), %edx
	xorb	1(%rax,%rcx), %dl
	movb	%dl, 1(%r12,%rcx)
	addq	$2, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_16
LBB0_17:
	testb	$1, %r8b
	je	LBB0_20
## %bb.18:
	movq	8(%rbx), %rax
	movq	24(%rbx), %rdx
LBB0_19:
	movb	(%rdx,%rcx), %dl
	xorb	(%rax,%rcx), %dl
	movb	%dl, (%r12,%rcx)
LBB0_20:
	movl	32(%rbx), %edi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_EVP_Cipher
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_OPENSSL_cleanse
	xorl	%r14d, %r14d
LBB0_22:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMAC_Final                     ; -- Begin function CMAC_Final
	.p2align	2
_CMAC_Final:                            ; @CMAC_Final
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_14
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0, #32]
	bl	_EVP_CIPHER_CTX_block_size
	mov	x20, x0
	sxtw	x8, w20
	str	x8, [x22]
	cbz	x19, LBB0_12
; %bb.2:
	ldrsw	x8, [x21]
	cmp	w20, w8
	b.ne	LBB0_6
; %bb.3:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x8, #0
	mov	w9, w20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x11, [x21, #8]
	ldrb	w10, [x10, x8]
	ldrb	w11, [x11, x8]
	eor	w10, w11, w10
	strb	w10, [x19, x8]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_5
	b	LBB0_11
LBB0_6:
	ldr	x9, [x21, #8]
	mov	w10, #128
	strb	w10, [x9, x8]
	sub	w9, w20, w8
	subs	w2, w9, #1
	b.le	LBB0_8
; %bb.7:
	ldr	x9, [x21, #8]
	add	x8, x9, x8
	add	x0, x8, #1
	mov	w1, #0
	bl	_memset
LBB0_8:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x8, #0
	mov	w9, w20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, #8]
	ldrb	w10, [x10, x8]
	ldr	x11, [x21, #24]
	ldrb	w11, [x11, x8]
	eor	w10, w11, w10
	strb	w10, [x19, x8]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_10
LBB0_11:
	ldr	w0, [x21, #32]
	mov	x1, x19
	mov	x2, x19
	mov	x3, x20
	bl	_EVP_Cipher
	cbz	w0, LBB0_13
LBB0_12:
	mov	w0, #1
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_OPENSSL_cleanse
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
