	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24110_get_frontend
_cx24110_get_frontend:                  ## @cx24110_get_frontend
	.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
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movq	%r15, %rdi
	movl	$7, %esi
	callq	_cx24110_readreg
	andl	$3, %eax
	movl	$355464, %r13d                  ## imm = 0x56C88
	cmpl	$3, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %eax
	leaq	l_switch.table.cx24110_get_frontend(%rip), %rcx
	movl	(%rcx,%rax,4), %r13d
LBB0_2:
	movq	%r15, %rdi
	movl	$68, %esi
	callq	_cx24110_readreg
	movl	%eax, %r12d
	andl	$31, %r12d
	imull	%r13d, %r12d
	movq	%r15, %rdi
	movl	$69, %esi
	callq	_cx24110_readreg
	movl	%eax, %ebx
	imull	%r13d, %ebx
	shrl	$8, %ebx
	addl	%r12d, %ebx
	movq	%r15, %rdi
	movl	$70, %esi
	callq	_cx24110_readreg
	imull	%r13d, %eax
	shrl	$16, %eax
	addl	(%r14), %ebx
	addl	%eax, %ebx
	movl	%ebx, (%r14)
	movq	%r15, %rdi
	movl	$34, %esi
	callq	_cx24110_readreg
	testb	$16, %al
	jne	LBB0_3
## %bb.4:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_INVERSION_ON@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%r15, %rdi
	callq	_cx24110_get_fec
	movl	%eax, 4(%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVERSION_ON,4,2               ## @INVERSION_ON
	.comm	_INVERSION_OFF,4,2              ## @INVERSION_OFF
	.no_dead_strip	_cx24110_get_frontend
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cx24110_get_frontend
l_switch.table.cx24110_get_frontend:
	.long	177732                          ## 0x2b644
	.long	236976                          ## 0x39db0
	.long	315968                          ## 0x4d240

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx24110_get_frontend
_cx24110_get_frontend:                  ; @cx24110_get_frontend
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #7
	bl	_cx24110_readreg
	and	w8, w0, #0x3
	cmp	w8, #3
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #27784
	movk	w21, #5, lsl #16
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x9, l_switch.table.cx24110_get_frontend@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cx24110_get_frontend@PAGEOFF
	ldr	w21, [x9, w8, uxtw #2]
LBB0_3:
	mov	x0, x20
	mov	w1, #68
	bl	_cx24110_readreg
	and	w8, w0, #0x1f
	mul	w22, w8, w21
	mov	x0, x20
	mov	w1, #69
	bl	_cx24110_readreg
	mul	w8, w0, w21
	add	w22, w22, w8, lsr #8
	mov	x0, x20
	mov	w1, #70
	bl	_cx24110_readreg
	mul	w8, w0, w21
	ldr	w9, [x19]
	add	w9, w22, w9
	add	w8, w9, w8, lsr #16
	str	w8, [x19]
	mov	x0, x20
	mov	w1, #34
	bl	_cx24110_readreg
Lloh2:
	adrp	x8, _INVERSION_ON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INVERSION_ON@GOTPAGEOFF]
Lloh4:
	adrp	x9, _INVERSION_OFF@GOTPAGE
Lloh5:
	ldr	x9, [x9, _INVERSION_OFF@GOTPAGEOFF]
	tst	w0, #0x10
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_cx24110_get_fec
	str	w0, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_INVERSION_ON,4,2               ; @INVERSION_ON
	.comm	_INVERSION_OFF,4,2              ; @INVERSION_OFF
	.no_dead_strip	_cx24110_get_frontend
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cx24110_get_frontend
l_switch.table.cx24110_get_frontend:
	.long	177732                          ; 0x2b644
	.long	236976                          ; 0x39db0
	.long	315968                          ; 0x4d240

.subsections_via_symbols
