	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_korg1212_proc_read
_snd_korg1212_proc_read:                ## @snd_korg1212_proc_read
	.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
	movq	72(%r14), %rax
	movslq	8(%rax), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	72(%r14), %rax
	movq	(%rax), %rdx
	incq	%rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_K1212_PERIOD_BYTES@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_clockSourceName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	64(%r14), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	%r14, %r13
	movq	56(%r14), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %r12
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_kAudioChannels@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	leaq	L_.str.7(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_channelName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	movq	48(%r13), %rdx
	movq	(%rdx), %rsi
	movq	16(%rdx), %rdx
	movq	(%rsi,%rbx,8), %rsi
	movl	(%rax,%rsi,4), %r8d
	movl	(%rdx,%rbx,4), %r9d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_snd_iprintf
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	48(%r13), %rax
	movq	8(%rax), %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	_stateName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	movq	(%rax,%rcx,8), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	40(%r13), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	32(%r13), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	24(%r13), %rdx
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_snd_iprintf
	movq	16(%r13), %rdx
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_iprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" (index #%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"\nGeneral settings\n"

L_.str.2:                               ## @.str.2
	.asciz	"    period size: %Zd bytes\n"

	.comm	_K1212_PERIOD_BYTES,8,3         ## @K1212_PERIOD_BYTES
L_.str.3:                               ## @.str.3
	.asciz	"     clock mode: %s\n"

	.comm	_clockSourceName,8,3            ## @clockSourceName
L_.str.4:                               ## @.str.4
	.asciz	"  left ADC Sens: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	" right ADC Sens: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"    Volume Info:\n"

	.comm	_kAudioChannels,4,2             ## @kAudioChannels
L_.str.7:                               ## @.str.7
	.asciz	" Channel %d: %s -> %s [%d]\n"

	.comm	_channelName,8,3                ## @channelName
L_.str.8:                               ## @.str.8
	.asciz	"\nGeneral status\n"

L_.str.9:                               ## @.str.9
	.asciz	" ADAT Time Code: %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"     Card State: %s\n"

	.comm	_stateName,8,3                  ## @stateName
L_.str.11:                              ## @.str.11
	.asciz	"Idle mon. State: %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"Cmd retry count: %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"      Irq count: %ld\n"

L_.str.14:                              ## @.str.14
	.asciz	"    Error count: %ld\n"

	.no_dead_strip	_snd_korg1212_proc_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_korg1212_proc_read
_snd_korg1212_proc_read:                ; @snd_korg1212_proc_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x21, [x0]
	ldr	x8, [x21, #72]
	ldrsw	x1, [x8, #8]
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #72]
	ldr	x8, [x8]
	add	x8, x8, #1
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh4:
	adrp	x8, _K1212_PERIOD_BYTES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _K1212_PERIOD_BYTES@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh9:
	adrp	x8, _clockSourceName@GOTPAGE
Lloh10:
	ldr	x8, [x8, _clockSourceName@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #64]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #56]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh20:
	adrp	x22, _kAudioChannels@GOTPAGE
Lloh21:
	ldr	x22, [x22, _kAudioChannels@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
Lloh22:
	adrp	x24, _channelName@GOTPAGE
Lloh23:
	ldr	x24, [x24, _channelName@GOTPAGEOFF]
Lloh24:
	adrp	x20, l_.str.7@PAGE
Lloh25:
	add	x20, x20, l_.str.7@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	lsl	x9, x23, #2
	ldr	x10, [x21, #48]
	ldr	x11, [x10]
	ldr	x11, [x11, x23, lsl #3]
	ldr	x10, [x10, #16]
	ldr	w12, [x8, x9]
	ldr	w8, [x8, x11, lsl #2]
	ldr	w9, [x10, x9]
	stp	x8, x9, [sp, #16]
	stp	x23, x12, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_snd_iprintf
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #48]
	ldr	x8, [x8, #8]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
Lloh30:
	adrp	x8, _stateName@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stateName@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.10@PAGE
Lloh34:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #40]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.11@PAGE
Lloh36:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #32]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.12@PAGE
Lloh38:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #24]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.13@PAGE
Lloh40:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldr	x8, [x21, #16]
	str	x8, [sp]
Lloh41:
	adrp	x1, l_.str.14@PAGE
Lloh42:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_snd_iprintf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" (index #%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"\nGeneral settings\n"

l_.str.2:                               ; @.str.2
	.asciz	"    period size: %Zd bytes\n"

	.comm	_K1212_PERIOD_BYTES,8,3         ; @K1212_PERIOD_BYTES
l_.str.3:                               ; @.str.3
	.asciz	"     clock mode: %s\n"

	.comm	_clockSourceName,8,3            ; @clockSourceName
l_.str.4:                               ; @.str.4
	.asciz	"  left ADC Sens: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	" right ADC Sens: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"    Volume Info:\n"

	.comm	_kAudioChannels,4,2             ; @kAudioChannels
l_.str.7:                               ; @.str.7
	.asciz	" Channel %d: %s -> %s [%d]\n"

	.comm	_channelName,8,3                ; @channelName
l_.str.8:                               ; @.str.8
	.asciz	"\nGeneral status\n"

l_.str.9:                               ; @.str.9
	.asciz	" ADAT Time Code: %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"     Card State: %s\n"

	.comm	_stateName,8,3                  ; @stateName
l_.str.11:                              ; @.str.11
	.asciz	"Idle mon. State: %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"Cmd retry count: %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"      Irq count: %ld\n"

l_.str.14:                              ; @.str.14
	.asciz	"    Error count: %ld\n"

	.no_dead_strip	_snd_korg1212_proc_read
.subsections_via_symbols
