	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ess_audio_set_channels
_ess_audio_set_channels:                ## @ess_audio_set_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_audio_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	leal	-1(%rsi), %ecx
	cmpw	$2, %cx
	jae	LBB0_1
## %bb.2:
	movw	%si, (%rax)
	jmp	LBB0_3
LBB0_1:
	movzwl	(%rax), %esi
LBB0_3:
	movswl	%si, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_devs,8,3                 ## @audio_devs
	.no_dead_strip	_ess_audio_set_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ess_audio_set_channels
_ess_audio_set_channels:                ; @ess_audio_set_channels
	.cfi_startproc
; %bb.0:
	and	w8, w1, #0xffff
Lloh0:
	adrp	x9, _audio_devs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _audio_devs@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x9, w0, sxtw #3]
	ldr	x9, [x9]
	sub	w10, w8, #1
	cmp	w10, #2
	b.hs	LBB0_2
; %bb.1:
	strh	w8, [x9]
	sxth	w0, w8
	ret
LBB0_2:
	ldrh	w8, [x9]
	sxth	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_devs,8,3                 ; @audio_devs
	.no_dead_strip	_ess_audio_set_channels
.subsections_via_symbols
