	.file	"extr_lobject.c_luaO_int2fb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaO_int2fb
	.type	luaO_int2fb, @function
luaO_int2fb:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 7
	jbe	.L12
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	mov	ebx, 1
	cmp	edi, 127
	jbe	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	lea	ecx, 15[rdi]
	mov	edx, eax
	add	eax, 4
	mov	edi, ecx
	shr	edi, 4
	cmp	ecx, 2047
	ja	.L3
	lea	ebx, 5[rdx]
.L4:
	cmp	edi, 15
	jbe	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	lea	ecx, 1[rdi]
	mov	edx, eax
	add	eax, 1
	mov	edi, ecx
	shr	edi
	cmp	ecx, 31
	ja	.L7
	lea	ebx, 2[rdx]
.L6:
	call	cast_int@PLT
	mov	r8d, eax
	lea	eax, 0[0+rbx*8]
	pop	rbx
	.cfi_def_cfa_offset 8
	lea	edx, -8[r8]
	or	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore 3
	mov	eax, edi
	ret
	.cfi_endproc
.LFE0:
	.size	luaO_int2fb, .-luaO_int2fb
	.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_lobject.c_luaO_int2fb.c"
	.text
	.align	2
	.global	luaO_int2fb
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaO_int2fb, %function
luaO_int2fb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #7
	bxls	lr
	cmp	r0, #127
	push	{r4, lr}
	movls	r3, #0
	movls	r4, #1
	bls	.L4
	mov	r3, #0
.L3:
	add	r0, r0, #15
	cmp	r0, #2048
	mov	r2, r3
	lsr	r0, r0, #4
	add	r3, r3, #4
	bcs	.L3
	add	r4, r2, #5
.L4:
	cmp	r0, #15
	bls	.L6
.L7:
	add	r0, r0, #1
	cmp	r0, #31
	mov	r2, r3
	lsr	r0, r0, #1
	add	r3, r3, #1
	bhi	.L7
	add	r4, r2, #2
.L6:
	bl	cast_int
	sub	r0, r0, #8
	orr	r0, r0, r4, lsl #3
	pop	{r4, pc}
	.size	luaO_int2fb, .-luaO_int2fb
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
