	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_object_type
_count_object_type:                     ## @count_object_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movq	40(%rdi), %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	leaq	16(%r12), %rax
	jmp	LBB0_7
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_17
LBB0_6:
	leaq	8(%r12), %rax
	jmp	LBB0_7
LBB0_3:
	leaq	20(%r12), %rax
	jmp	LBB0_7
LBB0_5:
	leaq	12(%r12), %rax
LBB0_7:
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_ewah_iterator_init
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.9:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	-52(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ewah_iterator_next
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r15), %rax
	movl	-52(%rbp), %edi
	andl	(%rax,%rbx,4), %edi
	incq	%rbx
	callq	_ewah_bit_popcount64
	addq	%rax, %r13
	cmpq	(%r15), %rbx
	jb	LBB0_10
	jmp	LBB0_12
LBB0_8:
	xorl	%r13d, %r13d
LBB0_12:
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_bitmap_get
	cmpq	$1, %rax
	sbbq	$-1, %r13
	movq	24(%r12), %rax
	jmp	LBB0_16
LBB0_17:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_count_object_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_object_type
_count_object_type:                     ; @count_object_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #40]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x8, x20, #16
	b	LBB0_7
LBB0_3:
	mov	x22, #0
	b	LBB0_17
LBB0_4:
	add	x8, x20, #8
	b	LBB0_7
LBB0_5:
	add	x8, x20, #20
	b	LBB0_7
LBB0_6:
	add	x8, x20, #12
LBB0_7:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ewah_iterator_init
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.8:
	mov	x22, #0
	mov	x23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ewah_iterator_next
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21, #8]
	add	x24, x23, #1
	ldr	w8, [x8, x23, lsl #2]
	ldr	w9, [sp, #4]
	and	w0, w9, w8
	bl	_ewah_bit_popcount64
	add	x22, x0, x22
	ldr	x8, [x21]
	mov	x23, x24
	cmp	x24, x8
	b.lo	LBB0_9
LBB0_11:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_13
	b	LBB0_17
LBB0_12:
	mov	x22, #0
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_17
LBB0_13:
	mov	x23, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	cmp	x23, x8
	b.hs	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #32]
	ldr	x9, [x9, x23, lsl #3]
	ldr	w9, [x9]
	cmp	w9, w19
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x1, x23, x8
	mov	x0, x21
	bl	_bitmap_get
	cmp	x0, #0
	cinc	x22, x22, ne
	ldr	x8, [x20, #24]
	b	LBB0_14
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_count_object_type
.subsections_via_symbols
