	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ch_mode_info
_ch_mode_info:                          ## @ch_mode_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rax), %rax
	movq	_SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movl	$1, (%rbx)
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 4(%rbx)
	movl	8(%rbx), %edx
	cmpl	%ecx, %edx
	jle	LBB0_2
## %bb.1:
	movl	%ecx, 8(%rbx)
	movl	%ecx, %edx
LBB0_2:
	addl	%edx, %edx
	addl	4(%rax), %edx
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%dch"

	.no_dead_strip	_ch_mode_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ch_mode_info
_ch_mode_info:                          ; @ch_mode_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_snd_kcontrol_chip
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19, #16]
	mov	w10, #1
	ldr	w9, [x8]
	add	w11, w9, #1
	stp	w10, w11, [x19]
	ldr	w10, [x19, #8]
	cmp	w10, w9
	b.le	LBB0_2
; %bb.1:
	str	w9, [x19, #8]
	mov	x10, x9
LBB0_2:
	ldr	w8, [x8, #4]
	add	w2, w8, w10, lsl #1
	ldr	w0, [x19, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%dch"

	.no_dead_strip	_ch_mode_info
.subsections_via_symbols
