	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_read_status
_stv090x_read_status:                   ## @stv090x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	_DMDSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_HEADER_MODE_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_STV090x_GETFIELD_Px
	cmpl	$2, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$3, %eax
	jne	LBB0_2
## %bb.5:
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movq	_DSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_LOCK_DEFINITIF_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movq	_VSTATUSVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_LOCKEDVIT_FIELD@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movq	_DSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_LOCK_DEFINITIF_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movq	_PDELSTATUS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_PKTDELIN_LOCK_FIELD@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	_TSSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_TSFIFO_LINEOK_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	xorl	%eax, %eax
LBB0_10:
	movl	%eax, (%r14)
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMDSTATE,4,2                   ## @DMDSTATE
	.comm	_HEADER_MODE_FIELD,4,2          ## @HEADER_MODE_FIELD
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Status: Unlocked (Searching ..)"

L_.str.1:                               ## @.str.1
	.asciz	"Delivery system: DVB-S2"

	.comm	_DSTATUS,4,2                    ## @DSTATUS
	.comm	_LOCK_DEFINITIF_FIELD,4,2       ## @LOCK_DEFINITIF_FIELD
	.comm	_PDELSTATUS1,4,2                ## @PDELSTATUS1
	.comm	_PKTDELIN_LOCK_FIELD,4,2        ## @PKTDELIN_LOCK_FIELD
	.comm	_TSSTATUS,4,2                   ## @TSSTATUS
	.comm	_TSFIFO_LINEOK_FIELD,4,2        ## @TSFIFO_LINEOK_FIELD
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
L_.str.2:                               ## @.str.2
	.asciz	"Delivery system: DVB-S"

	.comm	_VSTATUSVIT,4,2                 ## @VSTATUSVIT
	.comm	_LOCKEDVIT_FIELD,4,2            ## @LOCKEDVIT_FIELD
	.no_dead_strip	_stv090x_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_read_status
_stv090x_read_status:                   ; @stv090x_read_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _DMDSTATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMDSTATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh3:
	adrp	x8, _HEADER_MODE_FIELD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEADER_MODE_FIELD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
Lloh6:
	adrp	x8, _FE_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FE_DEBUG@GOTPAGEOFF]
	cmp	w0, #2
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #3
	b.ne	LBB0_9
; %bb.2:
	ldr	w0, [x8]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_dprintk
Lloh10:
	adrp	x8, _DSTATUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSTATUS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh13:
	adrp	x8, _LOCK_DEFINITIF_FIELD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LOCK_DEFINITIF_FIELD@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_11
; %bb.3:
Lloh16:
	adrp	x8, _VSTATUSVIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VSTATUSVIT@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh19:
	adrp	x8, _LOCKEDVIT_FIELD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOCKEDVIT_FIELD@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x8]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_dprintk
Lloh23:
	adrp	x8, _DSTATUS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DSTATUS@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh26:
	adrp	x8, _LOCK_DEFINITIF_FIELD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOCK_DEFINITIF_FIELD@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_11
; %bb.5:
Lloh29:
	adrp	x8, _PDELSTATUS1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PDELSTATUS1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh32:
	adrp	x8, _PKTDELIN_LOCK_FIELD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PKTDELIN_LOCK_FIELD@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_11
; %bb.7:
Lloh34:
	adrp	x8, _TSSTATUS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TSSTATUS@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh37:
	adrp	x8, _TSFIFO_LINEOK_FIELD@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TSFIFO_LINEOK_FIELD@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_11
; %bb.8:
Lloh40:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh44:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh46:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh47:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh49:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh50:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh52:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh53:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_10
LBB0_9:
	ldr	w0, [x8]
Lloh55:
	adrp	x2, l_.str@PAGE
Lloh56:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	w8, #0
LBB0_10:
	str	w8, [x19]
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_DMDSTATE,4,2                   ; @DMDSTATE
	.comm	_HEADER_MODE_FIELD,4,2          ; @HEADER_MODE_FIELD
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Status: Unlocked (Searching ..)"

l_.str.1:                               ; @.str.1
	.asciz	"Delivery system: DVB-S2"

	.comm	_DSTATUS,4,2                    ; @DSTATUS
	.comm	_LOCK_DEFINITIF_FIELD,4,2       ; @LOCK_DEFINITIF_FIELD
	.comm	_PDELSTATUS1,4,2                ; @PDELSTATUS1
	.comm	_PKTDELIN_LOCK_FIELD,4,2        ; @PKTDELIN_LOCK_FIELD
	.comm	_TSSTATUS,4,2                   ; @TSSTATUS
	.comm	_TSFIFO_LINEOK_FIELD,4,2        ; @TSFIFO_LINEOK_FIELD
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
l_.str.2:                               ; @.str.2
	.asciz	"Delivery system: DVB-S"

	.comm	_VSTATUSVIT,4,2                 ; @VSTATUSVIT
	.comm	_LOCKEDVIT_FIELD,4,2            ; @LOCKEDVIT_FIELD
	.no_dead_strip	_stv090x_read_status
.subsections_via_symbols
