	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function manage_matype_info
_manage_matype_info:                    ## @manage_matype_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	cmpl	$0, 32(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	_RCVMODE_DVBS2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_RSTV0910_P2_MATSTR1@GOTPCREL(%rip), %rax
	movq	24(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	_read_regs
	movl	-24(%rbp), %eax
	movl	%eax, %ecx
	andl	$3, %ecx
	movl	%ecx, 8(%rbx)
	xorl	%ecx, %ecx
	testb	$16, %al
	sete	%cl
	movl	%ecx, 12(%rbx)
	andl	$252, %eax
	xorl	%ecx, %ecx
	cmpl	$240, %eax
	sete	%cl
	movl	%ecx, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	movq	_RCVMODE_DVBS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, 12(%rbx)
	movq	_FE_SAT_35@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RCVMODE_DVBS2,8,3              ## @RCVMODE_DVBS2
	.comm	_RSTV0910_P2_MATSTR1,8,3        ## @RSTV0910_P2_MATSTR1
	.comm	_RCVMODE_DVBS,8,3               ## @RCVMODE_DVBS
	.comm	_FE_SAT_35,4,2                  ## @FE_SAT_35
	.no_dead_strip	_manage_matype_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function manage_matype_info
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_manage_matype_info:                    ; @manage_matype_info
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _RCVMODE_DVBS2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RCVMODE_DVBS2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _RSTV0910_P2_MATSTR1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSTV0910_P2_MATSTR1@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	mov	w0, #0
	ldr	w8, [sp]
	and	w9, w8, #0x3
	mov	w10, #1
	bic	w10, w10, w8, lsr #4
	stp	w9, w10, [x19, #8]
	and	w8, w8, #0xfc
	cmp	w8, #240
	cset	w8, eq
	str	w8, [x19, #16]
	b	LBB0_7
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x9, _RCVMODE_DVBS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RCVMODE_DVBS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #12]
Lloh17:
	adrp	x8, _FE_SAT_35@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FE_SAT_35@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldr	x8, [sp, #8]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	bl	___stack_chk_fail
	.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	Lloh17, Lloh18, Lloh19
	.loh AdrpAdrp	Lloh15, Lloh17
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RCVMODE_DVBS2,8,3              ; @RCVMODE_DVBS2
	.comm	_RSTV0910_P2_MATSTR1,8,3        ; @RSTV0910_P2_MATSTR1
	.comm	_RCVMODE_DVBS,8,3               ; @RCVMODE_DVBS
	.comm	_FE_SAT_35,4,2                  ; @FE_SAT_35
	.no_dead_strip	_manage_matype_info
.subsections_via_symbols
