	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wavesynth_enter_intervals
_wavesynth_enter_intervals:             ## @wavesynth_enter_intervals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	24(%rdi), %r9
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %eax
	leaq	(%rax,%rax,2), %rcx
	shlq	$4, %rcx
	movl	(%r9,%rcx), %eax
	testl	%eax, %eax
	jns	LBB0_3
## %bb.4:
	addq	%rcx, %r9
	jmp	LBB0_5
LBB0_1:
	movq	%rdi, %r9
LBB0_5:
	movl	4(%rdi), %ecx
	movl	8(%rdi), %r10d
	cmpl	%r10d, %ecx
	jge	LBB0_11
## %bb.6:
	movslq	%ecx, %rcx
	movq	24(%rdi), %r8
	movq	%rcx, %rbx
	shlq	$32, %rbx
	leaq	(%rcx,%rcx,2), %rax
	shlq	$4, %rax
	addq	%r8, %rax
	movabsq	$4294967296, %r11               ## imm = 0x100000000
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rcx
	movslq	%r10d, %rdx
	addq	%r11, %rbx
	addq	$48, %rax
	cmpq	%rdx, %rcx
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, 8(%rax)
	jg	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rsi, 16(%rax)
	jle	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ecx, (%r9)
	movl	40(%rax), %edx
	movl	%edx, 44(%rax)
	movl	24(%rax), %r9d
	movl	32(%rax), %edx
	movl	%edx, 36(%rax)
	movl	%r9d, 28(%rax)
	movl	8(%rdi), %r10d
	movq	%rax, %r9
	jmp	LBB0_10
LBB0_11:
	movl	%ecx, 4(%rdi)
	movq	_INF_TS@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movl	%ecx, 4(%rdi)
	sarq	$32, %rbx
	leaq	(%rbx,%rbx,2), %rax
	shlq	$4, %rax
	addq	%r8, %rax
	addq	$8, %rax
LBB0_13:
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movl	$-1, (%r9)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INF_TS,8,3                     ## @INF_TS
	.no_dead_strip	_wavesynth_enter_intervals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wavesynth_enter_intervals
_wavesynth_enter_intervals:             ; @wavesynth_enter_intervals
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	tbnz	w9, #31, LBB0_3
; %bb.1:
	ldr	x10, [x0, #24]
	mov	w11, #48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	umaddl	x8, w9, w11, x10
	ldr	w9, [x8]
	tbz	w9, #31, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x8, x0
LBB0_4:
	ldp	w9, w12, [x0, #4]
	cmp	w9, w12
	b.ge	LBB0_11
; %bb.5:
	sxtw	x9, w9
	ldr	x10, [x0, #24]
	lsl	x11, x9, #32
	mov	w13, #48
	madd	x13, x9, x13, x10
	mov	x14, #4294967296
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #1
	add	x11, x11, x14
	add	x13, x13, #48
	cmp	x9, w12, sxtw
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x13, #8]
	cmp	x15, x1
	b.gt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x15, [x13, #16]
	cmp	x15, x1
	b.le	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w9, [x8]
	ldr	w8, [x13, #40]
	str	w8, [x13, #44]
	ldr	w8, [x13, #32]
	str	w8, [x13, #36]
	ldr	w8, [x13, #24]
	str	w8, [x13, #28]
	ldr	w12, [x0, #8]
	mov	x8, x13
	b	LBB0_6
LBB0_10:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_11:
	str	w9, [x0, #4]
Lloh0:
	adrp	x9, _INF_TS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INF_TS@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	str	w9, [x0, #4]
	asr	x9, x11, #32
	mov	w11, #48
	madd	x9, x9, x11, x10
	add	x9, x9, #8
LBB0_13:
	ldr	x9, [x9]
	str	x9, [x0, #16]
	mov	w9, #-1
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INF_TS,8,3                     ; @INF_TS
	.no_dead_strip	_wavesynth_enter_intervals
.subsections_via_symbols
