	.file	"extr_..stb.h_stb_log2_floor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	stb_log2_floor
	.type	stb_log2_floor, @function
stb_log2_floor:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	rdi, 16383
	ja	.L2
	cmp	rdi, 15
	jbe	.L10
	cmp	rdi, 511
	ja	.L5
	shr	rdi, 5
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	add	eax, 5
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	rdi, 16777215
	ja	.L6
	cmp	rdi, 524287
	ja	.L7
	shr	rdi, 15
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	add	eax, 15
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	rdi, 536870911
	ja	.L8
	shr	rdi, 25
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	add	eax, 25
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	shr	rdi, 10
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	add	eax, 10
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	shr	rdi, 20
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	add	eax, 20
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	shr	rdi, 30
	lea	rax, log2_4.1918[rip]
	movsx	eax, BYTE PTR [rax+rdi]
	add	eax, 30
	ret
	.cfi_endproc
.LFE0:
	.size	stb_log2_floor, .-stb_log2_floor
	.section	.rodata
	.align 16
	.type	log2_4.1918, @object
	.size	log2_4.1918, 16
log2_4.1918:
	.string	"\377"
	.ascii	"\001\001\002\002\002\002\003\003\003\003\003\003\003\003"
	.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_..stb.h_stb_log2_floor.c"
	.text
	.align	2
	.global	stb_log2_floor
	.syntax unified
	.arm
	.fpu softvfp
	.type	stb_log2_floor, %function
stb_log2_floor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #16384
	ldr	r3, .L11
	bcs	.L2
	cmp	r0, #15
	bls	.L10
	cmp	r0, #512
	lsrcc	r0, r0, #5
	ldrsbcc	r0, [r3, r0]
	addcc	r0, r0, #5
	lsrcs	r0, r0, #10
	ldrsbcs	r0, [r3, r0]
	addcs	r0, r0, #10
	bx	lr
.L2:
	cmp	r0, #16777216
	bcs	.L6
	cmp	r0, #524288
	lsrcc	r0, r0, #15
	ldrsbcc	r0, [r3, r0]
	addcc	r0, r0, #15
	lsrcs	r0, r0, #20
	ldrsbcs	r0, [r3, r0]
	addcs	r0, r0, #20
	bx	lr
.L6:
	cmn	r0, #-536870911
	lsrls	r0, r0, #25
	ldrsbls	r0, [r3, r0]
	addls	r0, r0, #25
	lsrhi	r0, r0, #30
	ldrsbhi	r0, [r3, r0]
	addhi	r0, r0, #30
	bx	lr
.L10:
	ldrsb	r0, [r3, r0]
	bx	lr
.L12:
	.align	2
.L11:
	.word	.LANCHOR0
	.size	stb_log2_floor, .-stb_log2_floor
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	log2_4.4202, %object
	.size	log2_4.4202, 16
log2_4.4202:
	.ascii	"\377\000\001\001\002\002\002\002\003\003\003\003\003"
	.ascii	"\003\003\003"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
