	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88rs2000_set_fec
_m88rs2000_set_fec:                     ## @m88rs2000_set_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
	addl	$-129, %esi
	xorl	%ebx, %ebx
	cmpl	$4, %esi
	ja	LBB0_2
## %bb.1:
	movslq	%esi, %rax
	leaq	l_switch.table.m88rs2000_set_fec(%rip), %rcx
	movl	(%rcx,%rax,4), %ebx
LBB0_2:
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_m88rs2000_readreg
	andl	$7, %eax
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	$112, %esi
	movl	%ebx, %edx
	callq	_m88rs2000_writereg
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$118, %esi
	movl	$8, %edx
	callq	_m88rs2000_writereg
	orl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_m88rs2000_set_fec
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.m88rs2000_set_fec
l_switch.table.m88rs2000_set_fec:
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	16                              ## 0x10
	.long	8                               ## 0x8

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88rs2000_set_fec
_m88rs2000_set_fec:                     ; @m88rs2000_set_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
	sub	w8, w1, #129
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.m88rs2000_set_fec@PAGE
Lloh1:
	add	x9, x9, l_switch.table.m88rs2000_set_fec@PAGEOFF
	ldr	w20, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x19
	mov	w1, #112
	bl	_m88rs2000_readreg
	and	w8, w0, #0x7
	orr	w2, w8, w20
	mov	x0, x19
	mov	w1, #112
	bl	_m88rs2000_writereg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #118
	mov	w2, #8
	bl	_m88rs2000_writereg
	orr	w0, w0, w20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_m88rs2000_set_fec
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.m88rs2000_set_fec
l_switch.table.m88rs2000_set_fec:
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	32                              ; 0x20
	.long	16                              ; 0x10
	.long	8                               ; 0x8

.subsections_via_symbols
