	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ChaCha20_ctr32
LCPI0_0:
	.long	1634760805                      ## 0x61707865
	.long	857760878                       ## 0x3320646e
	.long	2036477234                      ## 0x79622d32
	.long	1797285236                      ## 0x6b206574
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ChaCha20_ctr32
	.p2align	4, 0x90
_ChaCha20_ctr32:                        ## @ChaCha20_ctr32
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1634760805,857760878,2036477234,1797285236]
	movaps	%xmm0, -112(%rbp)
	movups	(%rcx), %xmm0
	movaps	%xmm0, -96(%rbp)
	movups	16(%rcx), %xmm0
	movaps	%xmm0, -80(%rbp)
	movups	(%r8), %xmm0
	movaps	%xmm0, -64(%rbp)
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-120(%rbp), %r12
	leaq	-112(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r8, %rbx
	addq	%r8, %r15
	incl	-64(%rbp)
	subq	%r8, %r14
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_chacha20_core
	movl	$8, %r8d
	movq	-120(%rbp), %rcx
	cmpq	$8, %r14
	cmovbq	%r14, %r8
	jb	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdx
	subq	%r15, %rdx
	cmpq	$32, %rdx
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rsi
	subq	%rcx, %rsi
	movl	$0, %edx
	cmpq	$32, %rsi
	jb	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %edx
	andl	$8, %edx
	movq	(%rcx), %rsi
	xorq	(%r15), %rsi
	movq	%rsi, (%rbx)
	cmpq	%rdx, %r8
	je	LBB0_2
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r8, %rsi
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx,%rdx), %eax
	xorb	(%r15,%rdx), %al
	movb	%al, (%rbx,%rdx)
	incq	%rdx
	decq	%rdi
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, %rsi
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx,%rdx), %eax
	xorb	(%r15,%rdx), %al
	movb	%al, (%rbx,%rdx)
	movzbl	1(%rcx,%rdx), %eax
	xorb	1(%r15,%rdx), %al
	movb	%al, 1(%rbx,%rdx)
	movzbl	2(%rcx,%rdx), %eax
	xorb	2(%r15,%rdx), %al
	movb	%al, 2(%rbx,%rdx)
	movzbl	3(%rcx,%rdx), %eax
	xorb	3(%r15,%rdx), %al
	movb	%al, 3(%rbx,%rdx)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_12
	jmp	LBB0_2
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	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
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ChaCha20_ctr32
lCPI0_0:
	.long	1634760805                      ; 0x61707865
	.long	857760878                       ; 0x3320646e
	.long	2036477234                      ; 0x79622d32
	.long	1797285236                      ; 0x6b206574
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ChaCha20_ctr32
	.p2align	2
_ChaCha20_ctr32:                        ; @ChaCha20_ctr32
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	ldp	q1, q2, [x3]
	stp	q0, q1, [sp, #16]
	ldr	q0, [x4]
	stp	q2, q0, [sp, #48]
	cbz	x2, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, x8
	add	x20, x20, x8
	ldr	w9, [sp, #64]
	add	w9, w9, #1
	str	w9, [sp, #64]
	subs	x19, x19, x8
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_chacha20_core
	cmp	x19, #8
	csel	x8, x19, x22, lo
	ldr	x9, [sp, #8]
	mov	x11, #0
	b.lo	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x10, x21, x20
	cmp	x10, #64
	b.lo	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x10, x21, x9
	cmp	x10, #64
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	and	x11, x8, #0x8
	ldr	d0, [x20]
	ldr	d1, [x9]
	eor.8b	v0, v1, v0
	str	d0, [x21]
	cmp	x8, x11
	b.eq	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x10, x8, x11
	add	x12, x21, x11
	add	x9, x9, x11
	add	x11, x20, x11
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w13, [x11], #1
	ldrb	w14, [x9], #1
	eor	w13, w14, w13
	strb	w13, [x12], #1
	subs	x10, x10, #1
	b.ne	LBB0_8
	b	LBB0_2
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
