	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SHA1_Final                     ## -- Begin function SHA1_Final
	.p2align	4, 0x90
_SHA1_Final:                            ## @SHA1_Final
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$128, -72(%rbp)
	movl	$0, -68(%rbp)
	movl	(%rsi), %eax
	movl	%eax, %ecx
	movzbl	%ah, %edx
	movzbl	%al, %esi
	shrl	$24, %eax
	movl	%eax, -64(%rbp)
	shrl	$16, %ecx
	movzbl	%cl, %eax
	movl	%eax, -60(%rbp)
	movl	%edx, -56(%rbp)
	movl	%esi, -52(%rbp)
	movl	4(%r14), %eax
	movl	%eax, %ecx
	movzbl	%ah, %edx
	movzbl	%al, %esi
	shrl	$24, %eax
	movl	%eax, -48(%rbp)
	shrl	$16, %ecx
	movzbl	%cl, %eax
	movl	%eax, -44(%rbp)
	movl	%edx, -40(%rbp)
	movl	%esi, -36(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_SHA1_Update
	cmpl	$56, 8(%r14)
	je	LBB0_3
## %bb.1:
	leaq	-68(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_SHA1_Update
	cmpl	$56, 8(%r14)
	jne	LBB0_2
LBB0_3:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_SHA1_Update
	movq	16(%r14), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edx
	andl	$-4, %edx
	movsbl	3(%rax,%rdx), %esi
	movl	%esi, (%rbx,%rcx,4)
	shll	$8, (%rax,%rdx)
	movsbl	3(%rax,%rdx), %esi
	movl	%esi, 4(%rbx,%rcx,4)
	shll	$8, (%rax,%rdx)
	addq	$2, %rcx
	cmpq	$20, %rcx
	jne	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_SHA1_Init
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	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,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function SHA1_Final
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SHA1_Final
	.p2align	2
_SHA1_Final:                            ; @SHA1_Final
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w8, #128
	stp	wzr, w8, [sp]
	ldp	w8, w9, [x1]
	lsr	w10, w8, #24
	dup.2s	v0, w8
	str	w10, [sp, #8]
Lloh3:
	adrp	x10, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x10, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d2, #0x0000ff000000ff
	and.8b	v0, v0, v2
	stur	d0, [sp, #12]
	and	w8, w8, #0xff
	lsr	w10, w9, #24
	dup.2s	v0, w9
	stp	w8, w10, [sp, #20]
	ushl.2s	v0, v0, v1
	and.8b	v0, v0, v2
	stur	d0, [sp, #28]
	and	w8, w9, #0xff
	str	w8, [sp, #36]
	add	x1, sp, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w2, #1
	bl	_SHA1_Update
	ldr	w8, [x19, #8]
	cmp	w8, #56
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, sp
	b	LBB0_1
LBB0_3:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_SHA1_Update
	mov	x8, #0
	ldr	x9, [x19, #16]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ubfx	x10, x8, #2, #30
	add	x10, x9, x10, lsl #2
	ldrsb	w11, [x10, #3]
	str	w11, [x20, x8, lsl #2]
	ldr	w11, [x10]
	lsl	w11, w11, #8
	str	w11, [x10]
	add	x8, x8, #1
	cmp	x8, #20
	b.ne	LBB0_4
; %bb.5:
	mov	x0, x19
	bl	_SHA1_Init
	ldur	x8, [x29, #-24]
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_7
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	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
