	.file	"extr_..libretro-commonhashrhash.c_sha256_chunk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sha256_chunk, @function
sha256_chunk:
.LFB0:
	.cfi_startproc
	endbr64
	add	DWORD PTR 16[rdi], edx
	test	edx, edx
	je	.L10
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, 64
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	test	r12d, r12d
	je	.L14
.L4:
	movsx	rdi, DWORD PTR 0[r13]
	mov	ebx, ebp
	mov	rsi, r14
	sub	ebx, edi
	cmp	ebx, r12d
	cmova	ebx, r12d
	add	rdi, QWORD PTR 8[r13]
	mov	edx, ebx
	sub	r12d, ebx
	call	memcpy@PLT
	mov	eax, ebx
	lea	r14, [r14+rax*4]
	mov	eax, DWORD PTR 0[r13]
	add	eax, ebx
	mov	DWORD PTR 0[r13], eax
	cmp	eax, 64
	jne	.L3
	mov	rdi, r13
	call	sha256_block@PLT
	test	r12d, r12d
	jne	.L4
.L14:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.cfi_endproc
.LFE0:
	.size	sha256_chunk, .-sha256_chunk
	.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_..libretro-commonhashrhash.c_sha256_chunk.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sha256_chunk, %function
sha256_chunk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	cmp	r2, #0
	add	r3, r3, r2
	str	r3, [r0, #8]
	bxeq	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r2
	mov	r7, r1
	b	.L4
.L3:
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r6]
	ldr	r0, [r6, #4]
	rsb	r4, r3, #64
	cmp	r4, r5
	movcs	r4, r5
	mov	r1, r7
	add	r0, r3, r0
	mov	r2, r4
	bl	memcpy
	ldr	r3, [r6]
	sub	r5, r5, r4
	add	r3, r4, r3
	cmp	r3, #64
	add	r7, r7, r4, lsl #2
	str	r3, [r6]
	bne	.L3
	mov	r0, r6
	bl	sha256_block
	cmp	r5, #0
	bne	.L4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	sha256_chunk, .-sha256_chunk
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
