	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_tnrdmd_dvbt2_mon_data_plps ## -- Begin function cxd2880_tnrdmd_dvbt2_mon_data_plps
	.p2align	4, 0x90
_cxd2880_tnrdmd_dvbt2_mon_data_plps:    ## @cxd2880_tnrdmd_dvbt2_mon_data_plps
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -44(%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:
	movq	%rsi, %r14
	movq	24(%r12), %rdi
	movq	_CXD2880_IO_TGT_DMD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%edx, %edx
	movl	$11, %ecx
	callq	*(%rdi)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.8:
	movq	%r12, %rdi
	callq	_slvt_freeze_reg
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.9:
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	leaq	-44(%rbp), %rcx
	movl	$134, %edx
	movl	$1, %r8d
	callq	*8(%rdi)
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
	jmp	LBB0_22
LBB0_11:
	testb	$1, -44(%rbp)
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_13:
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	movl	$193, %edx
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	*8(%rdi)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.14:
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	testq	%r14, %r14
	je	LBB0_21
## %bb.17:
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	cmpl	$62, %eax
	movl	$62, %r8d
	cmovll	%eax, %r8d
	movl	$194, %edx
	movq	%r14, %rcx
	callq	*8(%rdi)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.18:
	cmpl	$63, (%r15)
	jl	LBB0_21
## %bb.19:
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	xorl	%edx, %edx
	movl	$12, %ecx
	callq	*(%rdi)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.20:
	movq	24(%r12), %rdi
	movl	(%r13), %esi
	addq	$248, %r14
	movl	(%r15), %r8d
	addl	$-62, %r8d
	movl	$16, %edx
	movq	%r14, %rcx
	callq	*8(%rdi)
	testl	%eax, %eax
	jne	LBB0_10
LBB0_21:
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_15:
	movq	%r12, %rdi
	callq	_slvt_unfreeze_reg
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_tnrdmd_dvbt2_mon_data_plps ; -- Begin function cxd2880_tnrdmd_dvbt2_mon_data_plps
	.p2align	2
_cxd2880_tnrdmd_dvbt2_mon_data_plps:    ; @cxd2880_tnrdmd_dvbt2_mon_data_plps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	wzr, [sp, #12]
	cbz	x0, LBB0_20
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_20
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CXD2880_TNRDMD_DIVERMODE_SUB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CXD2880_TNRDMD_DIVERMODE_SUB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.3:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _CXD2880_TNRDMD_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CXD2880_TNRDMD_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.4:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _CXD2880_DTV_SYS_DVBT2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CXD2880_DTV_SYS_DVBT2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.5:
	mov	x21, x1
	ldr	x0, [x19, #24]
	ldr	x8, [x0]
Lloh9:
	adrp	x23, _CXD2880_IO_TGT_DMD@GOTPAGE
Lloh10:
	ldr	x23, [x23, _CXD2880_IO_TGT_DMD@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #0
	mov	w3, #11
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_22
; %bb.6:
	mov	x0, x19
	bl	_slvt_freeze_reg
	mov	x22, x0
	cbnz	w0, LBB0_22
; %bb.7:
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	ldr	w1, [x23]
	add	x3, sp, #12
	mov	w2, #134
	mov	w4, #1
	blr	x8
	cbz	w0, LBB0_9
LBB0_8:
	mov	x22, x0
	mov	x0, x19
	bl	_slvt_unfreeze_reg
	b	LBB0_22
LBB0_9:
	ldrb	w8, [sp, #12]
	tbnz	w8, #0, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_slvt_unfreeze_reg
Lloh11:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_21
LBB0_11:
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	ldr	w1, [x23]
	mov	w2, #193
	mov	x3, x20
	mov	w4, #1
	blr	x8
	cbnz	w0, LBB0_8
; %bb.12:
	ldr	w8, [x20]
	cbz	w8, LBB0_19
; %bb.13:
	cbz	x21, LBB0_18
; %bb.14:
	ldr	x0, [x19, #24]
	ldr	x9, [x0, #8]
	ldr	w1, [x23]
	mov	w10, #62
	cmp	w8, #62
	csel	w4, w8, w10, lt
	mov	w2, #194
	mov	x3, x21
	blr	x9
	cbnz	w0, LBB0_8
; %bb.15:
	ldr	w8, [x20]
	cmp	w8, #63
	b.lt	LBB0_18
; %bb.16:
	ldr	x0, [x19, #24]
	ldr	x8, [x0]
	ldr	w1, [x23]
	mov	w2, #0
	mov	w3, #12
	blr	x8
	cbnz	w0, LBB0_8
; %bb.17:
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	ldr	w1, [x23]
	add	x3, x21, #248
	ldr	w9, [x20]
	sub	w4, w9, #62
	mov	w2, #16
	blr	x8
	cbnz	w0, LBB0_8
LBB0_18:
	mov	x0, x19
	bl	_slvt_unfreeze_reg
	mov	w22, #0
	b	LBB0_22
LBB0_19:
	mov	x0, x19
	bl	_slvt_unfreeze_reg
LBB0_20:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_22:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.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
.subsections_via_symbols
