	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88rs2000_get_fec
_m88rs2000_get_fec:                     ## @m88rs2000_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$154, %esi
	movl	$48, %edx
	callq	_m88rs2000_writereg
	movq	%r14, %rdi
	movl	$118, %esi
	callq	_m88rs2000_readreg
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$154, %esi
	movl	$176, %edx
	callq	_m88rs2000_writereg
	shrl	$5, %ebx
	andl	$7, %ebx
	cmpl	$4, %ebx
	ja	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	leaq	l_switch.table.m88rs2000_get_fec(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FEC_AUTO@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	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_5_6,4,2                    ## @FEC_5_6
	.comm	_FEC_7_8,4,2                    ## @FEC_7_8
	.comm	_FEC_AUTO,4,2                   ## @FEC_AUTO
	.no_dead_strip	_m88rs2000_get_fec
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.m88rs2000_get_fec
l_switch.table.m88rs2000_get_fec:
	.quad	_FEC_7_8
	.quad	_FEC_5_6
	.quad	_FEC_3_4
	.quad	_FEC_2_3
	.quad	_FEC_1_2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88rs2000_get_fec
_m88rs2000_get_fec:                     ; @m88rs2000_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, x0
	mov	w1, #154
	mov	w2, #48
	bl	_m88rs2000_writereg
	mov	x0, x19
	mov	w1, #118
	bl	_m88rs2000_readreg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #154
	mov	w2, #176
	bl	_m88rs2000_writereg
	ubfx	w8, w20, #5, #3
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.m88rs2000_get_fec@PAGE
Lloh1:
	add	x9, x9, l_switch.table.m88rs2000_get_fec@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _FEC_AUTO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FEC_AUTO@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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_5_6,4,2                    ; @FEC_5_6
	.comm	_FEC_7_8,4,2                    ; @FEC_7_8
	.comm	_FEC_AUTO,4,2                   ; @FEC_AUTO
	.no_dead_strip	_m88rs2000_get_fec
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.m88rs2000_get_fec
l_switch.table.m88rs2000_get_fec:
	.quad	_FEC_7_8
	.quad	_FEC_5_6
	.quad	_FEC_3_4
	.quad	_FEC_2_3
	.quad	_FEC_1_2

.subsections_via_symbols
