	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMAC_Update                    ## -- Begin function CMAC_Update
	.p2align	4, 0x90
_CMAC_Update:                           ## @CMAC_Update
	.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
	cmpl	$-1, (%rdi)
	je	LBB0_10
## %bb.1:
	movq	%rdx, %rbx
	movl	$1, %r14d
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	20(%rdi), %edi
	callq	_EVP_CIPHER_CTX_block_size
	movq	%rax, %r13
	movl	(%r15), %edi
	testl	%edi, %edi
	jle	LBB0_8
## %bb.3:
	movq	%r13, %r14
	subq	%rdi, %r14
	cmpq	%rbx, %r14
	cmovaeq	%rbx, %r14
	addq	8(%r15), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	addl	%r14d, (%r15)
	subq	%r14, %rbx
	je	LBB0_12
## %bb.4:
	movl	20(%r15), %edi
	movl	16(%r15), %esi
	movq	8(%r15), %rdx
	movq	%r13, %rcx
	callq	_EVP_Cipher
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	addq	%r14, %r12
	movl	$1, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_EVP_Cipher
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	subq	%r13, %rbx
	addq	%r13, %r12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, %rbx
	ja	LBB0_6
## %bb.9:
	movq	8(%r15), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movl	%ebx, (%r15)
	jmp	LBB0_11
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$1, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMAC_Update                    ; -- Begin function CMAC_Update
	.p2align	2
_CMAC_Update:                           ; @CMAC_Update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_11
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_10
; %bb.2:
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #20]
	bl	_EVP_CIPHER_CTX_block_size
	mov	x22, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	sub	x9, x22, x8
	cmp	x9, x19
	csel	x23, x9, x19, lo
	ldr	x9, [x20, #8]
	add	x0, x9, x8
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, w23
	str	w8, [x20]
	subs	x19, x19, x23
	b.eq	LBB0_10
; %bb.4:
	ldp	w1, w0, [x20, #16]
	ldr	x2, [x20, #8]
	mov	x3, x22
	bl	_EVP_Cipher
	cbz	w0, LBB0_12
; %bb.5:
	add	x21, x21, x23
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldp	w1, w0, [x20, #16]
	mov	x2, x21
	mov	x3, x22
	bl	_EVP_Cipher
	cbz	w0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, x22
	sub	x19, x19, x22
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x19, x22
	b.hi	LBB0_6
; %bb.9:
	ldr	x0, [x20, #8]
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	str	w19, [x20]
LBB0_10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
