	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc90522_get_tune_settings
_tc90522_get_tune_settings:             ## @tc90522_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
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_SYS_ISDBS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$250, %eax
	movl	$400, %ecx                      ## imm = 0x190
	cmovel	%eax, %ecx
	movl	$1000, %eax                     ## imm = 0x3E8
	movl	$142857, %edx                   ## imm = 0x22E09
	cmovnel	%edx, %eax
	movl	$2000, %edi                     ## imm = 0x7D0
	cmovnel	%edx, %edi
	movl	%ecx, (%rsi)
	movl	%eax, 4(%rsi)
	movl	%edi, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_ISDBS,8,3                  ## @SYS_ISDBS
	.no_dead_strip	_tc90522_get_tune_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tc90522_get_tune_settings
lCPI0_0:
	.long	400                             ; 0x190
	.long	142857                          ; 0x22e09
lCPI0_1:
	.long	250                             ; 0xfa
	.long	1000                            ; 0x3e8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tc90522_get_tune_settings:             ; @tc90522_get_tune_settings
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SYS_ISDBS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYS_ISDBS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	mov	w9, #11785
	movk	w9, #2, lsl #16
	mov	w10, #2000
	csel	w9, w10, w9, eq
	dup.2s	v0, w8
	shl.2s	v0, v0, #31
	cmlt.2s	v0, v0, #0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d2, [x8, lCPI0_1@PAGEOFF]
	bsl.8b	v0, v2, v1
	str	d0, [x1]
	str	w9, [x1, #8]
	mov	w0, #0
	ret
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_ISDBS,8,3                  ; @SYS_ISDBS
	.no_dead_strip	_tc90522_get_tune_settings
.subsections_via_symbols
