	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extra_decode_xrpn
_extra_decode_xrpn:                     ## @extra_decode_xrpn
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$7, %edx
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	cmpl	$11, %edx
	ja	LBB0_4
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_1
LBB0_4:
	movq	_MIDI_CMD_CONTROL@GOTPCREL(%rip), %rbx
	movl	8(%rcx), %r9d
	movl	12(%rcx), %r10d
	andl	$15, %r9d
	orl	(%rbx), %r9d
	movl	16(%rcx), %r8d
	xorl	%r11d, %r11d
	cmpb	%r9b, (%rdi)
	je	LBB0_8
## %bb.5:
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	cmpl	$8, %edx
	ja	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movb	%r9b, (%rdi)
	movb	%r9b, (%rsi)
	movq	8(%rdi), %rax
	movl	$1, %r11d
LBB0_8:
	movl	%r10d, %ebx
	shrl	$7, %ebx
	andb	$127, %bl
	movl	%r8d, %edx
	shrl	$7, %edx
	movq	(%rcx), %r14
	movq	_SNDRV_SEQ_EVENT_NONREGPARAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movb	%r9b, (%rdi)
	movl	%r11d, %eax
	incl	%r11d
	movb	%r9b, (%rsi,%rax)
LBB0_10:
	andb	$127, %r10b
	cmpq	%r15, %r14
	sete	%cl
	addb	%cl, %cl
	orb	$-128, %cl
	movl	%r11d, %eax
	movb	%cl, (%rsi,%rax)
	movb	%bl, 1(%rsi,%rax)
	addq	$2, %rax
	cmpq	$0, 8(%rdi)
	je	LBB0_12
## %bb.11:
	movb	%r9b, (%rdi)
	addl	$3, %r11d
	movb	%r9b, (%rsi,%rax)
	movl	%r11d, %eax
LBB0_12:
	andb	$127, %dl
	cmpq	%r15, %r14
	sete	%bl
	addb	%bl, %bl
	orb	$-127, %bl
	movl	%eax, %ecx
	movb	%bl, (%rsi,%rcx)
	movb	%r10b, 1(%rsi,%rcx)
	addq	$2, %rcx
	cmpq	$0, 8(%rdi)
	je	LBB0_14
## %bb.13:
	movb	%r9b, (%rdi)
	addl	$3, %eax
	movb	%r9b, (%rsi,%rcx)
	movl	%eax, %ecx
LBB0_14:
	andb	$127, %r8b
	movl	%ecx, %eax
	movb	$-124, (%rsi,%rax)
	movb	%dl, 1(%rsi,%rax)
	addq	$2, %rax
	cmpq	$0, 8(%rdi)
	je	LBB0_16
## %bb.15:
	movb	%r9b, (%rdi)
	addl	$3, %ecx
	movb	%r9b, (%rsi,%rax)
	movl	%ecx, %eax
LBB0_16:
	movl	%eax, %ecx
	movb	$-123, (%rsi,%rcx)
	addl	$2, %eax
	movb	%r8b, 1(%rsi,%rcx)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MIDI_CMD_CONTROL,4,2           ## @MIDI_CMD_CONTROL
	.comm	_SNDRV_SEQ_EVENT_NONREGPARAM,8,3 ## @SNDRV_SEQ_EVENT_NONREGPARAM
	.no_dead_strip	_extra_decode_xrpn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extra_decode_xrpn
_extra_decode_xrpn:                     ; @extra_decode_xrpn
	.cfi_startproc
; %bb.0:
	cmp	w2, #7
	b.le	LBB0_6
; %bb.1:
	ldr	x14, [x0, #8]
	cmp	w2, #11
	b.hi	LBB0_3
; %bb.2:
	cbnz	x14, LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _MIDI_CMD_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIDI_CMD_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w11, [x3, #8]
	and	w9, w9, #0xf
	orr	w8, w9, w8
	ldr	w9, [x3, #16]
	ldrb	w10, [x0]
	cmp	w10, w8, uxtb
	ccmp	x14, #0, #0, ne
	b.eq	LBB0_5
; %bb.4:
	mov	w10, #0
	b	LBB0_8
LBB0_5:
	cmp	w2, #8
	b.hi	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	strb	w8, [x0]
	strb	w8, [x1]
	ldr	x14, [x0, #8]
	mov	w10, #1
LBB0_8:
	ubfx	w15, w11, #7, #7
	and	w11, w11, #0x7f
	ldr	x12, [x3]
Lloh6:
	adrp	x13, _SNDRV_SEQ_EVENT_NONREGPARAM@GOTPAGE
Lloh7:
	ldr	x13, [x13, _SNDRV_SEQ_EVENT_NONREGPARAM@GOTPAGEOFF]
Lloh8:
	ldr	x13, [x13]
	cbz	x14, LBB0_10
; %bb.9:
	strb	w8, [x0]
	strb	w8, [x1, w10, uxtw]
	add	w10, w10, #1
LBB0_10:
	cmp	x12, x13
	mov	w14, #-128
	mov	w16, #-126
	csel	w14, w16, w14, eq
	mov	w16, w10
	add	x17, x1, x16
	strb	w14, [x17]
	add	x14, x16, #2
	strb	w15, [x17, #1]
	ldr	x15, [x0, #8]
	cbz	x15, LBB0_12
; %bb.11:
	strb	w8, [x0]
	strb	w8, [x1, x14]
	add	w10, w10, #3
	mov	x14, x10
LBB0_12:
	and	w10, w9, #0x7f
	ubfx	w9, w9, #7, #7
	cmp	x12, x13
	mov	w12, #-127
	mov	w13, #-125
	csel	w12, w13, w12, eq
	mov	w13, w14
	add	x15, x1, x13
	strb	w12, [x15]
	add	x12, x13, #2
	strb	w11, [x15, #1]
	ldr	x11, [x0, #8]
	cbz	x11, LBB0_14
; %bb.13:
	strb	w8, [x0]
	strb	w8, [x1, x12]
	add	w11, w14, #3
	mov	x12, x11
LBB0_14:
	mov	w11, w12
	add	x13, x1, x11
	mov	w14, #132
	strb	w14, [x13]
	add	x11, x11, #2
	strb	w9, [x13, #1]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_16
; %bb.15:
	strb	w8, [x0]
	strb	w8, [x1, x11]
	add	w8, w12, #3
	mov	x11, x8
LBB0_16:
	add	x8, x1, w11, uxtw
	mov	w9, #133
	strb	w9, [x8]
	add	w0, w11, #2
	strb	w10, [x8, #1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MIDI_CMD_CONTROL,4,2           ; @MIDI_CMD_CONTROL
	.comm	_SNDRV_SEQ_EVENT_NONREGPARAM,8,3 ; @SNDRV_SEQ_EVENT_NONREGPARAM
	.no_dead_strip	_extra_decode_xrpn
.subsections_via_symbols
