	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_es2lan_mac_loopback
_e1000_set_es2lan_mac_loopback:         ## @e1000_set_es2lan_mac_loopback
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CTRL_EXT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_er32
	movl	%eax, %ebx
	movq	_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_er32
	movl	%eax, %r15d
	movl	%ebx, (%r14)
	movq	_E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%ebx, %esi
	movl	(%r13), %edi
	callq	_ew32
	movq	_E1000_CTRL_SPD_1000@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_E1000_CTRL_SPD_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%esi, %eax
	notl	%eax
	andl	%r15d, %eax
	movq	_E1000_CTRL_SLU@GOTPCREL(%rip), %rcx
	movq	_E1000_CTRL_FRCSPD@GOTPCREL(%rip), %rdx
	orl	(%rcx), %esi
	orl	(%rdx), %esi
	movq	_E1000_CTRL_FRCDPX@GOTPCREL(%rip), %rcx
	orl	%eax, %esi
	orl	(%rcx), %esi
	movq	_E1000_CTRL_FD@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r12), %edi
	callq	_ew32
	movq	_RCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_RCTL_LBM_MAC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movq	_KMRNCTRLSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2033026, %esi                  ## imm = 0x1F0582
	callq	_ew32
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_CTRL,4,2                       ## @CTRL
	.comm	_E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES,4,2 ## @E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES
	.comm	_E1000_CTRL_SPD_1000,4,2        ## @E1000_CTRL_SPD_1000
	.comm	_E1000_CTRL_SPD_100,4,2         ## @E1000_CTRL_SPD_100
	.comm	_E1000_CTRL_SLU,4,2             ## @E1000_CTRL_SLU
	.comm	_E1000_CTRL_FRCSPD,4,2          ## @E1000_CTRL_FRCSPD
	.comm	_E1000_CTRL_FRCDPX,4,2          ## @E1000_CTRL_FRCDPX
	.comm	_E1000_CTRL_FD,4,2              ## @E1000_CTRL_FD
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_LBM_MAC,4,2         ## @E1000_RCTL_LBM_MAC
	.comm	_KMRNCTRLSTA,4,2                ## @KMRNCTRLSTA
	.comm	_KMRNCTRLSTA_OPMODE,4,2         ## @KMRNCTRLSTA_OPMODE
	.comm	_KMRNCTRLSTA_OPMODE_1GB_FD_GMII,4,2 ## @KMRNCTRLSTA_OPMODE_1GB_FD_GMII
	.no_dead_strip	_e1000_set_es2lan_mac_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_es2lan_mac_loopback
_e1000_set_es2lan_mac_loopback:         ; @e1000_set_es2lan_mac_loopback
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _CTRL_EXT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_er32
	mov	x20, x0
Lloh2:
	adrp	x23, _CTRL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CTRL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_er32
	mov	x21, x0
	str	w20, [x19]
Lloh4:
	adrp	x8, _E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w1, w20, w8
	ldr	w0, [x22]
	bl	_ew32
Lloh7:
	adrp	x8, _E1000_CTRL_SPD_1000@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E1000_CTRL_SPD_1000@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _E1000_CTRL_SPD_100@GOTPAGE
Lloh11:
	ldr	x9, [x9, _E1000_CTRL_SPD_100@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w9, w9, w8
	bic	w9, w21, w9
Lloh13:
	adrp	x10, _E1000_CTRL_SLU@GOTPAGE
Lloh14:
	ldr	x10, [x10, _E1000_CTRL_SLU@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	adrp	x11, _E1000_CTRL_FRCSPD@GOTPAGE
Lloh17:
	ldr	x11, [x11, _E1000_CTRL_FRCSPD@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
Lloh19:
	adrp	x12, _E1000_CTRL_FRCDPX@GOTPAGE
Lloh20:
	ldr	x12, [x12, _E1000_CTRL_FRCDPX@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
Lloh22:
	adrp	x13, _E1000_CTRL_FD@GOTPAGE
Lloh23:
	ldr	x13, [x13, _E1000_CTRL_FD@GOTPAGEOFF]
Lloh24:
	ldr	w13, [x13]
	orr	w8, w10, w8
	orr	w8, w8, w11
	orr	w8, w8, w9
	orr	w8, w8, w12
	orr	w1, w8, w13
	ldr	w0, [x23]
	bl	_ew32
Lloh25:
	adrp	x19, _RCTL@GOTPAGE
Lloh26:
	ldr	x19, [x19, _RCTL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
Lloh27:
	adrp	x8, _E1000_RCTL_LBM_MAC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _E1000_RCTL_LBM_MAC@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x19]
	bl	_ew32
Lloh30:
	adrp	x8, _KMRNCTRLSTA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _KMRNCTRLSTA@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	w1, #1410
	movk	w1, #31, lsl #16
	bl	_ew32
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_CTRL,4,2                       ; @CTRL
	.comm	_E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES,4,2 ; @E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES
	.comm	_E1000_CTRL_SPD_1000,4,2        ; @E1000_CTRL_SPD_1000
	.comm	_E1000_CTRL_SPD_100,4,2         ; @E1000_CTRL_SPD_100
	.comm	_E1000_CTRL_SLU,4,2             ; @E1000_CTRL_SLU
	.comm	_E1000_CTRL_FRCSPD,4,2          ; @E1000_CTRL_FRCSPD
	.comm	_E1000_CTRL_FRCDPX,4,2          ; @E1000_CTRL_FRCDPX
	.comm	_E1000_CTRL_FD,4,2              ; @E1000_CTRL_FD
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_LBM_MAC,4,2         ; @E1000_RCTL_LBM_MAC
	.comm	_KMRNCTRLSTA,4,2                ; @KMRNCTRLSTA
	.comm	_KMRNCTRLSTA_OPMODE,4,2         ; @KMRNCTRLSTA_OPMODE
	.comm	_KMRNCTRLSTA_OPMODE_1GB_FD_GMII,4,2 ; @KMRNCTRLSTA_OPMODE_1GB_FD_GMII
	.no_dead_strip	_e1000_set_es2lan_mac_loopback
.subsections_via_symbols
