	.file	"extr_sha1.c_SHA1Update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SHA1Update
	.type	SHA1Update, @function
SHA1Update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rax]
	mov	esi, DWORD PTR 4[rax]
	lea	edx, [rdi+rdx*8]
	cmp	edx, edi
	mov	DWORD PTR [rax], edx
	setl	dl
	sar	edi, 3
	movzx	edx, dl
	mov	r12d, edi
	and	edi, 63
	add	rdi, QWORD PTR 8[r13]
	add	esi, edx
	mov	edx, r14d
	and	r12d, 63
	sar	edx, 29
	add	edx, esi
	mov	DWORD PTR 4[rax], edx
	lea	eax, [r14+r12]
	cmp	eax, 63
	jg	.L9
.L3:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edx, r14d
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	memcpy@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, 64
	mov	rsi, rbp
	sub	eax, r12d
	mov	edx, eax
	mov	DWORD PTR 12[rsp], eax
	call	memcpy@PLT
	mov	rsi, QWORD PTR 8[r13]
	mov	edi, DWORD PTR 16[r13]
	call	SHA1Transform@PLT
	mov	eax, 127
	sub	eax, r12d
	cmp	r14d, eax
	jle	.L10
	movsx	rbx, DWORD PTR 12[rsp]
	mov	rax, rbx
	add	rbx, rbp
	lea	r15d, 63[rax]
	sub	r15d, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 16[r13]
	mov	rsi, rbx
	add	rbx, 64
	call	SHA1Transform@PLT
	lea	eax, [r15+rbx]
	cmp	r14d, eax
	jg	.L5
	mov	edx, 127
	lea	eax, -64[r14]
	sub	eax, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR 8[r13]
	sub	edx, r12d
	and	eax, -64
	cmp	r14d, edx
	mov	edx, 0
	cmovle	eax, edx
	sub	eax, r12d
	sub	eax, -128
	movsx	rdx, eax
	sub	r14d, eax
	add	rbp, rdx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	movsx	rax, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR 8[r13]
	add	rbp, rax
	sub	r14d, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	SHA1Update, .-SHA1Update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sha1.c_SHA1Update.c"
	.text
	.align	2
	.global	SHA1Update
	.syntax unified
	.arm
	.fpu softvfp
	.type	SHA1Update, %function
SHA1Update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r7, r0
	ldr	r2, [r0]
	mov	r8, r1
	ldr	r3, [r2]
	ldr	r1, [r2, #4]
	add	r0, r3, r4, lsl #3
	cmp	r0, r3
	asr	r3, r3, #3
	and	r6, r3, #63
	addlt	r1, r1, #1
	str	r0, [r2]
	add	r3, r4, r6
	ldr	r0, [r7, #4]
	add	r1, r1, r4, asr #29
	cmp	r3, #63
	str	r1, [r2, #4]
	add	r0, r0, r6
	bgt	.L9
.L3:
	mov	r2, r4
	mov	r1, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	memcpy
.L9:
	rsb	r10, r6, #64
	mov	r2, r10
	mov	r1, r8
	bl	memcpy
	rsb	fp, r6, #127
	ldr	r1, [r7, #4]
	ldr	r0, [r7, #8]
	bl	SHA1Transform
	cmp	r4, fp
	addgt	r5, r8, r10
	rsbgt	r9, r8, #63
	ble	.L10
.L5:
	mov	r1, r5
	ldr	r0, [r7, #8]
	add	r5, r5, #64
	bl	SHA1Transform
	add	r3, r9, r5
	cmp	r3, r4
	blt	.L5
	sub	r3, r4, #64
	cmp	r4, fp
	sub	r10, r3, r10
	bic	r10, r10, #63
	movle	r10, #0
	rsb	r6, r6, #128
	add	r6, r10, r6
	add	r8, r8, r6
	sub	r4, r4, r6
	mov	r2, r4
	mov	r1, r8
	ldr	r0, [r7, #4]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	memcpy
.L10:
	ldr	r0, [r7, #4]
	add	r8, r8, r10
	sub	r4, r4, r10
	b	.L3
	.size	SHA1Update, .-SHA1Update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
