	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88rs2000_get_tune_settings
_m88rs2000_get_tune_settings:           ## @m88rs2000_get_tune_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	cmpq	$3000001, %rax                  ## imm = 0x2DC6C1
	movl	$2000, %ecx                     ## imm = 0x7D0
	movl	$3000, %edx                     ## imm = 0xBB8
	cmovgel	%ecx, %edx
	movl	%edx, (%rsi)
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	sarq	$42, %rcx
	movq	%rax, %rdx
	shrq	$63, %rdx
	addl	%edx, %ecx
	movl	%ecx, 4(%rsi)
	sarq	$39, %rax
	addl	%edx, %eax
	movl	%eax, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_m88rs2000_get_tune_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88rs2000_get_tune_settings
_m88rs2000_get_tune_settings:           ; @m88rs2000_get_tune_settings
	.cfi_startproc
; %bb.0:
	ldrsw	x8, [x0]
	mov	w9, #50880
	movk	w9, #45, lsl #16
	cmp	x8, x9
	mov	w9, #3000
	mov	w10, #2000
	csel	w9, w10, w9, gt
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x8, x8, x10
	asr	x10, x8, #42
	lsr	x11, x8, #63
	add	w10, w10, w11
	stp	w9, w10, [x1]
	asr	x8, x8, #39
	add	w8, w8, w11
	str	w8, [x1, #8]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_m88rs2000_get_tune_settings
.subsections_via_symbols
