	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nxt6000_read_status
_nxt6000_read_status:                   ## @nxt6000_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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movl	$0, (%rsi)
	movq	_OFDM_COR_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nxt6000_readreg
	movl	%eax, %r15d
	movq	_AGCLOCKED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_2:
	movq	_OFDM_SYR_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nxt6000_readreg
	movq	_GI14_SYR_LOCK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_4:
	movq	_VIT_SYNC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nxt6000_readreg
	movq	_VITINSYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_6:
	movq	_RS_COR_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nxt6000_readreg
	movq	_RSCORESTATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_8:
	movq	_TPSLOCKED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.9:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rbx), %eax
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_11
## %bb.10:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_11:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_nxt6000_dump_status
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OFDM_COR_STAT,4,2              ## @OFDM_COR_STAT
	.comm	_AGCLOCKED,4,2                  ## @AGCLOCKED
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_OFDM_SYR_STAT,4,2              ## @OFDM_SYR_STAT
	.comm	_GI14_SYR_LOCK,4,2              ## @GI14_SYR_LOCK
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_VIT_SYNC_STATUS,4,2            ## @VIT_SYNC_STATUS
	.comm	_VITINSYNC,4,2                  ## @VITINSYNC
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_RS_COR_STAT,4,2                ## @RS_COR_STAT
	.comm	_RSCORESTATUS,4,2               ## @RSCORESTATUS
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_TPSLOCKED,4,2                  ## @TPSLOCKED
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.comm	_debug,8,3                      ## @debug
	.no_dead_strip	_nxt6000_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nxt6000_read_status
_nxt6000_read_status:                   ; @nxt6000_read_status
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	ldr	x19, [x0]
	str	wzr, [x1]
Lloh0:
	adrp	x8, _OFDM_COR_STAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OFDM_COR_STAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nxt6000_readreg
	mov	x21, x0
Lloh3:
	adrp	x8, _AGCLOCKED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AGCLOCKED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x22, _FE_HAS_SIGNAL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FE_HAS_SIGNAL@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_2:
Lloh8:
	adrp	x8, _OFDM_SYR_STAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OFDM_SYR_STAT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nxt6000_readreg
Lloh11:
	adrp	x8, _GI14_SYR_LOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GI14_SYR_LOCK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x23, _FE_HAS_CARRIER@GOTPAGE
Lloh15:
	ldr	x23, [x23, _FE_HAS_CARRIER@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x23]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
Lloh16:
	adrp	x8, _VIT_SYNC_STATUS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VIT_SYNC_STATUS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nxt6000_readreg
Lloh19:
	adrp	x8, _VITINSYNC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VITINSYNC@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x24, _FE_HAS_VITERBI@GOTPAGE
Lloh23:
	ldr	x24, [x24, _FE_HAS_VITERBI@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x24]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_6:
Lloh24:
	adrp	x8, _RS_COR_STAT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RS_COR_STAT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nxt6000_readreg
Lloh27:
	adrp	x8, _RSCORESTATUS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RSCORESTATUS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x8]
Lloh30:
	adrp	x8, _FE_HAS_SYNC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FE_HAS_SYNC@GOTPAGEOFF]
	tst	w9, w0
	b.eq	LBB0_8
; %bb.7:
	ldr	w9, [x8]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
LBB0_8:
Lloh32:
	adrp	x9, _TPSLOCKED@GOTPAGE
Lloh33:
	ldr	x9, [x9, _TPSLOCKED@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_11
; %bb.9:
	ldr	w9, [x20]
	ldr	w10, [x22]
	ldr	w11, [x23]
	orr	w10, w11, w10
	ldr	w11, [x24]
	orr	w10, w10, w11
	ldr	w8, [x8]
	orr	w8, w10, w8
	cmp	w9, w8
	b.ne	LBB0_11
; %bb.10:
Lloh35:
	adrp	x8, _FE_HAS_LOCK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_11:
Lloh38:
	adrp	x8, _debug@GOTPAGE
Lloh39:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_nxt6000_dump_status
LBB0_13:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_OFDM_COR_STAT,4,2              ; @OFDM_COR_STAT
	.comm	_AGCLOCKED,4,2                  ; @AGCLOCKED
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_OFDM_SYR_STAT,4,2              ; @OFDM_SYR_STAT
	.comm	_GI14_SYR_LOCK,4,2              ; @GI14_SYR_LOCK
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_VIT_SYNC_STATUS,4,2            ; @VIT_SYNC_STATUS
	.comm	_VITINSYNC,4,2                  ; @VITINSYNC
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_RS_COR_STAT,4,2                ; @RS_COR_STAT
	.comm	_RSCORESTATUS,4,2               ; @RSCORESTATUS
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_TPSLOCKED,4,2                  ; @TPSLOCKED
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.comm	_debug,8,3                      ; @debug
	.no_dead_strip	_nxt6000_read_status
.subsections_via_symbols
