	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function note_off
_note_off:                              ## @note_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	cmpq	$0, 8(%rdx)
	je	LBB0_2
## %bb.1:
	movq	_SNDRV_MIDI_NOTE_RELEASED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	(%rax), %rax
	movslq	%ecx, %rcx
	orl	%edx, (%rax,%rcx,4)
	popq	%rbp
	retq
LBB0_2:
	movq	(%rax), %r9
	movslq	%ecx, %r10
	movl	(%r9,%r10,4), %r11d
	movq	_SNDRV_MIDI_NOTE_SOSTENUTO@GOTPCREL(%rip), %rdx
	testl	%r11d, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_SNDRV_MIDI_NOTE_RELEASED@GOTPCREL(%rip), %rax
	orl	(%rax), %r11d
	movl	%r11d, (%r9,%r10,4)
	popq	%rbp
	retq
LBB0_4:
	movl	$0, (%r9,%r10,4)
	movq	(%rdi), %r9
	testq	%r9, %r9
	je	LBB0_5
## %bb.6:
	movq	%rsi, %rdi
	movl	%ecx, %esi
	movl	%r8d, %edx
	movq	%rax, %rcx
	popq	%rbp
	jmpq	*%r9                            ## TAILCALL
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_MIDI_NOTE_RELEASED,4,2   ## @SNDRV_MIDI_NOTE_RELEASED
	.comm	_SNDRV_MIDI_NOTE_SOSTENUTO,4,2  ## @SNDRV_MIDI_NOTE_SOSTENUTO
	.no_dead_strip	_note_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function note_off
_note_off:                              ; @note_off
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x8, x2
	ldr	x9, [x2, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _SNDRV_MIDI_NOTE_RELEASED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_MIDI_NOTE_RELEASED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x8, [x8]
                                        ; kill: def $w3 killed $w3 killed $x3 def $x3
	sbfiz	x10, x3, #2, #32
	ldr	w11, [x8, x10]
	orr	w9, w11, w9
	str	w9, [x8, x10]
	ret
LBB0_2:
	ldr	x9, [x8]
	sxtw	x10, w3
	ldr	w11, [x9, w3, sxtw #2]
Lloh3:
	adrp	x12, _SNDRV_MIDI_NOTE_SOSTENUTO@GOTPAGE
Lloh4:
	ldr	x12, [x12, _SNDRV_MIDI_NOTE_SOSTENUTO@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _SNDRV_MIDI_NOTE_RELEASED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_MIDI_NOTE_RELEASED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w11
	str	w8, [x9, x10, lsl #2]
	ret
LBB0_4:
	str	wzr, [x9, x10, lsl #2]
	ldr	x5, [x0]
	cbz	x5, LBB0_6
; %bb.5:
	mov	x0, x1
	mov	x1, x3
	mov	x2, x4
	mov	x3, x8
	br	x5
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_MIDI_NOTE_RELEASED,4,2   ; @SNDRV_MIDI_NOTE_RELEASED
	.comm	_SNDRV_MIDI_NOTE_SOSTENUTO,4,2  ; @SNDRV_MIDI_NOTE_SOSTENUTO
	.no_dead_strip	_note_off
.subsections_via_symbols
