	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_need_envelope_step             ## -- Begin function need_envelope_step
	.p2align	4, 0x90
_need_envelope_step:                    ## @need_envelope_step
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	xorl	%esi, %esi
	cmpl	$2, %edi
	jb	LBB0_8
## %bb.1:
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	%rdx, %rcx
	cmpl	$48, %edi
	jl	LBB0_5
## %bb.3:
	testb	$1, %al
	jne	LBB0_8
## %bb.4:
	incl	8(%rcx)
	jmp	LBB0_7
LBB0_5:
	movq	_envelope_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	%edi, %rdi
	movq	-16(%rdx,%rdi,8), %r8
	movq	(%rcx), %rdi
	cltd
	idivl	(%r8,%rdi,4)
	testl	%edx, %edx
	jne	LBB0_8
## %bb.6:
	incl	8(%rcx)
	movl	4(%r8,%rdi,4), %eax
	incq	%rdi
	movq	_EFFECTIVE_RATE_END@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpl	(%rdx), %eax
	cmovneq	%rdi, %rsi
	movq	%rsi, (%rcx)
LBB0_7:
	movl	$1, %esi
LBB0_8:
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_envelope_table,8,3             ## @envelope_table
	.comm	_EFFECTIVE_RATE_END,4,2         ## @EFFECTIVE_RATE_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_need_envelope_step             ; -- Begin function need_envelope_step
	.p2align	2
_need_envelope_step:                    ; @need_envelope_step
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	subs	w9, w8, #2
	b.lo	LBB0_9
; %bb.1:
	cbz	w1, LBB0_9
; %bb.2:
	cmp	w8, #48
	b.lt	LBB0_5
; %bb.3:
	tbnz	w1, #0, LBB0_6
; %bb.4:
	ldr	w8, [x2, #8]
	add	w8, w8, #1
	str	w8, [x2, #8]
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _envelope_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _envelope_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, w9, sxtw #3]
	ldr	x8, [x2]
	ldr	w10, [x9, x8, lsl #2]
	sdiv	w11, w1, w10
	msub	w10, w11, w10, w1
	cbz	w10, LBB0_7
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	w10, [x2, #8]
	add	w10, w10, #1
	str	w10, [x2, #8]
	add	x10, x8, #1
	ldr	w9, [x9, x10, lsl #2]
Lloh3:
	adrp	x10, _EFFECTIVE_RATE_END@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EFFECTIVE_RATE_END@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	csinc	x8, xzr, x8, eq
	str	x8, [x2]
LBB0_8:
	mov	w0, #1
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_envelope_table,8,3             ; @envelope_table
	.comm	_EFFECTIVE_RATE_END,4,2         ; @EFFECTIVE_RATE_END
.subsections_via_symbols
