	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function calculateDigestFromBuffer
LCPI0_0:
	.long	1732584193                      ## 0x67452301
	.long	4023233417                      ## 0xefcdab89
	.long	2562383102                      ## 0x98badcfe
	.long	271733878                       ## 0x10325476
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_calculateDigestFromBuffer:             ## @calculateDigestFromBuffer
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, -116(%rbp)
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1732584193,4023233417,2562383102,271733878]
	movdqa	%xmm0, -144(%rbp)
	leaq	-116(%rbp), %rsi
	callq	_createPaddedCopyWithLength
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	cmpl	$64, -116(%rbp)
	jge	LBB0_3
LBB0_11:
	callq	_free
	movl	-144(%rbp), %eax
	movzbl	%al, %ecx
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movl	%ecx, (%rdx)
	movzbl	%ah, %ecx
	movl	%ecx, 4(%rdx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 8(%rdx)
	shrl	$24, %eax
	movl	%eax, 12(%rdx)
	movl	-140(%rbp), %eax
	movzbl	%al, %ecx
	movl	%ecx, 16(%rdx)
	movzbl	%ah, %ecx
	movl	%ecx, 20(%rdx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 24(%rdx)
	shrl	$24, %eax
	movl	%eax, 28(%rdx)
	movl	-136(%rbp), %eax
	movzbl	%al, %ecx
	movl	%ecx, 32(%rdx)
	movzbl	%ah, %ecx
	movl	%ecx, 36(%rdx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 40(%rdx)
	shrl	$24, %eax
	movl	%eax, 44(%rdx)
	movl	-132(%rbp), %eax
	movzbl	%al, %ecx
	movl	%ecx, 48(%rdx)
	movzbl	%ah, %ecx
	movl	%ecx, 52(%rdx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 56(%rdx)
	shrl	$24, %eax
	movl	%eax, 60(%rdx)
	movl	$1, %eax
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	60(%rdi), %r13
	leaq	12(%rdi), %r12
	movl	$64, %r14d
	xorl	%r15d, %r15d
	leaq	-112(%rbp), %rbx
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	-144(%rbp), %rsi
	callq	_doTheRounds
	addl	$64, %r14d
	incq	%r15
	addq	$256, %r13                      ## imm = 0x100
	addq	$256, %r12                      ## imm = 0x100
	cmpl	-116(%rbp), %r14d
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	jg	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r15, %rax
	shlq	$8, %rax
	leaq	(%rdi,%rax), %rcx
	addq	$256, %rcx                      ## imm = 0x100
	cmpq	%rcx, %rbx
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%rdi, %rax
	leaq	-48(%rbp), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%r12,%rax,4), %ecx
	movl	(%r12,%rax,4), %edx
	shll	$16, %edx
	shll	$8, %ecx
	orl	%edx, %ecx
	orl	-8(%r12,%rax,4), %ecx
	shll	$8, %ecx
	orl	-12(%r12,%rax,4), %ecx
	movl	%ecx, -112(%rbp,%rax)
	addq	$4, %rax
	cmpq	$64, %rax
	jne	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movd	-48(%r13,%rax,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -32(%r13,%rax,4), %xmm0
	pinsrd	$2, -16(%r13,%rax,4), %xmm0
	pinsrd	$3, (%r13,%rax,4), %xmm0
	movd	-52(%r13,%rax,4), %xmm1         ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, -36(%r13,%rax,4), %xmm1
	pinsrd	$2, -20(%r13,%rax,4), %xmm1
	pinsrd	$3, -4(%r13,%rax,4), %xmm1
	pslld	$16, %xmm0
	pslld	$8, %xmm1
	movd	-56(%r13,%rax,4), %xmm2         ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, -40(%r13,%rax,4), %xmm2
	pinsrd	$2, -24(%r13,%rax,4), %xmm2
	por	%xmm0, %xmm1
	pinsrd	$3, -8(%r13,%rax,4), %xmm2
	por	%xmm1, %xmm2
	pslld	$8, %xmm2
	movd	-60(%r13,%rax,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -44(%r13,%rax,4), %xmm0
	pinsrd	$2, -28(%r13,%rax,4), %xmm0
	pinsrd	$3, -12(%r13,%rax,4), %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, -112(%rbp,%rax)
	addq	$16, %rax
	cmpq	$64, %rax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calculateDigestFromBuffer
.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 calculateDigestFromBuffer
lCPI0_0:
	.long	1732584193                      ; 0x67452301
	.long	4023233417                      ; 0xefcdab89
	.long	2562383102                      ; 0x98badcfe
	.long	271733878                       ; 0x10325476
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_calculateDigestFromBuffer:             ; @calculateDigestFromBuffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	str	w1, [sp, #28]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]
	add	x1, sp, #28
	bl	_createPaddedCopyWithLength
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [sp, #28]
	cmp	w8, #64
	b.ge	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_free
	ldp	w8, w9, [sp]
	and	w10, w8, #0xff
	str	w10, [x19]
	dup.2s	v0, w8
Lloh5:
	adrp	x10, lCPI0_1@PAGE
Lloh6:
	ldr	d1, [x10, lCPI0_1@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d2, #0x0000ff000000ff
	and.8b	v0, v0, v2
	stur	d0, [x19, #4]
	lsr	w8, w8, #24
	and	w10, w9, #0xff
	stp	w8, w10, [x19, #12]
	dup.2s	v0, w9
	ushl.2s	v0, v0, v1
	and.8b	v0, v0, v2
	stur	d0, [x19, #20]
	lsr	w8, w9, #24
	ldp	w9, w10, [sp, #8]
	and	w11, w9, #0xff
	stp	w8, w11, [x19, #28]
	dup.2s	v0, w9
	ushl.2s	v0, v0, v1
	and.8b	v0, v0, v2
	stur	d0, [x19, #36]
	lsr	w8, w9, #24
	and	w9, w10, #0xff
	stp	w8, w9, [x19, #44]
	dup.2s	v0, w10
	ushl.2s	v0, v0, v1
	and.8b	v0, v0, v2
	stur	d0, [x19, #52]
	lsr	w8, w10, #24
	str	w8, [x19, #60]
	mov	w0, #1
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.4:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_5:
	mov	x21, #0
	add	x22, sp, #32
	add	x23, x22, #64
	sub	x24, x20, #12
	add	x25, x20, #8
	mov	w26, #64
	mov	w27, #3
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	lsl	x8, x27, #2
	add	x9, x24, x8
	ld4.4s	{ v0, v1, v2, v3 }, [x9]
	shl.4s	v4, v3, #16
	shl.4s	v5, v2, #8
	orr.16b	v4, v4, v5
	orr.16b	v4, v4, v1
	shl.4s	v4, v4, #8
	orr.16b	v0, v4, v0
	str	q0, [sp, #32]
	add	x8, x8, x24
	add	x9, x8, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x9]
	shl.4s	v4, v3, #16
	shl.4s	v5, v2, #8
	orr.16b	v4, v4, v5
	orr.16b	v4, v4, v1
	shl.4s	v4, v4, #8
	orr.16b	v0, v4, v0
	str	q0, [sp, #48]
	add	x9, x8, #128
	ld4.4s	{ v0, v1, v2, v3 }, [x9]
	shl.4s	v4, v3, #16
	shl.4s	v5, v2, #8
	orr.16b	v4, v4, v5
	orr.16b	v4, v4, v1
	shl.4s	v4, v4, #8
	orr.16b	v0, v4, v0
	str	q0, [sp, #64]
	add	x8, x8, #192
	ld4.4s	{ v0, v1, v2, v3 }, [x8]
	shl.4s	v4, v3, #16
	shl.4s	v5, v2, #8
	orr.16b	v4, v4, v5
	orr.16b	v4, v4, v1
	shl.4s	v4, v4, #8
	orr.16b	v0, v4, v0
	str	q0, [sp, #80]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #32
	mov	x1, sp
	bl	_doTheRounds
	add	w26, w26, #64
	ldr	w8, [sp, #28]
	add	x27, x27, #64
	add	x21, x21, #1
	add	x25, x25, #256
	cmp	w26, w8
	b.gt	LBB0_2
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	add	x8, x20, x21, lsl #8
	add	x9, x8, #256
	cmp	x22, x9
	ccmp	x8, x23, #2, lo
	b.hs	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, #0
	mov	x9, x25
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	w11, w10, [x9]
	lsl	w10, w10, #16
	orr	w10, w10, w11, lsl #8
	ldp	w12, w11, [x9, #-8]
	orr	w10, w10, w11
	orr	w10, w12, w10, lsl #8
	str	w10, [x22, x8]
	add	x8, x8, #4
	add	x9, x9, #16
	cmp	x8, #64
	b.ne	LBB0_10
	b	LBB0_7
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calculateDigestFromBuffer
.subsections_via_symbols
