	.file	"extr_stv0910.c_manage_matype_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	manage_matype_info, @function
manage_matype_info:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 32[rdi]
	test	eax, eax
	je	.L9
	mov	rdx, QWORD PTR [rdi]
	cmp	rdx, QWORD PTR RCVMODE_DVBS2[rip]
	je	.L10
	xor	eax, eax
	cmp	rdx, QWORD PTR RCVMODE_DVBS[rip]
	je	.L11
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	movabs	rsi, 4294967296
	mov	edx, DWORD PTR FE_SAT_35[rip]
	mov	QWORD PTR 12[rdi], rsi
	mov	DWORD PTR 8[rdi], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdx, 16[rsp]
	mov	ecx, 2
	mov	QWORD PTR 8[rsp], rdi
	mov	rsi, QWORD PTR RSTV0910_P2_MATSTR1[rip]
	add	rsi, QWORD PTR 24[rdi]
	call	read_regs@PLT
	mov	eax, DWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, eax
	and	edx, 3
	mov	DWORD PTR 8[rdi], edx
	xor	edx, edx
	test	al, 16
	sete	dl
	and	eax, 252
	cmp	eax, 240
	mov	DWORD PTR 12[rdi], edx
	sete	al
	movzx	eax, al
	mov	DWORD PTR 16[rdi], eax
	xor	eax, eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	manage_matype_info, .-manage_matype_info
	.comm	RSTV0910_P2_MATSTR1,8,8
	.comm	RCVMODE_DVBS2,8,8
	.comm	RCVMODE_DVBS,8,8
	.comm	FE_SAT_35,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_stv0910.c_manage_matype_info.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	manage_matype_info, %function
manage_matype_info:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, [r0, #20]
	ldr	r2, .L13
	sub	sp, sp, #16
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L9
	ldr	r2, .L13+4
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r4, r0
	cmp	r3, r2
	beq	.L10
	ldr	r2, .L13+8
	mov	r0, #0
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L9:
	ldr	r3, .L13+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	mov	r3, #1
	ldr	r2, .L13+16
	str	r0, [r4, #8]
	ldr	r2, [r2]
	str	r3, [r4, #12]
	str	r2, [r4, #4]
	b	.L1
.L10:
	ldr	r3, .L13+20
	ldr	r1, [r0, #16]
	ldr	r2, [r3]
	mov	r3, #2
	add	r1, r1, r2
	add	r2, sp, #4
	bl	read_regs
	mov	r0, #0
	ldr	r3, [sp, #4]
	and	r2, r3, #252
	sub	r2, r2, #240
	tst	r3, #16
	clz	r2, r2
	moveq	r1, #1
	movne	r1, r0
	lsr	r2, r2, #5
	and	r3, r3, #3
	str	r1, [r4, #8]
	str	r2, [r4, #12]
	str	r3, [r4, #4]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	RCVMODE_DVBS2
	.word	RCVMODE_DVBS
	.word	EINVAL
	.word	FE_SAT_35
	.word	RSTV0910_P2_MATSTR1
	.size	manage_matype_info, .-manage_matype_info
	.comm	RSTV0910_P2_MATSTR1,4,4
	.comm	RCVMODE_DVBS2,4,4
	.comm	RCVMODE_DVBS,4,4
	.comm	FE_SAT_35,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
