	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max_nbits
_max_nbits:                             ## @max_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
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_FFABS
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	sarl	%edx
	cmpl	$1, %eax
	movl	%edx, %eax
	ja	LBB0_3
LBB0_4:
	cmpl	(%rbx), %ecx
	jle	LBB0_6
## %bb.5:
	movl	%ecx, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_max_nbits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max_nbits
_max_nbits:                             ; @max_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
	cbz	w1, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x1
	bl	_FFABS
	mov	w8, #1
	cbz	w0, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w8, #1
	asr	w9, w0, #1
	cmp	w0, #1
	mov	x0, x9
	b.hi	LBB0_2
LBB0_3:
	ldr	w9, [x19]
	cmp	w8, w9
	b.le	LBB0_5
; %bb.4:
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_max_nbits
.subsections_via_symbols
