	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BIT_LENGTH
_BIT_LENGTH:                            ## @BIT_LENGTH
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%esi, %esi
	callq	_NEQ
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_GT
	movl	%eax, %ebx
	movl	%r14d, %esi
	sarl	$16, %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_MUX
	movl	%eax, %r14d
	shll	$4, %ebx
	addl	%r15d, %ebx
	movl	%eax, %edi
	movl	$255, %esi
	callq	_GT
	movl	%eax, %r15d
	movl	%r14d, %esi
	sarl	$8, %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_MUX
	movl	%eax, %r14d
	leal	(%rbx,%r15,8), %r12d
	movl	%eax, %edi
	movl	$15, %esi
	callq	_GT
	movl	%eax, %r15d
	movl	%r14d, %esi
	sarl	$4, %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_MUX
	movl	%eax, %ebx
	leal	(%r12,%r15,4), %r15d
	movl	%eax, %edi
	movl	$3, %esi
	callq	_GT
	movl	%eax, %r14d
	movl	%ebx, %esi
	sarl	$2, %esi
	movl	%eax, %edi
	movl	%ebx, %edx
	callq	_MUX
	leal	(%r15,%r14,2), %ebx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_GT
	addl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_BIT_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BIT_LENGTH
_BIT_LENGTH:                            ; @BIT_LENGTH
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w1, #0
	bl	_NEQ
	mov	x20, x0
	mov	x0, x19
	mov	w1, #65535
	bl	_GT
	mov	x21, x0
	asr	w1, w19, #16
	mov	x2, x19
	bl	_MUX
	mov	x19, x0
	add	w21, w20, w21, lsl #4
	mov	w1, #255
	bl	_GT
	mov	x20, x0
	asr	w1, w19, #8
	mov	x2, x19
	bl	_MUX
	mov	x19, x0
	add	w21, w21, w20, lsl #3
	mov	w1, #15
	bl	_GT
	mov	x20, x0
	asr	w1, w19, #4
	mov	x2, x19
	bl	_MUX
	mov	x19, x0
	add	w21, w21, w20, lsl #2
	mov	w1, #3
	bl	_GT
	mov	x20, x0
	asr	w1, w19, #2
	mov	x2, x19
	bl	_MUX
	add	w19, w21, w20, lsl #1
	mov	w1, #1
	bl	_GT
	add	w0, w19, w0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_BIT_LENGTH
.subsections_via_symbols
