	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme32_playback_getrate
_snd_rme32_playback_getrate:            ## @snd_rme32_playback_getrate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	movq	_RME32_WCR_BITPOS_FREQ_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	btl	%eax, %edx
	setb	%sil
	movq	_RME32_WCR_BITPOS_FREQ_1@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %eax
	shrl	%cl, %eax
	andl	$1, %eax
	leal	(%rsi,%rax,2), %ecx
	decl	%ecx
	movl	$-1, %eax
	cmpl	$2, %ecx
	ja	LBB0_2
## %bb.1:
	movslq	%ecx, %rax
	leaq	l_switch.table.snd_rme32_playback_getrate(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movq	_RME32_WCR_DS_BM@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	setne	%cl
	shll	%cl, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME32_WCR_BITPOS_FREQ_0,4,2    ## @RME32_WCR_BITPOS_FREQ_0
	.comm	_RME32_WCR_BITPOS_FREQ_1,4,2    ## @RME32_WCR_BITPOS_FREQ_1
	.comm	_RME32_WCR_DS_BM,4,2            ## @RME32_WCR_DS_BM
	.no_dead_strip	_snd_rme32_playback_getrate
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.snd_rme32_playback_getrate
l_switch.table.snd_rme32_playback_getrate:
	.long	32000                           ## 0x7d00
	.long	44100                           ## 0xac44
	.long	48000                           ## 0xbb80

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme32_playback_getrate
_snd_rme32_playback_getrate:            ; @snd_rme32_playback_getrate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RME32_WCR_BITPOS_FREQ_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RME32_WCR_BITPOS_FREQ_0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	w9, w8, w9
Lloh3:
	adrp	x10, _RME32_WCR_BITPOS_FREQ_1@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RME32_WCR_BITPOS_FREQ_1@GOTPAGEOFF]
	and	w9, w9, #0x1
Lloh5:
	ldr	w10, [x10]
	lsr	w10, w8, w10
	bfi	w9, w10, #1, #1
	sub	x9, x9, #1
	cmp	w9, #2
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x10, l_switch.table.snd_rme32_playback_getrate@PAGE
Lloh7:
	add	x10, x10, l_switch.table.snd_rme32_playback_getrate@PAGEOFF
	ldr	w9, [x10, x9, lsl #2]
Lloh8:
	adrp	x10, _RME32_WCR_DS_BM@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RME32_WCR_DS_BM@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w8, ne
	lsl	w0, w9, w8
	ret
LBB0_2:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RME32_WCR_BITPOS_FREQ_0,4,2    ; @RME32_WCR_BITPOS_FREQ_0
	.comm	_RME32_WCR_BITPOS_FREQ_1,4,2    ; @RME32_WCR_BITPOS_FREQ_1
	.comm	_RME32_WCR_DS_BM,4,2            ; @RME32_WCR_DS_BM
	.no_dead_strip	_snd_rme32_playback_getrate
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.snd_rme32_playback_getrate
l_switch.table.snd_rme32_playback_getrate:
	.long	32000                           ; 0x7d00
	.long	44100                           ; 0xac44
	.long	48000                           ; 0xbb80

.subsections_via_symbols
