	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_insns_for_constant
_count_insns_for_constant:              ## @count_insns_for_constant
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %edi
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	32(%rcx), %r10d
	testl	%ecx, %ecx
	cmovgl	%ecx, %r10d
	leal	-2(%r10), %ecx
	movl	%edi, %edx
	shrl	%cl, %edx
	testb	$3, %dl
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edx, %edx
	cmpl	$8, %r10d
	setl	%dl
	shll	$5, %edx
	addl	%r10d, %edx
	movb	$40, %cl
	subb	%dl, %cl
	movl	$255, %r9d
	shrl	%cl, %r9d
	cmpl	$8, %r10d
	cmovgel	%r8d, %r9d
	addb	$-8, %dl
	movl	$255, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	orl	%r9d, %esi
	notl	%esi
	andl	%esi, %edi
	incl	%eax
	addl	$-8, %r10d
	movl	%r10d, %ecx
	jmp	LBB0_3
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_count_insns_for_constant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_insns_for_constant
_count_insns_for_constant:              ; @count_insns_for_constant
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	mov	w9, #-8
	mov	w10, #24
	mov	w11, #255
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w1, #32
	cmp	w1, #1
	csel	w12, w12, w1, lt
	sub	w13, w12, #2
	lsr	w14, w8, w13
	subs	w15, w12, #8
	csel	w16, w10, w9, lt
	add	w12, w16, w12
	neg	w16, w12
	lsl	w12, w11, w12
	lsr	w16, w11, w16
	csel	w16, w16, wzr, lt
	orr	w12, w16, w12
	bic	w12, w8, w12
	tst	w14, #0x3
	csel	w1, w13, w15, eq
	csel	w8, w8, w12, eq
	cinc	w0, w0, ne
	cbnz	w8, LBB0_1
; %bb.2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_count_insns_for_constant
.subsections_via_symbols
