	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_nrpn                  ## -- Begin function snd_emux_nrpn
	.p2align	4, 0x90
_snd_emux_nrpn:                         ## @snd_emux_nrpn
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rdi, %rdi
	sete	%al
	testq	%rsi, %rsi
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	movq	_MIDI_CTL_NONREG_PARM_NUM_MSB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	cmpl	$127, %ecx
	jne	LBB0_4
## %bb.2:
	movq	_MIDI_CTL_NONREG_PARM_NUM_LSB@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpl	$26, (%rax,%rcx,4)
	jg	LBB0_8
## %bb.3:
	movq	_MIDI_CTL_MSB_DATA_ENTRY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r15d
	shll	$7, %r15d
	movq	_MIDI_CTL_LSB_DATA_ENTRY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orl	(%rax,%rcx,4), %r15d
	addl	$-8192, %r15d                   ## imm = 0xE000
	movq	_awe_effects@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movq	(%rbx), %rcx
	movq	(%r13), %rdx
	movl	(%rcx,%rdx,4), %r8d
	movq	_EMUX_FX_FLAG_SET@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	(%r14), %rdx
	movq	_SNDRV_MIDI_MODE_GS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.5:
	cmpl	$1, %ecx
	jne	LBB0_8
## %bb.6:
	movq	_MIDI_CTL_MSB_DATA_ENTRY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r15d
	movq	_gs_effects@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movq	(%rbx), %rcx
	movq	_MIDI_CTL_NONREG_PARM_NUM_LSB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %r8d
	movq	_EMUX_FX_FLAG_ADD@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movl	%r15d, %r9d
	callq	_send_converted_effect
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIDI_CTL_NONREG_PARM_NUM_MSB,8,3 ## @MIDI_CTL_NONREG_PARM_NUM_MSB
	.comm	_MIDI_CTL_NONREG_PARM_NUM_LSB,8,3 ## @MIDI_CTL_NONREG_PARM_NUM_LSB
	.comm	_MIDI_CTL_MSB_DATA_ENTRY,8,3    ## @MIDI_CTL_MSB_DATA_ENTRY
	.comm	_MIDI_CTL_LSB_DATA_ENTRY,8,3    ## @MIDI_CTL_LSB_DATA_ENTRY
	.comm	_awe_effects,4,2                ## @awe_effects
	.comm	_EMUX_FX_FLAG_SET,4,2           ## @EMUX_FX_FLAG_SET
	.comm	_SNDRV_MIDI_MODE_GS,8,3         ## @SNDRV_MIDI_MODE_GS
	.comm	_gs_effects,4,2                 ## @gs_effects
	.comm	_EMUX_FX_FLAG_ADD,4,2           ## @EMUX_FX_FLAG_ADD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_nrpn                  ; -- Begin function snd_emux_nrpn
	.p2align	2
_snd_emux_nrpn:                         ; @snd_emux_nrpn
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MIDI_CTL_NONREG_PARM_NUM_MSB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIDI_CTL_NONREG_PARM_NUM_MSB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #127
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x23, _MIDI_CTL_NONREG_PARM_NUM_LSB@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MIDI_CTL_NONREG_PARM_NUM_LSB@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #26
	b.gt	LBB0_1
; %bb.4:
Lloh5:
	adrp	x9, _MIDI_CTL_MSB_DATA_ENTRY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MIDI_CTL_MSB_DATA_ENTRY@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh8:
	adrp	x10, _MIDI_CTL_LSB_DATA_ENTRY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MIDI_CTL_LSB_DATA_ENTRY@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	orr	w8, w8, w9, lsl #7
	sub	w21, w8, #2, lsl #12            ; =8192
Lloh11:
	adrp	x8, _awe_effects@GOTPAGE
Lloh12:
	ldr	x8, [x8, _awe_effects@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w4, [x8, x9, lsl #2]
Lloh14:
	adrp	x8, _EMUX_FX_FLAG_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EMUX_FX_FLAG_SET@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x10, [x20]
Lloh16:
	adrp	x11, _SNDRV_MIDI_MODE_GS@GOTPAGE
Lloh17:
	ldr	x11, [x11, _SNDRV_MIDI_MODE_GS@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	cmp	x10, x11
	ccmp	w9, #1, #0, eq
	b.ne	LBB0_1
; %bb.6:
Lloh19:
	adrp	x9, _MIDI_CTL_MSB_DATA_ENTRY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MIDI_CTL_MSB_DATA_ENTRY@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	ldr	w21, [x8, x9, lsl #2]
Lloh22:
	adrp	x8, _gs_effects@GOTPAGE
Lloh23:
	ldr	x8, [x8, _gs_effects@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _MIDI_CTL_NONREG_PARM_NUM_LSB@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MIDI_CTL_NONREG_PARM_NUM_LSB@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	w4, [x8, x9, lsl #2]
Lloh28:
	adrp	x8, _EMUX_FX_FLAG_ADD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EMUX_FX_FLAG_ADD@GOTPAGEOFF]
LBB0_7:
	ldr	w6, [x8]
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	mov	x5, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_send_converted_effect
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MIDI_CTL_NONREG_PARM_NUM_MSB,8,3 ; @MIDI_CTL_NONREG_PARM_NUM_MSB
	.comm	_MIDI_CTL_NONREG_PARM_NUM_LSB,8,3 ; @MIDI_CTL_NONREG_PARM_NUM_LSB
	.comm	_MIDI_CTL_MSB_DATA_ENTRY,8,3    ; @MIDI_CTL_MSB_DATA_ENTRY
	.comm	_MIDI_CTL_LSB_DATA_ENTRY,8,3    ; @MIDI_CTL_LSB_DATA_ENTRY
	.comm	_awe_effects,4,2                ; @awe_effects
	.comm	_EMUX_FX_FLAG_SET,4,2           ; @EMUX_FX_FLAG_SET
	.comm	_SNDRV_MIDI_MODE_GS,8,3         ; @SNDRV_MIDI_MODE_GS
	.comm	_gs_effects,4,2                 ; @gs_effects
	.comm	_EMUX_FX_FLAG_ADD,4,2           ; @EMUX_FX_FLAG_ADD
.subsections_via_symbols
