	.file	"extr_hash_buf.c___get_buf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__get_buf
	.type	__get_buf, @function
__get_buf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	rdx, rdx
	je	.L2
	mov	r12, QWORD PTR 8[rdx]
	movsx	rbp, ecx
	test	r12, r12
	je	.L3
	cmp	DWORD PTR [r12], esi
	je	.L4
.L3:
	mov	r14d, DWORD PTR BUF_DISK[rip]
	test	ebp, ebp
	je	.L5
	xor	r14d, r14d
	xor	ebp, ebp
.L5:
	mov	rdx, rbx
	mov	esi, r13d
	mov	rdi, r15
	call	newbuf@PLT
	mov	r12, rax
	test	rax, rax
	je	.L9
	xor	ecx, ecx
	mov	esi, DWORD PTR 4[rax]
	test	rbx, rbx
	mov	r8d, r14d
	sete	cl
	mov	edx, r13d
	xor	r9d, r9d
	mov	rdi, r15
	call	__get_page@PLT
	test	rax, rax
	jne	.L9
	test	rbx, rbx
	jne	.L1
	movsx	r14, DWORD PTR 4[rsp]
	mov	rax, QWORD PTR 8[rsp]
	or	rbp, r12
	mov	QWORD PTR [rax+r14*8], rbp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR [rdi]
	mov	ecx, DWORD PTR 4[rdi]
	mov	rdx, QWORD PTR 16[rdi]
	lea	r14d, -1[rax]
	mov	eax, r13d
	sar	eax, cl
	mov	esi, r14d
	mov	r14d, 1
	cdqe
	and	esi, r13d
	mov	rdx, QWORD PTR [rdx+rax*8]
	movsx	rax, esi
	mov	DWORD PTR 4[rsp], esi
	lea	rbp, [rdx+rax*8]
	mov	QWORD PTR 8[rsp], rdx
	mov	rdi, QWORD PTR 0[rbp]
	call	PTROF@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r12, rax
	call	ISDISK@PLT
	movsx	rbp, eax
	test	ebp, ebp
	jne	.L6
	mov	eax, DWORD PTR 8[r15]
	xor	r14d, r14d
	test	eax, eax
	sete	r14b
.L6:
	test	r12, r12
	je	.L5
.L4:
	mov	rdi, r12
	call	BUF_REMOVE@PLT
	mov	rdi, r12
	call	MRU_INSERT@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L9:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	__get_buf, .-__get_buf
	.comm	BUF_DISK,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_hash_buf.c___get_buf.c"
	.text
	.align	2
	.global	__get_buf
	.syntax unified
	.arm
	.fpu softvfp
	.type	__get_buf, %function
__get_buf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r2, #0
	mov	r10, r0
	mov	r9, r1
	sub	sp, sp, #12
	beq	.L2
	ldr	r4, [r6, #8]
	mov	r5, r3
	cmp	r4, #0
	beq	.L3
	ldr	r3, [r4]
	cmp	r3, r1
	beq	.L4
.L3:
	cmp	r5, #0
	movne	r5, #0
	movne	fp, r5
	ldreq	r3, .L17
	ldreq	fp, [r3]
.L5:
	mov	r2, r6
	mov	r1, r9
	mov	r0, r10
	bl	newbuf
	subs	r4, r0, #0
	beq	.L9
	mov	ip, #0
	clz	r3, r6
	ldr	r1, [r4, #4]
	mov	r2, r9
	mov	r0, r10
	stm	sp, {fp, ip}
	lsr	r3, r3, #5
	bl	__get_page
	cmp	r0, #0
	bne	.L9
	mov	r0, r4
	cmp	r6, #0
	orreq	r5, r4, r5
	streq	r5, [r8, r7, lsl #2]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, [r0, #4]
	ldr	r2, [r0, #12]
	ldr	r7, [r0]
	asr	r3, r1, r3
	ldr	r8, [r2, r3, lsl #2]
	sub	r7, r7, #1
	and	r7, r7, r1
	ldr	r0, [r8, r7, lsl #2]
	bl	PTROF
	mov	r4, r0
	ldr	r0, [r8, r7, lsl #2]
	bl	ISDISK
	subs	r5, r0, #0
	ldreq	fp, [r10, #8]
	movne	fp, #1
	clzeq	fp, fp
	lsreq	fp, fp, #5
	cmp	r4, #0
	beq	.L5
.L4:
	mov	r0, r4
	bl	BUF_REMOVE
	mov	r0, r4
	bl	MRU_INSERT
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r4, #0
	b	.L1
.L18:
	.align	2
.L17:
	.word	BUF_DISK
	.size	__get_buf, .-__get_buf
	.comm	BUF_DISK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
