	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opl3_close
_opl3_close:                            ## @opl3_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_devc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, 32(%rax)
	xorl	%ecx, %ecx
	cmpl	$2, 4(%rax)
	sete	%cl
	leal	(%rcx,%rcx,8), %ecx
	addl	$9, %ecx
	movl	%ecx, (%rax)
	movq	24(%rax), %rdx
	movl	%ecx, (%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	popq	%rbp
	jmp	_opl3_reset                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_devc,8,3                       ## @devc
	.no_dead_strip	_opl3_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opl3_close
_opl3_close:                            ; @opl3_close
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _devc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	xzr, [x8, #32]
	ldr	w9, [x8, #4]
	mov	w10, #9
	mov	w11, #18
	cmp	w9, #2
	csel	w9, w11, w10, eq
	str	w9, [x8]
	ldr	x10, [x8, #24]
	str	w9, [x10]
	stp	xzr, xzr, [x8, #8]
	b	_opl3_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_devc,8,3                       ; @devc
	.no_dead_strip	_opl3_close
.subsections_via_symbols
