	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_ccm128_encrypt          ## -- Begin function CRYPTO_ccm128_encrypt
	.p2align	4, 0x90
_CRYPTO_ccm128_encrypt:                 ## @CRYPTO_ccm128_encrypt
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rdi
	movq	32(%r15), %rdx
	movzbl	(%rdi), %r14d
	movl	%r14d, %eax
	movq	40(%r15), %rcx
	movb	%r14b, -65(%rbp)                ## 1-byte Spill
	testb	$64, %r14b
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	16(%r15), %rsi
	callq	*%rcx
	incl	(%r15)
	movq	8(%r15), %rdi
LBB0_2:
	andl	$7, %r14d
	movb	%r14b, (%rdi)
	movq	%r14, %rdx
	xorq	$15, %rdx
	testq	%r14, %r14
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	cmpl	$15, %edx
	movl	$14, %r8d
	cmovael	%edx, %r8d
	incl	%r8d
	subq	%rdx, %r8
	cmpl	$13, %edx
	jbe	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	movq	%r8, %rsi
	andq	$-2, %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	movzbl	(%rdi,%rdx), %ecx
	orq	%rax, %rcx
	movb	$0, (%rdi,%rdx)
	movq	8(%r15), %rdi
	movzbl	1(%rdi,%rdx), %eax
	movb	$0, 1(%rdi,%rdx)
	shlq	$16, %rcx
	shlq	$8, %rax
	orq	%rcx, %rax
	addq	$2, %rdx
	addq	$-2, %rsi
	jne	LBB0_7
LBB0_8:
	testb	$1, %r8b
	je	LBB0_10
## %bb.9:
	movq	8(%r15), %rcx
	movzbl	(%rcx,%rdx), %esi
	orq	%rsi, %rax
	movb	$0, (%rcx,%rdx)
	shlq	$8, %rax
LBB0_10:
	movq	8(%r15), %rcx
	movzbl	15(%rcx), %edx
	orq	%rax, %rdx
	movb	$1, 15(%rcx)
	movl	$-1, %eax
	cmpq	%r12, %rdx
	jne	LBB0_29
## %bb.11:
	leaq	15(%r12), %rax
	shrq	$3, %rax
	orl	$1, %eax
	addl	%eax, (%r15)
	movl	$1, %edi
	callq	_U64
	cmpq	$16, %r12
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jb	LBB0_15
## %bb.12:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movl	(%r13), %eax
	movq	24(%r15), %rcx
	xorl	%eax, (%rcx)
	movl	4(%r13), %eax
	xorl	%eax, 4(%rcx)
	movq	16(%r15), %rdi
	movq	%rdi, %rsi
	movq	%r14, %rdx
	movq	%r12, %r13
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	callq	*%r12
	movq	8(%r15), %rdi
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdx
	callq	*%r12
	movq	%r13, %r12
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	8(%r15), %rdi
	callq	_ctr64_inc
	movl	(%r13), %eax
	xorl	-64(%rbp), %eax
	movl	%eax, (%rbx)
	movl	4(%r13), %eax
	xorl	-60(%rbp), %eax
	movl	%eax, 4(%rbx)
	addq	$16, %r13
	addq	$16, %rbx
	addq	$-16, %r12
	cmpq	$15, %r12
	ja	LBB0_13
## %bb.14:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_15:
	testq	%r12, %r12
	je	LBB0_20
## %bb.16:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rax), %ecx
	movq	16(%r15), %rdx
	xorb	%cl, (%rdx,%rax)
	incl	%eax
	cmpq	%rax, %r12
	ja	LBB0_17
## %bb.18:
	movq	16(%r15), %rdi
	movq	%rdi, %rsi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	callq	*%r15
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdx
	callq	*%r15
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rax), %ecx
	xorb	-64(%rbp,%rax), %cl
	movb	%cl, (%rbx,%rax)
	incl	%eax
	cmpq	%rax, %r12
	ja	LBB0_19
LBB0_20:
	movq	8(%r15), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movb	$0, (%rax,%rcx)
	cmpq	$15, %rcx
	je	LBB0_28
## %bb.21:
	movq	8(%r15), %rax
	movb	$0, 1(%rax,%rcx)
	cmpq	$14, %rcx
	je	LBB0_28
## %bb.22:
	movq	8(%r15), %rax
	movb	$0, 2(%rax,%rcx)
	cmpq	$13, %rcx
	je	LBB0_28
## %bb.23:
	movq	8(%r15), %rax
	movb	$0, 3(%rax,%rcx)
	cmpq	$12, %rcx
	je	LBB0_28
## %bb.24:
	movq	8(%r15), %rax
	movb	$0, 4(%rax,%rcx)
	cmpq	$11, %rcx
	je	LBB0_28
## %bb.25:
	movq	8(%r15), %rax
	movb	$0, 5(%rax,%rcx)
	cmpq	$10, %rcx
	je	LBB0_28
## %bb.26:
	movq	8(%r15), %rax
	movb	$0, 6(%rax,%rcx)
	addq	$7, %rcx
	cmpq	$16, %rcx
	je	LBB0_28
