	.file	"extr_smc_core.c_smc_compress_bufsize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	smc_compress_bufsize, @function
smc_compress_bufsize:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR SMC_BUF_MIN_SIZE[rip], edi
	jl	.L10
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	sub	edi, 1
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	sar	edi, 14
	call	ilog2@PLT
	mov	rdx, QWORD PTR SMC_RMBE_SIZES[rip]
	add	rax, 1
	cmp	rdx, rax
	lea	rcx, -1[rdx]
	cmovle	rax, rcx
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	smc_compress_bufsize, .-smc_compress_bufsize
	.comm	SMC_RMBE_SIZES,8,8
	.comm	SMC_BUF_MIN_SIZE,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_smc_core.c_smc_compress_bufsize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smc_compress_bufsize, %function
smc_compress_bufsize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L9
	mov	r0, #0
	bx	lr
.L9:
	sub	r0, r0, #1
	push	{r4, lr}
	asr	r0, r0, #14
	bl	ilog2
	ldr	r3, .L10+4
	add	r0, r0, #1
	ldr	r3, [r3]
	cmp	r3, r0
	suble	r0, r3, #1
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	SMC_BUF_MIN_SIZE
	.word	SMC_RMBE_SIZES
	.size	smc_compress_bufsize, .-smc_compress_bufsize
	.comm	SMC_RMBE_SIZES,4,4
	.comm	SMC_BUF_MIN_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
