	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sha1_update
_sha1_update:                           ## @sha1_update
	.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
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_shash_desc_ctx
	movq	%rax, %r14
	movl	(%rax), %eax
	movl	%eax, %r12d
	andl	$63, %r12d
	addl	%ebx, %eax
	movl	%eax, (%r14)
	leal	(%r12,%rbx), %eax
	xorl	%r15d, %r15d
	cmpl	$64, %eax
	jb	LBB0_7
## %bb.1:
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_SHA_WORKSPACE_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	testl	%r12d, %r12d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	movl	$64, %edx
	subl	%r12d, %edx
	negl	%r12d
	movq	%r13, %rsi
	movq	%rax, %r15
	callq	_memcpy
	movq	%r15, %rax
	movq	%r12, %r15
	movq	%r14, %rcx
	movq	8(%r14), %r13
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	jmp	LBB0_4
LBB0_2:
	movq	%r14, %rcx
	xorl	%r15d, %r15d
LBB0_4:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r14d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	16(%rcx), %edi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%rax, %r15
	callq	_sha_transform
	movq	%r15, %rax
	leal	64(%r14), %r15d
	leaq	(%r12,%r15,4), %r13
	addl	$127, %r14d
	cmpl	%ebx, %r14d
	jb	LBB0_5
## %bb.6:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	shll	$2, %edx
	xorl	%r12d, %r12d
	movq	%rax, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	movl	%r12d, %edi
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	subl	%r15d, %ebx
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA_WORKSPACE_WORDS,4,2        ## @SHA_WORKSPACE_WORDS
	.no_dead_strip	_sha1_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sha1_update
_sha1_update:                           ; @sha1_update
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_shash_desc_ctx
	mov	x21, x0
	ldr	w8, [x0]
	and	x12, x8, #0x3f
	add	w8, w8, w19
	str	w8, [x0]
	add	w8, w12, w19
	cmp	w8, #64
	b.lo	LBB0_3
; %bb.1:
	mov	x24, sp
Lloh3:
	adrp	x8, _SHA_WORKSPACE_WORDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA_WORKSPACE_WORDS@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	lsl	x8, x25, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	cbz	w12, LBB0_4
; %bb.2:
	neg	w26, w12
	ldr	x8, [x21, #8]
	add	x0, x8, x12, lsl #2
	mov	w8, #64
	sub	w2, w8, w12
	mov	x1, x20
	bl	_memcpy
	ldr	x23, [x21, #8]
	b	LBB0_5
LBB0_3:
	mov	w26, #0
	b	LBB0_7
LBB0_4:
	mov	w26, #0
	mov	x23, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x26
	ldr	w0, [x21, #16]
	mov	x1, x23
	mov	x2, x22
	bl	_sha_transform
	add	w26, w26, #64
	add	x23, x20, w26, uxtw #2
	add	w8, w27, #127
	cmp	w8, w19
	b.lo	LBB0_5
; %bb.6:
	lsl	w2, w25, #2
	mov	x0, x22
	mov	w1, #0
	bl	_memset
	mov	sp, x24
	mov	w12, #0
	mov	x20, x23
LBB0_7:
	ldr	x8, [x21, #8]
	add	x0, x8, w12, uxtw #2
	sub	w2, w19, w26
	mov	x1, x20
	bl	_memcpy
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	sub	sp, x29, #80
	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
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA_WORKSPACE_WORDS,4,2        ; @SHA_WORKSPACE_WORDS
	.no_dead_strip	_sha1_update
.subsections_via_symbols
