	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_multiple_rates_item
_set_multiple_rates_item:               ## @set_multiple_rates_item
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	movq	_FLAG_DELETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	jne	LBB0_12
## %bb.2:
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movl	4(%r14), %esi
	movl	%esi, %r12d
	orl	%r15d, %r12d
	cmpl	%esi, %r12d
	je	LBB0_8
## %bb.3:
	movl	%r12d, %eax
	xorl	%esi, %eax
	je	LBB0_7
## %bb.4:
	movl	16(%r14), %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	leal	-1(%rax), %edx
	andl	%eax, %edx
	movl	%edx, %eax
	jne	LBB0_5
## %bb.6:
	movl	%ecx, 16(%r14)
LBB0_7:
	movq	8(%r14), %rdi
	movl	%r12d, %edx
	movl	$4, %ecx
	callq	_zzrealloc_ushort_mask
	movq	%rax, 8(%r14)
	movl	%r12d, 4(%r14)
LBB0_8:
	movl	$1, %eax
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.9:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r13d
	negl	%r13d
	andl	%r15d, %r13d
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %r12
	leal	-1(%r13), %edi
	andl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	callq	_popcount_short
	addq	$4, %rbx
	xorl	%r15d, %r13d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%r12,%rax,4)
	movl	%r13d, %r15d
	jne	LBB0_10
## %bb.11:
	movl	$1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_DELETED,4,2               ## @FLAG_DELETED
	.no_dead_strip	_set_multiple_rates_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_multiple_rates_item
_set_multiple_rates_item:               ; @set_multiple_rates_item
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FLAG_DELETED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAG_DELETED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_12
LBB0_3:
	mov	x19, x2
	mov	x20, x1
	ldr	w1, [x21, #4]
	orr	w22, w1, w20
	cmp	w22, w1
	b.eq	LBB0_9
; %bb.4:
	eor	w8, w22, w1
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w9, [x21, #16]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	sub	w10, w8, #1
	ands	w8, w10, w8
	b.ne	LBB0_6
; %bb.7:
	str	w9, [x21, #16]
LBB0_8:
	ldr	x0, [x21, #8]
	mov	x2, x22
	mov	w3, #4
	bl	_zzrealloc_ushort_mask
	str	x0, [x21, #8]
	str	w22, [x21, #4]
LBB0_9:
	cbz	w20, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	neg	w8, w20
	and	w8, w20, w8
	eor	w20, w8, w20
	ldr	w23, [x19], #4
	ldr	x24, [x21, #8]
	sub	w8, w8, #1
	and	w0, w8, w22
	bl	_popcount_short
	str	w23, [x24, x0, lsl #2]
	cbnz	w20, LBB0_10
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_DELETED,4,2               ; @FLAG_DELETED
	.no_dead_strip	_set_multiple_rates_item
.subsections_via_symbols
