	.file	"extr_stb_image.c_high_bit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	high_bit, @function
high_bit:
.LFB0:
	.cfi_startproc
	endbr64
	test	edi, edi
	je	.L7
	xor	eax, eax
	cmp	edi, 65535
	jbe	.L3
	shr	edi, 16
	mov	eax, 16
.L3:
	cmp	edi, 255
	jbe	.L4
	add	eax, 8
	shr	edi, 8
.L4:
	cmp	edi, 15
	jbe	.L5
	add	eax, 4
	shr	edi, 4
.L5:
	cmp	edi, 3
	jbe	.L6
	add	eax, 2
	shr	edi, 2
.L6:
	xor	edx, edx
	cmp	edi, 1
	setne	dl
	add	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	high_bit, .-high_bit
	.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_image.c_high_bit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	high_bit, %function
high_bit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	subs	r3, r0, #0
	beq	.L7
	cmp	r3, #65536
	movcs	r0, #16
	movcc	r0, #0
	lsrcs	r3, r3, #16
	cmp	r3, #255
	lsrhi	r3, r3, #8
	addhi	r0, r0, #8
	cmp	r3, #15
	lsrhi	r3, r3, #4
	addhi	r0, r0, #4
	cmp	r3, #3
	lsrhi	r3, r3, #2
	addhi	r0, r0, #2
	cmp	r3, #1
	addne	r0, r0, #1
	bx	lr
.L7:
	mvn	r0, #0
	bx	lr
	.size	high_bit, .-high_bit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
