	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rme9652_adat_sample_rate
_rme9652_adat_sample_rate:              ## @rme9652_adat_sample_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_rme9652_running_double_speed
	movq	%rax, %r14
	movq	_RME9652_status_register@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rme9652_read
	movq	_RME9652_fs48@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	$88200, %eax                    ## imm = 0x15888
	movl	$96000, %ecx                    ## imm = 0x17700
	cmovel	%eax, %ecx
	movl	$44100, %edx                    ## imm = 0xAC44
	movl	$48000, %eax                    ## imm = 0xBB80
	cmovel	%edx, %eax
	testq	%r14, %r14
	cmovnel	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME9652_status_register,4,2    ## @RME9652_status_register
	.comm	_RME9652_fs48,4,2               ## @RME9652_fs48
	.no_dead_strip	_rme9652_adat_sample_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rme9652_adat_sample_rate
_rme9652_adat_sample_rate:              ; @rme9652_adat_sample_rate
	.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
	mov	x19, x0
	bl	_rme9652_running_double_speed
	mov	x20, x0
Lloh0:
	adrp	x8, _RME9652_status_register@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RME9652_status_register@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rme9652_read
Lloh3:
	adrp	x8, _RME9652_fs48@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RME9652_fs48@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	mov	w8, #30464
	movk	w8, #1, lsl #16
	mov	w9, #22664
	movk	w9, #1, lsl #16
	csel	w8, w9, w8, eq
	mov	w9, #48000
	mov	w10, #44100
	csel	w9, w10, w9, eq
	cmp	x20, #0
	csel	w0, w9, w8, eq
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_RME9652_status_register,4,2    ; @RME9652_status_register
	.comm	_RME9652_fs48,4,2               ; @RME9652_fs48
	.no_dead_strip	_rme9652_adat_sample_rate
.subsections_via_symbols
