	.file	"extr_xcbc.c_crypto_xcbc_digest_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	crypto_xcbc_digest_update, @function
crypto_xcbc_digest_update:
.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
	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	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r15, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rsi
	mov	rdi, r15
	call	crypto_shash_alignmask@PLT
	mov	rdi, r15
	mov	r12, rax
	call	crypto_shash_ctx@PLT
	mov	rdi, r13
	mov	rbx, rax
	call	shash_desc_ctx@PLT
	mov	rdi, r15
	mov	r14, QWORD PTR [rbx]
	mov	r13, rax
	call	crypto_shash_blocksize@PLT
	mov	rdi, QWORD PTR 8[r13]
	lea	rsi, 1[r12]
	mov	ebx, eax
	call	PTR_ALIGN@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR 0[r13]
	lea	edx, [rax+rbp]
	cmp	edx, ebx
	jbe	.L12
	movsx	r12, ebx
	mov	edx, ebx
	mov	QWORD PTR 24[rsp], r8
	lea	rcx, 0[0+r12*4]
	sub	edx, eax
	mov	rsi, rcx
	mov	QWORD PTR 8[rsp], rcx
	mov	rcx, QWORD PTR 16[rsp]
	mov	r12, rcx
	lea	rdi, [rcx+rax*4]
	add	r12, rsi
	mov	rsi, r8
	call	memcpy@PLT
	mov	eax, DWORD PTR 0[r13]
	mov	r8, QWORD PTR 24[rsp]
	mov	edx, ebx
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r12
	sub	edx, eax
	add	ebp, eax
	lea	r15, [r8+rdx*4]
	mov	edx, ebx
	sub	ebp, ebx
	call	crypto_xor@PLT
	mov	rdx, r12
	mov	rsi, r12
	mov	rdi, r14
	call	crypto_cipher_encrypt_one@PLT
	mov	DWORD PTR 0[r13], 0
	cmp	ebx, ebp
	jnb	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, r15
	mov	edx, ebx
	mov	rdi, r12
	sub	ebp, ebx
	call	crypto_xor@PLT
	mov	rdx, r12
	mov	rsi, r12
	mov	rdi, r14
	call	crypto_cipher_encrypt_one@PLT
	add	r15, QWORD PTR 8[rsp]
	cmp	ebx, ebp
	jb	.L5
.L4:
	test	ebp, ebp
	jne	.L13
.L3:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rsp]
	mov	edx, ebp
	mov	rsi, r15
	call	memcpy@PLT
	mov	DWORD PTR 0[r13], ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, ebp
	mov	rsi, r8
	lea	rdi, [rcx+rax*4]
	call	memcpy@PLT
	add	DWORD PTR 0[r13], ebp
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	crypto_xcbc_digest_update, .-crypto_xcbc_digest_update
	.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_xcbc.c_crypto_xcbc_digest_update.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypto_xcbc_digest_update, %function
crypto_xcbc_digest_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, [r0]
	mov	r5, r0
	mov	r0, r8
	mov	r4, r2
	mov	r6, r1
	bl	crypto_shash_alignmask
	mov	r9, r0
	mov	r0, r8
	bl	crypto_shash_ctx
	mov	r3, r0
	mov	r0, r5
	mov	r5, r3
	bl	shash_desc_ctx
	mov	r7, r0
	mov	r0, r8
	ldr	r8, [r5]
	bl	crypto_shash_blocksize
	add	r1, r9, #1
	mov	r5, r0
	ldr	r0, [r7, #4]
	bl	PTR_ALIGN
	ldr	r3, [r7]
	mov	r9, r0
	add	r2, r3, r4
	cmp	r5, r2
	bcs	.L12
	mov	r1, r6
	sub	r2, r5, r3
	add	r0, r0, r3, lsl #2
	bl	memcpy
	ldr	r3, [r7]
	add	r10, r9, r5, lsl #2
	mov	r2, r5
	mov	r1, r9
	add	r4, r3, r4
	mov	r0, r10
	sub	r3, r5, r3
	add	r6, r6, r3, lsl #2
	bl	crypto_xor
	mov	r2, r10
	mov	r1, r10
	mov	r0, r8
	bl	crypto_cipher_encrypt_one
	mov	r3, #0
	sub	r4, r4, r5
	cmp	r5, r4
	str	r3, [r7]
	lsl	fp, r5, #2
	bcs	.L4
.L5:
	mov	r1, r6
	mov	r2, r5
	mov	r0, r10
	bl	crypto_xor
	sub	r4, r4, r5
	mov	r2, r10
	mov	r1, r10
	mov	r0, r8
	bl	crypto_cipher_encrypt_one
	cmp	r5, r4
	add	r6, r6, fp
	bcc	.L5
.L4:
	cmp	r4, #0
	bne	.L13
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	mov	r1, r6
	mov	r0, r9
	mov	r2, r4
	bl	memcpy
	mov	r0, #0
	str	r4, [r7]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r2, r4
	mov	r1, r6
	add	r0, r0, r3, lsl #2
	bl	memcpy
	ldr	r3, [r7]
	mov	r0, #0
	add	r4, r3, r4
	str	r4, [r7]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	crypto_xcbc_digest_update, .-crypto_xcbc_digest_update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
