	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdspm_hw_rule_channels
_snd_hdspm_hw_rule_channels:            ## @snd_hdspm_hw_rule_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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	(%rsi), %rbx
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hw_param_interval
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %ecx
	movl	%ecx, -28(%rbp)
	movl	4(%rbx), %ecx
	movl	%ecx, -24(%rbp)
	movl	8(%rbx), %ecx
	movl	%ecx, -20(%rbp)
	leaq	-28(%rbp), %rdx
	movq	%rax, %rdi
	movl	$3, %esi
	jmp	LBB0_3
LBB0_2:
	movl	4(%rbx), %ecx
	movl	%ecx, -28(%rbp)
	movl	8(%rbx), %ecx
	movl	%ecx, -24(%rbp)
	leaq	-28(%rbp), %rdx
	movq	%rax, %rdi
	movl	$2, %esi
LBB0_3:
	xorl	%ecx, %ecx
	callq	_snd_interval_list
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.no_dead_strip	_snd_hdspm_hw_rule_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hdspm_hw_rule_channels
_snd_hdspm_hw_rule_channels:            ; @snd_hdspm_hw_rule_channels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x19, [x1]
Lloh3:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_hw_param_interval
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	d0, [x19]
	str	d0, [sp, #8]
	ldr	w8, [x19, #8]
	str	w8, [sp, #16]
	add	x2, sp, #8
	mov	w1, #3
	b	LBB0_3
LBB0_2:
	ldur	d0, [x19, #4]
	str	d0, [sp, #8]
	add	x2, sp, #8
	mov	w1, #2
LBB0_3:
	mov	w3, #0
	bl	_snd_interval_list
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.no_dead_strip	_snd_hdspm_hw_rule_channels
.subsections_via_symbols
