	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_op1                            ## -- Begin function op1
	.p2align	4, 0x90
_op1:                                   ## @op1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	16(%rdi), %cl
	movl	$1024, %esi                     ## imm = 0x400
	xorl	20(%rdi), %esi
	xorb	$8, %cl
	shll	%cl, %esi
	cmpl	$959, (%rdi)                    ## imm = 0x3BF
	jg	LBB0_6
## %bb.1:
	movl	4(%rdi), %eax
	movq	_lfo_step_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	24(%rdi), %rcx
	cltd
	idivl	(%r8,%rcx,4)
	testl	%edx, %edx
	jne	LBB0_3
## %bb.2:
	movl	$0, 4(%rdi)
	movl	8(%rdi), %eax
	leal	1(%rax), %ecx
	xorl	%edx, %edx
	cmpl	$255, %eax
	cmovll	%ecx, %edx
	movl	%edx, 8(%rdi)
LBB0_3:
	movslq	32(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	$3, %rcx
	ja	LBB0_5
## %bb.4:
	leaq	l_switch.table.op1(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movslq	8(%rdi), %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_5:
	movb	36(%rdi), %cl
	shll	%cl, %eax
	sarl	$2, %eax
	addl	%esi, %eax
	movl	$262143, %ecx                   ## imm = 0x3FFFF
	andl	12(%rdi), %ecx
	addl	%eax, %ecx
	movl	%ecx, 12(%rdi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lfo_step_table,8,3             ## @lfo_step_table
	.comm	_plfo,32,3                      ## @plfo
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.op1
l_switch.table.op1:
	.quad	_plfo
	.quad	_plfo+8
	.quad	_plfo+16
	.quad	_plfo+24

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_op1                            ; -- Begin function op1
	.p2align	2
_op1:                                   ; @op1
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #959
	b.gt	LBB0_7
; %bb.1:
	ldp	w8, w9, [x0, #16]
	eor	w8, w8, #0x8
	eor	w9, w9, #0x400
	ldr	w10, [x0, #4]
Lloh0:
	adrp	x11, _lfo_step_table@GOTPAGE
Lloh1:
	ldr	x11, [x11, _lfo_step_table@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	ldr	x12, [x0, #24]
	ldr	w11, [x11, x12, lsl #2]
	sdiv	w12, w10, w11
	msub	w10, w12, w11, w10
	cbnz	w10, LBB0_3
; %bb.2:
	ldr	w10, [x0, #8]
	cmp	w10, #254
	csinc	w10, wzr, w10, gt
	stp	wzr, w10, [x0, #4]
LBB0_3:
	lsl	w8, w9, w8
	ldrsw	x9, [x0, #32]
	cmp	w9, #3
	b.hi	LBB0_5
; %bb.4:
Lloh3:
	adrp	x10, l_switch.table.op1@PAGE
Lloh4:
	add	x10, x10, l_switch.table.op1@PAGEOFF
	ldr	x9, [x10, x9, lsl #3]
	ldr	x9, [x9]
	ldrsw	x10, [x0, #8]
	ldr	w9, [x9, x10, lsl #2]
	b	LBB0_6
LBB0_5:
	mov	w9, #0
LBB0_6:
	ldr	w10, [x0, #36]
	lsl	w9, w9, w10
	ldr	w10, [x0, #12]
	and	w10, w10, #0x3ffff
	add	w8, w8, w9, asr #2
	add	w8, w8, w10
	str	w8, [x0, #12]
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_lfo_step_table,8,3             ; @lfo_step_table
	.comm	_plfo,32,3                      ; @plfo
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.op1
l_switch.table.op1:
	.quad	_plfo
	.quad	_plfo+8
	.quad	_plfo+16
	.quad	_plfo+24

.subsections_via_symbols
