	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cxd2880_tnrdmd_dvbt2_mon_active_plp
LCPI0_0:
	.long	7                               ## 0x7
	.long	31                              ## 0x1f
	.long	1                               ## 0x1
	.long	7                               ## 0x7
LCPI0_1:
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	1                               ## 0x1
	.long	3                               ## 0x3
LCPI0_2:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	2047                            ## 0x7ff
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cxd2880_tnrdmd_dvbt2_mon_active_plp
	.p2align	4, 0x90
_cxd2880_tnrdmd_dvbt2_mon_active_plp:   ## @cxd2880_tnrdmd_dvbt2_mon_active_plp
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -132(%rbp)
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.4:
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_CXD2880_TNRDMD_DIVERMODE_SUB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.5:
	movq	8(%r12), %rax
	movq	_CXD2880_TNRDMD_STATE_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.6:
	movq	16(%r12), %rax
	movq	_CXD2880_DTV_SYS_DVBT2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.7:
	movl	%esi, %r14d
	movq	%r12, %rdi
	callq	_slvt_freeze_reg
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.8:
	movq	24(%r12), %rdi
	movq	_CXD2880_IO_TGT_DMD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%edx, %edx
	movl	$11, %ecx
	callq	*(%rdi)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	leaq	-132(%rbp), %rcx
	movl	$134, %edx
	movl	$1, %r8d
	callq	*8(%rdi)
	testl	%eax, %eax
	je	LBB0_11
LBB0_9:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
	jmp	LBB0_18
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpl	$0, -132(%rbp)
	je	LBB0_12
## %bb.13:
	movq	_CXD2880_DVBT2_PLP_COMMON@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	movl	$169, %eax
	movl	$150, %edx
	cmovel	%eax, %edx
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	leaq	-128(%rbp), %rcx
	movl	$80, %r8d
	callq	*8(%rdi)
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
	testl	%ebx, %ebx
	jne	LBB0_18
## %bb.14:
	movl	-76(%rbp), %eax
	movq	_CXD2880_DVBT2_PLP_COMMON@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_17
