	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stb0899_dvbs2_get_fec_status
_stb0899_dvbs2_get_fec_status:          ## @stb0899_dvbs2_get_fec_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_stb0899_dvbs2_get_data_lock
	movl	%eax, %r12d
	movl	$1, %edi
	callq	_msleep
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rbx), %eax
	cmpl	%r15d, %ebx
	movl	%eax, %ebx
	jl	LBB0_1
LBB0_3:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.5:
	movl	(%r14), %edi
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	_DVBS2_FEC_LOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_DVBS2_FEC_NOLOCK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"---------->DVB-S2 FEC LOCK !"

	.comm	_DVBS2_FEC_LOCK,4,2             ## @DVBS2_FEC_LOCK
	.comm	_DVBS2_FEC_NOLOCK,4,2           ## @DVBS2_FEC_NOLOCK
	.no_dead_strip	_stb0899_dvbs2_get_fec_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stb0899_dvbs2_get_fec_status
_stb0899_dvbs2_get_fec_status:          ; @stb0899_dvbs2_get_fec_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	x20, x1
	mov	x19, x0
	mov	w22, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	_stb0899_dvbs2_get_data_lock
	mov	x21, x0
	mov	w0, #1
	bl	_msleep
	cbnz	w21, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w22, #1
	cmp	w22, w20
	mov	x22, x8
	b.lt	LBB0_1
LBB0_3:
	cbz	w21, LBB0_5
; %bb.4:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _FE_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FE_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
Lloh5:
	adrp	x8, _DVBS2_FEC_LOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DVBS2_FEC_LOCK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _DVBS2_FEC_NOLOCK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DVBS2_FEC_NOLOCK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"---------->DVB-S2 FEC LOCK !"

	.comm	_DVBS2_FEC_LOCK,4,2             ; @DVBS2_FEC_LOCK
	.comm	_DVBS2_FEC_NOLOCK,4,2           ; @DVBS2_FEC_NOLOCK
	.no_dead_strip	_stb0899_dvbs2_get_fec_status
.subsections_via_symbols
