	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_get_nbits                  ## -- Begin function mpi_get_nbits
	.p2align	4, 0x90
_mpi_get_nbits:                         ## @mpi_get_nbits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_mpi_normalize
	movslq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movq	-8(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	callq	_count_leading_zeros
	movq	_BITS_PER_MPI_LIMB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	decl	%ecx
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	decq	%rcx
	movq	_BITS_PER_MPI_LIMB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	imull	%eax, %ecx
	subl	%eax, %eax
	addl	%ecx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_MPI_LIMB,4,2          ## @BITS_PER_MPI_LIMB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_get_nbits                  ; -- Begin function mpi_get_nbits
	.p2align	2
_mpi_get_nbits:                         ; @mpi_get_nbits
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_mpi_normalize
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	sub	w8, w8, #1
	ldr	x1, [x9, w8, sxtw #3]
	cbz	x1, LBB0_4
; %bb.2:
	bl	_count_leading_zeros
Lloh0:
	adrp	x8, _BITS_PER_MPI_LIMB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITS_PER_MPI_LIMB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	w8, [x19]
	sub	w8, w8, #1
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x9, _BITS_PER_MPI_LIMB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BITS_PER_MPI_LIMB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
LBB0_5:
	sub	w10, w9, w9
	madd	w0, w8, w9, w10
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_MPI_LIMB,4,2          ; @BITS_PER_MPI_LIMB
.subsections_via_symbols
