	.file	"extr_pwhash_scryptsalsa208sha256.c_crypto_pwhash_scryptsalsa208sha256_str_needs_rehash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	crypto_pwhash_scryptsalsa208sha256_str_needs_rehash
	.type	crypto_pwhash_scryptsalsa208sha256_str_needs_rehash, @function
crypto_pwhash_scryptsalsa208sha256_str_needs_rehash:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	rdi, rsi
	mov	rsi, rdx
	sub	rsp, 64
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rcx, 24[rsp]
	lea	rdx, 8[rsp]
	lea	r8, 40[rsp]
	call	pickparams@PLT
	test	rax, rax
	je	.L2
.L11:
	mov	eax, DWORD PTR EINVAL[rip]
	mov	DWORD PTR errno[rip], eax
	mov	eax, -1
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR crypto_pwhash_scryptsalsa208sha256_STRBYTES[rip]
	mov	rdi, rbp
	call	sodium_strnlen@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR crypto_pwhash_scryptsalsa208sha256_STRBYTES[rip]
	sub	eax, 1
	cmp	r8d, eax
	jne	.L11
	lea	rcx, 32[rsp]
	lea	rdx, 48[rsp]
	mov	rdi, rbp
	lea	rsi, 16[rsp]
	call	escrypt_parse_setting@PLT
	test	rax, rax
	je	.L11
	mov	rcx, QWORD PTR 16[rsp]
	mov	eax, 1
	cmp	QWORD PTR 8[rsp], rcx
	jne	.L1
	mov	rcx, QWORD PTR 48[rsp]
	cmp	QWORD PTR 40[rsp], rcx
	jne	.L1
	mov	rax, QWORD PTR 32[rsp]
	cmp	QWORD PTR 24[rsp], rax
	setne	al
	movzx	eax, al
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	crypto_pwhash_scryptsalsa208sha256_str_needs_rehash, .-crypto_pwhash_scryptsalsa208sha256_str_needs_rehash
	.comm	errno,4,4
	.comm	crypto_pwhash_scryptsalsa208sha256_STRBYTES,4,4
	.comm	EINVAL,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_pwhash_scryptsalsa208sha256.c_crypto_pwhash_scryptsalsa208sha256_str_needs_rehash.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	crypto_pwhash_scryptsalsa208sha256_str_needs_rehash
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypto_pwhash_scryptsalsa208sha256_str_needs_rehash, %function
crypto_pwhash_scryptsalsa208sha256_str_needs_rehash:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, lr}
	mov	r5, r3
	sub	sp, sp, #44
	add	lr, sp, #28
	add	r3, sp, #20
	stm	sp, {r3, lr}
	mov	r4, ip
	ldr	ip, .L15
	mov	r0, r2
	mov	r1, r5
	ldr	r2, [sp, #56]
	add	r3, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	bl	pickparams
	cmp	r0, #0
	beq	.L2
.L11:
	mvn	r0, #0
	ldr	r2, .L15+4
	ldr	r3, .L15+8
	ldr	r2, [r2]
	str	r2, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r5, .L15+12
	mov	r0, r4
	ldr	r1, [r5]
	bl	sodium_strnlen
	ldr	r3, [r5]
	sub	r3, r3, #1
	cmp	r0, r3
	bne	.L11
	mov	r0, r4
	add	r3, sp, #24
	add	r2, sp, #32
	add	r1, sp, #16
	bl	escrypt_parse_setting
	cmp	r0, #0
	beq	.L11
	ldr	r2, [sp, #12]
	ldr	r3, [sp, #16]
	cmp	r2, r3
	bne	.L8
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #32]
	cmp	r2, r3
	beq	.L14
.L8:
	mov	r0, #1
	b	.L1
.L14:
	ldr	r0, [sp, #20]
	ldr	r3, [sp, #24]
	subs	r0, r0, r3
	movne	r0, #1
	b	.L1
.L13:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	EINVAL
	.word	errno
	.word	crypto_pwhash_scryptsalsa208sha256_STRBYTES
	.size	crypto_pwhash_scryptsalsa208sha256_str_needs_rehash, .-crypto_pwhash_scryptsalsa208sha256_str_needs_rehash
	.comm	errno,4,4
	.comm	crypto_pwhash_scryptsalsa208sha256_STRBYTES,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
