	.file	"extr_hashutil.c__hash_binsearch_last.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_hash_binsearch_last
	.type	_hash_binsearch_last, @function
_hash_binsearch_last:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	PageGetMaxOffsetNumber@PLT
	mov	r14d, eax
	mov	eax, DWORD PTR FirstOffsetNumber[rip]
	lea	r13d, -1[rax]
	cmp	r14d, r13d
	jg	.L4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	r14d, -1[rbx]
	cmp	r13d, r14d
	jge	.L1
.L4:
	lea	eax, 1[r14+r13]
	mov	ebx, eax
	shr	ebx, 31
	add	ebx, eax
	sar	ebx
	mov	edi, ebx
	call	OffsetNumberIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	mov	esi, ebx
	mov	edi, ebp
	call	PageGetItemId@PLT
	mov	edi, ebp
	mov	esi, eax
	call	PageGetItem@PLT
	mov	rdi, rax
	call	_hash_get_indextuple_hashkey@PLT
	cmp	rax, r12
	jg	.L9
	mov	r13d, ebx
	cmp	r13d, r14d
	jl	.L4
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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	_hash_binsearch_last, .-_hash_binsearch_last
	.comm	FirstOffsetNumber,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_hashutil.c__hash_binsearch_last.c"
	.text
	.align	2
	.global	_hash_binsearch_last
	.syntax unified
	.arm
	.fpu softvfp
	.type	_hash_binsearch_last, %function
_hash_binsearch_last:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r6, r0
	bl	PageGetMaxOffsetNumber
	ldr	r3, .L9
	ldr	r5, [r3]
	sub	r5, r5, #1
	cmp	r0, r5
	ble	.L1
	mov	r8, r0
.L4:
	add	r4, r8, r5
	add	r4, r4, #1
	add	r4, r4, r4, lsr #31
	asr	r4, r4, #1
	mov	r0, r4
	bl	OffsetNumberIsValid
	bl	Assert
	mov	r1, r4
	mov	r0, r6
	bl	PageGetItemId
	mov	r1, r0
	mov	r0, r6
	bl	PageGetItem
	bl	_hash_get_indextuple_hashkey
	cmp	r0, r7
	movle	r5, r4
	subgt	r8, r4, #1
	cmp	r5, r8
	blt	.L4
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	FirstOffsetNumber
	.size	_hash_binsearch_last, .-_hash_binsearch_last
	.comm	FirstOffsetNumber,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