## %bb.27:
	movq	8(%r15), %rax
	movb	$0, (%rax,%rcx)
LBB0_28:
	movq	8(%r15), %rdi
	leaq	-64(%rbp), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	*-88(%rbp)                      ## 8-byte Folded Reload
	movl	-64(%rbp), %eax
	movq	24(%r15), %rcx
	xorl	%eax, (%rcx)
	movl	-60(%rbp), %eax
	xorl	%eax, 4(%rcx)
	movq	8(%r15), %rax
	movb	-65(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, (%rax)
	xorl	%eax, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_ccm128_encrypt          ; -- Begin function CRYPTO_ccm128_encrypt
	.p2align	2
_CRYPTO_ccm128_encrypt:                 ; @CRYPTO_ccm128_encrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x0, [x0, #8]
	ldrb	w24, [x0]
	ldp	x20, x25, [x19, #32]
	tbnz	w24, #6, LBB0_2
; %bb.1:
	ldr	x1, [x19, #16]
	mov	x2, x20
	blr	x25
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x0, [x19, #8]
LBB0_2:
	and	x8, x24, #0x7
	strb	w8, [x0]
	eor	x26, x8, #0xf
	cbz	w8, LBB0_5
; %bb.3:
	mov	x8, #0
	mov	w9, #14
	cmp	w26, #14
	csel	w9, w26, w9, hi
	add	w9, w9, #1
	mov	x10, x26
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #8]
	ldrb	w12, [x11, x10]
	orr	x8, x8, x12
	strb	wzr, [x11, x10]
	lsl	x8, x8, #8
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x8, #0
LBB0_6:
	ldr	x9, [x19, #8]
	ldrb	w10, [x9, #15]
	orr	x8, x8, x10
	mov	w10, #1
	strb	w10, [x9, #15]
	cmp	x8, x21
	b.ne	LBB0_23
; %bb.7:
	add	x8, x21, #15
	lsr	x8, x8, #3
	ldr	w9, [x19]
	orr	w8, w8, #0x1
	add	w8, w9, w8
	str	w8, [x19]
	mov	w0, #1
	bl	_U64
	cmp	x21, #16
	b.lo	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	x9, [x19, #24]
	ldp	w10, w11, [x9]
	eor	w8, w10, w8
	str	w8, [x9]
	ldr	w8, [x23, #4]
	eor	w8, w11, w8
	str	w8, [x9, #4]
	ldr	x0, [x19, #16]
	mov	x1, x0
	mov	x2, x20
	blr	x25
	ldr	x0, [x19, #8]
	add	x1, sp, #8
	mov	x2, x20
	blr	x25
	ldr	x0, [x19, #8]
	bl	_ctr64_inc
	ldr	w8, [x23]
	ldp	w9, w10, [sp, #8]
	eor	w8, w8, w9
	str	w8, [x22]
	ldr	w8, [x23, #4]
	eor	w8, w8, w10
	str	w8, [x22, #4]
	add	x23, x23, #16
	add	x22, x22, #16
	sub	x21, x21, #16
	cmp	x21, #15
	b.hi	LBB0_8
LBB0_9:
	cbz	x21, LBB0_14
; %bb.10:
	mov	x8, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x23, x8]
	ldr	x10, [x19, #16]
	ldrb	w11, [x10, x8]
	eor	w9, w11, w9
	strb	w9, [x10, x8]
	add	w8, w8, #1
	cmp	x21, x8
	b.hi	LBB0_11
; %bb.12:
	ldr	x0, [x19, #16]
	mov	x1, x0
	mov	x2, x20
	blr	x25
	ldr	x0, [x19, #8]
	add	x27, sp, #8
	add	x1, sp, #8
	mov	x2, x20
	blr	x25
	mov	x8, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x27, x8]
	ldrb	w10, [x23, x8]
	eor	w9, w10, w9
	strb	w9, [x22, x8]
	add	w8, w8, #1
	cmp	x21, x8
	b.hi	LBB0_13
LBB0_14:
	ldr	x8, [x19, #8]
	strb	wzr, [x8, x26]
	add	x8, x26, #1
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.15:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
	add	x8, x26, #2
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.16:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
	add	x8, x26, #3
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.17:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
	add	x8, x26, #4
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.18:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
	add	x8, x26, #5
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.19:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
	add	x8, x26, #6
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.20:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
	add	x8, x26, #7
	cmp	x8, #16
	b.eq	LBB0_22
; %bb.21:
	ldr	x9, [x19, #8]
	strb	wzr, [x9, x8]
LBB0_22:
	ldr	x0, [x19, #8]
	add	x1, sp, #8
	mov	x2, x20
	blr	x25
	mov	w0, #0
	ldr	w8, [sp, #8]
	ldr	x9, [x19, #24]
	ldp	w10, w11, [x9]
	eor	w8, w10, w8
	str	w8, [x9]
	ldr	w8, [sp, #12]
	eor	w8, w11, w8
	str	w8, [x9, #4]
	ldr	x8, [x19, #8]
	strb	w24, [x8]
	b	LBB0_24
LBB0_23:
	mov	w0, #-1
LBB0_24:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
