	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_rate_item
_set_rate_item:                         ## @set_rate_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	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	_FLAG_DELETED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_8
## %bb.2:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	$1, %r13d
	movl	%r15d, %ecx
	shll	%cl, %r13d
	movl	$1, %r12d
	movl	4(%rbx), %esi
	testl	%edx, %edx
	je	LBB0_3
## %bb.5:
	movq	8(%rbx), %r12
	testl	%r13d, %esi
	jne	LBB0_7
## %bb.6:
	movl	%esi, %edx
	orl	%r13d, %edx
	movq	%r12, %rdi
	movl	$4, %ecx
	callq	_zzrealloc_ushort_mask
	movq	%rax, %r12
	movq	%rax, 8(%rbx)
	orl	4(%rbx), %r13d
	movl	%r13d, 4(%rbx)
	incl	16(%rbx)
	movl	%r13d, %esi
LBB0_7:
	movl	%esi, %edi
	movl	%r15d, %esi
	callq	_get_bitno
	movl	%r14d, (%r12,%rax,4)
	movl	$1, %r12d
	jmp	LBB0_8
LBB0_3:
	testl	%r13d, %esi
	je	LBB0_8
## %bb.4:
	movq	8(%rbx), %rdi
	movl	%esi, %edx
	xorl	%r13d, %edx
	movl	$4, %ecx
	callq	_zzrealloc_ushort_mask
	movq	%rax, 8(%rbx)
	xorl	%r13d, 4(%rbx)
	decl	16(%rbx)
LBB0_8:
	movl	%r12d, %eax
	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_rate_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_rate_item
_set_rate_item:                         ; @set_rate_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_10
; %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_10
LBB0_3:
	mov	x20, x2
	mov	x21, x1
	ldr	w1, [x19, #4]
	mov	w8, #1
	lsl	w23, w8, w21
	and	w8, w1, w23
	cbz	w2, LBB0_7
; %bb.4:
	ldr	x22, [x19, #8]
	cbnz	w8, LBB0_6
; %bb.5:
	orr	w2, w1, w23
	mov	x0, x22
	mov	w3, #4
	bl	_zzrealloc_ushort_mask
	mov	x22, x0
	str	x0, [x19, #8]
	ldr	w8, [x19, #4]
	orr	w1, w8, w23
	str	w1, [x19, #4]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_6:
	mov	x0, x1
	mov	x1, x21
	bl	_get_bitno
	str	w20, [x22, x0, lsl #2]
	b	LBB0_9
LBB0_7:
	cbz	w8, LBB0_9
; %bb.8:
	ldr	x0, [x19, #8]
	eor	w2, w1, w23
	mov	w3, #4
	bl	_zzrealloc_ushort_mask
	str	x0, [x19, #8]
	ldr	w8, [x19, #4]
	eor	w8, w8, w23
	str	w8, [x19, #4]
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19, #16]
LBB0_9:
	mov	w0, #1
LBB0_10:
	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_rate_item
.subsections_via_symbols
