	.file	"784123.c"
	.intel_syntax noprefix
	.text
	.globl	bitpos
	.type	bitpos, @function
bitpos:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -44[rbp], edi
	mov	ebx, DWORD PTR -44[rbp]
	mov	DWORD PTR -28[rbp], -1
	mov	r12d, 1
	mov	r13d, 0
	jmp	.L2
.L4:
	mov	eax, ebx
	and	eax, r12d
	test	eax, eax
	je	.L3
	mov	DWORD PTR -28[rbp], r13d
	mov	eax, r12d
	not	eax
	and	ebx, eax
.L3:
	add	r12d, r12d
	add	r13d, 1
.L2:
	test	ebx, ebx
	jne	.L4
	mov	eax, DWORD PTR -28[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bitpos, .-bitpos
	.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	"784123.c"
	.text
	.align	2
	.global	bitpos
	.syntax unified
	.arm
	.fpu softvfp
	.type	bitpos, %function
bitpos:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, fp}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	ldr	r4, [fp, #-24]
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r5, #1
	mov	r6, #0
	b	.L2
.L4:
	and	r3, r4, r5
	cmp	r3, #0
	beq	.L3
	str	r6, [fp, #-16]
	mvn	r3, r5
	and	r4, r4, r3
.L3:
	lsl	r5, r5, #1
	add	r6, r6, #1
.L2:
	cmp	r4, #0
	bne	.L4
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, r6, fp}
	bx	lr
	.size	bitpos, .-bitpos
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
