	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitCE
_InitCE:                                ## @InitCE
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	32(%rdi), %esi
	callq	_WriteTable
	testl	%eax, %eax
	js	LBB0_14
## %bb.1:
	movq	8(%rbx), %rax
	movq	_OM_DVBT_Diversity_Front@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_OM_DVBT_Diversity_End@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movl	16(%rbx), %r14d
LBB0_4:
	movq	_APPENV_STATIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_6
## %bb.5:
	movq	_CE_REG_TAPSET__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_6:
	movq	_APPENV_PORTABLE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_8
## %bb.7:
	movq	_CE_REG_TAPSET__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	jmp	LBB0_11
LBB0_8:
	movq	_APPENV_MOBILE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_12
## %bb.9:
	cmpq	$0, 24(%rbx)
	movq	_CE_REG_TAPSET__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	je	LBB0_13
## %bb.10:
	movl	$2, %edx
	jmp	LBB0_11
LBB0_13:
	movl	$6, %edx
LBB0_11:
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_14
LBB0_12:
	movq	_B_CE_REG_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Write16                        ## TAILCALL
LBB0_14:
	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	_APPENV_STATIC,4,2              ## @APPENV_STATIC
	.comm	_CE_REG_TAPSET__A,4,2           ## @CE_REG_TAPSET__A
	.comm	_APPENV_PORTABLE,4,2            ## @APPENV_PORTABLE
	.comm	_APPENV_MOBILE,4,2              ## @APPENV_MOBILE
	.comm	_B_CE_REG_COMM_EXEC__A,4,2      ## @B_CE_REG_COMM_EXEC__A
	.no_dead_strip	_InitCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitCE
_InitCE:                                ; @InitCE
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	w20, [x0]
	ldr	w1, [x0, #32]
	bl	_WriteTable
	tbnz	w0, #31, LBB0_13
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _OM_DVBT_Diversity_Front@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OM_DVBT_Diversity_Front@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _OM_DVBT_Diversity_End@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OM_DVBT_Diversity_End@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	w20, [x19, #16]
LBB0_3:
Lloh6:
	adrp	x8, _APPENV_STATIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APPENV_STATIC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _CE_REG_TAPSET__A@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CE_REG_TAPSET__A@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	b	LBB0_11
LBB0_5:
Lloh12:
	adrp	x8, _APPENV_PORTABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _APPENV_PORTABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _CE_REG_TAPSET__A@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CE_REG_TAPSET__A@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	b	LBB0_11
LBB0_7:
Lloh18:
	adrp	x8, _APPENV_MOBILE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _APPENV_MOBILE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_12
; %bb.8:
	ldr	x8, [x19, #24]
Lloh21:
	adrp	x9, _CE_REG_TAPSET__A@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CE_REG_TAPSET__A@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x9]
	mov	x0, x19
	cbz	x8, LBB0_10
; %bb.9:
	mov	w2, #2
	b	LBB0_11
LBB0_10:
	mov	w2, #6
LBB0_11:
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_13
LBB0_12:
Lloh24:
	adrp	x8, _B_CE_REG_COMM_EXEC__A@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B_CE_REG_COMM_EXEC__A@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Write16
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	_APPENV_STATIC,4,2              ; @APPENV_STATIC
	.comm	_CE_REG_TAPSET__A,4,2           ; @CE_REG_TAPSET__A
	.comm	_APPENV_PORTABLE,4,2            ; @APPENV_PORTABLE
	.comm	_APPENV_MOBILE,4,2              ; @APPENV_MOBILE
	.comm	_B_CE_REG_COMM_EXEC__A,4,2      ; @B_CE_REG_COMM_EXEC__A
	.no_dead_strip	_InitCE
.subsections_via_symbols
