	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movl	$0, (%rsi)
	movq	_DSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_STV090x_READ_DEMOD
	movl	%eax, %ebx
	movq	_CAR_LOCK_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
LBB0_2:
	movq	_DMDSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %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_5
## %bb.3:
	cmpl	$3, %eax
	jne	LBB0_4
## %bb.7:
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movq	_LOCK_DEFINITIF_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movq	_VSTATUSVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_LOCKEDVIT_FIELD@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_5:
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movq	_LOCK_DEFINITIF_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	_PDELSTATUS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_STV090x_READ_DEMOD
	movq	_PKTDELIN_LOCK_FIELD@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_STV090x_GETFIELD_Px
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	_TSSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %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_12
## %bb.11:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
	jmp	LBB0_12
LBB0_4:
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSTATUS,4,2                    ## @DSTATUS
	.comm	_CAR_LOCK_FIELD,4,2             ## @CAR_LOCK_FIELD
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.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	_LOCK_DEFINITIF_FIELD,4,2       ## @LOCK_DEFINITIF_FIELD
	.comm	_PDELSTATUS1,4,2                ## @PDELSTATUS1
	.comm	_PKTDELIN_LOCK_FIELD,4,2        ## @PKTDELIN_LOCK_FIELD
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_TSSTATUS,4,2                   ## @TSSTATUS
	.comm	_TSFIFO_LINEOK_FIELD,4,2        ## @TSFIFO_LINEOK_FIELD
	.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	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	x19, x1
	ldr	x20, [x0]
	str	wzr, [x1]
Lloh0:
	adrp	x8, _DSTATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSTATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
	mov	x21, x0
Lloh3:
	adrp	x8, _CAR_LOCK_FIELD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAR_LOCK_FIELD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh8:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_2:
Lloh12:
	adrp	x8, _DMDSTATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMDSTATE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh15:
	adrp	x8, _HEADER_MODE_FIELD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HEADER_MODE_FIELD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
Lloh18:
	adrp	x8, _FE_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FE_DEBUG@GOTPAGEOFF]
	cmp	w0, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #3
	b.ne	LBB0_11
; %bb.4:
	ldr	w0, [x8]
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_dprintk
Lloh22:
	adrp	x8, _LOCK_DEFINITIF_FIELD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOCK_DEFINITIF_FIELD@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_12
; %bb.5:
Lloh25:
	adrp	x8, _VSTATUSVIT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VSTATUSVIT@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh28:
	adrp	x8, _LOCKEDVIT_FIELD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOCKEDVIT_FIELD@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w0, [x8]
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_dprintk
Lloh32:
	adrp	x8, _LOCK_DEFINITIF_FIELD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOCK_DEFINITIF_FIELD@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_12
; %bb.7:
Lloh35:
	adrp	x8, _PDELSTATUS1@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PDELSTATUS1@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh38:
	adrp	x8, _PKTDELIN_LOCK_FIELD@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PKTDELIN_LOCK_FIELD@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_12
; %bb.9:
Lloh40:
	adrp	x8, _FE_HAS_VITERBI@GOTPAGE
Lloh41:
	ldr	x8, [x8, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh43:
	adrp	x8, _TSSTATUS@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TSSTATUS@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_STV090x_READ_DEMOD
Lloh46:
	adrp	x8, _TSFIFO_LINEOK_FIELD@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TSFIFO_LINEOK_FIELD@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_STV090x_GETFIELD_Px
	cbz	w0, LBB0_12
; %bb.10:
Lloh49:
	adrp	x8, _FE_HAS_SYNC@GOTPAGE
Lloh50:
	ldr	x8, [x8, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh51:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh52:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_12
LBB0_11:
	ldr	w0, [x8]
Lloh55:
	adrp	x2, l_.str@PAGE
Lloh56:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
LBB0_12:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh53
	.loh AdrpAdd	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_DSTATUS,4,2                    ; @DSTATUS
	.comm	_CAR_LOCK_FIELD,4,2             ; @CAR_LOCK_FIELD
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.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	_LOCK_DEFINITIF_FIELD,4,2       ; @LOCK_DEFINITIF_FIELD
	.comm	_PDELSTATUS1,4,2                ; @PDELSTATUS1
	.comm	_PKTDELIN_LOCK_FIELD,4,2        ; @PKTDELIN_LOCK_FIELD
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_TSSTATUS,4,2                   ; @TSSTATUS
	.comm	_TSFIFO_LINEOK_FIELD,4,2        ; @TSFIFO_LINEOK_FIELD
	.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
