	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sha1_final
_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_shash_desc_ctx
	movq	%rax, %r14
	movq	_HASH_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r14), %eax
	movzbl	%al, %ecx
	movl	%ecx, -52(%rbp)
	movzbl	%ah, %ecx
	movl	%ecx, -56(%rbp)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, -60(%rbp)
	movl	%eax, %ecx
	shrl	$24, %ecx
	movl	%ecx, -64(%rbp)
	sarl	$31, %eax
	movzbl	%al, %eax
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -80(%rbp)
	movl	(%r14), %eax
	shrl	$3, %eax
	andl	$63, %eax
	xorl	%edx, %edx
	cmpl	$56, %eax
	setae	%dl
	shll	$6, %edx
	subl	%eax, %edx
	addl	$56, %edx
	leaq	_sha1_final.padding(%rip), %rsi
	movq	%r15, %rdi
	callq	_sha1_update
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movl	$32, %edx
	callq	_sha1_update
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r12)
	movl	8(%rbx), %eax
	movl	%eax, 8(%r12)
	movl	12(%rbx), %eax
	movl	%eax, 12(%r12)
	movl	16(%rbx), %eax
	movl	%eax, 16(%r12)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sha1_final.padding
_sha1_final.padding:
	.long	128                             ## 0x80
	.space	252

	.comm	_HASH_START,8,3                 ## @HASH_START
	.comm	_CRTCL_SECT_START,4,2           ## @CRTCL_SECT_START
	.comm	_CRTCL_SECT_END,4,2             ## @CRTCL_SECT_END
	.no_dead_strip	_sha1_final
.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
	.p2align	2
_sha1_final:                            ; @sha1_final
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	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]
	str	x8, [sp, #40]
	bl	_shash_desc_ctx
	mov	x21, x0
Lloh3:
	adrp	x8, _HASH_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_START@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	ldr	w8, [x0]
	and	w9, w8, #0xff
	str	w9, [sp, #28]
	dup.2s	v0, w8
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [sp, #20]
	lsr	w9, w8, #24
	str	w9, [sp, #16]
	asr	w8, w8, #31
	and	w8, w8, #0xff
	dup.4s	v0, w8
	str	q0, [sp]
	ldr	w8, [x0]
	ubfx	w8, w8, #3, #6
	mov	w9, #120
	mov	w10, #56
	cmp	w8, #56
	csel	w9, w10, w9, lo
	sub	w2, w9, w8
Lloh8:
	adrp	x1, _sha1_final.padding@PAGE
Lloh9:
	add	x1, x1, _sha1_final.padding@PAGEOFF
	mov	x0, x20
	bl	_sha1_update
	mov	x1, sp
	mov	x0, x20
	mov	w2, #32
	bl	_sha1_update
	ldr	w8, [x22]
	str	w8, [x19]
	ldr	w8, [x22, #4]
	str	w8, [x19, #4]
	ldr	w8, [x22, #8]
	str	w8, [x19, #8]
	ldr	w8, [x22, #12]
	str	w8, [x19, #12]
	ldr	w8, [x22, #16]
	str	w8, [x19, #16]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [sp, #40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @sha1_final.padding
_sha1_final.padding:
	.long	128                             ; 0x80
	.space	252

	.comm	_HASH_START,8,3                 ; @HASH_START
	.comm	_CRTCL_SECT_START,4,2           ; @CRTCL_SECT_START
	.comm	_CRTCL_SECT_END,4,2             ; @CRTCL_SECT_END
	.no_dead_strip	_sha1_final
.subsections_via_symbols
