	.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
	subq	$24, %rsp
	.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_17
## %bb.1:
	movq	%rdi, %r12
	movq	_FLAG_DELETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	jne	LBB0_17
## %bb.2:
	movq	%rdx, %rbx
	movl	%esi, %r15d
	testl	%esi, %esi
	je	LBB0_3
## %bb.4:
	xorl	%r14d, %r14d
	movq	%rbx, %rax
	movl	%r15d, %ecx
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %edx
	negl	%edx
	andl	%ecx, %edx
	xorl	%edx, %ecx
	orl	%edx, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %rax
	testl	%ecx, %ecx
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r13d, %rsi
	incl	%r13d
	movl	%edx, (%rbx,%rsi,4)
	leal	-1(%rcx), %edx
	andl	%ecx, %edx
	movl	%edx, %ecx
	jmp	LBB0_8
LBB0_3:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_9:
	notl	%r14d
	andl	%r14d, %r15d
	movl	4(%r12), %esi
	andl	%esi, %r14d
	orl	%r15d, %r14d
	cmpl	%esi, %r14d
	je	LBB0_11
## %bb.10:
	movq	8(%r12), %rdi
	movl	%r14d, %edx
	movl	$4, %ecx
	callq	_zzrealloc_ushort_mask
	movq	%rax, 8(%r12)
	movl	%r14d, 4(%r12)
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.13:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r13d
	negl	%r15d
	andl	%r13d, %r15d
	movl	(%rbx,%r14,4), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	incq	%r14
	movq	8(%r12), %rbx
	leal	-1(%r15), %edi
	andl	-48(%rbp), %edi                 ## 4-byte Folded Reload
	callq	_popcount_short
	xorl	%r13d, %r15d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rbx,%rax,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
                                        ## kill: def $r15d killed $r15d killed $r15
	jne	LBB0_14
## %bb.15:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_16
LBB0_12:
	xorl	%r14d, %r14d
LBB0_16:
	xorl	%edi, %edi
	cmpl	%r13d, %r14d
	sete	%dil
	callq	_assert
	movl	4(%r12), %edi
	callq	_popcount_short
	movq	%rax, 16(%r12)
	movl	$1, %eax
LBB0_17:
	addq	$24, %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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, 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_16
LBB0_3:
	mov	x20, x2
	cbz	w1, LBB0_8
; %bb.4:
	mov	w8, #0
	mov	w22, #0
	mov	x9, x20
	mov	x10, x1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	neg	w11, w10
	and	w11, w10, w11
	eor	w10, w11, w10
	orr	w8, w8, w11
	add	x9, x9, #4
	cbz	w10, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cbz	w11, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w11, [x20, w22, sxtw #2]
	add	w22, w22, #1
	sub	w11, w10, #1
	and	w10, w11, w10
	add	x9, x9, #4
	cbnz	w10, LBB0_6
	b	LBB0_9
LBB0_8:
	mov	w22, #0
	mov	w8, #0
LBB0_9:
	bic	w23, w1, w8
	ldr	w1, [x19, #4]
	bic	w8, w1, w8
	orr	w21, w8, w23
	cmp	w21, w1
	b.eq	LBB0_11
; %bb.10:
	ldr	x0, [x19, #8]
	mov	x2, x21
	mov	w3, #4
	bl	_zzrealloc_ushort_mask
	str	x0, [x19, #8]
	str	w21, [x19, #4]
LBB0_11:
	cbz	w23, LBB0_14
; %bb.12:
	mov	x24, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	neg	w8, w23
	and	w8, w23, w8
	eor	w23, w8, w23
	ldr	w25, [x20, x24, lsl #2]
	add	x24, x24, #1
	ldr	x26, [x19, #8]
	sub	w8, w8, #1
	and	w0, w8, w21
	bl	_popcount_short
	str	w25, [x26, x0, lsl #2]
	cbnz	w23, LBB0_13
	b	LBB0_15
LBB0_14:
	mov	w24, #0
LBB0_15:
	cmp	w24, w22
	cset	w0, eq
	bl	_assert
	ldr	w0, [x19, #4]
	bl	_popcount_short
	str	x0, [x19, #16]
	mov	w0, #1
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 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
