	.file	"extr_password.c_php_password_bcrypt_verify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	php_password_bcrypt_verify, @function
php_password_bcrypt_verify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	ZSTR_LEN@PLT
	mov	rdi, rbx
	mov	r13, rax
	call	ZSTR_VAL@PLT
	mov	rdi, rbp
	mov	r14, rax
	call	ZSTR_LEN@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	ZSTR_VAL@PLT
	mov	ecx, r13d
	mov	rdx, r14
	mov	esi, r12d
	mov	rdi, rax
	mov	r8d, 1
	call	php_crypt@PLT
	mov	r13, rax
	xor	eax, eax
	test	r13, r13
	je	.L1
	mov	rdi, r13
	call	ZSTR_LEN@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	ZSTR_LEN@PLT
	cmp	rbp, rax
	jne	.L3
	mov	rdi, rbx
	xor	r14d, r14d
	xor	ebp, ebp
	call	ZSTR_LEN@PLT
	cmp	rax, 12
	ja	.L4
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	call	ZSTR_VAL@PLT
	mov	rdi, rbx
	mov	r12d, DWORD PTR [rax+rbp*4]
	call	ZSTR_VAL@PLT
	xor	r12d, DWORD PTR [rax+rbp*4]
	add	rbp, 1
	or	r14d, r12d
.L4:
	mov	rdi, rbx
	call	ZSTR_LEN@PLT
	mov	rdi, r13
	cmp	rax, rbp
	ja	.L5
	call	zend_string_free@PLT
	xor	eax, eax
	test	r14d, r14d
	sete	al
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, r13
	call	zend_string_free@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	php_password_bcrypt_verify, .-php_password_bcrypt_verify
	.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_password.c_php_password_bcrypt_verify.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	php_password_bcrypt_verify, %function
php_password_bcrypt_verify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r4, r1
	mov	r6, r0
	bl	ZSTR_VAL
	mov	r5, r0
	mov	r0, r6
	bl	ZSTR_LEN
	mov	r6, r0
	mov	r0, r4
	bl	ZSTR_VAL
	mov	r7, r0
	mov	r0, r4
	bl	ZSTR_LEN
	mov	ip, #1
	mov	r3, r0
	mov	r1, r6
	mov	r2, r7
	mov	r0, r5
	str	ip, [sp]
	bl	php_crypt
	subs	r6, r0, #0
	moveq	r0, r6
	beq	.L1
	bl	ZSTR_LEN
	mov	r5, r0
	mov	r0, r4
	bl	ZSTR_LEN
	cmp	r5, r0
	bne	.L3
	mov	r0, r4
	bl	ZSTR_LEN
	cmp	r0, #12
	movhi	r8, #0
	movhi	r5, r8
	bhi	.L4
	b	.L3
.L5:
	bl	ZSTR_VAL
	mov	r3, r0
	mov	r0, r4
	ldr	r7, [r3, r5, lsl #2]
	bl	ZSTR_VAL
	ldr	r3, [r0, r5, lsl #2]
	add	r5, r5, #1
	eor	r7, r7, r3
	orr	r8, r8, r7
.L4:
	mov	r0, r4
	bl	ZSTR_LEN
	cmp	r0, r5
	mov	r0, r6
	bhi	.L5
	bl	zend_string_free
	clz	r0, r8
	lsr	r0, r0, #5
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r6
	bl	zend_string_free
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
	.size	php_password_bcrypt_verify, .-php_password_bcrypt_verify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
