	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_interval_step
_snd_interval_step:                     ## @snd_interval_step
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ecx
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movl	%edi, %eax
	subl	%esi, %eax
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	divl	%ecx
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_3
LBB0_2:
	addl	%ecx, %edi
	subl	%edx, %edi
	movl	%edi, (%rbx)
	movl	$1, %r14d
LBB0_3:
	movl	4(%rbx), %edi
	movl	%edi, %eax
	subl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
	testl	%edx, %edx
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
LBB0_5:
	subl	%edx, %edi
	movl	%edi, 4(%rbx)
	movl	$1, %r14d
LBB0_6:
	movq	%rbx, %rdi
	callq	_snd_interval_checkempty
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, 8(%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_interval_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_interval_step
_snd_interval_step:                     ; @snd_interval_step
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	sub	w9, w8, w1
	udiv	w10, w9, w2
	msub	w9, w10, w2, w9
	cbnz	w9, LBB0_2
; %bb.1:
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_9
LBB0_2:
	add	w8, w8, w2
	sub	w8, w8, w9
	str	w8, [x19]
	mov	w20, #1
LBB0_3:
	ldr	w8, [x19, #4]
	sub	w9, w8, w1
	udiv	w10, w9, w2
	msub	w9, w10, w2, w9
	cbnz	w9, LBB0_5
; %bb.4:
	ldr	x10, [x19, #16]
	cbz	x10, LBB0_6
LBB0_5:
	sub	w8, w8, w9
	str	w8, [x19, #4]
	mov	w20, #1
LBB0_6:
	mov	x0, x19
	bl	_snd_interval_checkempty
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #8]
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w20, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_interval_step
.subsections_via_symbols
