	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdspm_proc_read_madi
_snd_hdspm_proc_read_madi:              ## @snd_hdspm_proc_read_madi
	.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
	subq	$24, %rsp
	.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), %r13
	movq	_HDSPM_statusRegister@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hdspm_read
	movl	%eax, %r14d
	movq	_HDSPM_statusRegister2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hdspm_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	64(%r13), %edx
	movq	56(%r13), %rcx
	movq	(%rcx), %rcx
	incq	%rcx
	movl	48(%r13), %r8d
	movq	_HDSPM_version0@GOTPCREL(%rip), %rdi
	movq	_HDSPM_version1@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	orl	(%rdi), %r9d
	movq	_HDSPM_version2@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r9d
	andl	%eax, %r9d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movl	44(%r13), %edx
	movl	40(%r13), %ecx
	movq	32(%r13), %r8
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_audioIRQPending@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r14d, %edx
	movq	_HDSPM_midi0IRQPending@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%cl
	movq	_HDSPM_midi1IRQPending@GOTPCREL(%rip), %rax
	xorl	%r8d, %r8d
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%r8b
	movl	28(%r13), %r9d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_BufferID@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%bl
	movq	_HDSPM_BufferPositionMask@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%r14d, %r12d
	movl	16(%r13), %ecx
	addl	%ecx, %ecx
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	leal	-64(%r12), %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r15d
	movq	%r13, %rdi
	callq	_hdspm_hw_pointer
	shlq	$2, %rax
	movq	%rax, (%rsp)
	leaq	L_.str.4(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_midiStatusOut0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hdspm_read
	movzbl	%al, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_HDSPM_midiStatusOut1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hdspm_read
	movzbl	%al, %r12d
	movq	_HDSPM_midiStatusIn0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hdspm_read
	movzbl	%al, %ebx
	movq	_HDSPM_midiStatusIn1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hdspm_read
	movzbl	%al, %r9d
	leaq	L_.str.5(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_snd_iprintf
	movl	(%r13), %edx
	movl	24(%r13), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %r12d
	movl	%r14d, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snd_iprintf
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_LatencyMask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r13), %edi
	callq	_hdspm_decode_latency
                                        ## kill: def $eax killed $eax def $rax
	leal	6(%rax), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	16(%r13), %rcx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_LineOut@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	leaq	L_.str.11(%rip), %r14
	leaq	L_.str.10(%rip), %rdx
	cmoveq	%r14, %rdx
	cmpq	$0, 8(%r13)
	leaq	L_.str.12(%rip), %rbx
	movq	%rbx, %rcx
	cmoveq	%r14, %rcx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movl	(%r13), %eax
	movq	_HDSPM_InputMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	$133, %ecx
	leaq	L_.str.14(%rip), %rdx
	leaq	L_.str.15(%rip), %rsi
	cmovneq	%rsi, %rdx
	cmpl	$132, %ecx
	leaq	L_.str.13(%rip), %rcx
	cmoveq	%rcx, %rdx
	movq	_HDSPM_SyncRefMask@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	$129, %eax
	leaq	L_.str.17(%rip), %rdi
	cmovneq	%rsi, %rdi
	cmpl	$128, %eax
	leaq	L_.str.16(%rip), %rcx
	cmovneq	%rdi, %rcx
	leaq	L_.str.18(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movl	(%r13), %eax
	movq	_HDSPM_clr_tms@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	%rbx, %rdx
	cmoveq	%r14, %rdx
	movq	_HDSPM_TX_64ch@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	leaq	L_.str.21(%rip), %rsi
	leaq	L_.str.20(%rip), %rcx
	cmoveq	%rsi, %rcx
	movq	_HDSPM_AutoInp@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	cmoveq	%r14, %rbx
	leaq	L_.str.19(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	%r13, %rdi
	callq	_hdspm_clock_source
	addl	$-134, %eax
	cmpl	$6, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_reltable.snd_hdspm_proc_read_madi(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.29(%rip), %rdx
LBB0_3:
	leaq	L_.str.30(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_ClockModeMaster@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	leaq	L_.str.31(%rip), %rax
	leaq	L_.str.32(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.33(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	%r13, %rdi
	callq	_hdspm_pref_sync_ref
	cmpl	$131, %eax
	leaq	L_.str.35(%rip), %rcx
	leaq	L_.str.36(%rip), %rsi
	cmoveq	%rcx, %rsi
	cmpl	$130, %eax
	leaq	L_.str.34(%rip), %rdx
	cmovneq	%rsi, %rdx
	leaq	L_.str.37(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movl	4(%r13), %edx
	leaq	L_.str.38(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	leaq	L_.str.39(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_wcSync@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	andl	%edi, %eax
	movq	_HDSPM_madiLock@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%r12d, %esi
	movq	_HDSPM_madiSync@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r12d, %ecx
	leaq	L_.str.42(%rip), %r8
	leaq	L_.str.41(%rip), %rcx
	movq	%rcx, %rdx
	cmoveq	%r8, %rdx
	testl	%esi, %esi
	leaq	L_.str.43(%rip), %rsi
	cmoveq	%rsi, %rdx
	movq	_HDSPM_wcLock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	andl	%edi, %ebx
	testl	%eax, %eax
	cmoveq	%r8, %rcx
	testl	%ebx, %ebx
	cmoveq	%rsi, %rcx
	leaq	L_.str.40(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	%r13, %rdi
	callq	_hdspm_autosync_ref
	addl	$-141, %eax
	cmpl	$2, %eax
	ja	LBB0_4
## %bb.5:
	cltq
	leaq	l_reltable.snd_hdspm_proc_read_madi.53(%rip), %rcx
	movslq	(%rcx,%rax,4), %rbx
	addq	%rcx, %rbx
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.45(%rip), %rbx
LBB0_6:
	movq	%r13, %rdi
	callq	_hdspm_external_sample_rate
	movq	_HDSPM_madiFreqMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%r12d, %r8d
	shrl	$22, %r8d
	movq	_HDSPM_wcFreqMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	andl	-48(%rbp), %r9d                 ## 4-byte Folded Reload
	shrl	$5, %r9d
	leaq	L_.str.46(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_HDSPM_AB_int@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	leaq	L_.str.48(%rip), %rdx
	leaq	L_.str.13(%rip), %rax
	cmoveq	%rax, %rdx
	movq	_HDSPM_RX_64ch@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	leaq	L_.str.50(%rip), %rax
	leaq	L_.str.49(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.47(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	leaq	L_.str.51(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_iprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDSPM_statusRegister,4,2       ## @HDSPM_statusRegister
	.comm	_HDSPM_statusRegister2,4,2      ## @HDSPM_statusRegister2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s (Card #%d) Rev.%x Status2first3bits: %x\n"

	.comm	_HDSPM_version0,4,2             ## @HDSPM_version0
	.comm	_HDSPM_version1,4,2             ## @HDSPM_version1
	.comm	_HDSPM_version2,4,2             ## @HDSPM_version2
L_.str.1:                               ## @.str.1
	.asciz	"IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n"

L_.str.2:                               ## @.str.2
	.asciz	"--- System ---\n"

L_.str.3:                               ## @.str.3
	.asciz	"IRQ Pending: Audio=%d, MIDI0=%d, MIDI1=%d, IRQcount=%d\n"

	.comm	_HDSPM_audioIRQPending,4,2      ## @HDSPM_audioIRQPending
	.comm	_HDSPM_midi0IRQPending,4,2      ## @HDSPM_midi0IRQPending
	.comm	_HDSPM_midi1IRQPending,4,2      ## @HDSPM_midi1IRQPending
L_.str.4:                               ## @.str.4
	.asciz	"HW pointer: id = %d, rawptr = %d (%d->%d) estimated= %ld (bytes)\n"

	.comm	_HDSPM_BufferID,4,2             ## @HDSPM_BufferID
	.comm	_HDSPM_BufferPositionMask,4,2   ## @HDSPM_BufferPositionMask
L_.str.5:                               ## @.str.5
	.asciz	"MIDI FIFO: Out1=0x%x, Out2=0x%x, In1=0x%x, In2=0x%x \n"

	.comm	_HDSPM_midiStatusOut0,4,2       ## @HDSPM_midiStatusOut0
	.comm	_HDSPM_midiStatusOut1,4,2       ## @HDSPM_midiStatusOut1
	.comm	_HDSPM_midiStatusIn0,4,2        ## @HDSPM_midiStatusIn0
	.comm	_HDSPM_midiStatusIn1,4,2        ## @HDSPM_midiStatusIn1
L_.str.6:                               ## @.str.6
	.asciz	"Register: ctrl1=0x%x, ctrl2=0x%x, status1=0x%x, status2=0x%x\n"

L_.str.7:                               ## @.str.7
	.asciz	"--- Settings ---\n"

	.comm	_HDSPM_LatencyMask,4,2          ## @HDSPM_LatencyMask
L_.str.8:                               ## @.str.8
	.asciz	"Size (Latency): %d samples (2 periods of %lu bytes)\n"

L_.str.9:                               ## @.str.9
	.asciz	"Line out: %s,   Precise Pointer: %s\n"

	.comm	_HDSPM_LineOut,4,2              ## @HDSPM_LineOut
L_.str.10:                              ## @.str.10
	.asciz	"on "

L_.str.11:                              ## @.str.11
	.asciz	"off"

L_.str.12:                              ## @.str.12
	.asciz	"on"

	.comm	_HDSPM_InputMask,4,2            ## @HDSPM_InputMask
L_.str.13:                              ## @.str.13
	.asciz	"Optical"

L_.str.14:                              ## @.str.14
	.asciz	"Coaxial"

L_.str.15:                              ## @.str.15
	.asciz	"Unkown"

	.comm	_HDSPM_SyncRefMask,4,2          ## @HDSPM_SyncRefMask
L_.str.16:                              ## @.str.16
	.asciz	"WordClock"

L_.str.17:                              ## @.str.17
	.asciz	"MADI"

L_.str.18:                              ## @.str.18
	.asciz	"Inputsel = %s, SyncRef = %s\n"

L_.str.19:                              ## @.str.19
	.asciz	"ClearTrackMarker = %s, Transmit in %s Channel Mode, Auto Input %s\n"

	.comm	_HDSPM_clr_tms,4,2              ## @HDSPM_clr_tms
	.comm	_HDSPM_TX_64ch,4,2              ## @HDSPM_TX_64ch
L_.str.20:                              ## @.str.20
	.asciz	"64"

L_.str.21:                              ## @.str.21
	.asciz	"56"

	.comm	_HDSPM_AutoInp,4,2              ## @HDSPM_AutoInp
L_.str.22:                              ## @.str.22
	.asciz	"AutoSync"

L_.str.23:                              ## @.str.23
	.asciz	"Internal 32 kHz"

L_.str.24:                              ## @.str.24
	.asciz	"Internal 44.1 kHz"

L_.str.25:                              ## @.str.25
	.asciz	"Internal 48 kHz"

L_.str.26:                              ## @.str.26
	.asciz	"Internal 64 kHz"

L_.str.27:                              ## @.str.27
	.asciz	"Internal 88.2 kHz"

L_.str.28:                              ## @.str.28
	.asciz	"Internal 96 kHz"

L_.str.29:                              ## @.str.29
	.asciz	"Error"

L_.str.30:                              ## @.str.30
	.asciz	"Sample Clock Source: %s\n"

	.comm	_HDSPM_ClockModeMaster,4,2      ## @HDSPM_ClockModeMaster
L_.str.31:                              ## @.str.31
	.asciz	"Slave"

L_.str.32:                              ## @.str.32
	.asciz	"Master"

L_.str.33:                              ## @.str.33
	.asciz	"System Clock Mode: %s\n"

L_.str.34:                              ## @.str.34
	.asciz	"Word Clock"

L_.str.35:                              ## @.str.35
	.asciz	"MADI Sync"

L_.str.36:                              ## @.str.36
	.asciz	"XXXX Clock"

L_.str.37:                              ## @.str.37
	.asciz	"Preferred Sync Reference: %s\n"

L_.str.38:                              ## @.str.38
	.asciz	"System Clock Frequency: %d\n"

L_.str.39:                              ## @.str.39
	.asciz	"--- Status:\n"

	.comm	_HDSPM_madiSync,4,2             ## @HDSPM_madiSync
	.comm	_HDSPM_wcSync,4,2               ## @HDSPM_wcSync
L_.str.40:                              ## @.str.40
	.asciz	"Inputs MADI=%s, WordClock=%s\n"

	.comm	_HDSPM_madiLock,4,2             ## @HDSPM_madiLock
L_.str.41:                              ## @.str.41
	.asciz	"Sync"

L_.str.42:                              ## @.str.42
	.asciz	"Lock"

L_.str.43:                              ## @.str.43
	.asciz	"NoLock"

	.comm	_HDSPM_wcLock,4,2               ## @HDSPM_wcLock
L_.str.44:                              ## @.str.44
	.asciz	"Input not valid"

L_.str.45:                              ## @.str.45
	.asciz	"---"

L_.str.46:                              ## @.str.46
	.asciz	"AutoSync: Reference= %s, Freq=%d (MADI = %d, Word = %d)\n"

	.comm	_HDSPM_madiFreqMask,4,2         ## @HDSPM_madiFreqMask
	.comm	_HDSPM_wcFreqMask,4,2           ## @HDSPM_wcFreqMask
L_.str.47:                              ## @.str.47
	.asciz	"Input: %s, Mode=%s\n"

	.comm	_HDSPM_AB_int,4,2               ## @HDSPM_AB_int
L_.str.48:                              ## @.str.48
	.asciz	"Coax"

	.comm	_HDSPM_RX_64ch,4,2              ## @HDSPM_RX_64ch
L_.str.49:                              ## @.str.49
	.asciz	"64 channels"

L_.str.50:                              ## @.str.50
	.asciz	"56 channels"

L_.str.51:                              ## @.str.51
	.asciz	"\n"

	.no_dead_strip	_snd_hdspm_proc_read_madi
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.snd_hdspm_proc_read_madi
l_reltable.snd_hdspm_proc_read_madi:
	.long	L_.str.28-l_reltable.snd_hdspm_proc_read_madi
	.long	L_.str.27-l_reltable.snd_hdspm_proc_read_madi
	.long	L_.str.26-l_reltable.snd_hdspm_proc_read_madi
	.long	L_.str.25-l_reltable.snd_hdspm_proc_read_madi
	.long	L_.str.24-l_reltable.snd_hdspm_proc_read_madi
	.long	L_.str.23-l_reltable.snd_hdspm_proc_read_madi
	.long	L_.str.22-l_reltable.snd_hdspm_proc_read_madi

	.p2align	2                               ## @reltable.snd_hdspm_proc_read_madi.53
l_reltable.snd_hdspm_proc_read_madi.53:
	.long	L_.str.34-l_reltable.snd_hdspm_proc_read_madi.53
	.long	L_.str.44-l_reltable.snd_hdspm_proc_read_madi.53
	.long	L_.str.35-l_reltable.snd_hdspm_proc_read_madi.53

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hdspm_proc_read_madi
_snd_hdspm_proc_read_madi:              ; @snd_hdspm_proc_read_madi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _HDSPM_statusRegister@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDSPM_statusRegister@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_hdspm_read
	mov	x20, x0
Lloh3:
	adrp	x8, _HDSPM_statusRegister2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDSPM_statusRegister2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_hdspm_read
	mov	x22, x0
	ldr	x8, [x21, #56]
	ldr	x8, [x8]
	add	x8, x8, #1
Lloh6:
	adrp	x9, _HDSPM_version0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HDSPM_version0@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _HDSPM_version1@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HDSPM_version1@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _HDSPM_version2@GOTPAGE
Lloh13:
	ldr	x11, [x11, _HDSPM_version2@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh14:
	ldr	w10, [x11]
	orr	w9, w9, w10
	and	w9, w9, w0
	ldr	w10, [x21, #64]
	ldr	w11, [x21, #48]
	stp	x10, x8, [sp]
	stp	x11, x9, [sp, #16]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #32]
	ldp	w10, w9, [x21, #40]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh21:
	adrp	x8, _HDSPM_audioIRQPending@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDSPM_audioIRQPending@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh24:
	adrp	x9, _HDSPM_midi0IRQPending@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HDSPM_midi0IRQPending@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w20
	cset	w9, ne
Lloh27:
	adrp	x10, _HDSPM_midi1IRQPending@GOTPAGE
Lloh28:
	ldr	x10, [x10, _HDSPM_midi1IRQPending@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	tst	w10, w20
	cset	w10, ne
	ldr	w11, [x21, #28]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh32:
	adrp	x8, _HDSPM_BufferID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HDSPM_BufferID@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w23, ne
Lloh35:
	adrp	x8, _HDSPM_BufferPositionMask@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HDSPM_BufferPositionMask@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	and	w24, w8, w20
	ldr	w8, [x21, #16]
	lsl	w8, w8, #1
	udiv	w9, w24, w8
	msub	w25, w9, w8, w24
	sub	w9, w24, #64
	udiv	w10, w9, w8
	msub	w26, w10, w8, w9
	mov	x0, x21
	bl	_hdspm_hw_pointer
	lsl	x8, x0, #2
	stp	x26, x8, [sp, #24]
	stp	x23, x24, [sp]
	str	x25, [sp, #16]
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh40:
	adrp	x8, _HDSPM_midiStatusOut0@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HDSPM_midiStatusOut0@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_hdspm_read
	and	w23, w0, #0xff
Lloh43:
	adrp	x8, _HDSPM_midiStatusOut1@GOTPAGE
Lloh44:
	ldr	x8, [x8, _HDSPM_midiStatusOut1@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_hdspm_read
	and	w24, w0, #0xff
Lloh46:
	adrp	x8, _HDSPM_midiStatusIn0@GOTPAGE
Lloh47:
	ldr	x8, [x8, _HDSPM_midiStatusIn0@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_hdspm_read
	and	w25, w0, #0xff
Lloh49:
	adrp	x8, _HDSPM_midiStatusIn1@GOTPAGE
Lloh50:
	ldr	x8, [x8, _HDSPM_midiStatusIn1@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_hdspm_read
	and	w8, w0, #0xff
	stp	x25, x8, [sp, #16]
	stp	x23, x24, [sp]
Lloh52:
	adrp	x1, l_.str.5@PAGE
Lloh53:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	w8, [x21]
	ldr	w9, [x21, #24]
	stp	x20, x22, [sp, #16]
	stp	x8, x9, [sp]
Lloh54:
	adrp	x1, l_.str.6@PAGE
Lloh55:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh56:
	adrp	x1, l_.str.7@PAGE
Lloh57:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	w8, [x21]
Lloh58:
	adrp	x9, _HDSPM_LatencyMask@GOTPAGE
Lloh59:
	ldr	x9, [x9, _HDSPM_LatencyMask@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_hdspm_decode_latency
	add	w8, w0, #6
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	x9, [x21, #16]
	stp	x8, x9, [sp]
Lloh61:
	adrp	x1, l_.str.8@PAGE
Lloh62:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	w8, [x21]
Lloh63:
	adrp	x9, _HDSPM_LineOut@GOTPAGE
Lloh64:
	ldr	x9, [x9, _HDSPM_LineOut@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
Lloh66:
	adrp	x10, l_.str.10@PAGE
Lloh67:
	add	x10, x10, l_.str.10@PAGEOFF
Lloh68:
	adrp	x24, l_.str.11@PAGE
Lloh69:
	add	x24, x24, l_.str.11@PAGEOFF
	tst	w9, w8
	csel	x8, x24, x10, eq
	ldr	x9, [x21, #8]
Lloh70:
	adrp	x25, l_.str.12@PAGE
Lloh71:
	add	x25, x25, l_.str.12@PAGEOFF
	cmp	x9, #0
	csel	x9, x24, x25, eq
	stp	x8, x9, [sp]
Lloh72:
	adrp	x1, l_.str.9@PAGE
Lloh73:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	w8, [x21]
Lloh74:
	adrp	x9, _HDSPM_InputMask@GOTPAGE
Lloh75:
	ldr	x9, [x9, _HDSPM_InputMask@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh77:
	adrp	x10, l_.str.15@PAGE
Lloh78:
	add	x10, x10, l_.str.15@PAGEOFF
Lloh79:
	adrp	x11, l_.str.14@PAGE
Lloh80:
	add	x11, x11, l_.str.14@PAGEOFF
	cmp	w9, #133
	csel	x11, x11, x10, eq
Lloh81:
	adrp	x23, l_.str.13@PAGE
Lloh82:
	add	x23, x23, l_.str.13@PAGEOFF
	cmp	w9, #132
	csel	x9, x23, x11, eq
Lloh83:
	adrp	x11, _HDSPM_SyncRefMask@GOTPAGE
Lloh84:
	ldr	x11, [x11, _HDSPM_SyncRefMask@GOTPAGEOFF]
Lloh85:
	ldr	w11, [x11]
	and	w8, w11, w8
Lloh86:
	adrp	x11, l_.str.17@PAGE
Lloh87:
	add	x11, x11, l_.str.17@PAGEOFF
	cmp	w8, #129
	csel	x10, x11, x10, eq
Lloh88:
	adrp	x11, l_.str.16@PAGE
Lloh89:
	add	x11, x11, l_.str.16@PAGEOFF
	cmp	w8, #128
	csel	x8, x11, x10, eq
	stp	x9, x8, [sp]
Lloh90:
	adrp	x1, l_.str.18@PAGE
Lloh91:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh92:
	adrp	x8, _HDSPM_clr_tms@GOTPAGE
Lloh93:
	ldr	x8, [x8, _HDSPM_clr_tms@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh94:
	ldr	w8, [x8]
	tst	w8, w9
	csel	x8, x24, x25, eq
Lloh95:
	adrp	x10, _HDSPM_TX_64ch@GOTPAGE
Lloh96:
	ldr	x10, [x10, _HDSPM_TX_64ch@GOTPAGEOFF]
Lloh97:
	ldr	w10, [x10]
Lloh98:
	adrp	x11, l_.str.20@PAGE
Lloh99:
	add	x11, x11, l_.str.20@PAGEOFF
Lloh100:
	adrp	x12, l_.str.21@PAGE
Lloh101:
	add	x12, x12, l_.str.21@PAGEOFF
	tst	w10, w9
	csel	x10, x12, x11, eq
Lloh102:
	adrp	x11, _HDSPM_AutoInp@GOTPAGE
Lloh103:
	ldr	x11, [x11, _HDSPM_AutoInp@GOTPAGEOFF]
Lloh104:
	ldr	w11, [x11]
	tst	w11, w9
	csel	x9, x24, x25, eq
	stp	x10, x9, [sp, #8]
	str	x8, [sp]
Lloh105:
	adrp	x1, l_.str.19@PAGE
Lloh106:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	mov	x0, x21
	bl	_hdspm_clock_source
	sub	w8, w0, #134
	cmp	w8, #6
	b.hi	LBB0_2
; %bb.1:
Lloh107:
	adrp	x9, l_switch.table.snd_hdspm_proc_read_madi@PAGE
Lloh108:
	add	x9, x9, l_switch.table.snd_hdspm_proc_read_madi@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh109:
	adrp	x8, l_.str.29@PAGE
Lloh110:
	add	x8, x8, l_.str.29@PAGEOFF
LBB0_3:
	str	x8, [sp]
Lloh111:
	adrp	x1, l_.str.30@PAGE
Lloh112:
	add	x1, x1, l_.str.30@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	w8, [x21]
Lloh113:
	adrp	x9, _HDSPM_ClockModeMaster@GOTPAGE
Lloh114:
	ldr	x9, [x9, _HDSPM_ClockModeMaster@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
Lloh116:
	adrp	x10, l_.str.32@PAGE
Lloh117:
	add	x10, x10, l_.str.32@PAGEOFF
Lloh118:
	adrp	x11, l_.str.31@PAGE
Lloh119:
	add	x11, x11, l_.str.31@PAGEOFF
	tst	w9, w8
	csel	x8, x11, x10, eq
	str	x8, [sp]
Lloh120:
	adrp	x1, l_.str.33@PAGE
Lloh121:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	mov	x0, x21
	bl	_hdspm_pref_sync_ref
Lloh122:
	adrp	x8, l_.str.36@PAGE
Lloh123:
	add	x8, x8, l_.str.36@PAGEOFF
Lloh124:
	adrp	x9, l_.str.35@PAGE
Lloh125:
	add	x9, x9, l_.str.35@PAGEOFF
	cmp	w0, #131
	csel	x8, x9, x8, eq
Lloh126:
	adrp	x9, l_.str.34@PAGE
Lloh127:
	add	x9, x9, l_.str.34@PAGEOFF
	cmp	w0, #130
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh128:
	adrp	x1, l_.str.37@PAGE
Lloh129:
	add	x1, x1, l_.str.37@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	w8, [x21, #4]
	str	x8, [sp]
Lloh130:
	adrp	x1, l_.str.38@PAGE
Lloh131:
	add	x1, x1, l_.str.38@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh132:
	adrp	x1, l_.str.39@PAGE
Lloh133:
	add	x1, x1, l_.str.39@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh134:
	adrp	x8, _HDSPM_wcSync@GOTPAGE
Lloh135:
	ldr	x8, [x8, _HDSPM_wcSync@GOTPAGEOFF]
Lloh136:
	ldr	w8, [x8]
Lloh137:
	adrp	x9, _HDSPM_madiLock@GOTPAGE
Lloh138:
	ldr	x9, [x9, _HDSPM_madiLock@GOTPAGEOFF]
Lloh139:
	ldr	w9, [x9]
Lloh140:
	adrp	x10, _HDSPM_madiSync@GOTPAGE
Lloh141:
	ldr	x10, [x10, _HDSPM_madiSync@GOTPAGEOFF]
Lloh142:
	ldr	w10, [x10]
Lloh143:
	adrp	x11, l_.str.41@PAGE
Lloh144:
	add	x11, x11, l_.str.41@PAGEOFF
Lloh145:
	adrp	x12, l_.str.42@PAGE
Lloh146:
	add	x12, x12, l_.str.42@PAGEOFF
	tst	w10, w20
	csel	x10, x12, x11, eq
Lloh147:
	adrp	x13, l_.str.43@PAGE
Lloh148:
	add	x13, x13, l_.str.43@PAGEOFF
	tst	w9, w20
Lloh149:
	adrp	x9, _HDSPM_wcLock@GOTPAGE
Lloh150:
	ldr	x9, [x9, _HDSPM_wcLock@GOTPAGEOFF]
	csel	x10, x13, x10, eq
Lloh151:
	ldr	w9, [x9]
	tst	w8, w22
	csel	x8, x12, x11, eq
	tst	w9, w22
	csel	x8, x13, x8, eq
	stp	x10, x8, [sp]
Lloh152:
	adrp	x1, l_.str.40@PAGE
Lloh153:
	add	x1, x1, l_.str.40@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	mov	x0, x21
	bl	_hdspm_autosync_ref
	sub	w8, w0, #141
	cmp	w8, #2
	b.hi	LBB0_5
; %bb.4:
Lloh154:
	adrp	x9, l_switch.table.snd_hdspm_proc_read_madi.52@PAGE
Lloh155:
	add	x9, x9, l_switch.table.snd_hdspm_proc_read_madi.52@PAGEOFF
	ldr	x24, [x9, w8, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh156:
	adrp	x24, l_.str.45@PAGE
Lloh157:
	add	x24, x24, l_.str.45@PAGEOFF
LBB0_6:
	mov	x0, x21
	bl	_hdspm_external_sample_rate
                                        ; kill: def $w0 killed $w0 def $x0
Lloh158:
	adrp	x8, _HDSPM_madiFreqMask@GOTPAGE
Lloh159:
	ldr	x8, [x8, _HDSPM_madiFreqMask@GOTPAGEOFF]
Lloh160:
	ldr	w8, [x8]
	and	w8, w8, w20
	lsr	w8, w8, #22
Lloh161:
	adrp	x9, _HDSPM_wcFreqMask@GOTPAGE
Lloh162:
	ldr	x9, [x9, _HDSPM_wcFreqMask@GOTPAGEOFF]
Lloh163:
	ldr	w9, [x9]
	and	w9, w9, w22
	lsr	w9, w9, #5
	stp	x24, x0, [sp]
	stp	x8, x9, [sp, #16]
Lloh164:
	adrp	x1, l_.str.46@PAGE
Lloh165:
	add	x1, x1, l_.str.46@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh166:
	adrp	x8, _HDSPM_AB_int@GOTPAGE
Lloh167:
	ldr	x8, [x8, _HDSPM_AB_int@GOTPAGEOFF]
Lloh168:
	adrp	x9, l_.str.48@PAGE
Lloh169:
	add	x9, x9, l_.str.48@PAGEOFF
Lloh170:
	ldr	w8, [x8]
	tst	w8, w20
	csel	x8, x23, x9, eq
Lloh171:
	adrp	x9, _HDSPM_RX_64ch@GOTPAGE
Lloh172:
	ldr	x9, [x9, _HDSPM_RX_64ch@GOTPAGEOFF]
Lloh173:
	ldr	w9, [x9]
Lloh174:
	adrp	x10, l_.str.49@PAGE
Lloh175:
	add	x10, x10, l_.str.49@PAGEOFF
Lloh176:
	adrp	x11, l_.str.50@PAGE
Lloh177:
	add	x11, x11, l_.str.50@PAGEOFF
	tst	w9, w20
	csel	x9, x11, x10, eq
	stp	x8, x9, [sp]
Lloh178:
	adrp	x1, l_.str.47@PAGE
Lloh179:
	add	x1, x1, l_.str.47@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh180:
	adrp	x1, l_.str.51@PAGE
Lloh181:
	add	x1, x1, l_.str.51@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_snd_iprintf
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpAdd	Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpAdd	Lloh147, Lloh148
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpAdd	Lloh130, Lloh131
	.loh AdrpAdd	Lloh128, Lloh129
	.loh AdrpAdd	Lloh126, Lloh127
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpAdd	Lloh122, Lloh123
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpAdd	Lloh154, Lloh155
	.loh AdrpAdd	Lloh156, Lloh157
	.loh AdrpAdd	Lloh180, Lloh181
	.loh AdrpAdd	Lloh178, Lloh179
	.loh AdrpAdd	Lloh176, Lloh177
	.loh AdrpAdd	Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpAdd	Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh170
	.loh AdrpAdd	Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.cfi_endproc
                                        ; -- End function
	.comm	_HDSPM_statusRegister,4,2       ; @HDSPM_statusRegister
	.comm	_HDSPM_statusRegister2,4,2      ; @HDSPM_statusRegister2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (Card #%d) Rev.%x Status2first3bits: %x\n"

	.comm	_HDSPM_version0,4,2             ; @HDSPM_version0
	.comm	_HDSPM_version1,4,2             ; @HDSPM_version1
	.comm	_HDSPM_version2,4,2             ; @HDSPM_version2
l_.str.1:                               ; @.str.1
	.asciz	"IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n"

l_.str.2:                               ; @.str.2
	.asciz	"--- System ---\n"

l_.str.3:                               ; @.str.3
	.asciz	"IRQ Pending: Audio=%d, MIDI0=%d, MIDI1=%d, IRQcount=%d\n"

	.comm	_HDSPM_audioIRQPending,4,2      ; @HDSPM_audioIRQPending
	.comm	_HDSPM_midi0IRQPending,4,2      ; @HDSPM_midi0IRQPending
	.comm	_HDSPM_midi1IRQPending,4,2      ; @HDSPM_midi1IRQPending
l_.str.4:                               ; @.str.4
	.asciz	"HW pointer: id = %d, rawptr = %d (%d->%d) estimated= %ld (bytes)\n"

	.comm	_HDSPM_BufferID,4,2             ; @HDSPM_BufferID
	.comm	_HDSPM_BufferPositionMask,4,2   ; @HDSPM_BufferPositionMask
l_.str.5:                               ; @.str.5
	.asciz	"MIDI FIFO: Out1=0x%x, Out2=0x%x, In1=0x%x, In2=0x%x \n"

	.comm	_HDSPM_midiStatusOut0,4,2       ; @HDSPM_midiStatusOut0
	.comm	_HDSPM_midiStatusOut1,4,2       ; @HDSPM_midiStatusOut1
	.comm	_HDSPM_midiStatusIn0,4,2        ; @HDSPM_midiStatusIn0
	.comm	_HDSPM_midiStatusIn1,4,2        ; @HDSPM_midiStatusIn1
l_.str.6:                               ; @.str.6
	.asciz	"Register: ctrl1=0x%x, ctrl2=0x%x, status1=0x%x, status2=0x%x\n"

l_.str.7:                               ; @.str.7
	.asciz	"--- Settings ---\n"

	.comm	_HDSPM_LatencyMask,4,2          ; @HDSPM_LatencyMask
l_.str.8:                               ; @.str.8
	.asciz	"Size (Latency): %d samples (2 periods of %lu bytes)\n"

l_.str.9:                               ; @.str.9
	.asciz	"Line out: %s,   Precise Pointer: %s\n"

	.comm	_HDSPM_LineOut,4,2              ; @HDSPM_LineOut
l_.str.10:                              ; @.str.10
	.asciz	"on "

l_.str.11:                              ; @.str.11
	.asciz	"off"

l_.str.12:                              ; @.str.12
	.asciz	"on"

	.comm	_HDSPM_InputMask,4,2            ; @HDSPM_InputMask
l_.str.13:                              ; @.str.13
	.asciz	"Optical"

l_.str.14:                              ; @.str.14
	.asciz	"Coaxial"

l_.str.15:                              ; @.str.15
	.asciz	"Unkown"

	.comm	_HDSPM_SyncRefMask,4,2          ; @HDSPM_SyncRefMask
l_.str.16:                              ; @.str.16
	.asciz	"WordClock"

l_.str.17:                              ; @.str.17
	.asciz	"MADI"

l_.str.18:                              ; @.str.18
	.asciz	"Inputsel = %s, SyncRef = %s\n"

l_.str.19:                              ; @.str.19
	.asciz	"ClearTrackMarker = %s, Transmit in %s Channel Mode, Auto Input %s\n"

	.comm	_HDSPM_clr_tms,4,2              ; @HDSPM_clr_tms
	.comm	_HDSPM_TX_64ch,4,2              ; @HDSPM_TX_64ch
l_.str.20:                              ; @.str.20
	.asciz	"64"

l_.str.21:                              ; @.str.21
	.asciz	"56"

	.comm	_HDSPM_AutoInp,4,2              ; @HDSPM_AutoInp
l_.str.22:                              ; @.str.22
	.asciz	"AutoSync"

l_.str.23:                              ; @.str.23
	.asciz	"Internal 32 kHz"

l_.str.24:                              ; @.str.24
	.asciz	"Internal 44.1 kHz"

l_.str.25:                              ; @.str.25
	.asciz	"Internal 48 kHz"

l_.str.26:                              ; @.str.26
	.asciz	"Internal 64 kHz"

l_.str.27:                              ; @.str.27
	.asciz	"Internal 88.2 kHz"

l_.str.28:                              ; @.str.28
	.asciz	"Internal 96 kHz"

l_.str.29:                              ; @.str.29
	.asciz	"Error"

l_.str.30:                              ; @.str.30
	.asciz	"Sample Clock Source: %s\n"

	.comm	_HDSPM_ClockModeMaster,4,2      ; @HDSPM_ClockModeMaster
l_.str.31:                              ; @.str.31
	.asciz	"Slave"

l_.str.32:                              ; @.str.32
	.asciz	"Master"

l_.str.33:                              ; @.str.33
	.asciz	"System Clock Mode: %s\n"

l_.str.34:                              ; @.str.34
	.asciz	"Word Clock"

l_.str.35:                              ; @.str.35
	.asciz	"MADI Sync"

l_.str.36:                              ; @.str.36
	.asciz	"XXXX Clock"

l_.str.37:                              ; @.str.37
	.asciz	"Preferred Sync Reference: %s\n"

l_.str.38:                              ; @.str.38
	.asciz	"System Clock Frequency: %d\n"

l_.str.39:                              ; @.str.39
	.asciz	"--- Status:\n"

	.comm	_HDSPM_madiSync,4,2             ; @HDSPM_madiSync
	.comm	_HDSPM_wcSync,4,2               ; @HDSPM_wcSync
l_.str.40:                              ; @.str.40
	.asciz	"Inputs MADI=%s, WordClock=%s\n"

	.comm	_HDSPM_madiLock,4,2             ; @HDSPM_madiLock
l_.str.41:                              ; @.str.41
	.asciz	"Sync"

l_.str.42:                              ; @.str.42
	.asciz	"Lock"

l_.str.43:                              ; @.str.43
	.asciz	"NoLock"

	.comm	_HDSPM_wcLock,4,2               ; @HDSPM_wcLock
l_.str.44:                              ; @.str.44
	.asciz	"Input not valid"

l_.str.45:                              ; @.str.45
	.asciz	"---"

l_.str.46:                              ; @.str.46
	.asciz	"AutoSync: Reference= %s, Freq=%d (MADI = %d, Word = %d)\n"

	.comm	_HDSPM_madiFreqMask,4,2         ; @HDSPM_madiFreqMask
	.comm	_HDSPM_wcFreqMask,4,2           ; @HDSPM_wcFreqMask
l_.str.47:                              ; @.str.47
	.asciz	"Input: %s, Mode=%s\n"

	.comm	_HDSPM_AB_int,4,2               ; @HDSPM_AB_int
l_.str.48:                              ; @.str.48
	.asciz	"Coax"

	.comm	_HDSPM_RX_64ch,4,2              ; @HDSPM_RX_64ch
l_.str.49:                              ; @.str.49
	.asciz	"64 channels"

l_.str.50:                              ; @.str.50
	.asciz	"56 channels"

l_.str.51:                              ; @.str.51
	.asciz	"\n"

	.no_dead_strip	_snd_hdspm_proc_read_madi
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.snd_hdspm_proc_read_madi
l_switch.table.snd_hdspm_proc_read_madi:
	.quad	l_.str.28
	.quad	l_.str.27
	.quad	l_.str.26
	.quad	l_.str.25
	.quad	l_.str.24
	.quad	l_.str.23
	.quad	l_.str.22

	.p2align	3                               ; @switch.table.snd_hdspm_proc_read_madi.52
l_switch.table.snd_hdspm_proc_read_madi.52:
	.quad	l_.str.34
	.quad	l_.str.44
	.quad	l_.str.35

.subsections_via_symbols
