	.file	"extr_partbounds.c_partition_range_bsearch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	partition_range_bsearch, @function
partition_range_bsearch:
.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
	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
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r12d, DWORD PTR [rcx]
	mov	DWORD PTR 12[rsp], edi
	mov	QWORD PTR 16[rsp], r8
	mov	QWORD PTR 24[rsp], r9
	sub	r12d, 1
	js	.L6
	mov	r13, rsi
	mov	r14, rdx
	mov	rbp, rcx
	mov	r15d, -1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	lea	r12d, -1[rbx]
.L4:
	cmp	r12d, r15d
	jle	.L1
.L5:
	lea	ebx, 1[r12+r15]
	mov	rdx, QWORD PTR 8[rbp]
	xor	r9d, r9d
	mov	rsi, r13
	sar	ebx
	movsx	rax, ebx
	cmp	DWORD PTR [rdx+rax*4], -1
	mov	rdx, QWORD PTR 16[rbp]
	sete	r9b
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	r8d, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR 24[rbp]
	mov	ecx, DWORD PTR [rdx+rax*4]
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 112
	mov	rdx, r14
	mov	edi, DWORD PTR 28[rsp]
	call	partition_rbound_cmp@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	test	rax, rax
	jg	.L3
	mov	rsi, QWORD PTR 24[rsp]
	sete	al
	mov	r15d, ebx
	movzx	eax, al
	mov	DWORD PTR [rsi], eax
	jne	.L4
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L6:
	.cfi_restore_state
	mov	r15d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	partition_range_bsearch, .-partition_range_bsearch
	.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_partbounds.c_partition_range_bsearch.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	partition_range_bsearch, %function
partition_range_bsearch:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, [r3]
	sub	sp, sp, #20
	subs	r6, r6, #1
	ldr	r10, [sp, #56]
	bmi	.L6
	mov	r5, r3
	mov	r8, r0
	mov	r9, r1
	mov	fp, r2
	mvn	r7, #0
	b	.L5
.L4:
	cmp	r6, r7
	ble	.L1
.L5:
	add	r4, r7, r6
	ldr	r3, [r5, #12]
	add	r4, r4, #1
	ldr	r1, [r5, #4]
	asr	r4, r4, #1
	ldr	r3, [r3, r4, lsl #2]
	str	r10, [sp, #8]
	ldr	r1, [r1, r4, lsl #2]
	ldr	r0, [r5, #8]
	cmn	r1, #1
	movne	r1, #0
	moveq	r1, #1
	str	r1, [sp, #4]
	ldr	r1, [r0, r4, lsl #2]
	mov	r2, fp
	str	r1, [sp]
	mov	r0, r8
	mov	r1, r9
	bl	partition_rbound_cmp
	cmp	r0, #0
	subgt	r6, r4, #1
	bgt	.L4
	moveq	r3, #1
	movne	r3, #0
	ldr	r2, [sp, #60]
	mov	r7, r4
	str	r3, [r2]
	bne	.L4
.L1:
	mov	r0, r7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mvn	r7, #0
	b	.L1
	.size	partition_range_bsearch, .-partition_range_bsearch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
