	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_rates
_get_rates:                             ## @get_rates
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movslq	%ecx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, %r13d
	movl	$3, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%rcx), %rax
	movq	(%rbx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx), %rcx
	andl	(%rcx,%rax,4), %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r12d
	cmpl	$12, %r12d
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	btl	%r12d, %r15d
	jae	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_get_slot_reg
	addb	$-128, %al
	movq	_AC97_RATES_SPDIF@GOTPCREL(%rip), %rcx
	cmpb	$4, %al
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbq	%al, %rax
	leaq	l_switch.table.get_rates(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	jmp	LBB0_4
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.7:
	movq	_SNDRV_PCM_RATE_64000@GOTPCREL(%rip), %rax
	movq	_SNDRV_PCM_RATE_88200@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SNDRV_PCM_RATE_96000@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_RATES_FRONT_DAC,4,2       ## @AC97_RATES_FRONT_DAC
	.comm	_AC97_RATES_SURR_DAC,4,2        ## @AC97_RATES_SURR_DAC
	.comm	_AC97_RATES_LFE_DAC,4,2         ## @AC97_RATES_LFE_DAC
	.comm	_AC97_RATES_ADC,4,2             ## @AC97_RATES_ADC
	.comm	_AC97_RATES_MIC_ADC,4,2         ## @AC97_RATES_MIC_ADC
	.comm	_AC97_RATES_SPDIF,4,2           ## @AC97_RATES_SPDIF
	.comm	_SNDRV_PCM_RATE_64000,4,2       ## @SNDRV_PCM_RATE_64000
	.comm	_SNDRV_PCM_RATE_88200,4,2       ## @SNDRV_PCM_RATE_88200
	.comm	_SNDRV_PCM_RATE_96000,4,2       ## @SNDRV_PCM_RATE_96000
	.no_dead_strip	_get_rates
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.get_rates
l_switch.table.get_rates:
	.quad	_AC97_RATES_SURR_DAC
	.quad	_AC97_RATES_MIC_ADC
	.quad	_AC97_RATES_ADC
	.quad	_AC97_RATES_LFE_DAC
	.quad	_AC97_RATES_FRONT_DAC

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_rates
_get_rates:                             ; @get_rates
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	sxtw	x25, w20
	mov	w26, w1
	mov	w19, #-1
	mov	w24, #3
Lloh0:
	adrp	x27, _AC97_RATES_SPDIF@GOTPAGE
Lloh1:
	ldr	x27, [x27, _AC97_RATES_SPDIF@GOTPAGEOFF]
Lloh2:
	adrp	x28, l_switch.table.get_rates@PAGE
Lloh3:
	add	x28, x28, l_switch.table.get_rates@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x9]
	ldr	x9, [x23]
	ldr	x9, [x9, x25, lsl #3]
	ldr	x9, [x9, x26, lsl #3]
	ldr	x9, [x9]
	ldr	w8, [x9, x8, lsl #2]
	and	w19, w8, w19
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	cmp	w24, #12
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w21, w24
	tbz	w8, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	bl	_get_slot_reg
                                        ; kill: def $w0 killed $w0 def $x0
	sxtb	x8, w0
	eor	x8, x8, #0xffffffffffffff80
	mov	x9, x27
	cmp	w8, #4
	b.hi	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x28, x8, lsl #3]
	b	LBB0_1
LBB0_6:
	cbnz	w20, LBB0_8
; %bb.7:
Lloh4:
	adrp	x8, _SNDRV_PCM_RATE_64000@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SNDRV_PCM_RATE_64000@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _SNDRV_PCM_RATE_88200@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SNDRV_PCM_RATE_88200@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _SNDRV_PCM_RATE_96000@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SNDRV_PCM_RATE_96000@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w19, w19, w8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_RATES_FRONT_DAC,4,2       ; @AC97_RATES_FRONT_DAC
	.comm	_AC97_RATES_SURR_DAC,4,2        ; @AC97_RATES_SURR_DAC
	.comm	_AC97_RATES_LFE_DAC,4,2         ; @AC97_RATES_LFE_DAC
	.comm	_AC97_RATES_ADC,4,2             ; @AC97_RATES_ADC
	.comm	_AC97_RATES_MIC_ADC,4,2         ; @AC97_RATES_MIC_ADC
	.comm	_AC97_RATES_SPDIF,4,2           ; @AC97_RATES_SPDIF
	.comm	_SNDRV_PCM_RATE_64000,4,2       ; @SNDRV_PCM_RATE_64000
	.comm	_SNDRV_PCM_RATE_88200,4,2       ; @SNDRV_PCM_RATE_88200
	.comm	_SNDRV_PCM_RATE_96000,4,2       ; @SNDRV_PCM_RATE_96000
	.no_dead_strip	_get_rates
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.get_rates
l_switch.table.get_rates:
	.quad	_AC97_RATES_SURR_DAC
	.quad	_AC97_RATES_MIC_ADC
	.quad	_AC97_RATES_ADC
	.quad	_AC97_RATES_LFE_DAC
	.quad	_AC97_RATES_FRONT_DAC

.subsections_via_symbols
