	.file	"extr_mlx4_main.c_choose_log_fs_mgm_entry_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	choose_log_fs_mgm_entry_size, @function
choose_log_fs_mgm_entry_size:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR MLX4_MIN_MGM_LOG_ENTRY_SIZE[rip]
	mov	esi, DWORD PTR MLX4_MAX_MGM_LOG_ENTRY_SIZE[rip]
	cmp	ecx, esi
	jg	.L5
	mov	eax, 1
	sal	eax, cl
	mov	edx, eax
	lea	eax, 15[rax]
	test	edx, edx
	cmovns	eax, edx
	sar	eax, 4
	lea	eax, -8[0+rax*4]
	cmp	eax, edi
	jge	.L1
	mov	r8d, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, r8d
	sal	edx, cl
	test	edx, edx
	lea	eax, 15[rdx]
	cmovns	eax, edx
	sar	eax, 4
	lea	eax, -8[0+rax*4]
	cmp	eax, edi
	jge	.L1
.L3:
	add	ecx, 1
	cmp	ecx, esi
	jle	.L4
.L5:
	mov	ecx, -1
.L1:
	mov	eax, ecx
	ret
	.cfi_endproc
.LFE0:
	.size	choose_log_fs_mgm_entry_size, .-choose_log_fs_mgm_entry_size
	.comm	MLX4_MIN_MGM_LOG_ENTRY_SIZE,4,4
	.comm	MLX4_MAX_MGM_LOG_ENTRY_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_mlx4_main.c_choose_log_fs_mgm_entry_size.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	choose_log_fs_mgm_entry_size, %function
choose_log_fs_mgm_entry_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	ldr	r3, .L10+4
	str	lr, [sp, #-4]!
	ldr	r2, [r2]
	ldr	lr, [r3]
	cmp	r2, lr
	bgt	.L5
	mov	ip, #1
	lsl	r3, ip, r2
	add	r1, r3, #15
	b	.L4
.L9:
	add	r2, r2, #1
	lsl	r3, ip, r2
	cmp	r2, lr
	add	r1, r3, #15
	bgt	.L5
.L4:
	cmp	r3, #0
	movlt	r3, r1
	asr	r3, r3, #4
	sub	r3, r3, #2
	cmp	r0, r3, lsl #2
	bgt	.L9
	mov	r0, r2
	ldr	pc, [sp], #4
.L5:
	mvn	r2, #0
	mov	r0, r2
	ldr	pc, [sp], #4
.L11:
	.align	2
.L10:
	.word	MLX4_MIN_MGM_LOG_ENTRY_SIZE
	.word	MLX4_MAX_MGM_LOG_ENTRY_SIZE
	.size	choose_log_fs_mgm_entry_size, .-choose_log_fs_mgm_entry_size
	.comm	MLX4_MIN_MGM_LOG_ENTRY_SIZE,4,4
	.comm	MLX4_MAX_MGM_LOG_ENTRY_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
