	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _picohash_sha1_hash_block
__picohash_sha1_hash_block:             ## @_picohash_sha1_hash_block
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rdx
	movl	(%rdx), %ebx
	movl	4(%rdx), %esi
	movl	8(%rdx), %eax
	movl	12(%rdx), %ecx
	movl	16(%rdx), %edi
	xorl	%r8d, %r8d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r12d
	xorl	%eax, %r14d
	andl	%esi, %r14d
	xorl	%r12d, %r14d
	movq	__PICOHASH_SHA1_K0@GOTPCREL(%rip), %rax
	movl	%esi, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	addl	(%rax), %r14d
	addl	%edi, %r14d
	movl	%r15d, %edi
	movl	$5, %esi
	callq	__picohash_sha1_rol32
	movl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	addl	%r14d, %ebx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	(%rax,%rcx,4), %ebx
	movl	%r13d, %edi
	movl	$30, %esi
	callq	__picohash_sha1_rol32
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	incq	%r8
	movl	%r12d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ecx
	movl	%r15d, %esi
	cmpl	$80, %r8d
	je	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r15d
	movl	%ecx, %r14d
	movq	%r8, %r13
	cmpl	$16, %r8d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	jb	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, %r12d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	leal	13(%r8), %ecx
	andl	$15, %ecx
	leal	8(%r8), %edx
	andl	$15, %edx
	movl	(%rax,%rdx,4), %edi
	xorl	(%rax,%rcx,4), %edi
	leal	2(%r8), %ecx
	andl	$15, %ecx
	xorl	(%rax,%rcx,4), %edi
	movl	%r8d, %r13d
	andl	$15, %r13d
	xorl	(%rax,%r13,4), %edi
	movl	$1, %esi
	callq	__picohash_sha1_rol32
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx,%r13,4)
	cmpl	$19, %r8d
	jbe	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$39, %r8d
	movl	%r12d, %edi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %r12d
	xorl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
	xorl	%eax, %r14d
	movq	__PICOHASH_SHA1_K20@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$59, %r8d
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	andl	%edx, %eax
	movl	%r14d, %r12d
	movl	%ecx, %r14d
	movl	%edx, %r13d
	orl	%edx, %r14d
	andl	%r12d, %r14d
	orl	%eax, %r14d
	movq	__PICOHASH_SHA1_K40@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %r12d
	xorl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
	xorl	%eax, %r14d
	movq	__PICOHASH_SHA1_K60@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movd	%ebx, %xmm0
	pinsrd	$1, %r15d, %xmm0
	pinsrd	$2, %eax, %xmm0
	movdqu	(%rcx), %xmm1
	pinsrd	$3, %edx, %xmm0
	paddd	%xmm1, %xmm0
	movdqu	%xmm0, (%rcx)
	addl	%r12d, 16(%rcx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PICOHASH_SHA1_K0,4,2          ## @_PICOHASH_SHA1_K0
	.comm	__PICOHASH_SHA1_K20,4,2         ## @_PICOHASH_SHA1_K20
	.comm	__PICOHASH_SHA1_K40,4,2         ## @_PICOHASH_SHA1_K40
	.comm	__PICOHASH_SHA1_K60,4,2         ## @_PICOHASH_SHA1_K60
	.no_dead_strip	__picohash_sha1_hash_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _picohash_sha1_hash_block
__picohash_sha1_hash_block:             ; @_picohash_sha1_hash_block
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
	mov	x22, #0
	ldr	x9, [x0]
	ldp	w25, w20, [x9]
	ldp	w0, w8, [x9, #8]
	ldr	w24, [x9, #16]
Lloh0:
	adrp	x28, __PICOHASH_SHA1_K0@GOTPAGE
Lloh1:
	ldr	x28, [x28, __PICOHASH_SHA1_K0@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	bic	w8, w23, w20
	and	w9, w27, w20
	orr	w8, w9, w8
	mov	x9, x28
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x9]
	add	w26, w9, w8
	mov	x0, x21
	mov	w1, #5
	bl	__picohash_sha1_rol32
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x25, lsl #2]
	add	w9, w26, w24
	add	w9, w9, w0
	add	w25, w9, w8
	mov	x0, x20
	mov	w1, #30
	bl	__picohash_sha1_rol32
	add	x22, x22, #1
	mov	x24, x23
	mov	x8, x27
	mov	x20, x21
	cmp	w22, #80
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x25
	mov	x27, x0
	mov	x23, x8
	mov	x25, x22
	cmp	w22, #16
	b.lo	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	w9, w22, #13
	and	w9, w9, #0xf
	ldr	w9, [x8, w9, uxtw #2]
	add	w10, w22, #8
	and	w10, w10, #0xf
	ldr	w10, [x8, w10, uxtw #2]
	eor	w9, w10, w9
	add	w10, w22, #2
	and	w10, w10, #0xf
	ldr	w10, [x8, w10, uxtw #2]
	eor	w9, w9, w10
	and	w25, w22, #0xf
	lsl	x26, x25, #2
	ldr	w8, [x8, x26]
	eor	w0, w9, w8
	mov	w1, #1
	bl	__picohash_sha1_rol32
	ldr	x8, [x19, #8]
	str	w0, [x8, x26]
	cmp	w22, #19
	b.ls	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	eor	w8, w23, w27
	eor	w8, w8, w20
	and	w9, w27, w20
	orr	w10, w27, w20
	and	w10, w23, w10
	orr	w9, w10, w9
	cmp	w22, #59
	csel	w9, w8, w9, hi
Lloh2:
	adrp	x10, __PICOHASH_SHA1_K60@GOTPAGE
Lloh3:
	ldr	x10, [x10, __PICOHASH_SHA1_K60@GOTPAGEOFF]
Lloh4:
	adrp	x11, __PICOHASH_SHA1_K40@GOTPAGE
Lloh5:
	ldr	x11, [x11, __PICOHASH_SHA1_K40@GOTPAGEOFF]
	csel	x10, x10, x11, hi
	cmp	w22, #39
	csel	w8, w9, w8, hi
Lloh6:
	adrp	x9, __PICOHASH_SHA1_K20@GOTPAGE
Lloh7:
	ldr	x9, [x9, __PICOHASH_SHA1_K20@GOTPAGEOFF]
	csel	x9, x10, x9, hi
	b	LBB0_2
LBB0_6:
	ldr	x8, [x19]
	ldp	w9, w10, [x8]
	add	w9, w9, w25
	add	w10, w10, w21
	stp	w9, w10, [x8]
	ldp	w9, w10, [x8, #8]
	add	w9, w9, w0
	add	w10, w10, w27
	stp	w9, w10, [x8, #8]
	ldr	w9, [x8, #16]
	add	w9, w9, w23
	str	w9, [x8, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	__PICOHASH_SHA1_K0,4,2          ; @_PICOHASH_SHA1_K0
	.comm	__PICOHASH_SHA1_K20,4,2         ; @_PICOHASH_SHA1_K20
	.comm	__PICOHASH_SHA1_K40,4,2         ; @_PICOHASH_SHA1_K40
	.comm	__PICOHASH_SHA1_K60,4,2         ; @_PICOHASH_SHA1_K60
	.no_dead_strip	__picohash_sha1_hash_block
.subsections_via_symbols
