	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda18271c2_rf_cal_init
_tda18271c2_rf_cal_init:                ## @tda18271c2_rf_cal_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	(%r15), %rax
	movq	_R_EP1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testb	$16, (%rax,%rcx)
	jne	LBB0_2
## %bb.1:
	movl	$0, 8(%r15)
	jmp	LBB0_3
LBB0_2:
	xorl	%r14d, %r14d
	cmpl	$0, 8(%r15)
	jne	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_tda18271_calc_rf_filter_curve
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_tda_fail
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_tda18271_por
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_tda_fail
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_tda_info
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_tda_info
	movl	$1, 8(%r15)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_R_EP1,8,3                      ## @R_EP1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RF tracking filter calibration complete\n"

L_.str.1:                               ## @.str.1
	.asciz	"RF tracking filter calibration failed!\n"

	.no_dead_strip	_tda18271c2_rf_cal_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda18271c2_rf_cal_init
_tda18271c2_rf_cal_init:                ; @tda18271c2_rf_cal_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _R_EP1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_EP1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldrb	w8, [x8, x9]
	tbnz	w8, #4, LBB0_2
; %bb.1:
	str	wzr, [x21, #8]
	b	LBB0_4
LBB0_2:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w19, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_tda18271_calc_rf_filter_curve
	mov	x19, x0
	bl	_tda_fail
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_tda18271_por
	mov	x19, x0
	bl	_tda_fail
	cbz	x0, LBB0_8
LBB0_6:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_tda_info
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tda_info
	mov	w8, #1
	str	w8, [x21, #8]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_R_EP1,8,3                      ; @R_EP1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RF tracking filter calibration complete\n"

l_.str.1:                               ; @.str.1
	.asciz	"RF tracking filter calibration failed!\n"

	.no_dead_strip	_tda18271c2_rf_cal_init
.subsections_via_symbols
