	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24123_int_log2
_cx24123_int_log2:                      ## @cx24123_int_log2
	.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, %eax
	cltd
	idivl	%esi
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	xorl	%ecx, %ecx
	cmpl	%edi, %edx
	setge	%cl
	addl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$2, %ecx
	jl	LBB0_3
## %bb.1:
	movl	$1, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	%edx, %edx
	incl	%eax
	cmpl	%edx, %ecx
	jg	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cx24123_int_log2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx24123_int_log2
_cx24123_int_log2:                      ; @cx24123_int_log2
	.cfi_startproc
; %bb.0:
	sdiv	w8, w0, w1
	msub	w9, w8, w1, w0
	cmp	w1, #0
	cinc	w10, w1, lt
	cmp	w9, w10, asr #1
	cinc	w8, w8, ge
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w0, #0
	mov	w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w9, w9, #1
	add	w0, w0, #1
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cx24123_int_log2
.subsections_via_symbols
