	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aaci_rule_rate_by_channels
_aaci_rule_rate_by_channels:            ## @aaci_rule_rate_by_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %r12
	movq	_SNDRV_PCM_RATE_8000_48000@GOTPCREL(%rip), %rax
	movq	_SNDRV_PCM_RATE_5512@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hw_param_interval
	movl	(%rax), %eax
	cmpl	$2, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$4, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$6, %eax
	jne	LBB0_6
## %bb.3:
	movq	_ACSTREAM_LFE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_aaci_rate_mask
	andl	%eax, %ebx
LBB0_4:
	movq	_ACSTREAM_SURROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_aaci_rate_mask
	andl	%eax, %ebx
LBB0_5:
	movq	_ACSTREAM_FRONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_aaci_rate_mask
	andl	%eax, %ebx
LBB0_6:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_hw_param_interval
	movq	%rax, %r14
	movq	_rate_list@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_interval_list              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_RATE_8000_48000,4,2  ## @SNDRV_PCM_RATE_8000_48000
	.comm	_SNDRV_PCM_RATE_5512,4,2        ## @SNDRV_PCM_RATE_5512
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_ACSTREAM_LFE,4,2               ## @ACSTREAM_LFE
	.comm	_ACSTREAM_SURROUND,4,2          ## @ACSTREAM_SURROUND
	.comm	_ACSTREAM_FRONT,4,2             ## @ACSTREAM_FRONT
	.comm	_rate_list,4,2                  ## @rate_list
	.no_dead_strip	_aaci_rule_rate_by_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aaci_rule_rate_by_channels
_aaci_rule_rate_by_channels:            ; @aaci_rule_rate_by_channels
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x1, #8]
Lloh0:
	adrp	x8, _SNDRV_PCM_RATE_8000_48000@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_RATE_8000_48000@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SNDRV_PCM_RATE_5512@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNDRV_PCM_RATE_5512@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w19, w9, w8
Lloh6:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_hw_param_interval
	ldr	w8, [x0]
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #4
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #6
	b.ne	LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _ACSTREAM_LFE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACSTREAM_LFE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_aaci_rate_mask
	and	w19, w0, w19
LBB0_4:
Lloh12:
	adrp	x8, _ACSTREAM_SURROUND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACSTREAM_SURROUND@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_aaci_rate_mask
	and	w19, w0, w19
LBB0_5:
Lloh15:
	adrp	x8, _ACSTREAM_FRONT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACSTREAM_FRONT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_aaci_rate_mask
	and	w19, w0, w19
LBB0_6:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_hw_param_interval
	mov	x20, x0
Lloh18:
	adrp	x21, _rate_list@GOTPAGE
Lloh19:
	ldr	x21, [x21, _rate_list@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_interval_list
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_RATE_8000_48000,4,2  ; @SNDRV_PCM_RATE_8000_48000
	.comm	_SNDRV_PCM_RATE_5512,4,2        ; @SNDRV_PCM_RATE_5512
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_ACSTREAM_LFE,4,2               ; @ACSTREAM_LFE
	.comm	_ACSTREAM_SURROUND,4,2          ; @ACSTREAM_SURROUND
	.comm	_ACSTREAM_FRONT,4,2             ; @ACSTREAM_FRONT
	.comm	_rate_list,4,2                  ; @rate_list
	.no_dead_strip	_aaci_rule_rate_by_channels
.subsections_via_symbols
