	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encrypt
_encrypt:                               ## @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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_crypto_blkcipher_ctx
	movq	%rax, %r15
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	callq	_blkcipher_walk_init
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	movl	$64, %edx
	callq	_blkcipher_walk_virt_block
	movl	%eax, %ebx
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_salsa20_ivsetup
	xorl	%edi, %edi
	cmpl	%r12d, -56(%rbp)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movl	-52(%rbp), %edx
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	movl	%r12d, %ecx
	jmp	LBB0_7
LBB0_1:
	movl	-56(%rbp), %ecx
	cmpl	$64, %ecx
	jb	LBB0_5
## %bb.2:
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %edx
	movl	-48(%rbp), %esi
	andl	$-64, %ecx
	movq	%r15, %rdi
	callq	_salsa20_encrypt_bytes
	movl	-56(%rbp), %edx
	andl	$63, %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_blkcipher_walk_done
	movl	-56(%rbp), %ecx
	cmpl	$63, %ecx
	ja	LBB0_3
## %bb.4:
	movl	%eax, %ebx
LBB0_5:
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.6:
	movl	-52(%rbp), %edx
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
LBB0_7:
	callq	_salsa20_encrypt_bytes
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_blkcipher_walk_done
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encrypt
_encrypt:                               ; @encrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_crypto_blkcipher_ctx
	mov	x20, x0
	mov	x0, sp
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	bl	_blkcipher_walk_init
	mov	x1, sp
	mov	x0, x19
	mov	w2, #64
	bl	_blkcipher_walk_virt_block
	mov	x21, x0
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_salsa20_ivsetup
	ldr	w8, [sp]
	cmp	w8, w22
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w2, w1, [sp, #4]
	mov	x0, x20
	mov	x3, x22
	b	LBB0_7
LBB0_2:
	ldr	w3, [sp]
	cmp	w3, #64
	b.lo	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [sp, #4]
	and	w3, w3, #0xffffffc0
	mov	x0, x20
	bl	_salsa20_encrypt_bytes
	ldr	w8, [sp]
	and	w2, w8, #0x3f
	mov	x1, sp
	mov	x0, x19
	bl	_blkcipher_walk_done
	ldr	w3, [sp]
	cmp	w3, #63
	b.hi	LBB0_3
; %bb.4:
	mov	x21, x0
LBB0_5:
	cbz	w3, LBB0_8
; %bb.6:
	ldp	w2, w1, [sp, #4]
	mov	x0, x20
LBB0_7:
	bl	_salsa20_encrypt_bytes
	mov	x1, sp
	mov	x0, x19
	mov	w2, #0
	bl	_blkcipher_walk_done
	mov	x21, x0
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_encrypt
.subsections_via_symbols
