	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_subcnt_increment        ## -- Begin function packed_subcnt_increment
	.p2align	4, 0x90
_packed_subcnt_increment:               ## @packed_subcnt_increment
	.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	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	movq	(%r12), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movl	$1, %r14d
	movl	%ebx, %ecx
	shlq	%cl, %r14
	movq	(%r12), %rax
	btq	%rbx, %rax
	jae	LBB0_6
## %bb.3:
	movq	$-4, %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rdx
	andq	%rax, %rdx
	xorq	%rdx, %rax
	addq	$4, %rcx
	cmpq	%rax, %r14
	movq	%rdx, %rax
	jne	LBB0_4
## %bb.5:
	movq	8(%r12), %rax
	addl	(%rax,%rcx), %r15d
	movl	%r15d, (%rax,%rcx)
	jmp	LBB0_17
LBB0_6:
	testq	%rax, %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_7
## %bb.8:
	xorl	%r13d, %r13d
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rcx
	andq	%rax, %rcx
	xorq	%rcx, %rax
	cmpq	%rax, %r14
	cmoval	%r13d, %ebx
	incl	%r13d
	movq	%rcx, %rax
	testq	%rcx, %rcx
	jne	LBB0_9
	jmp	LBB0_10
LBB0_7:
	movl	$-1, %ebx
	xorl	%r13d, %r13d
LBB0_10:
	leal	4(,%r13,4), %edi
	callq	_zzmalloc
	movq	%rax, %r15
	movslq	%ebx, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r15,%rbx,4)
	testl	%r13d, %r13d
	je	LBB0_12
## %bb.11:
	leal	(,%r13,4), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	1(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rsi
	leal	(,%rax,4), %edx
	movq	%r15, %rdi
	callq	_memcpy
	leaq	(%r15,%rbx,4), %rdi
	addq	$8, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rsi
	shlq	$2, %rsi
	addq	8(%r12), %rsi
	movl	%r13d, %edx
	subl	%eax, %edx
	shll	$2, %edx
	callq	_memcpy
	movq	8(%r12), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_zzfree
LBB0_12:
	movq	%r15, 8(%r12)
	orq	%r14, (%r12)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_16
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r13d
	leaq	L_.str.3(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_14
## %bb.15:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_16:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_17:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"packed_subcnt_increment(c = %p, idx = %d, delta = %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"c->mask_subcnt = %llx\n"

L_.str.2:                               ## @.str.2
	.asciz	"c->subcnt = "

L_.str.3:                               ## @.str.3
	.asciz	"%d "

L_.str.4:                               ## @.str.4
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_subcnt_increment        ; -- Begin function packed_subcnt_increment
	.p2align	2
_packed_subcnt_increment:               ; @packed_subcnt_increment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _verbosity@GOTPAGE
Lloh1:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, _stderr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x8, x21
	stp	x8, x19, [sp, #8]
	str	x20, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x22]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	w8, #1
	lsl	x24, x8, x21
	ldr	x8, [x20]
	tst	x8, x24
	b.eq	LBB0_6
; %bb.3:
	mov	x9, #-4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x8, #1
	and	x10, x10, x8
	eor	x11, x10, x8
	add	x9, x9, #4
	mov	x8, x10
	cmp	x24, x11
	b.ne	LBB0_4
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	w10, [x8, x9]
	add	w19, w10, w19
	str	w19, [x8, x9]
	b	LBB0_16
LBB0_6:
	fmov	d0, x8
	cnt.8b	v0, v0
	uaddlv.8b	h0, v0
	fmov	w25, s0
	cbz	w25, LBB0_9
; %bb.7:
	mov	w9, #0
	mov	w26, #-1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x8, #1
	and	x10, x10, x8
	eor	x8, x10, x8
	cmp	x24, x8
	csel	w26, w9, w26, hi
	add	w9, w9, #1
	mov	x8, x10
	cmp	w25, w9
	b.ne	LBB0_8
	b	LBB0_10
LBB0_9:
	mov	w26, #-1
LBB0_10:
	lsl	w21, w25, #2
	add	w0, w21, #4
	bl	_zzmalloc
	mov	x22, x0
	sxtw	x27, w26
	add	x26, x27, #1
	str	w19, [x0, x26, lsl #2]
	cbz	w25, LBB0_12
; %bb.11:
	ldr	x1, [x20, #8]
	lsl	w2, w26, #2
	mov	x0, x22
	bl	_memcpy
	add	x8, x22, x27, lsl #2
	add	x0, x8, #8
	ldr	x8, [x20, #8]
	add	x1, x8, x26, lsl #2
	sub	w8, w25, w26
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_zzfree
LBB0_12:
	ldr	x8, [x20]
	orr	x8, x8, x24
	stp	x8, x22, [x20]
	ldr	w8, [x23]
	cmp	w8, #4
	b.lt	LBB0_16
; %bb.13:
Lloh8:
	adrp	x22, _stderr@GOTPAGE
Lloh9:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	x23, #0
	lsl	x8, x25, #2
	add	x24, x8, #4
Lloh12:
	adrp	x21, l_.str.3@PAGE
Lloh13:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x23]
	str	x8, [sp]
	mov	x1, x21
	bl	_fprintf
	add	x23, x23, #4
	cmp	x24, x23
	b.ne	LBB0_14
; %bb.15:
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"packed_subcnt_increment(c = %p, idx = %d, delta = %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"c->mask_subcnt = %llx\n"

l_.str.2:                               ; @.str.2
	.asciz	"c->subcnt = "

l_.str.3:                               ; @.str.3
	.asciz	"%d "

l_.str.4:                               ; @.str.4
	.asciz	"\n"

.subsections_via_symbols
