	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fat_log2
_fat_log2:                              ## @fat_log2
	.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
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	testb	$1, %dil
	jne	LBB0_3
## %bb.4:
	xorl	%ecx, %ecx
	movl	%edi, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%eax
	incl	%ecx
	testb	$2, %dil
	movl	%eax, %edi
	je	LBB0_5
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	%edi, %eax
LBB0_6:
	cmpl	$1, %eax
	movl	$-1, %eax
	cmovel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fat_log2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fat_log2
_fat_log2:                              ; @fat_log2
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_4
; %bb.1:
	mov	w8, #0
	tbnz	w0, #0, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x0
	lsr	w0, w0, #1
	add	w8, w8, #1
	tbz	w9, #1, LBB0_2
LBB0_3:
	cmp	w0, #1
	csinv	w0, w8, wzr, eq
	ret
LBB0_4:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fat_log2
.subsections_via_symbols
