	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_opl3_drum_note_set
_snd_opl3_drum_note_set:                ## @snd_opl3_drum_note_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movzbl	(%rsi), %r15d
	movq	_OPL3_LEFT@GOTPCREL(%rip), %r12
	movzbl	(%r12), %eax
	movq	_OPL3_REG_FNUM_LOW@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %esi
	addl	%r15d, %esi
	orl	%eax, %esi
	movl	8(%r14), %edx
	callq	*(%rdi)
	movzbl	(%r12), %eax
	movq	_OPL3_REG_KEYON_BLOCK@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %esi
	addl	%r15d, %esi
	orl	%eax, %esi
	movq	(%rbx), %rax
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPL3_LEFT,1,0                  ## @OPL3_LEFT
	.comm	_OPL3_REG_FNUM_LOW,1,0          ## @OPL3_REG_FNUM_LOW
	.comm	_OPL3_REG_KEYON_BLOCK,1,0       ## @OPL3_REG_KEYON_BLOCK
	.no_dead_strip	_snd_opl3_drum_note_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_opl3_drum_note_set
_snd_opl3_drum_note_set:                ; @snd_opl3_drum_note_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldrb	w21, [x1]
Lloh0:
	adrp	x22, _OPL3_LEFT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OPL3_LEFT@GOTPAGEOFF]
Lloh2:
	adrp	x8, _OPL3_REG_FNUM_LOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OPL3_REG_FNUM_LOW@GOTPAGEOFF]
	ldrb	w9, [x22]
	ldrb	w8, [x8]
	add	w8, w8, w21
	orr	w1, w8, w9
	ldr	x8, [x0]
	ldr	w2, [x19, #8]
	blr	x8
	ldrb	w8, [x22]
Lloh4:
	adrp	x9, _OPL3_REG_KEYON_BLOCK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _OPL3_REG_KEYON_BLOCK@GOTPAGEOFF]
	ldrb	w9, [x9]
	add	w9, w9, w21
	orr	w1, w9, w8
	ldr	x3, [x20]
	ldr	w2, [x19, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OPL3_LEFT,1,0                  ; @OPL3_LEFT
	.comm	_OPL3_REG_FNUM_LOW,1,0          ; @OPL3_REG_FNUM_LOW
	.comm	_OPL3_REG_KEYON_BLOCK,1,0       ; @OPL3_REG_KEYON_BLOCK
	.no_dead_strip	_snd_opl3_drum_note_set
.subsections_via_symbols
