	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_count_free_regs                ## -- Begin function count_free_regs
	.p2align	4, 0x90
_count_free_regs:                       ## @count_free_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HOST_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	_EXCLUDE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	cmpl	$1, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	testb	$1, %r8b
	jne	LBB0_12
LBB0_14:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%r9, %rsi
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rcx
	cmpq	%rsi, %r10
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%rdi,%rcx), %esi
	shrl	$7, %esi
	addl	%esi, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rcx), %rsi
	cmpq	%r10, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rdi,%rcx), %edx
	shrl	$7, %edx
	addl	%edx, %eax
	jmp	LBB0_9
LBB0_10:
	addq	$2, %rcx
	testb	$1, %r8b
	je	LBB0_14
LBB0_12:
	cmpq	%r10, %rcx
	je	LBB0_14
## %bb.13:
	movzbl	(%rdi,%rcx), %ecx
	shrl	$7, %ecx
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_REGS,4,2                  ## @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ## @EXCLUDE_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_count_free_regs                ; -- Begin function count_free_regs
	.p2align	2
_count_free_regs:                       ; @count_free_regs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HOST_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w8, #0
Lloh3:
	adrp	x10, _EXCLUDE_REG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EXCLUDE_REG@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x10, x10, #1
	add	x0, x0, #1
	subs	x9, x9, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w11, [x0]
	add	w8, w8, w11, lsr #7
	b	LBB0_2
LBB0_5:
	mov	x0, x8
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_REGS,4,2                  ; @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ; @EXCLUDE_REG
.subsections_via_symbols
