	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StartDiversity
_StartDiversity:                        ## @StartDiversity
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	_OM_DVBT_Diversity_Front@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_1
## %bb.10:
	movl	24(%rbx), %esi
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WriteTable                     ## TAILCALL
LBB0_1:
	movq	_OM_DVBT_Diversity_End@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.2:
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_WriteTable
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	cmpl	$8000000, 16(%rbx)              ## imm = 0x7A1200
	jne	LBB0_5
## %bb.4:
	movl	12(%rbx), %esi
	jmp	LBB0_6
LBB0_5:
	movl	8(%rbx), %esi
LBB0_6:
	movq	%rbx, %rdi
	callq	_WriteTable
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	_B_EQ_REG_RC_SEL_CAR__A@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Read16
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	_B_EQ_REG_RC_SEL_CAR_FFTMODE__M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-20(%rbp), %edx
	movq	_B_EQ_REG_RC_SEL_CAR_DIV_ON@GOTPCREL(%rip), %rax
	movq	_B_EQ_REG_RC_SEL_CAR_MEAS_A_CC@GOTPCREL(%rip), %rcx
	movq	_B_EQ_REG_RC_SEL_CAR_PASS_A_CC@GOTPCREL(%rip), %rsi
	movq	_B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC@GOTPCREL(%rip), %rdi
	orl	(%rax), %edx
	orl	(%rcx), %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	movl	%edx, -20(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OM_DVBT_Diversity_Front,8,3    ## @OM_DVBT_Diversity_Front
	.comm	_OM_DVBT_Diversity_End,8,3      ## @OM_DVBT_Diversity_End
	.comm	_B_EQ_REG_RC_SEL_CAR__A,4,2     ## @B_EQ_REG_RC_SEL_CAR__A
	.comm	_B_EQ_REG_RC_SEL_CAR_FFTMODE__M,4,2 ## @B_EQ_REG_RC_SEL_CAR_FFTMODE__M
	.comm	_B_EQ_REG_RC_SEL_CAR_DIV_ON,4,2 ## @B_EQ_REG_RC_SEL_CAR_DIV_ON
	.comm	_B_EQ_REG_RC_SEL_CAR_MEAS_A_CC,4,2 ## @B_EQ_REG_RC_SEL_CAR_MEAS_A_CC
	.comm	_B_EQ_REG_RC_SEL_CAR_PASS_A_CC,4,2 ## @B_EQ_REG_RC_SEL_CAR_PASS_A_CC
	.comm	_B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC,4,2 ## @B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC
	.no_dead_strip	_StartDiversity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StartDiversity
_StartDiversity:                        ; @StartDiversity
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OM_DVBT_Diversity_Front@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OM_DVBT_Diversity_Front@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x19, #24]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_WriteTable
LBB0_2:
Lloh3:
	adrp	x9, _OM_DVBT_Diversity_End@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OM_DVBT_Diversity_End@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	w1, [x19, #20]
	mov	x0, x19
	bl	_WriteTable
	tbnz	w0, #31, LBB0_11
; %bb.4:
	ldr	w8, [x19, #16]
	sub	w8, w8, #1953, lsl #12          ; =7999488
	cmp	w8, #512
	b.ne	LBB0_7
; %bb.5:
	ldr	w1, [x19, #12]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_11
LBB0_7:
	ldr	w1, [x19, #8]
LBB0_8:
	mov	x0, x19
	bl	_WriteTable
	tbnz	w0, #31, LBB0_11
; %bb.9:
Lloh6:
	adrp	x20, _B_EQ_REG_RC_SEL_CAR__A@GOTPAGE
Lloh7:
	ldr	x20, [x20, _B_EQ_REG_RC_SEL_CAR__A@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #0
	bl	_Read16
	tbnz	w0, #31, LBB0_11
; %bb.10:
Lloh8:
	adrp	x8, _B_EQ_REG_RC_SEL_CAR_FFTMODE__M@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B_EQ_REG_RC_SEL_CAR_FFTMODE__M@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh11:
	adrp	x9, _B_EQ_REG_RC_SEL_CAR_DIV_ON@GOTPAGE
Lloh12:
	ldr	x9, [x9, _B_EQ_REG_RC_SEL_CAR_DIV_ON@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _B_EQ_REG_RC_SEL_CAR_MEAS_A_CC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _B_EQ_REG_RC_SEL_CAR_MEAS_A_CC@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _B_EQ_REG_RC_SEL_CAR_PASS_A_CC@GOTPAGE
Lloh18:
	ldr	x11, [x11, _B_EQ_REG_RC_SEL_CAR_PASS_A_CC@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
Lloh20:
	adrp	x12, _B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC@GOTPAGE
Lloh21:
	ldr	x12, [x12, _B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC@GOTPAGEOFF]
Lloh22:
	ldr	w12, [x12]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w2, w8, w12
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OM_DVBT_Diversity_Front,8,3    ; @OM_DVBT_Diversity_Front
	.comm	_OM_DVBT_Diversity_End,8,3      ; @OM_DVBT_Diversity_End
	.comm	_B_EQ_REG_RC_SEL_CAR__A,4,2     ; @B_EQ_REG_RC_SEL_CAR__A
	.comm	_B_EQ_REG_RC_SEL_CAR_FFTMODE__M,4,2 ; @B_EQ_REG_RC_SEL_CAR_FFTMODE__M
	.comm	_B_EQ_REG_RC_SEL_CAR_DIV_ON,4,2 ; @B_EQ_REG_RC_SEL_CAR_DIV_ON
	.comm	_B_EQ_REG_RC_SEL_CAR_MEAS_A_CC,4,2 ; @B_EQ_REG_RC_SEL_CAR_MEAS_A_CC
	.comm	_B_EQ_REG_RC_SEL_CAR_PASS_A_CC,4,2 ; @B_EQ_REG_RC_SEL_CAR_PASS_A_CC
	.comm	_B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC,4,2 ; @B_EQ_REG_RC_SEL_CAR_LOCAL_A_CC
	.no_dead_strip	_StartDiversity
.subsections_via_symbols
