	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_opl4_control               ## -- Begin function snd_opl4_control
	.p2align	4, 0x90
_snd_opl4_control:                      ## @snd_opl4_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-129, %esi
	cmpl	$6, %esi
	ja	LBB0_3
## %bb.1:
	movq	_snd_opl4_update_volume@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rsi
	addq	%rcx, %rsi
	jmpq	*%rsi
LBB0_4:
	movq	_snd_opl4_update_pitch@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	popq	%rbp
	retq
LBB0_5:
	movq	_snd_opl4_update_pan@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	(%rdx), %rax
	movl	532(%rax), %ecx
	movl	%ecx, 516(%rax)
LBB0_7:
	movq	_snd_opl4_update_vibrato_depth@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movq	%rdx, %rsi
	movl	%eax, %edx
	popq	%rbp
	jmp	_snd_opl4_do_for_channel        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_snd_opl4_update_vibrato_depth,4,2 ## @snd_opl4_update_vibrato_depth
	.comm	_snd_opl4_update_volume,4,2     ## @snd_opl4_update_volume
	.comm	_snd_opl4_update_pan,4,2        ## @snd_opl4_update_pan
	.comm	_snd_opl4_update_pitch,4,2      ## @snd_opl4_update_pitch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_opl4_control               ; -- Begin function snd_opl4_control
	.p2align	2
_snd_opl4_control:                      ; @snd_opl4_control
	.cfi_startproc
; %bb.0:
	sub	w9, w1, #129
	cmp	w9, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _snd_opl4_update_volume@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_opl4_update_volume@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _snd_opl4_update_pitch@GOTPAGE
Lloh5:
	ldr	x8, [x8, _snd_opl4_update_pitch@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	ret
LBB0_4:
Lloh6:
	adrp	x8, _snd_opl4_update_pan@GOTPAGE
Lloh7:
	ldr	x8, [x8, _snd_opl4_update_pan@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x2]
	ldr	w9, [x8, #532]
	str	w9, [x8, #516]
LBB0_6:
Lloh8:
	adrp	x8, _snd_opl4_update_vibrato_depth@GOTPAGE
Lloh9:
	ldr	x8, [x8, _snd_opl4_update_vibrato_depth@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	mov	x1, x2
	mov	x2, x8
	b	_snd_opl4_do_for_channel
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_snd_opl4_update_vibrato_depth,4,2 ; @snd_opl4_update_vibrato_depth
	.comm	_snd_opl4_update_volume,4,2     ; @snd_opl4_update_volume
	.comm	_snd_opl4_update_pan,4,2        ; @snd_opl4_update_pan
	.comm	_snd_opl4_update_pitch,4,2      ; @snd_opl4_update_pitch
.subsections_via_symbols
