	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wavesynth_seek
_wavesynth_seek:                        ## @wavesynth_seek
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	4(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%r14, %rdx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$80, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%r14), %r15
	leaq	(%r15,%rbx), %rdi
	cmpq	%r12, (%r15,%rbx)
	jg	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r12, 8(%r15,%rbx)
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, (%rdx)
	leaq	(%r15,%rbx), %r14
	addq	$16, %r14
	movq	%r12, %rsi
	callq	_phi_at
	movq	%r14, %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 72(%r15,%rbx)
	movq	%r12, %rax
	subq	(%r15,%rbx), %rax
	movq	24(%r15,%rbx), %rcx
	imulq	%rax, %rcx
	addq	56(%r15,%rbx), %rcx
	movq	%rcx, 64(%r15,%rbx)
	imulq	32(%r15,%rbx), %rax
	addq	40(%r15,%rbx), %rax
	movq	%rax, 48(%r15,%rbx)
	movl	4(%r14), %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%r13d, %r13d
	movq	%r14, %rdx
LBB0_7:
	movl	%r13d, 8(%r14)
	movq	_INF_TS@GOTPCREL(%rip), %rdi
	jmp	LBB0_9
LBB0_8:
	movl	%r13d, 8(%r14)
LBB0_9:
	movq	(%rdi), %rax
	movq	%rax, 16(%r14)
	movl	$-1, (%rdx)
	leaq	48(%r14), %rdi
	movq	%r12, %rbx
	movl	%ebx, %esi
	subl	24(%r14), %esi
	callq	_lcg_seek
	cmpq	$0, 40(%r14)
	je	LBB0_14
## %bb.10:
	movq	_PINK_UNIT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leal	-1(%rsi), %r12d
	movl	24(%r14), %eax
	addl	%r12d, %eax
	negl	%esi
	andl	%esi, %eax
	leaq	32(%r14), %rdi
	andl	%ebx, %esi
	subl	%eax, %esi
	addl	%esi, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_lcg_seek
	movq	%rbx, %r13
	andl	%ebx, %r12d
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_pink_fill
	jmp	LBB0_13
LBB0_12:
	movl	(%r15), %r12d
LBB0_13:
	movl	%r12d, 28(%r14)
	movq	%r13, %rbx
LBB0_14:
	movl	%ebx, 24(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INF_TS,8,3                     ## @INF_TS
	.comm	_PINK_UNIT,4,2                  ## @PINK_UNIT
	.no_dead_strip	_wavesynth_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wavesynth_seek
_wavesynth_seek:                        ; @wavesynth_seek
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	mov	x22, #0
	mov	x21, x20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	add	x23, x23, #80
	cmp	x22, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #56]
	add	x0, x9, x23
	ldr	x10, [x0]
	cmp	x10, x19
	b.gt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x0, #8]
	cmp	x10, x19
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w22, [x21]
	add	x24, x9, x23
	add	x21, x24, #16
	mov	x1, x19
	bl	_phi_at
	str	w0, [x24, #72]
	ldr	x8, [x24, #56]
	ldr	x9, [x24]
	sub	x9, x19, x9
	ldp	x10, x11, [x24, #24]
	madd	x8, x9, x10, x8
	str	x8, [x24, #64]
	ldr	x8, [x24, #40]
	madd	x8, x11, x9, x8
	str	x8, [x24, #48]
	ldr	w8, [x20, #4]
	b	LBB0_2
LBB0_6:
	mov	w22, #0
	mov	x21, x20
LBB0_7:
	str	w22, [x20, #8]
Lloh0:
	adrp	x0, _INF_TS@GOTPAGE
Lloh1:
	ldr	x0, [x0, _INF_TS@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	str	w22, [x20, #8]
LBB0_9:
	ldr	x8, [x0]
	str	x8, [x20, #16]
	mov	w8, #-1
	str	w8, [x21]
	add	x0, x20, #48
	ldr	w8, [x20, #24]
	sub	w1, w19, w8
	bl	_lcg_seek
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_14
; %bb.10:
	ldr	w8, [x20, #24]
Lloh2:
	adrp	x22, _PINK_UNIT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PINK_UNIT@GOTPAGEOFF]
	ldr	w9, [x22]
	sub	w10, w9, #1
	add	w8, w10, w8
	neg	w9, w9
	and	w8, w8, w9
	and	w21, w10, w19
	add	x0, x20, #32
	and	w9, w9, w19
	sub	w8, w9, w8
	lsl	w1, w8, #1
	bl	_lcg_seek
	cbz	w21, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_pink_fill
	b	LBB0_13
LBB0_12:
	ldr	w21, [x22]
LBB0_13:
	str	w21, [x20, #28]
LBB0_14:
	str	w19, [x20, #24]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_INF_TS,8,3                     ; @INF_TS
	.comm	_PINK_UNIT,4,2                  ; @PINK_UNIT
	.no_dead_strip	_wavesynth_seek
.subsections_via_symbols
