	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logbase2
_logbase2:                              ## @logbase2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	js	LBB0_1
## %bb.2:
	cmpl	$2, %edi
	jb	LBB0_3
## %bb.4:
	movl	$1, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	incl	%ecx
	cmpl	%edi, %eax
	jl	LBB0_5
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%ecx, %ecx
	movl	$1, %eax
LBB0_6:
	cmpl	%edi, %eax
	movl	$-1, %eax
	cmovel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_logbase2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logbase2
_logbase2:                              ; @logbase2
	.cfi_startproc
; %bb.0:
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cmp	w0, #2
	b.lo	LBB0_5
; %bb.2:
	mov	w8, #0
	mov	w9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w9, w9, #1
	add	w8, w8, #1
	cmp	w9, w0
	b.lt	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	ret
LBB0_5:
	mov	w8, #0
	mov	w9, #1
LBB0_6:
	cmp	w9, w0
	csinv	w0, w8, wzr, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_logbase2
.subsections_via_symbols
