	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cf_ccm_decrypt                 ## -- Begin function cf_ccm_decrypt
	.p2align	4, 0x90
_cf_ccm_decrypt:                        ## @cf_ccm_decrypt
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	48(%rbp), %r12
	movq	32(%rbp), %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CF_MAXBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	leaq	-4(%r12), %rax
	movl	%r12d, %edi
	notl	%edi
	andl	$1, %edi
	xorl	%ecx, %ecx
	cmpq	$13, %rax
	cmovael	%ecx, %edi
	callq	_assert
	leaq	-2(%r14), %rax
	xorl	%edi, %edi
	cmpq	$7, %rax
	setb	%dil
	callq	_assert
	movq	%r14, %rax
	notq	%rax
	addq	(%r13), %rax
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	movq	%rbx, %r12
	sete	%dil
	callq	_assert
	movq	_CF_MAXBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	24(%rbp), %rdx
	movq	%r12, %rcx
	callq	_build_ctr_nonce
	leaq	-124(%rbp), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_cf_ctr_init
	movq	(%r13), %rsi
	subq	%r14, %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_cf_ctr_custom_counter
	movq	_CF_MAXBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	%r12, %rdi
	movq	40(%rbp), %rsi
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	48(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_cf_ctr_cipher
	movq	%r12, %rdi
	callq	_cf_ctr_discard_block
	movq	%r12, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	56(%rbp), %rdx
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rcx
	callq	_cf_ctr_cipher
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_cf_cbcmac_stream_init
	movq	(%r13), %rdx
	movq	%rbx, %r13
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	24(%rbp), %rcx
	movq	32(%rbp), %r8
	movq	%r14, %r9
	pushq	%r13
	movq	16(%rbp), %r14
	pushq	%r14
	pushq	%r15
	callq	_add_block0
	addq	$32, %rsp
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%r14, %rcx
	leaq	-52(%rbp), %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_add_aad
LBB0_2:
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	movq	56(%rbp), %rsi
	movq	%r15, %rdx
	callq	_cf_cbcmac_stream_update
	movq	%r12, %rdi
	callq	_zero_pad
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cf_cbcmac_stream_nopad_final
	movq	%rbx, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_mem_eq
	testl	%eax, %eax
	movl	$0, %r12d
	jne	LBB0_4
## %bb.3:
	movq	56(%rbp), %rdi
	movl	%r15d, %esi
	callq	_mem_clean
	movl	$1, %r12d
LBB0_4:
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	shll	$2, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mem_clean
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	shll	$2, %esi
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mem_clean
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CF_MAXBLOCK,4,2                ## @CF_MAXBLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cf_ccm_decrypt                 ; -- Begin function cf_ccm_decrypt
	.p2align	2
_cf_ccm_decrypt:                        ; @cf_ccm_decrypt
	.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, #80
	mov	x23, x7
	stp	x3, x6, [x29, #-120]            ; 16-byte Folded Spill
	mov	x26, x4
	stur	x2, [x29, #-128]                ; 8-byte Folded Spill
	mov	x25, x1
	mov	x28, x0
	ldp	x22, x24, [x29, #32]
	ldp	x27, x8, [x29, #16]
	stp	x5, x8, [x29, #-152]            ; 16-byte Folded Spill
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	x9, _CF_MAXBLOCK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CF_MAXBLOCK@GOTPAGEOFF]
	ldr	w8, [x9]
	mov	x19, x9
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x8, x22, #4
	mvn	w9, w22
	and	w9, w9, #0x1
	cmp	x8, #13
	csel	w0, w9, wzr, lo
	bl	_assert
	sub	x8, x26, #2
	cmp	x8, #7
	cset	w0, lo
	bl	_assert
	ldr	x8, [x28]
	mvn	x9, x26
	add	x8, x8, x9
	cmp	x8, x27
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x20
	mov	x1, x26
	mov	x2, x23
	mov	x19, x23
	mov	x3, x27
	bl	_build_ctr_nonce
	sub	x0, x29, #92
	mov	x1, x28
	mov	x2, x25
	mov	x3, x20
	bl	_cf_ctr_init
	ldr	x8, [x28]
	sub	x1, x8, x26
	sub	x0, x29, #92
	mov	x2, x26
	bl	_cf_ctr_custom_counter
Lloh9:
	adrp	x8, _CF_MAXBLOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CF_MAXBLOCK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	lsl	x8, x8, #2
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x0, x29, #92
	ldur	x1, [x29, #-144]                ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, x22
	bl	_cf_ctr_cipher
	sub	x0, x29, #92
	bl	_cf_ctr_discard_block
	sub	x0, x29, #92
	mov	x23, x24
	mov	x2, x24
	ldp	x1, x24, [x29, #-128]           ; 16-byte Folded Reload
	mov	x3, x24
	bl	_cf_ctr_cipher
	sub	x0, x29, #96
	mov	x1, x28
	mov	x2, x25
	bl	_cf_cbcmac_stream_init
	ldr	x2, [x28]
	str	x22, [sp, #-16]!
	sub	x0, x29, #96
	mov	x1, x21
	mov	x3, x19
	mov	x19, x24
	mov	x4, x27
	mov	x5, x26
	mov	x6, x24
	ldur	x24, [x29, #-112]               ; 8-byte Folded Reload
	mov	x7, x24
	bl	_add_block0
	add	sp, sp, #16
	cbz	x24, LBB0_2
; %bb.1:
	sub	x0, x29, #96
	mov	x1, x21
	ldur	x2, [x29, #-152]                ; 8-byte Folded Reload
	mov	x3, x24
	bl	_add_aad
LBB0_2:
	sub	x0, x29, #96
	mov	x1, x23
	mov	x2, x19
	bl	_cf_cbcmac_stream_update
	sub	x0, x29, #96
	bl	_zero_pad
	sub	x0, x29, #96
	mov	x1, x21
	bl	_cf_cbcmac_stream_nopad_final
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_mem_eq
	cbz	w0, LBB0_4
; %bb.3:
	mov	w19, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x23
	mov	x1, x19
	bl	_mem_clean
	mov	w19, #1
LBB0_5:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	lsl	w1, w8, #2
	mov	x0, x21
	bl	_mem_clean
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	lsl	w1, w8, #2
	mov	x0, x20
	bl	_mem_clean
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	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_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CF_MAXBLOCK,4,2                ; @CF_MAXBLOCK
.subsections_via_symbols
