	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_sb8_hw_constraint_channels_rate
_snd_sb8_hw_constraint_channels_rate:   ## @snd_sb8_hw_constraint_channels_rate
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SNDRV_PCM_HW_PARAM_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hw_param_interval
	movq	%rax, %rbx
	movq	(%rax), %r15
	movl	$22050, %edi                    ## imm = 0x5622
	callq	_SB8_RATE
	cmpq	%rax, %r15
	jg	LBB0_2
## %bb.1:
	movq	8(%rbx), %rbx
	movl	$11025, %edi                    ## imm = 0x2B11
	callq	_SB8_RATE
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jg	LBB0_3
LBB0_2:
	movups	L___const.snd_sb8_hw_constraint_channels_rate.t(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hw_param_interval
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_snd_interval_refine
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ## @SNDRV_PCM_HW_PARAM_RATE
	.section	__TEXT,__literal16,16byte_literals
	.p2align	3                               ## @__const.snd_sb8_hw_constraint_channels_rate.t
L___const.snd_sb8_hw_constraint_channels_rate.t:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1

	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.no_dead_strip	_snd_sb8_hw_constraint_channels_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_sb8_hw_constraint_channels_rate
_snd_sb8_hw_constraint_channels_rate:   ; @snd_sb8_hw_constraint_channels_rate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_hw_param_interval
	mov	x20, x0
	ldr	x21, [x0]
	mov	w0, #22050
	bl	_SB8_RATE
	cmp	x21, x0
	b.gt	LBB0_3
; %bb.1:
	ldr	x20, [x20, #8]
	mov	w0, #11025
	bl	_SB8_RATE
	cmp	x20, x0
	b.le	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, l___const.snd_sb8_hw_constraint_channels_rate.t@PAGE
Lloh4:
	add	x8, x8, l___const.snd_sb8_hw_constraint_channels_rate.t@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh6:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hw_param_interval
	mov	x1, sp
	bl	_snd_interval_refine
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ; @SNDRV_PCM_HW_PARAM_RATE
	.section	__TEXT,__literal16,16byte_literals
	.p2align	3                               ; @__const.snd_sb8_hw_constraint_channels_rate.t
l___const.snd_sb8_hw_constraint_channels_rate.t:
	.quad	1                               ; 0x1
	.quad	1                               ; 0x1

	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.no_dead_strip	_snd_sb8_hw_constraint_channels_rate
.subsections_via_symbols
