	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxl1x1sf_demod_get_tps_guard_interval
_mxl1x1sf_demod_get_tps_guard_interval: ## @mxl1x1sf_demod_get_tps_guard_interval
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_V6_CP_TPS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_mxl111sf_demod_read_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_V6_PARAM_GI_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-20(%rbp), %eax
	cmpl	$63, %eax
	ja	LBB0_3
## %bb.2:
	sarl	$4, %eax
	cltq
	leaq	l_switch.table.mxl1x1sf_demod_get_tps_guard_interval(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V6_CP_TPS_REG,4,2              ## @V6_CP_TPS_REG
	.comm	_V6_PARAM_GI_MASK,4,2           ## @V6_PARAM_GI_MASK
	.comm	_GUARD_INTERVAL_1_32,4,2        ## @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_16,4,2        ## @GUARD_INTERVAL_1_16
	.comm	_GUARD_INTERVAL_1_8,4,2         ## @GUARD_INTERVAL_1_8
	.comm	_GUARD_INTERVAL_1_4,4,2         ## @GUARD_INTERVAL_1_4
	.no_dead_strip	_mxl1x1sf_demod_get_tps_guard_interval
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mxl1x1sf_demod_get_tps_guard_interval
l_switch.table.mxl1x1sf_demod_get_tps_guard_interval:
	.quad	_GUARD_INTERVAL_1_32
	.quad	_GUARD_INTERVAL_1_16
	.quad	_GUARD_INTERVAL_1_8
	.quad	_GUARD_INTERVAL_1_4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxl1x1sf_demod_get_tps_guard_interval
_mxl1x1sf_demod_get_tps_guard_interval: ; @mxl1x1sf_demod_get_tps_guard_interval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _V6_CP_TPS_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V6_CP_TPS_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_mxl111sf_demod_read_reg
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _V6_PARAM_GI_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V6_PARAM_GI_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #63
	b.hi	LBB0_3
; %bb.2:
	asr	w8, w8, #4
Lloh6:
	adrp	x9, l_switch.table.mxl1x1sf_demod_get_tps_guard_interval@PAGE
Lloh7:
	add	x9, x9, l_switch.table.mxl1x1sf_demod_get_tps_guard_interval@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_V6_CP_TPS_REG,4,2              ; @V6_CP_TPS_REG
	.comm	_V6_PARAM_GI_MASK,4,2           ; @V6_PARAM_GI_MASK
	.comm	_GUARD_INTERVAL_1_32,4,2        ; @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_16,4,2        ; @GUARD_INTERVAL_1_16
	.comm	_GUARD_INTERVAL_1_8,4,2         ; @GUARD_INTERVAL_1_8
	.comm	_GUARD_INTERVAL_1_4,4,2         ; @GUARD_INTERVAL_1_4
	.no_dead_strip	_mxl1x1sf_demod_get_tps_guard_interval
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mxl1x1sf_demod_get_tps_guard_interval
l_switch.table.mxl1x1sf_demod_get_tps_guard_interval:
	.quad	_GUARD_INTERVAL_1_32
	.quad	_GUARD_INTERVAL_1_16
	.quad	_GUARD_INTERVAL_1_8
	.quad	_GUARD_INTERVAL_1_4

.subsections_via_symbols
