	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Log2Int
_Log2Int:                               ## @Log2Int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %edx
	negl	%edx
	cmovsl	%edi, %edx
	movl	$-2, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	2(%rax), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	incl	%eax
	cmpl	%edx, %esi
	jle	LBB0_1
## %bb.2:
	testl	%edi, %edi
	cmovel	%edi, %eax
	cltq
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Log2Int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Log2Int
_Log2Int:                               ; @Log2Int
	.cfi_startproc
; %bb.0:
	cmp	w0, #0
	cneg	w9, w0, mi
	mov	w8, #-2
	mov	w10, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w8, #2
	lsl	w11, w10, w11
	add	w8, w8, #1
	cmp	w11, w9
	b.le	LBB0_1
; %bb.2:
	cmp	w0, #0
	csel	w8, wzr, w8, eq
	sxtw	x0, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Log2Int
.subsections_via_symbols
