	.file	"extr_fips_prf_wolfssl.c_fips186_2_prf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fips186_2_prf
	.type	fips186_2_prf, @function
fips186_2_prf:
.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
	mov	r12, rdx
	mov	edx, 256
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 360
	.cfi_def_cfa_offset 416
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 344[rsp], rax
	xor	eax, eax
	lea	r15, 80[rsp]
	cmp	rsi, 255
	jbe	.L16
.L2:
	mov	rsi, r13
	mov	rdi, r15
	call	os_memcpy@PLT
	mov	DWORD PTR 32[rsp], -1009589776
	movabs	rax, -1167088121787636991
	movabs	rdx, -3689348814741910323
	mov	QWORD PTR 16[rsp], rax
	movabs	rax, 1167088121787636990
	mov	QWORD PTR 24[rsp], rax
	mov	rax, rbx
	mul	rdx
	shr	rdx, 5
	test	edx, edx
	jle	.L7
	lea	eax, -1[rdx]
	lea	r14, 160[r12]
	lea	rax, [rax+rax*4]
	lea	r13, 16[rsp]
	sal	rax, 5
	lea	rbp, 48[rsp]
	lea	rax, 320[r12+rax]
	lea	r12, 156[rsp]
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rbx, -160[r14]
.L5:
	mov	edx, 20
	mov	rsi, r13
	mov	rdi, rbp
	call	os_memcpy@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	sha1_transform@PLT
	mov	esi, DWORD PTR 48[rsp]
	mov	rdi, rbx
	call	WPA_PUT_BE32@PLT
	mov	esi, DWORD PTR 52[rsp]
	lea	rdi, 16[rbx]
	call	WPA_PUT_BE32@PLT
	mov	esi, DWORD PTR 56[rsp]
	lea	rdi, 32[rbx]
	call	WPA_PUT_BE32@PLT
	mov	esi, DWORD PTR 60[rsp]
	lea	rdi, 48[rbx]
	call	WPA_PUT_BE32@PLT
	mov	esi, DWORD PTR 64[rsp]
	lea	rdi, 64[rbx]
	call	WPA_PUT_BE32@PLT
	mov	rdx, r12
	lea	rsi, 76[rbx]
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR [rsi]
	add	ecx, DWORD PTR [rdx]
	mov	rdi, rdx
	sub	rsi, 4
	add	eax, ecx
	sub	rdx, 4
	movzx	ecx, al
	sar	eax, 8
	mov	DWORD PTR 4[rdx], ecx
	cmp	rdi, r15
	jne	.L4
	add	rbx, 80
	cmp	rbx, r14
	jne	.L5
	add	r14, 160
	cmp	r14, QWORD PTR 8[rsp]
	jne	.L6
.L7:
	mov	rax, QWORD PTR 344[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 360
	.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
.L16:
	.cfi_restore_state
	sub	edx, esi
	mov	rbp, rsi
	lea	rdi, [r15+rsi*4]
	xor	esi, esi
	call	os_memset@PLT
	mov	edx, ebp
	jmp	.L2
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fips186_2_prf, .-fips186_2_prf
	.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_fips_prf_wolfssl.c_fips186_2_prf.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fips186_2_prf
	.syntax unified
	.arm
	.fpu softvfp
	.type	fips186_2_prf, %function
fips186_2_prf:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r3
	ldr	r3, .L18
	sub	sp, sp, #304
	cmp	r1, #255
	mov	r6, r2
	mov	r8, r0
	ldr	r3, [r3]
	str	r3, [sp, #300]
	mov	r3,#0
	movhi	r2, #256
	addhi	r4, sp, #44
	bls	.L16
.L2:
	ldr	r5, .L18+4
	mov	r1, r8
	mov	r0, r4
	bl	os_memcpy
	umull	r2, r5, r7, r5
	ldr	r3, .L18+8
	cmp	r7, #39
	lsr	r5, r5, #5
	addhi	r5, r5, #1
	ldr	r0, .L18+12
	ldr	r1, .L18+16
	ldr	r2, .L18+20
	str	r3, [sp, #4]
	ldr	r3, .L18+24
	addhi	r5, r5, r5, lsl #2
	addhi	r5, r6, r5, lsl #5
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	addhi	r6, r6, #160
	bls	.L7
.L6:
	sub	r7, r6, #160
.L5:
	mov	r2, #20
	add	r1, sp, #4
	add	r0, sp, #24
	bl	os_memcpy
	mov	r1, r4
	add	r0, sp, #24
	bl	sha1_transform
	ldr	r1, [sp, #24]
	mov	r0, r7
	bl	WPA_PUT_BE32
	ldr	r1, [sp, #28]
	add	r0, r7, #16
	bl	WPA_PUT_BE32
	ldr	r1, [sp, #32]
	add	r0, r7, #32
	bl	WPA_PUT_BE32
	ldr	r1, [sp, #36]
	add	r0, r7, #48
	bl	WPA_PUT_BE32
	ldr	r1, [sp, #40]
	add	r0, r7, #64
	bl	WPA_PUT_BE32
	add	r0, r7, #80
	mov	ip, r0
	mov	r3, #1
	add	r2, sp, #120
.L4:
	ldr	r1, [r2]
	ldr	lr, [ip, #-4]!
	cmp	r2, r4
	add	r1, r1, lr
	add	r3, r1, r3
	and	r1, r3, #255
	str	r1, [r2], #-4
	asr	r3, r3, #8
	bne	.L4
	cmp	r0, r6
	mov	r7, r0
	bne	.L5
	add	r6, r6, #160
	cmp	r6, r5
	bne	.L6
.L7:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #300]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, #0
	add	sp, sp, #304
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r5, r1
	add	r4, sp, #44
	rsb	r2, r1, #256
	add	r0, r4, r1, lsl #2
	mov	r1, #0
	bl	os_memset
	mov	r2, r5
	b	.L2
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	-858993459
	.word	1732584193
	.word	-271733879
	.word	-1732584194
	.word	271733878
	.word	-1009589776
	.size	fips186_2_prf, .-fips186_2_prf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
