	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8211e_config_init
_rtl8211e_config_init:                  ## @rtl8211e_config_init
	.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	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_RTL8211E_TX_DELAY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_RTL8211E_RX_DELAY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_2:
	movq	_RTL8211E_TX_DELAY@GOTPCREL(%rip), %rax
	movq	_RTL8211E_RX_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
LBB0_6:
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_phy_select_page
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	_RTL821x_EXT_PAGE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$164, %edx
	callq	___phy_write
	movl	%eax, %edx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_RTL8211E_TX_DELAY@GOTPCREL(%rip), %rax
	movq	_RTL8211E_RX_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$28, %esi
	movl	%r14d, %ecx
	callq	___phy_modify
	movl	%eax, %edx
	jmp	LBB0_10
LBB0_7:
	xorl	%edx, %edx
LBB0_10:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_restore_page               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_RTL8211E_TX_DELAY,4,2          ## @RTL8211E_TX_DELAY
	.comm	_RTL8211E_RX_DELAY,4,2          ## @RTL8211E_RX_DELAY
	.comm	_RTL821x_EXT_PAGE_SELECT,4,2    ## @RTL821x_EXT_PAGE_SELECT
	.no_dead_strip	_rtl8211e_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8211e_config_init
_rtl8211e_config_init:                  ; @rtl8211e_config_init
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _RTL8211E_TX_DELAY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTL8211E_TX_DELAY@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	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
LBB0_4:
Lloh4:
	adrp	x8, _RTL8211E_RX_DELAY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RTL8211E_RX_DELAY@GOTPAGEOFF]
LBB0_5:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _RTL8211E_TX_DELAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTL8211E_TX_DELAY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _RTL8211E_RX_DELAY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTL8211E_RX_DELAY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w20, w9, w8
LBB0_7:
	mov	x0, x19
	mov	w1, #7
	bl	_phy_select_page
	mov	x21, x0
	tbnz	w0, #31, LBB0_10
; %bb.8:
Lloh12:
	adrp	x8, _RTL821x_EXT_PAGE_SELECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTL821x_EXT_PAGE_SELECT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #164
	bl	___phy_write
	mov	x2, x0
	cbnz	w0, LBB0_11
; %bb.9:
Lloh15:
	adrp	x8, _RTL8211E_TX_DELAY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTL8211E_TX_DELAY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _RTL8211E_RX_DELAY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RTL8211E_RX_DELAY@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w1, #28
	mov	x3, x20
	bl	___phy_modify
	mov	x2, x0
	b	LBB0_11
LBB0_10:
	mov	w2, #0
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	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
	b	_phy_restore_page
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_RTL8211E_TX_DELAY,4,2          ; @RTL8211E_TX_DELAY
	.comm	_RTL8211E_RX_DELAY,4,2          ; @RTL8211E_RX_DELAY
	.comm	_RTL821x_EXT_PAGE_SELECT,4,2    ; @RTL821x_EXT_PAGE_SELECT
	.no_dead_strip	_rtl8211e_config_init
.subsections_via_symbols
