	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mb86a20s_get_fec
_mb86a20s_get_fec:                      ## @mb86a20s_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	_mb86a20s_get_fec.reg(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jbe	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	movzbl	(%rax,%r15), %edx
	movq	%r14, %rdi
	movl	$109, %esi
	callq	_mb86a20s_writereg
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_13
## %bb.3:
	movq	%r14, %rdi
	movl	$110, %esi
	callq	_mb86a20s_readreg
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_13
## %bb.4:
	shrl	$4, %eax
	andl	$7, %eax
	cmpl	$4, %eax
	ja	LBB0_11
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_11:
	movq	_FEC_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_8:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__DATA,__data
_mb86a20s_get_fec.reg:                  ## @mb86a20s_get_fec.reg
	.ascii	"\207\213\217"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.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	_mb86a20s_get_fec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mb86a20s_get_fec
_mb86a20s_get_fec:                      ; @mb86a20s_get_fec
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _mb86a20s_get_fec.reg@PAGE
Lloh1:
	add	x21, x21, _mb86a20s_get_fec.reg@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	w0, w20
	b.ls	LBB0_6
; %bb.1:
	ldrb	w2, [x21, w20, uxtw]
	mov	x0, x19
	mov	w1, #109
	bl	_mb86a20s_writereg
	tbnz	w0, #31, LBB0_13
; %bb.2:
	mov	x0, x19
	mov	w1, #110
	bl	_mb86a20s_readreg
	tbnz	w0, #31, LBB0_13
; %bb.3:
	ubfx	w8, w0, #4, #3
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.4:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh4:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _FEC_AUTO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FEC_AUTO@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh11:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh13:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x8, _FEC_5_6@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh17:
	adrp	x8, _FEC_7_8@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FEC_7_8@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
LBB0_13:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.section	__DATA,__data
_mb86a20s_get_fec.reg:                  ; @mb86a20s_get_fec.reg
	.ascii	"\207\213\217"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.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	_mb86a20s_get_fec
.subsections_via_symbols
