	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ctzsi2                       ## -- Begin function __ctzsi2
	.p2align	4, 0x90
___ctzsi2:                              ## @__ctzsi2
	.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
	testw	%di, %di
	sete	%al
	shll	$4, %eax
	movl	%eax, %ecx
	sarl	%cl, %edi
	xorl	%edx, %edx
	testb	%dil, %dil
	sete	%dl
	leal	(,%rdx,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	leal	(%rax,%rdx,8), %eax
	xorl	%edx, %edx
	testb	$15, %dil
	sete	%dl
	leal	(,%rdx,4), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	leal	(%rax,%rdx,4), %eax
	xorl	%edx, %edx
	testb	$3, %dil
	sete	%dl
	leal	(%rdx,%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	leal	(%rax,%rdx,2), %ecx
	movl	%edi, %edx
	shll	$30, %edx
	sarl	$31, %edx
	addl	$2, %edx
	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	___ctzsi2                       ; -- Begin function __ctzsi2
	.p2align	2
___ctzsi2:                              ; @__ctzsi2
	.cfi_startproc
; %bb.0:
	tst	w0, #0xffff
	cset	w8, eq
	lsl	w8, w8, #4
	asr	w9, w0, w8
	tst	w9, #0xff
	cset	w10, eq
	lsl	w11, w10, #3
	asr	w9, w9, w11
	bfi	w8, w10, #3, #1
	tst	w9, #0xf
	cset	w10, eq
	lsl	w11, w10, #2
	asr	w9, w9, w11
	bfi	w8, w10, #2, #1
	tst	w9, #0x3
	cset	w10, eq
	lsl	w11, w10, #1
	asr	w9, w9, w11
	bfi	w8, w10, #1, #1
	sbfx	w10, w9, #1, #1
	add	w10, w10, #2
	orr	w9, w9, #0xfffffffe
	add	w9, w9, #1
	and	w9, w10, w9
	add	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
