	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_modules
_count_modules:                         ## @count_modules
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_13
## %bb.2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	1(%rbx), %al
	incq	%rbx
	testb	%al, %al
	jne	LBB0_3
	jmp	LBB0_13
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_7
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	jne	LBB0_3
	jmp	LBB0_13
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_9
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_count_modules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_modules
_count_modules:                         ; @count_modules
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.2:
	mov	w19, #0
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	and	w0, w8, #0xff
	bl	_isspace
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x20, #1]!
	cbnz	w8, LBB0_3
	b	LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w0, [x20]
	cbz	w0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_isspace
	cbz	x0, LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x20]
	cbnz	w8, LBB0_3
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w0, w8, #0xff
	bl	_isspace
	cbnz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w8, [x20, #1]!
	cbnz	w8, LBB0_9
	b	LBB0_12
LBB0_11:
	mov	w19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_count_modules
.subsections_via_symbols
