	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib3000mb_read_status
_dib3000mb_read_status:                 ## @dib3000mb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	$0, (%rsi)
	movq	_DIB3000MB_REG_AGC_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_2:
	movq	_DIB3000MB_REG_CARRIER_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_4:
	movq	_DIB3000MB_REG_VIT_LCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_6:
	movq	_DIB3000MB_REG_TS_SYNC_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	orl	(%rbx), %esi
	movl	%esi, (%rbx)
	jmp	LBB0_9
LBB0_7:
	movl	(%rbx), %esi
LBB0_9:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_getf
	movq	_DIB3000MB_REG_TPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_DIB3000MB_REG_TPS_QAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_DIB3000MB_REG_TPS_HRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_DIB3000MB_REG_TPS_VIT_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_DIB3000MB_REG_TPS_CODE_RATE_HP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, %r14d
	movq	_DIB3000MB_REG_TPS_CODE_RATE_LP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, %r13d
	movq	_DIB3000MB_REG_TPS_GUARD_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, %r15d
	movq	_DIB3000MB_REG_TPS_FFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, %r12d
	movq	_DIB3000MB_REG_TPS_CELL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r14d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r12
	pushq	%r15
	pushq	%r13
	callq	_deb_getf
	addq	$32, %rsp
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIB3000MB_REG_AGC_LOCK,4,2     ## @DIB3000MB_REG_AGC_LOCK
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_DIB3000MB_REG_CARRIER_LOCK,4,2 ## @DIB3000MB_REG_CARRIER_LOCK
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_DIB3000MB_REG_VIT_LCK,4,2      ## @DIB3000MB_REG_VIT_LCK
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_DIB3000MB_REG_TS_SYNC_LOCK,4,2 ## @DIB3000MB_REG_TS_SYNC_LOCK
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"actual status is %2x\n"

L_.str.1:                               ## @.str.1
	.asciz	"autoval: tps: %d, qam: %d, hrch: %d, alpha: %d, hp: %d, lp: %d, guard: %d, fft: %d cell: %d\n"

	.comm	_DIB3000MB_REG_TPS_LOCK,4,2     ## @DIB3000MB_REG_TPS_LOCK
	.comm	_DIB3000MB_REG_TPS_QAM,4,2      ## @DIB3000MB_REG_TPS_QAM
	.comm	_DIB3000MB_REG_TPS_HRCH,4,2     ## @DIB3000MB_REG_TPS_HRCH
	.comm	_DIB3000MB_REG_TPS_VIT_ALPHA,4,2 ## @DIB3000MB_REG_TPS_VIT_ALPHA
	.comm	_DIB3000MB_REG_TPS_CODE_RATE_HP,4,2 ## @DIB3000MB_REG_TPS_CODE_RATE_HP
	.comm	_DIB3000MB_REG_TPS_CODE_RATE_LP,4,2 ## @DIB3000MB_REG_TPS_CODE_RATE_LP
	.comm	_DIB3000MB_REG_TPS_GUARD_TIME,4,2 ## @DIB3000MB_REG_TPS_GUARD_TIME
	.comm	_DIB3000MB_REG_TPS_FFT,4,2      ## @DIB3000MB_REG_TPS_FFT
	.comm	_DIB3000MB_REG_TPS_CELL_ID,4,2  ## @DIB3000MB_REG_TPS_CELL_ID
	.no_dead_strip	_dib3000mb_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib3000mb_read_status
_dib3000mb_read_status:                 ; @dib3000mb_read_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	str	wzr, [x1]
Lloh0:
	adrp	x8, _DIB3000MB_REG_AGC_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIB3000MB_REG_AGC_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rd
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
Lloh6:
	adrp	x8, _DIB3000MB_REG_CARRIER_LOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIB3000MB_REG_CARRIER_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_rd
	cbz	w0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _FE_HAS_CARRIER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
Lloh12:
	adrp	x8, _DIB3000MB_REG_VIT_LCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DIB3000MB_REG_VIT_LCK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_rd
	cbz	w0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _FE_HAS_VITERBI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
Lloh18:
	adrp	x8, _DIB3000MB_REG_TS_SYNC_LOCK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DIB3000MB_REG_TS_SYNC_LOCK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_rd
	cbz	w0, LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _FE_HAS_SYNC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh23:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w1, w8, w9
	str	w1, [x19]
	b	LBB0_9
