	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___clzsi2                       ## -- Begin function __clzsi2
	.p2align	4, 0x90
___clzsi2:                              ## @__clzsi2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%eax, %eax
	cmpl	$65536, %edi                    ## imm = 0x10000
	setb	%al
	shll	$4, %eax
	movl	%eax, %ecx
	xorb	$16, %cl
	sarl	%cl, %edi
	xorl	%edx, %edx
	testl	$65280, %edi                    ## imm = 0xFF00
	sete	%dl
	leal	(,%rdx,8), %ecx
	xorb	$8, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	leal	(%rax,%rdx,8), %eax
	xorl	%edx, %edx
	testb	$-16, %dil
	sete	%dl
	leal	(,%rdx,4), %ecx
	xorb	$4, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	leal	(%rax,%rdx,4), %eax
	xorl	%edx, %edx
	testb	$12, %dil
	sete	%dl
	leal	(%rdx,%rdx), %ecx
	xorb	$2, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	leal	(%rax,%rdx,2), %ecx
	movl	$2, %edx
	subl	%edi, %edx
	shrl	%edi
	orl	$-2, %edi
	leal	1(%rdi), %eax
	andl	%edx, %eax
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___clzsi2                       ; -- Begin function __clzsi2
	.p2align	2
___clzsi2:                              ; @__clzsi2
	.cfi_startproc
; %bb.0:
	cmp	w0, #16, lsl #12                ; =65536
	cset	w8, lo
	lsl	w8, w8, #4
	mov	w9, #16
	sub	w9, w9, w8
	asr	w9, w0, w9
	tst	w9, #0xff00
	cset	w10, eq
	lsl	w11, w10, #3
	mov	w12, #8
	sub	w11, w12, w11
	asr	w9, w9, w11
	bfi	w8, w10, #3, #1
	tst	w9, #0xf0
	cset	w10, eq
	lsl	w11, w10, #2
	mov	w12, #4
	sub	w11, w12, w11
	asr	w9, w9, w11
	bfi	w8, w10, #2, #1
	tst	w9, #0xc
	cset	w10, eq
	lsl	w11, w10, #1
	mov	w12, #2
	sub	w11, w12, w11
	asr	w9, w9, w11
	bfi	w8, w10, #1, #1
	lsr	w10, w9, #1
	orr	w10, w10, #0xfffffffe
	add	w10, w10, #1
	sub	w9, w12, w9
	and	w9, w10, w9
	add	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
