	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_korg1212_control_route_info
_snd_korg1212_control_route_info:       ## @snd_korg1212_control_route_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	xorl	%eax, %eax
	cmpl	$8, (%rdi)
	setge	%al
	incl	%eax
	movl	%eax, (%rsi)
	movq	_kAudioChannels@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rsi)
	movl	8(%rsi), %ecx
	cmpl	%eax, %ecx
	jl	LBB0_2
## %bb.1:
	decl	%eax
	movl	%eax, 8(%rsi)
	movl	%eax, %ecx
LBB0_2:
	movl	12(%rsi), %edi
	movq	_channelName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_strcpy
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_kAudioChannels,4,2             ## @kAudioChannels
	.comm	_channelName,8,3                ## @channelName
	.no_dead_strip	_snd_korg1212_control_route_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_korg1212_control_route_info
_snd_korg1212_control_route_info:       ; @snd_korg1212_control_route_info
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #16]
	ldr	w8, [x0]
	cmp	w8, #7
	mov	w8, #1
	cinc	w8, w8, gt
	str	w8, [x1]
Lloh3:
	adrp	x8, _kAudioChannels@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kAudioChannels@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	str	w9, [x1, #4]
	ldr	w8, [x1, #8]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	sub	w8, w9, #1
	str	w8, [x1, #8]
LBB0_2:
	ldr	w0, [x1, #12]
Lloh6:
	adrp	x9, _channelName@GOTPAGE
Lloh7:
	ldr	x9, [x9, _channelName@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x9, w8, sxtw #2]
	bl	_strcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_kAudioChannels,4,2             ; @kAudioChannels
	.comm	_channelName,8,3                ; @channelName
	.no_dead_strip	_snd_korg1212_control_route_info
.subsections_via_symbols