LBB0_8:
	ldr	w1, [x19]
LBB0_9:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb_getf
Lloh29:
	adrp	x8, _DIB3000MB_REG_TPS_LOCK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_LOCK@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_rd
	mov	x19, x0
Lloh32:
	adrp	x8, _DIB3000MB_REG_TPS_QAM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_QAM@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_rd
	mov	x20, x0
Lloh35:
	adrp	x8, _DIB3000MB_REG_TPS_HRCH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_HRCH@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_rd
	mov	x21, x0
Lloh38:
	adrp	x8, _DIB3000MB_REG_TPS_VIT_ALPHA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_VIT_ALPHA@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_rd
	mov	x22, x0
Lloh41:
	adrp	x8, _DIB3000MB_REG_TPS_CODE_RATE_HP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_CODE_RATE_HP@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_rd
	mov	x23, x0
Lloh44:
	adrp	x8, _DIB3000MB_REG_TPS_CODE_RATE_LP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_CODE_RATE_LP@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_rd
	mov	x24, x0
Lloh47:
	adrp	x8, _DIB3000MB_REG_TPS_GUARD_TIME@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_GUARD_TIME@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_rd
	mov	x25, x0
Lloh50:
	adrp	x8, _DIB3000MB_REG_TPS_FFT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_FFT@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_rd
	mov	x26, x0
Lloh53:
	adrp	x8, _DIB3000MB_REG_TPS_CELL_ID@GOTPAGE
Lloh54:
	ldr	x8, [x8, _DIB3000MB_REG_TPS_CELL_ID@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_rd
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #48]
	stp	x24, x25, [sp, #32]
	stp	x22, x23, [sp, #16]
Lloh56:
	adrp	x0, l_.str.1@PAGE
Lloh57:
	add	x0, x0, l_.str.1@PAGEOFF
	stp	x20, x21, [sp]
	mov	x1, x19
	bl	_deb_getf
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_DIB3000MB_REG_AGC_LOCK,4,2     ; @DIB3000MB_REG_AGC_LOCK
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_DIB3000MB_REG_CARRIER_LOCK,4,2 ; @DIB3000MB_REG_CARRIER_LOCK
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_DIB3000MB_REG_VIT_LCK,4,2      ; @DIB3000MB_REG_VIT_LCK
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_DIB3000MB_REG_TS_SYNC_LOCK,4,2 ; @DIB3000MB_REG_TS_SYNC_LOCK
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"actual status is %2x\n"

l_.str.1:                               ; @.str.1
	.asciz	"autoval: tps: %d, qam: %d, hrch: %d, alpha: %d, hp: %d, lp: %d, guard: %d, fft: %d cell: %d\n"

	.comm	_DIB3000MB_REG_TPS_LOCK,4,2     ; @DIB3000MB_REG_TPS_LOCK
	.comm	_DIB3000MB_REG_TPS_QAM,4,2      ; @DIB3000MB_REG_TPS_QAM
	.comm	_DIB3000MB_REG_TPS_HRCH,4,2     ; @DIB3000MB_REG_TPS_HRCH
	.comm	_DIB3000MB_REG_TPS_VIT_ALPHA,4,2 ; @DIB3000MB_REG_TPS_VIT_ALPHA
	.comm	_DIB3000MB_REG_TPS_CODE_RATE_HP,4,2 ; @DIB3000MB_REG_TPS_CODE_RATE_HP
	.comm	_DIB3000MB_REG_TPS_CODE_RATE_LP,4,2 ; @DIB3000MB_REG_TPS_CODE_RATE_LP
	.comm	_DIB3000MB_REG_TPS_GUARD_TIME,4,2 ; @DIB3000MB_REG_TPS_GUARD_TIME
	.comm	_DIB3000MB_REG_TPS_FFT,4,2      ; @DIB3000MB_REG_TPS_FFT
	.comm	_DIB3000MB_REG_TPS_CELL_ID,4,2  ; @DIB3000MB_REG_TPS_CELL_ID
	.no_dead_strip	_dib3000mb_read_status
.subsections_via_symbols
