	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getValueRequiredBits           ## -- Begin function getValueRequiredBits
	.p2align	4, 0x90
_getValueRequiredBits:                  ## @getValueRequiredBits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	movzwl	%di, %ecx
	cmpl	$255, %ecx
	je	LBB0_4
## %bb.2:
	imull	$-3855, %edi, %eax              ## imm = 0xF0F1
	movzwl	%ax, %ecx
	movl	$8, %eax
	cmpl	$3855, %ecx                     ## imm = 0xF0F
	jbe	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	imull	$-771, %edi, %eax               ## imm = 0xFCFD
	movzwl	%ax, %eax
	xorl	%ecx, %ecx
	cmpl	$772, %eax                      ## imm = 0x304
	setae	%cl
	leal	(%rcx,%rcx), %eax
	addl	$2, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getValueRequiredBits           ; -- Begin function getValueRequiredBits
	.p2align	2
_getValueRequiredBits:                  ; @getValueRequiredBits
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #1
	cbz	w8, LBB0_2
; %bb.1:
	mov	w9, #8
	mov	w10, #61681
	movk	w10, #61680, lsl #16
	mul	w10, w8, w10
	mov	w11, #252645135
	mov	w12, #64765
	movk	w12, #64764, lsl #16
	mul	w12, w8, w12
	mov	w13, #772
	movk	w13, #771, lsl #16
	mov	w14, #4
	mov	w15, #2
	cmp	w12, w13
	csel	w12, w15, w14, lo
	cmp	w10, w11
	csel	w9, w9, w12, hi
	cmp	w8, #255
	csel	w0, w0, w9, eq
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
