	.file	"extr_hash_sha256_cp.c_SHA256_Pad.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SHA256_Pad, @function
SHA256_Pad:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r8d, DWORD PTR [rdi]
	mov	rbx, rdi
	mov	edx, r8d
	sar	edx, 3
	and	edx, 63
	cmp	edx, 55
	jbe	.L2
	mov	edi, 64
	xor	eax, eax
	sub	edi, edx
	sal	rdx, 3
	sal	rdi, 3
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, QWORD PTR PAD[rip]
	mov	rsi, QWORD PTR [rcx+rax]
	mov	rcx, QWORD PTR 8[rbx]
	add	rcx, rdx
	mov	QWORD PTR [rcx+rax], rsi
	add	rax, 8
	cmp	rdi, rax
	jne	.L3
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 16[rbx]
	lea	r13, 256[r12]
	mov	rdx, r12
	mov	rcx, r13
	call	SHA256_Transform@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, 56
	xor	esi, esi
	call	memset@PLT
	mov	r8d, DWORD PTR [rbx]
.L5:
	mov	rax, QWORD PTR 8[rbx]
	mov	esi, r8d
	lea	rdi, 448[rax]
	call	STORE64_BE@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	rcx, r13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	SHA256_Transform@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, 56
	xor	eax, eax
	sub	edi, edx
	sal	rdx, 3
	sal	rdi, 3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR PAD[rip]
	mov	rsi, QWORD PTR [rcx+rax]
	mov	rcx, QWORD PTR 8[rbx]
	add	rcx, rdx
	mov	QWORD PTR [rcx+rax], rsi
	add	rax, 8
	cmp	rdi, rax
	jne	.L4
	lea	r13, 256[r12]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	SHA256_Pad, .-SHA256_Pad
	.comm	PAD,8,8
	.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_hash_sha256_cp.c_SHA256_Pad.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SHA256_Pad, %function
SHA256_Pad:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0]
	mov	r4, r0
	asr	r0, r7, #3
	and	r0, r0, #63
	cmp	r0, #55
	mov	r5, r1
	bls	.L2
	mov	r3, #0
	rsb	lr, r0, #64
	ldr	ip, .L10
	lsl	lr, lr, #2
	lsl	r0, r0, #2
.L3:
	ldr	r1, [ip]
	ldr	r2, [r4, #4]
	ldr	r1, [r1, r3]
	add	r2, r2, r0
	str	r1, [r2, r3]
	add	r3, r3, #4
	cmp	lr, r3
	bne	.L3
	add	r6, r5, #256
	mov	r3, r6
	mov	r2, r5
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	bl	SHA256_Transform
	mov	r2, #56
	mov	r1, #0
	ldr	r0, [r4, #4]
	bl	memset
	ldr	r7, [r4]
.L5:
	ldr	r0, [r4, #4]
	mov	r1, r7
	add	r0, r0, #224
	bl	STORE64_BE
	mov	r3, r6
	mov	r2, r5
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, r7, r8, lr}
	b	SHA256_Transform
.L2:
	mov	r3, #0
	rsb	r6, r0, #56
	ldr	ip, .L10
	lsl	r6, r6, #2
	lsl	r0, r0, #2
.L4:
	ldr	lr, [ip]
	ldr	r2, [r4, #4]
	ldr	lr, [lr, r3]
	add	r2, r2, r0
	str	lr, [r2, r3]
	add	r3, r3, #4
	cmp	r6, r3
	bne	.L4
	add	r6, r5, #256
	b	.L5
.L11:
	.align	2
.L10:
	.word	PAD
	.size	SHA256_Pad, .-SHA256_Pad
	.comm	PAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
