	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24123_get_fec
_cx24123_get_fec:                       ## @cx24123_get_fec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	$27, %esi
	callq	_cx24123_readreg
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	andl	$7, %eax
	decl	%eax
	cmpl	$6, %eax
	ja	LBB0_2
## %bb.3:
	cltq
	leaq	l_switch.table.cx24123_get_fec(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FEC_1_2,4,2                    ## @FEC_1_2
	.comm	_FEC_2_3,4,2                    ## @FEC_2_3
	.comm	_FEC_3_4,4,2                    ## @FEC_3_4
	.comm	_FEC_4_5,4,2                    ## @FEC_4_5
	.comm	_FEC_5_6,4,2                    ## @FEC_5_6
	.comm	_FEC_6_7,4,2                    ## @FEC_6_7
	.comm	_FEC_7_8,4,2                    ## @FEC_7_8
	.comm	_FEC_NONE,4,2                   ## @FEC_NONE
	.no_dead_strip	_cx24123_get_fec
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cx24123_get_fec
l_switch.table.cx24123_get_fec:
	.quad	_FEC_1_2
	.quad	_FEC_2_3
	.quad	_FEC_3_4
	.quad	_FEC_4_5
	.quad	_FEC_5_6
	.quad	_FEC_6_7
	.quad	_FEC_7_8

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx24123_get_fec
_cx24123_get_fec:                       ; @cx24123_get_fec
	.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, x1
	mov	w1, #27
	bl	_cx24123_readreg
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
	and	x8, x0, #0x7
	sub	x8, x8, #1
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, l_switch.table.cx24123_get_fec@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cx24123_get_fec@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
LBB0_4:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FEC_1_2,4,2                    ; @FEC_1_2
	.comm	_FEC_2_3,4,2                    ; @FEC_2_3
	.comm	_FEC_3_4,4,2                    ; @FEC_3_4
	.comm	_FEC_4_5,4,2                    ; @FEC_4_5
	.comm	_FEC_5_6,4,2                    ; @FEC_5_6
	.comm	_FEC_6_7,4,2                    ; @FEC_6_7
	.comm	_FEC_7_8,4,2                    ; @FEC_7_8
	.comm	_FEC_NONE,4,2                   ; @FEC_NONE
	.no_dead_strip	_cx24123_get_fec
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cx24123_get_fec
l_switch.table.cx24123_get_fec:
	.quad	_FEC_1_2
	.quad	_FEC_2_3
	.quad	_FEC_3_4
	.quad	_FEC_4_5
	.quad	_FEC_5_6
	.quad	_FEC_6_7
	.quad	_FEC_7_8

.subsections_via_symbols
