	.file	"extr_memory.c_i2o_sg_tablesize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i2o_sg_tablesize
	.type	i2o_sg_tablesize, @function
i2o_sg_tablesize:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 16[rdi]
	mov	eax, DWORD PTR [rax]
	sub	eax, esi
	cmp	QWORD PTR 8[rdi], 0
	je	.L2
	lea	edx, -3[rax]
	movsx	rax, edx
	sar	edx, 31
	imul	rax, rax, 1431655766
	shr	rax, 32
	sub	eax, edx
.L3:
	cmp	QWORD PTR [rdi], 0
	je	.L1
	cmp	eax, 8
	mov	edx, 8
	cmovg	eax, edx
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	lea	edx, -1[rax]
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	i2o_sg_tablesize, .-i2o_sg_tablesize
	.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_memory.c_i2o_sg_tablesize.c"
	.text
	.align	2
	.global	i2o_sg_tablesize
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2o_sg_tablesize, %function
i2o_sg_tablesize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r2, r0
	ldmib	r0, {r0, r3}
	ldr	r3, [r3]
	cmp	r0, #0
	sub	r3, r3, r1
	ldrne	r0, .L9
	subne	r3, r3, #3
	smullne	r1, r0, r3, r0
	subeq	r3, r3, #1
	addeq	r3, r3, r3, lsr #31
	subne	r0, r0, r3, asr #31
	asreq	r0, r3, #1
	ldr	r3, [r2]
	cmp	r3, #0
	bxeq	lr
	cmp	r0, #8
	movge	r0, #8
	bx	lr
.L10:
	.align	2
.L9:
	.word	1431655766
	.size	i2o_sg_tablesize, .-i2o_sg_tablesize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
