	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxl111sf_demod_read_status
_mxl111sf_demod_read_status:            ## @mxl111sf_demod_read_status
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movl	$0, (%rsi)
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mxl1x1sf_demod_get_rs_lock_status
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_16
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mxl1x1sf_demod_get_tps_lock_status
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_16
## %bb.2:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mxl1x1sf_demod_get_sync_lock_status
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_16
## %bb.3:
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mxl1x1sf_demod_get_fec_lock_status
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
LBB0_6:
	movl	-36(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.7:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%r14)
LBB0_8:
	movl	-32(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_10
## %bb.9:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%esi, (%r14)
LBB0_10:
	cmpl	$0, -28(%rbp)
	je	LBB0_12
## %bb.11:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%esi, (%r14)
LBB0_12:
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.14:
	testl	%edx, %edx
	je	LBB0_16
## %bb.15:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.no_dead_strip	_mxl111sf_demod_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxl111sf_demod_read_status
_mxl111sf_demod_read_status:            ; @mxl111sf_demod_read_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	ldr	x21, [x0]
	str	wzr, [x1]
	add	x1, sp, #12
	mov	x0, x21
	bl	_mxl1x1sf_demod_get_rs_lock_status
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_16
; %bb.1:
	add	x1, sp, #8
	mov	x0, x21
	bl	_mxl1x1sf_demod_get_tps_lock_status
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_16
; %bb.2:
	add	x1, sp, #4
	mov	x0, x21
	bl	_mxl1x1sf_demod_get_sync_lock_status
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_16
; %bb.3:
	mov	x1, sp
	mov	x0, x21
	bl	_mxl1x1sf_demod_get_fec_lock_status
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_16
; %bb.4:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_6
; %bb.5:
Lloh0:
	adrp	x9, _FE_HAS_SIGNAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
LBB0_6:
	ldr	w9, [sp, #8]
	cbz	w9, LBB0_8
; %bb.7:
Lloh3:
	adrp	x10, _FE_HAS_CARRIER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	w11, [x19]
	orr	w10, w11, w10
	str	w10, [x19]
LBB0_8:
	ldr	w10, [sp, #4]
	cbz	w10, LBB0_10
; %bb.9:
Lloh6:
	adrp	x11, _FE_HAS_SYNC@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	ldr	w12, [x19]
	orr	w11, w12, w11
	str	w11, [x19]
LBB0_10:
	ldr	w11, [sp]
	cbz	w11, LBB0_12
; %bb.11:
Lloh9:
	adrp	x11, _FE_HAS_VITERBI@GOTPAGE
Lloh10:
	ldr	x11, [x11, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	ldr	w12, [x19]
	orr	w11, w12, w11
	str	w11, [x19]
LBB0_12:
	cbz	w8, LBB0_16
; %bb.13:
	cbz	w9, LBB0_16
; %bb.14:
	cbz	w10, LBB0_16
; %bb.15:
Lloh12:
	adrp	x8, _FE_HAS_LOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.no_dead_strip	_mxl111sf_demod_read_status
.subsections_via_symbols
