	.file	"137753.c"
	.intel_syntax noprefix
	.text
	.globl	leading_one
	.type	leading_one, @function
leading_one:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	bsr	eax, eax
	xor	eax, 31
	mov	edx, eax
	mov	eax, 31
	sub	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	leading_one, .-leading_one
	.globl	leading_one_l
	.type	leading_one_l, @function
leading_one_l:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	bsr	rax, rax
	xor	rax, 63
	mov	edx, eax
	mov	eax, 63
	sub	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	leading_one_l, .-leading_one_l
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 37
	call	leading_one
	cmp	eax, 5
	je	.L6
	call	abort@PLT
.L6:
	mov	edi, 1
	call	leading_one
	test	eax, eax
	je	.L7
	call	abort@PLT
.L7:
	mov	edi, -1
	call	leading_one
	cmp	eax, 31
	je	.L8
	call	abort@PLT
.L8:
	mov	edi, 37
	call	leading_one_l
	cmp	eax, 5
	je	.L9
	call	abort@PLT
.L9:
	mov	edi, 1
	call	leading_one_l
	test	eax, eax
	je	.L10
	call	abort@PLT
.L10:
	mov	rdi, -1
	call	leading_one_l
	cmp	eax, 63
	je	.L11
	call	abort@PLT
.L11:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"137753.c"
	.text
	.align	2
	.global	leading_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	leading_one, %function
leading_one:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	clz	r3, r3
	rsb	r3, r3, #31
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	leading_one, .-leading_one
	.align	2
	.global	leading_one_l
	.syntax unified
	.arm
	.fpu softvfp
	.type	leading_one_l, %function
leading_one_l:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	clz	r3, r3
	rsb	r3, r3, #31
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	leading_one_l, .-leading_one_l
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #37
	bl	leading_one
	mov	r3, r0
	cmp	r3, #5
	beq	.L6
	bl	abort
.L6:
	mov	r0, #1
	bl	leading_one
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	bl	abort
.L7:
	mvn	r0, #0
	bl	leading_one
	mov	r3, r0
	cmp	r3, #31
	beq	.L8
	bl	abort
.L8:
	mov	r0, #37
	bl	leading_one_l
	mov	r3, r0
	cmp	r3, #5
	beq	.L9
	bl	abort
.L9:
	mov	r0, #1
	bl	leading_one_l
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	bl	abort
.L10:
	mvn	r0, #0
	bl	leading_one_l
	mov	r3, r0
	cmp	r3, #63
	beq	.L11
	bl	abort
.L11:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
