	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aes_ccm_prepare
_aes_ccm_prepare:                       ## @aes_ccm_prepare
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %r15
	movslq	(%r15), %r13
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	leaq	(%rsi,%rax,4), %r12
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	shlq	$4, %r13
	addq	%rsi, %r13
	movq	%r12, %rdx
	callq	_crypto_cipher_encrypt_one
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rax,4), %ecx
	xorl	%ecx, (%r13,%rax,4)
	incq	%rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_crypto_cipher_encrypt_one
	movslq	(%r15), %rax
	leaq	(,%rax,4), %rdx
	addq	%r13, %rdx
	testq	%rax, %rax
	jle	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rax,4), %ecx
	xorl	%ecx, (%rdx,%rax,4)
	incq	%rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_cipher_encrypt_one
	andl	$7, (%r12)
	movq	$0, 56(%r12)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_cipher_encrypt_one      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.no_dead_strip	_aes_ccm_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aes_ccm_prepare
_aes_ccm_prepare:                       ; @aes_ccm_prepare
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _AES_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AES_BLOCK_SIZE@GOTPAGEOFF]
	ldrsw	x24, [x25]
	mov	w8, #12
	madd	x20, x24, x8, x1
	add	x23, x1, x24, lsl #4
	mov	x2, x20
	bl	_crypto_cipher_encrypt_one
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x9, x8, #2
	ldr	w10, [x22, x9]
	ldr	w11, [x23, x9]
	eor	w10, w11, w10
	str	w10, [x23, x9]
	add	x8, x8, #1
	ldrsw	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_crypto_cipher_encrypt_one
	ldrsw	x8, [x25]
	add	x2, x23, x8, lsl #2
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x8, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x9, x8, #2
	ldr	w10, [x22, x9]
	ldr	w11, [x2, x9]
	eor	w10, w11, w10
	str	w10, [x2, x9]
	add	x8, x8, #1
	ldrsw	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_5
LBB0_6:
	add	x22, x22, x24, lsl #2
	mov	x0, x19
	mov	x1, x21
	bl	_crypto_cipher_encrypt_one
	ldr	w8, [x20]
	and	w8, w8, #0x7
	str	w8, [x20]
	str	xzr, [x20, #56]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_crypto_cipher_encrypt_one
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.no_dead_strip	_aes_ccm_prepare
.subsections_via_symbols
