	.file	"extr_crypto_gnutls.c_gnutls_hmac_vector.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gnutls_hmac_vector, @function
gnutls_hmac_vector:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 96[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	TEST_FAIL@PLT
	test	rax, rax
	jne	.L17
	mov	edx, DWORD PTR GCRY_MD_FLAG_HMAC[rip]
	lea	rdi, 20[rsp]
	mov	esi, r13d
	call	gcry_md_open@PLT
	cmp	rax, QWORD PTR GPG_ERR_NO_ERROR[rip]
	jne	.L17
	mov	edi, DWORD PTR 20[rsp]
	mov	rdx, r15
	mov	rsi, r14
	call	gcry_md_setkey@PLT
	cmp	rax, QWORD PTR GPG_ERR_NO_ERROR[rip]
	jne	.L5
	xor	r14d, r14d
	test	rbx, rbx
	je	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR [r12+r14*8]
	mov	rsi, QWORD PTR 0[rbp+r14*8]
	add	r14, 1
	mov	edi, DWORD PTR 20[rsp]
	call	gcry_md_write@PLT
	cmp	rbx, r14
	jne	.L6
.L7:
	mov	edi, DWORD PTR 20[rsp]
	mov	esi, r13d
	call	gcry_md_read@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
	mov	edi, r13d
	call	gcry_md_get_algo_dlen@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	edx, eax
	call	memcpy@PLT
.L8:
	mov	edi, DWORD PTR 20[rsp]
	call	gcry_md_close@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 20[rsp]
	call	gcry_md_close@PLT
.L17:
	mov	eax, -1
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gnutls_hmac_vector, .-gnutls_hmac_vector
	.comm	GPG_ERR_NO_ERROR,8,8
	.comm	GCRY_MD_FLAG_HMAC,4,4
	.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_crypto_gnutls.c_gnutls_hmac_vector.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gnutls_hmac_vector, %function
gnutls_hmac_vector:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	ldr	r3, .L19
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r3, [sp, #56]
	mov	r7, r0
	mov	r10, r1
	mov	fp, r2
	ldr	r5, [sp, #60]
	ldr	r9, [sp, #64]
	str	r3, [sp, #4]
	bl	TEST_FAIL
	subs	r8, r0, #0
	bne	.L16
	ldr	r3, .L19+4
	mov	r1, r7
	ldr	r2, [r3]
	add	r0, sp, #8
	bl	gcry_md_open
	ldr	r4, .L19+8
	ldr	r2, [r4]
	cmp	r0, r2
	bne	.L16
	mov	r2, fp
	mov	r1, r10
	ldr	r0, [sp, #8]
	bl	gcry_md_setkey
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L5
	cmp	r6, #0
	beq	.L7
	ldr	r3, [sp, #4]
	sub	r5, r5, #4
	sub	r4, r3, #4
	add	r6, r4, r6, lsl #2
.L8:
	ldr	r1, [r4, #4]!
	ldr	r2, [r5, #4]!
	ldr	r0, [sp, #8]
	bl	gcry_md_write
	cmp	r4, r6
	bne	.L8
.L7:
	mov	r1, r7
	ldr	r0, [sp, #8]
	bl	gcry_md_read
	subs	r4, r0, #0
	beq	.L9
	mov	r0, r7
	bl	gcry_md_get_algo_dlen
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	memcpy
.L9:
	ldr	r0, [sp, #8]
	bl	gcry_md_close
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r0, [sp, #8]
	bl	gcry_md_close
.L16:
	mvn	r8, #0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	GCRY_MD_FLAG_HMAC
	.word	GPG_ERR_NO_ERROR
	.size	gnutls_hmac_vector, .-gnutls_hmac_vector
	.comm	GPG_ERR_NO_ERROR,4,4
	.comm	GCRY_MD_FLAG_HMAC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
