	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbpro_audio_set_channels
_sbpro_audio_set_channels:              ## @sbpro_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## 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), %rbx
	leal	-1(%rsi), %eax
	cmpw	$1, %ax
	ja	LBB0_5
## %bb.1:
	cmpw	%si, (%rbx)
	je	LBB0_5
## %bb.2:
	movw	%si, (%rbx)
	cmpw	$2, %si
	jne	LBB0_5
## %bb.3:
	movq	_MDL_SBPRO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%rbx)
	jne	LBB0_5
## %bb.4:
	movl	16(%rbx), %esi
	callq	_sbpro_audio_set_speed
LBB0_5:
	movswl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_devs,8,3                 ## @audio_devs
	.comm	_MDL_SBPRO,8,3                  ## @MDL_SBPRO
	.no_dead_strip	_sbpro_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 sbpro_audio_set_channels
_sbpro_audio_set_channels:              ; @sbpro_audio_set_channels
	.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
	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	x19, [x9]
	sub	w9, w8, #1
	cmp	w9, #1
	b.hi	LBB0_5
; %bb.1:
	ldrh	w9, [x19]
	cmp	w9, w8
	b.eq	LBB0_5
; %bb.2:
	strh	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _MDL_SBPRO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDL_SBPRO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w1, [x19, #16]
	bl	_sbpro_audio_set_speed
LBB0_5:
	ldrsh	w0, [x19]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_devs,8,3                 ; @audio_devs
	.comm	_MDL_SBPRO,8,3                  ; @MDL_SBPRO
	.no_dead_strip	_sbpro_audio_set_channels
.subsections_via_symbols
