	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_tnrdmd_dvbt2_diver_fef_setting ## -- Begin function cxd2880_tnrdmd_dvbt2_diver_fef_setting
	.p2align	4, 0x90
_cxd2880_tnrdmd_dvbt2_diver_fef_setting: ## @cxd2880_tnrdmd_dvbt2_diver_fef_setting
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	_CXD2880_TNRDMD_DIVERMODE_SUB@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_1
## %bb.3:
	movq	8(%rbx), %rax
	movq	_CXD2880_TNRDMD_STATE_ACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_1
## %bb.4:
	movq	_CXD2880_TNRDMD_DIVERMODE_SINGLE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.5:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cxd2880_tnrdmd_dvbt2_mon_ofdm
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	cmpl	$0, -24(%rbp)
	movl	$0, %eax
	je	LBB0_9
## %bb.7:
	movq	16(%rbx), %rdi
	movq	_CXD2880_IO_TGT_DMD@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%edx, %edx
	movl	$29, %ecx
	callq	*(%rdi)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	16(%rbx), %rdi
	movl	(%r14), %esi
	leaq	_cxd2880_tnrdmd_dvbt2_diver_fef_setting.data(%rip), %rcx
	movl	$71, %edx
	movl	$12, %r8d
	callq	*8(%rdi)
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @cxd2880_tnrdmd_dvbt2_diver_fef_setting.data
_cxd2880_tnrdmd_dvbt2_diver_fef_setting.data:
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	32                              ## 0x20
	.long	0                               ## 0x0
	.long	64                              ## 0x40
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	1                               ## 0x1
	.long	0                               ## 0x0

	.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_TNRDMD_DIVERMODE_SINGLE,8,3 ## @CXD2880_TNRDMD_DIVERMODE_SINGLE
	.comm	_CXD2880_IO_TGT_DMD,4,2         ## @CXD2880_IO_TGT_DMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_tnrdmd_dvbt2_diver_fef_setting ; -- Begin function cxd2880_tnrdmd_dvbt2_diver_fef_setting
	.p2align	2
_cxd2880_tnrdmd_dvbt2_diver_fef_setting: ; @cxd2880_tnrdmd_dvbt2_diver_fef_setting
	.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
	cbz	x0, LBB0_5
; %bb.1:
	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_5
; %bb.2:
	ldr	x9, [x19, #8]
Lloh3:
	adrp	x10, _CXD2880_TNRDMD_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CXD2880_TNRDMD_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
Lloh6:
	adrp	x9, _CXD2880_TNRDMD_DIVERMODE_SINGLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CXD2880_TNRDMD_DIVERMODE_SINGLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	add	x1, sp, #8
	mov	x0, x19
	bl	_cxd2880_tnrdmd_dvbt2_mon_ofdm
	cbnz	w0, LBB0_6
; %bb.8:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_4
; %bb.9:
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
Lloh12:
	adrp	x20, _CXD2880_IO_TGT_DMD@GOTPAGE
Lloh13:
	ldr	x20, [x20, _CXD2880_IO_TGT_DMD@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #0
	mov	w3, #29
	blr	x8
	cbnz	w0, LBB0_6
; %bb.10:
	ldr	x0, [x19, #16]
	ldr	x8, [x0, #8]
	ldr	w1, [x20]
Lloh14:
	adrp	x3, _cxd2880_tnrdmd_dvbt2_diver_fef_setting.data@PAGE
Lloh15:
	add	x3, x3, _cxd2880_tnrdmd_dvbt2_diver_fef_setting.data@PAGEOFF
	mov	w2, #71
	mov	w4, #12
	blr	x8
	b	LBB0_6
	.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 AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @cxd2880_tnrdmd_dvbt2_diver_fef_setting.data
_cxd2880_tnrdmd_dvbt2_diver_fef_setting.data:
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.long	32                              ; 0x20
	.long	0                               ; 0x0
	.long	64                              ; 0x40
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	1                               ; 0x1
	.long	0                               ; 0x0

	.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_TNRDMD_DIVERMODE_SINGLE,8,3 ; @CXD2880_TNRDMD_DIVERMODE_SINGLE
	.comm	_CXD2880_IO_TGT_DMD,4,2         ; @CXD2880_IO_TGT_DMD
.subsections_via_symbols
