	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_targets
_count_targets:                         ## @count_targets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %rdi
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, (%rdx)
	adcl	$0, %ecx
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_3
## %bb.5:
	movl	%r8d, %eax
LBB0_6:
	testq	%rsi, %rsi
	je	LBB0_8
LBB0_7:
	movl	%ecx, (%rsi)
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	testq	%rsi, %rsi
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_count_targets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_targets
_count_targets:                         ; @count_targets
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	mov	w9, #0
	ldr	x8, [x8, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, x0, lsl #3]
	cbz	x11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x11]
	cmp	x11, #0
	cinc	w9, w9, eq
	add	x0, x0, #1
	cmp	x10, x0
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x10
LBB0_5:
	cbz	x1, LBB0_7
LBB0_6:
	str	w9, [x1]
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_8:
	mov	w0, #0
	mov	w9, #0
	cbnz	x1, LBB0_6
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_count_targets
.subsections_via_symbols
