	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function note_off_event
_note_off_event:                        ## @note_off_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%r8d, %r10d
	movl	%ecx, %r8d
	movl	%edx, %ebx
	movq	(%rdi), %rdx
	movslq	%esi, %rax
	leaq	(%rax,%rax,2), %rax
	movl	16(%rdx,%rax,8), %ecx
	cmpl	$128, %ecx
	je	LBB0_10
## %bb.1:
	cmpl	$130, %ecx
	je	LBB0_10
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_11
## %bb.3:
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.4:
	movq	8(%rdx,%rax,8), %r11
	testq	%r11, %r11
	je	LBB0_6
## %bb.5:
	cmpl	%ebx, (%rdx,%rax,8)
	jle	LBB0_6
## %bb.8:
	movl	%ebx, %eax
	movl	(%r11,%rax,8), %r8d
	testl	%r8d, %r8d
	js	LBB0_11
## %bb.9:
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	movq	%rcx, (%r11,%rax,8)
LBB0_10:
	movq	_SNDRV_SEQ_EVENT_NOTEOFF@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_6:
	movq	_SNDRV_SEQ_EVENT_NOTEON@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	%r9, (%rsp)
	movl	%ebx, %ecx
	movl	%r10d, %r9d
	callq	_set_note_event
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_SEQ_EVENT_NOTEON,4,2     ## @SNDRV_SEQ_EVENT_NOTEON
	.comm	_SNDRV_SEQ_EVENT_NOTEOFF,4,2    ## @SNDRV_SEQ_EVENT_NOTEOFF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_note_off_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function note_off_event
_note_off_event:                        ; @note_off_event
	.cfi_startproc
; %bb.0:
	mov	x6, x5
	mov	x5, x4
	mov	x4, x3
	mov	x3, x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
	mov	w9, #24
	smaddl	x9, w1, w9, x8
	ldr	w9, [x9, #16]
	cmp	w9, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w9, #130
	b.eq	LBB0_8
; %bb.2:
	cmp	w9, #129
	b.ne	LBB0_9
; %bb.3:
	tbnz	w3, #31, LBB0_10
; %bb.4:
	sxtw	x10, w1
	mov	w9, #24
	madd	x9, x10, x9, x8
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_10
; %bb.5:
	mov	w11, #24
	mul	x10, x10, x11
	ldr	w8, [x8, x10]
	cmp	w8, w3
	b.le	LBB0_10
; %bb.6:
	add	x8, x9, w3, uxtw #3
	ldr	w4, [x8]
	tbnz	w4, #31, LBB0_9
; %bb.7:
	movi	d0, #0x000000ffffffff
	str	d0, [x8]
LBB0_8:
Lloh0:
	adrp	x8, _SNDRV_SEQ_EVENT_NOTEOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_NOTEOFF@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	b	_set_note_event
LBB0_9:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_10:
Lloh6:
	adrp	x8, _SNDRV_SEQ_EVENT_NOTEON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_NOTEON@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	b	_set_note_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_SEQ_EVENT_NOTEON,4,2     ; @SNDRV_SEQ_EVENT_NOTEON
	.comm	_SNDRV_SEQ_EVENT_NOTEOFF,4,2    ; @SNDRV_SEQ_EVENT_NOTEOFF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_note_off_event
.subsections_via_symbols
