	.file	"extr_tegra124_clk_pll.c_pdiv_to_reg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pdiv_to_reg, @function
pdiv_to_reg:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	jne	.L13
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	rsi, rdx
	jle	.L15
	add	rax, 16
.L13:
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	jne	.L3
	mov	eax, 4294967295
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 8[rax]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdi, rsi
	call	ffs@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 8
	sub	rax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	pdiv_to_reg, .-pdiv_to_reg
	.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_tegra124_clk_pll.c_pdiv_to_reg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdiv_to_reg, %function
pdiv_to_reg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L2
	ldr	r3, [r2]
	cmp	r3, #0
	bne	.L6
	b	.L8
.L5:
	ldr	r3, [r2, #8]!
	cmp	r3, #0
	beq	.L8
.L6:
	cmp	r1, r3
	bgt	.L5
	ldr	r0, [r2, #4]
	bx	lr
.L8:
	mvn	r0, #0
	bx	lr
.L2:
	rsb	r0, r1, #0
	and	r0, r0, r1
	clz	r0, r0
	rsb	r0, r0, #31
	bx	lr
	.size	pdiv_to_reg, .-pdiv_to_reg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
