	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme32_capture_getrate
_snd_rme32_capture_getrate:             ## @snd_rme32_capture_getrate
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$0, (%rsi)
	movq	_RME32_RCR_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rdi), %eax
	setne	%cl
	movl	%ecx, (%rsi)
	movl	(%rdi), %edx
	movq	_RME32_RCR_ERF@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	testl	%edx, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_RME32_RCR_BITPOS_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	btq	%rax, %rdx
	setb	%sil
	movq	_RME32_RCR_BITPOS_F1@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rdx, %rax
	shrq	%cl, %rax
	movq	_RME32_RCR_BITPOS_F2@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rdx
	andl	$1, %eax
	leaq	(%rsi,%rax,2), %rax
	andl	$1, %edx
	leaq	(%rax,%rdx,4), %rbx
	callq	_RME32_PRO_WITH_8414
	testq	%rax, %rax
	leaq	l_switch.table.snd_rme32_capture_getrate.1(%rip), %rax
	leaq	l_switch.table.snd_rme32_capture_getrate(%rip), %rcx
	cmoveq	%rax, %rcx
	movl	(%rcx,%rbx,4), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME32_RCR_LOCK,4,2             ## @RME32_RCR_LOCK
	.comm	_RME32_RCR_ERF,4,2              ## @RME32_RCR_ERF
	.comm	_RME32_RCR_BITPOS_F0,4,2        ## @RME32_RCR_BITPOS_F0
	.comm	_RME32_RCR_BITPOS_F1,4,2        ## @RME32_RCR_BITPOS_F1
	.comm	_RME32_RCR_BITPOS_F2,4,2        ## @RME32_RCR_BITPOS_F2
	.no_dead_strip	_snd_rme32_capture_getrate
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.snd_rme32_capture_getrate
l_switch.table.snd_rme32_capture_getrate:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	96000                           ## 0x17700
	.long	88200                           ## 0x15888
	.long	48000                           ## 0xbb80
	.long	44100                           ## 0xac44
	.long	32000                           ## 0x7d00

	.p2align	2                               ## @switch.table.snd_rme32_capture_getrate.1
l_switch.table.snd_rme32_capture_getrate.1:
	.long	4294967295                      ## 0xffffffff
	.long	48000                           ## 0xbb80
	.long	44100                           ## 0xac44
	.long	32000                           ## 0x7d00
	.long	48000                           ## 0xbb80
	.long	44100                           ## 0xac44
	.long	44056                           ## 0xac18
	.long	32000                           ## 0x7d00

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme32_capture_getrate
_snd_rme32_capture_getrate:             ; @snd_rme32_capture_getrate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [x1]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RME32_RCR_LOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RME32_RCR_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x1]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _RME32_RCR_ERF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RME32_RCR_ERF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x9, _RME32_RCR_BITPOS_F0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RME32_RCR_BITPOS_F0@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsr	x9, x8, x9
Lloh9:
	adrp	x10, _RME32_RCR_BITPOS_F1@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RME32_RCR_BITPOS_F1@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsr	x10, x8, x10
	lsl	w10, w10, #1
	and	x10, x10, #0x2
Lloh12:
	adrp	x11, _RME32_RCR_BITPOS_F2@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RME32_RCR_BITPOS_F2@GOTPAGEOFF]
	bfxil	x10, x9, #0, #1
Lloh14:
	ldr	w9, [x11]
	lsr	x8, x8, x9
	lsl	w8, w8, #2
	and	x8, x8, #0x4
	orr	x19, x10, x8
	bl	_RME32_PRO_WITH_8414
Lloh15:
	adrp	x8, l_switch.table.snd_rme32_capture_getrate@PAGE
Lloh16:
	add	x8, x8, l_switch.table.snd_rme32_capture_getrate@PAGEOFF
Lloh17:
	adrp	x9, l_switch.table.snd_rme32_capture_getrate.1@PAGE
Lloh18:
	add	x9, x9, l_switch.table.snd_rme32_capture_getrate.1@PAGEOFF
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8, x19, lsl #2]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RME32_RCR_LOCK,4,2             ; @RME32_RCR_LOCK
	.comm	_RME32_RCR_ERF,4,2              ; @RME32_RCR_ERF
	.comm	_RME32_RCR_BITPOS_F0,4,2        ; @RME32_RCR_BITPOS_F0
	.comm	_RME32_RCR_BITPOS_F1,4,2        ; @RME32_RCR_BITPOS_F1
	.comm	_RME32_RCR_BITPOS_F2,4,2        ; @RME32_RCR_BITPOS_F2
	.no_dead_strip	_snd_rme32_capture_getrate
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.snd_rme32_capture_getrate
l_switch.table.snd_rme32_capture_getrate:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	96000                           ; 0x17700
	.long	88200                           ; 0x15888
	.long	48000                           ; 0xbb80
	.long	44100                           ; 0xac44
	.long	32000                           ; 0x7d00

	.p2align	2                               ; @switch.table.snd_rme32_capture_getrate.1
l_switch.table.snd_rme32_capture_getrate.1:
	.long	4294967295                      ; 0xffffffff
	.long	48000                           ; 0xbb80
	.long	44100                           ; 0xac44
	.long	32000                           ; 0x7d00
	.long	48000                           ; 0xbb80
	.long	44100                           ; 0xac44
	.long	44056                           ; 0xac18
	.long	32000                           ; 0x7d00

.subsections_via_symbols
