	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_ccm
_check_ccm:                             ## @check_ccm
	.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	$376, %rsp                      ## imm = 0x178
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r14
	movq	%r8, -408(%rbp)                 ## 8-byte Spill
	movq	%rcx, -392(%rbp)                ## 8-byte Spill
	movq	%rdx, -384(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	cmpq	%r9, 40(%rbp)
	movq	%r9, -400(%rbp)                 ## 8-byte Spill
	sete	%dil
	callq	_assert
	leaq	-372(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_cf_aes_init
	movl	$15, %r13d
	movq	24(%rbp), %rax
	subl	%eax, %r13d
	leaq	-240(%rbp), %r12
	leaq	-176(%rbp), %r11
	movq	_cf_aes@GOTPCREL(%rip), %rdi
	leaq	-372(%rbp), %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movl	%r13d, %r8d
	movq	-384(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	movq	56(%rbp), %r15
	pushq	%r15
	pushq	%r12
	pushq	%r11
	pushq	%rax
	pushq	16(%rbp)
	movq	-392(%rbp), %r14                ## 8-byte Reload
	pushq	%r14
	callq	_cf_ccm_encrypt
	addq	$48, %rsp
	movq	%r12, %rdi
	movq	48(%rbp), %rsi
	movq	%r15, %rdx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_TEST_CHECK
	leaq	-176(%rbp), %rdi
	movq	32(%rbp), %r15
	movq	%r15, %rsi
	movq	40(%rbp), %r12
	movq	%r12, %rdx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_TEST_CHECK
	leaq	-368(%rbp), %r10
	movq	_cf_aes@GOTPCREL(%rip), %rdi
	leaq	-372(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r12, %r15
	movq	%r12, %rcx
	movl	%r13d, %r8d
	movq	%rbx, %r9
	pushq	%r10
	movq	%r10, %r12
	pushq	56(%rbp)
	leaq	-240(%rbp), %rax
	pushq	%rax
	pushq	24(%rbp)
	movq	16(%rbp), %rax
	pushq	%rax
	pushq	%r14
	callq	_cf_ccm_decrypt
	addq	$48, %rsp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_CHECK
	movq	%r12, %rdi
	movq	-408(%rbp), %rsi                ## 8-byte Reload
	movq	-400(%rbp), %rdx                ## 8-byte Reload
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_TEST_CHECK
	notb	-240(%rbp)
	movq	_cf_aes@GOTPCREL(%rip), %rdi
	leaq	-372(%rbp), %rsi
	movq	32(%rbp), %rdx
	movq	%r15, %rcx
	movl	%r13d, %r8d
	movq	%rbx, %r9
	pushq	%r12
	pushq	56(%rbp)
	leaq	-240(%rbp), %rax
	pushq	%rax
	pushq	24(%rbp)
	pushq	16(%rbp)
	pushq	%r14
	callq	_cf_ccm_decrypt
	addq	$48, %rsp
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_TEST_CHECK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$376, %rsp                      ## imm = 0x178
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cf_aes,4,2                     ## @cf_aes
	.no_dead_strip	_check_ccm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_ccm
_check_ccm:                             ; @check_ccm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #496
	.cfi_def_cfa_offset 496
	stp	x28, x27, [sp, #400]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #416]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #432]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #448]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #464]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #480]            ; 16-byte Folded Spill
	add	x29, sp, #480
	.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
	mov	x21, x7
	str	x6, [sp, #32]                   ; 8-byte Folded Spill
	mov	x26, x5
	mov	x23, x4
	str	x4, [sp, #48]                   ; 8-byte Folded Spill
	mov	x22, x3
	mov	x20, x2
	mov	x28, x1
	mov	x27, x0
	ldp	x19, x25, [x29, #32]
	ldr	x8, [x29, #16]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x24, [x29, #24]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cmp	x24, x5
	cset	w0, eq
	bl	_assert
	add	x0, sp, #60
	mov	x1, x27
	mov	x2, x28
	bl	_cf_aes_init
	mov	w8, #15
	sub	w28, w8, w21
	add	x8, sp, #192
	stp	x8, x25, [sp, #16]
	sub	x8, x29, #224
	stp	x21, x8, [sp]
Lloh3:
	adrp	x0, _cf_aes@GOTPAGE
Lloh4:
	ldr	x0, [x0, _cf_aes@GOTPAGEOFF]
	add	x1, sp, #60
	mov	x2, x23
	mov	x3, x26
	mov	x4, x28
	mov	x5, x20
	mov	x6, x22
	ldr	x27, [sp, #32]                  ; 8-byte Folded Reload
	mov	x7, x27
	bl	_cf_ccm_encrypt
	add	x0, sp, #192
	mov	x1, x19
	mov	x2, x25
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_TEST_CHECK
	sub	x0, x29, #224
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x24
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_TEST_CHECK
	add	x19, sp, #64
	stp	x25, x19, [sp, #16]
	add	x8, sp, #192
	stp	x21, x8, [sp]
	add	x1, sp, #60
Lloh5:
	adrp	x0, _cf_aes@GOTPAGE
Lloh6:
	ldr	x0, [x0, _cf_aes@GOTPAGEOFF]
	mov	x2, x23
	mov	x3, x24
	mov	x4, x28
	mov	x5, x20
	mov	x6, x22
	mov	x7, x27
	bl	_cf_ccm_decrypt
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_CHECK
	add	x0, sp, #64
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x26
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_TEST_CHECK
	ldr	w8, [sp, #192]
	eor	w8, w8, #0xff
	str	w8, [sp, #192]
	stp	x25, x19, [sp, #16]
	add	x1, sp, #60
	add	x8, sp, #192
	stp	x21, x8, [sp]
Lloh7:
	adrp	x0, _cf_aes@GOTPAGE
Lloh8:
	ldr	x0, [x0, _cf_aes@GOTPAGEOFF]
	mov	x2, x23
	mov	x3, x24
	mov	x4, x28
	mov	x5, x20
	mov	x6, x22
	mov	x7, x27
	bl	_cf_ccm_decrypt
	cmp	w0, #1
	cset	w0, eq
	bl	_TEST_CHECK
	ldur	x8, [x29, #-96]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #480]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #464]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #448]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #432]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #416]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #400]            ; 16-byte Folded Reload
	add	sp, sp, #496
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cf_aes,4,2                     ; @cf_aes
	.no_dead_strip	_check_ccm
.subsections_via_symbols
