	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_signal_parameters
_get_signal_parameters:                 ## @get_signal_parameters
	.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
	cmpl	$0, 56(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_RCVMODE_DVBS2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_RSTV0910_P2_DMDMODCOD@GOTPCREL(%rip), %rax
	movq	48(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_read_reg
	movl	-20(%rbp), %eax
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$31, %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	%ecx, 12(%rbx)
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 16(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_13
LBB0_4:
	movq	_RCVMODE_DVBS@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.5:
	movq	_RSTV0910_P2_VITCURPUN@GOTPCREL(%rip), %rax
	movq	48(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_read_reg
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	-20(%rbp), %ecx
	andl	$31, %ecx
	addl	$-13, %ecx
	cmpl	$13, %ecx
	ja	LBB0_12
## %bb.6:
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
LBB0_12:
	movq	$0, 32(%rbx)
	movl	$1, 20(%rbx)
	movq	_FE_SAT_35@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_13:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RCVMODE_DVBS2,8,3              ## @RCVMODE_DVBS2
	.comm	_RSTV0910_P2_DMDMODCOD,8,3      ## @RSTV0910_P2_DMDMODCOD
	.comm	_RCVMODE_DVBS,8,3               ## @RCVMODE_DVBS
	.comm	_RSTV0910_P2_VITCURPUN,8,3      ## @RSTV0910_P2_VITCURPUN
	.comm	_FEC_NONE,4,2                   ## @FEC_NONE
	.comm	_FEC_1_2,4,2                    ## @FEC_1_2
	.comm	_FEC_2_3,4,2                    ## @FEC_2_3
	.comm	_FEC_3_4,4,2                    ## @FEC_3_4
	.comm	_FEC_5_6,4,2                    ## @FEC_5_6
	.comm	_FEC_7_8,4,2                    ## @FEC_7_8
	.comm	_FE_SAT_35,4,2                  ## @FE_SAT_35
	.no_dead_strip	_get_signal_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_signal_parameters
_get_signal_parameters:                 ; @get_signal_parameters
	.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
	ldr	w8, [x0, #56]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RCVMODE_DVBS2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RCVMODE_DVBS2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _RSTV0910_P2_DMDMODCOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSTV0910_P2_DMDMODCOD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	add	x1, x9, x8
	add	x2, sp, #12
	mov	x0, x19
	bl	_read_reg
	mov	w0, #0
	ldr	w8, [sp, #12]
	ubfx	w9, w8, #2, #5
	and	w10, w8, #0x1
	stp	w9, w10, [x19, #8]
	ubfx	w8, w8, #1, #1
	str	w8, [x19, #16]
	b	LBB0_14
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_4:
Lloh9:
	adrp	x9, _RCVMODE_DVBS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RCVMODE_DVBS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
Lloh12:
	adrp	x8, _RSTV0910_P2_VITCURPUN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSTV0910_P2_VITCURPUN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	add	x1, x9, x8
	add	x2, sp, #12
	mov	x0, x19
	bl	_read_reg
Lloh15:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	ldr	w8, [sp, #12]
	and	w8, w8, #0x1f
	sub	w9, w8, #13
	cmp	w9, #13
	b.hi	LBB0_13
; %bb.6:
Lloh18:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
Lloh20:
	adrp	x10, lJTI0_0@PAGE
Lloh21:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_7
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_7:
Lloh22:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
	mov	w0, #0
	b	LBB0_14
LBB0_9:
Lloh24:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x8, _FEC_5_6@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh28:
	adrp	x8, _FEC_7_8@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FEC_7_8@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x19, #40]
LBB0_13:
	mov	w0, #0
	str	xzr, [x19, #32]
	mov	w8, #1
Lloh30:
	adrp	x9, _FE_SAT_35@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FE_SAT_35@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #20]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RCVMODE_DVBS2,8,3              ; @RCVMODE_DVBS2
	.comm	_RSTV0910_P2_DMDMODCOD,8,3      ; @RSTV0910_P2_DMDMODCOD
	.comm	_RCVMODE_DVBS,8,3               ; @RCVMODE_DVBS
	.comm	_RSTV0910_P2_VITCURPUN,8,3      ; @RSTV0910_P2_VITCURPUN
	.comm	_FEC_NONE,4,2                   ; @FEC_NONE
	.comm	_FEC_1_2,4,2                    ; @FEC_1_2
	.comm	_FEC_2_3,4,2                    ; @FEC_2_3
	.comm	_FEC_3_4,4,2                    ; @FEC_3_4
	.comm	_FEC_5_6,4,2                    ; @FEC_5_6
	.comm	_FEC_7_8,4,2                    ; @FEC_7_8
	.comm	_FE_SAT_35,4,2                  ; @FE_SAT_35
	.no_dead_strip	_get_signal_parameters
.subsections_via_symbols