## %bb.15:
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_17:
	movl	-128(%rbp), %ecx
	movl	%ecx, (%r15)
	movups	-124(%rbp), %xmm0
	andps	LCPI0_0(%rip), %xmm0
	movups	%xmm0, 4(%r15)
	movl	-108(%rbp), %ecx
	movl	%ecx, 20(%r15)
	movl	-104(%rbp), %ecx
	movl	%ecx, 24(%r15)
	movups	-100(%rbp), %xmm0
	andps	LCPI0_1(%rip), %xmm0
	movups	%xmm0, 28(%r15)
	movl	-84(%rbp), %ecx
	andl	$3, %ecx
	shll	$8, %ecx
	orl	-80(%rbp), %ecx
	movl	%ecx, 44(%r15)
	movl	%eax, 48(%r15)
	movl	-72(%rbp), %eax
	movl	%eax, 52(%r15)
	movq	-68(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movl	-60(%rbp), %eax
	movl	-56(%rbp), %ecx
	shll	$8, %eax
	orl	%ecx, %eax
	movl	%eax, %edx
	shrl	$15, %edx
	movl	%ecx, %esi
	shrl	$2, %esi
	andl	$3, %esi
	movl	%esi, 72(%r15)
	movl	%ecx, %esi
	shrl	%esi
	andl	$1, %esi
	movl	%esi, 76(%r15)
	andl	$1, %ecx
	movl	%ecx, 80(%r15)
	shrl	$4, %eax
	pinsrd	$2, %eax, %xmm0
	pinsrd	$3, %edx, %xmm0
	pand	LCPI0_2(%rip), %xmm0
	movdqu	%xmm0, 56(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CXD2880_TNRDMD_DIVERMODE_SUB,8,3 ## @CXD2880_TNRDMD_DIVERMODE_SUB
	.comm	_CXD2880_TNRDMD_STATE_ACTIVE,8,3 ## @CXD2880_TNRDMD_STATE_ACTIVE
	.comm	_CXD2880_DTV_SYS_DVBT2,8,3      ## @CXD2880_DTV_SYS_DVBT2
	.comm	_CXD2880_IO_TGT_DMD,4,2         ## @CXD2880_IO_TGT_DMD
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_CXD2880_DVBT2_PLP_COMMON,4,2   ## @CXD2880_DVBT2_PLP_COMMON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cxd2880_tnrdmd_dvbt2_mon_active_plp
lCPI0_0:
	.long	7                               ; 0x7
	.long	31                              ; 0x1f
	.long	1                               ; 0x1
	.long	7                               ; 0x7
lCPI0_1:
	.long	7                               ; 0x7
	.long	7                               ; 0x7
	.long	1                               ; 0x1
	.long	3                               ; 0x3
lCPI0_2:
	.long	4294967292                      ; 0xfffffffc
	.long	4294967281                      ; 0xfffffff1
	.long	4294967294                      ; 0xfffffffe
	.long	4294967295                      ; 0xffffffff
lCPI0_3:
	.long	2047                            ; 0x7ff
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cxd2880_tnrdmd_dvbt2_mon_active_plp
	.p2align	2
_cxd2880_tnrdmd_dvbt2_mon_active_plp:   ; @cxd2880_tnrdmd_dvbt2_mon_active_plp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	wzr, [sp, #4]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_9
; %bb.2:
	mov	x22, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _CXD2880_TNRDMD_DIVERMODE_SUB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CXD2880_TNRDMD_DIVERMODE_SUB@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.3:
	ldr	x8, [x22, #8]
Lloh6:
	adrp	x9, _CXD2880_TNRDMD_STATE_ACTIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CXD2880_TNRDMD_STATE_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	ldr	x8, [x22, #16]
Lloh9:
	adrp	x9, _CXD2880_DTV_SYS_DVBT2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CXD2880_DTV_SYS_DVBT2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.5:
	mov	x20, x1
	mov	x0, x22
	bl	_slvt_freeze_reg
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.6:
	ldr	x0, [x22, #24]
	ldr	x8, [x0]
Lloh12:
	adrp	x23, _CXD2880_IO_TGT_DMD@GOTPAGE
Lloh13:
	ldr	x23, [x23, _CXD2880_IO_TGT_DMD@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #0
	mov	w3, #11
	blr	x8
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x22, #24]
	ldr	x8, [x0, #8]
	ldr	w1, [x23]
	add	x3, sp, #4
	mov	w2, #134
	mov	w4, #1
	blr	x8
	cbz	w0, LBB0_13
LBB0_8:
	mov	x21, x0
	mov	x0, x22
	bl	_slvt_unfreeze_reg
	b	LBB0_11
LBB0_9:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.12:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_18
; %bb.14:
Lloh19:
	adrp	x24, _CXD2880_DVBT2_PLP_COMMON@GOTPAGE
Lloh20:
	ldr	x24, [x24, _CXD2880_DVBT2_PLP_COMMON@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	w9, #150
	mov	w10, #169
	cmp	w8, w20
	csel	w2, w10, w9, eq
	ldr	x0, [x22, #24]
	ldr	x8, [x0, #8]
	ldr	w1, [x23]
	add	x3, sp, #8
	mov	w4, #80
	blr	x8
	mov	x21, x0
	mov	x0, x22
	bl	_slvt_unfreeze_reg
	cbnz	w21, LBB0_11
; %bb.15:
	ldr	w9, [x24]
	ldr	w8, [sp, #60]
	cmp	w9, w20
	b.ne	LBB0_17
; %bb.16:
	cbz	w8, LBB0_19
LBB0_17:
	mov	w21, #0
	ldr	w9, [sp, #8]
	str	w9, [x19]
	ldur	q0, [sp, #12]
Lloh21:
	adrp	x9, lCPI0_0@PAGE
Lloh22:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	and.16b	v0, v0, v1
Lloh23:
	adrp	x9, lCPI0_1@PAGE
Lloh24:
	ldr	q1, [x9, lCPI0_1@PAGEOFF]
	ldp	w9, w10, [sp, #52]
	ubfiz	w9, w9, #8, #2
	orr	w9, w9, w10
	stp	w9, w8, [x19, #44]
	ldr	w8, [sp, #64]
	str	w8, [x19, #52]
	ldp	w8, w9, [sp, #76]
	and	w10, w9, #0x1
	str	w10, [x19, #80]
	stur	q0, [x19, #4]
	ldur	d0, [sp, #28]
	stur	d0, [x19, #20]
	ldur	q0, [sp, #36]
	and.16b	v0, v0, v1
	stur	q0, [x19, #28]
	ldur	d0, [sp, #68]
	movi.2s	v1, #1
	and.8b	v0, v0, v1
	str	d0, [x19, #56]
	orr	w8, w9, w8, lsl #8
	fmov	s0, w8
	mov.s	v0[1], w9
	zip1.4s	v0, v0, v0
Lloh25:
	adrp	x8, lCPI0_2@PAGE
Lloh26:
	ldr	q1, [x8, lCPI0_2@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh27:
	adrp	x8, lCPI0_3@PAGE
Lloh28:
	ldr	q1, [x8, lCPI0_3@PAGEOFF]
	and.16b	v0, v0, v1
	str	q0, [x19, #64]
	b	LBB0_11
LBB0_18:
	mov	x0, x22
	bl	_slvt_unfreeze_reg
LBB0_19:
Lloh29:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_10
LBB0_20:
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdr	Lloh27, Lloh28
	.loh AdrpAdrp	Lloh25, Lloh27
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdrp	Lloh21, Lloh23
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CXD2880_TNRDMD_DIVERMODE_SUB,8,3 ; @CXD2880_TNRDMD_DIVERMODE_SUB
	.comm	_CXD2880_TNRDMD_STATE_ACTIVE,8,3 ; @CXD2880_TNRDMD_STATE_ACTIVE
	.comm	_CXD2880_DTV_SYS_DVBT2,8,3      ; @CXD2880_DTV_SYS_DVBT2
	.comm	_CXD2880_IO_TGT_DMD,4,2         ; @CXD2880_IO_TGT_DMD
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_CXD2880_DVBT2_PLP_COMMON,4,2   ; @CXD2880_DVBT2_PLP_COMMON
.subsections_via_symbols
