	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drx39xxj_read_status
_drx39xxj_read_status:                  ## @drx39xxj_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movl	$0, (%rsi)
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ctrl_lock_status
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movl	$0, (%rbx)
LBB0_2:
	movl	-20(%rbp), %esi
	leal	-130(%rsi), %eax
	cmpl	$9, %eax
	jae	LBB0_3
## %bb.8:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
LBB0_9:
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
LBB0_12:
	movl	-20(%rbp), %esi
	movq	%r14, %rdi
	callq	_ctrl_sig_quality
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	cmpl	$128, %esi
	je	LBB0_7
## %bb.4:
	cmpl	$139, %esi
	je	LBB0_10
## %bb.5:
	cmpl	$129, %esi
	jne	LBB0_11
## %bb.6:
	movl	$0, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_12
LBB0_7:
	movl	$0, (%rbx)
	jmp	LBB0_12
LBB0_10:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drx39xxj: could not get lock status!\n"

L_.str.1:                               ## @.str.1
	.asciz	"drx says NEVER_LOCK\n"

	.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	"Lock state unknown %d\n"

	.no_dead_strip	_drx39xxj_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drx39xxj_read_status
_drx39xxj_read_status:                  ; @drx39xxj_read_status
	.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	x20, x1
	ldr	x8, [x0]
	ldr	x19, [x8]
	str	wzr, [x1]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ctrl_lock_status
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	str	wzr, [x20]
LBB0_2:
	ldr	w8, [sp, #12]
	sub	w9, w8, #130
	cmp	w9, #9
	b.hs	LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh4:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_5:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_ctrl_sig_quality
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.7:
	cmp	w8, #139
	b.eq	LBB0_11
; %bb.8:
	cmp	w8, #129
	b.ne	LBB0_12
; %bb.9:
	str	wzr, [x20]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_10:
	str	wzr, [x20]
	b	LBB0_5
LBB0_11:
Lloh15:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _FE_HAS_VITERBI@GOTPAGE
Lloh22:
	ldr	x10, [x10, _FE_HAS_VITERBI@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh23:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_13:
	bl	_pr_err
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drx39xxj: could not get lock status!\n"

l_.str.1:                               ; @.str.1
	.asciz	"drx says NEVER_LOCK\n"

	.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	"Lock state unknown %d\n"

	.no_dead_strip	_drx39xxj_read_status
.subsections_via_symbols
