	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_init_hw_ich8lan
_e1000_init_hw_ich8lan:                 ## @e1000_init_hw_ich8lan
	.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, %r15
	callq	_e1000_initialize_hw_bits_ich8lan
	movq	%r15, %rdi
	callq	*24(%r15)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
LBB0_2:
	movl	36(%r15), %esi
	movq	%r15, %rdi
	callq	_e1000e_init_rx_addrs
	leaq	L_.str.1(%rip), %rdi
	callq	_e_dbg
	cmpl	$0, 32(%r15)
	jle	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	movq	_E1000_MTA@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_E1000_WRITE_REG_ARRAY
	incl	%ebx
	cmpl	32(%r15), %ebx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, -44(%rbp)
	movq	(%r15), %rax
	movq	_e1000_phy_82578@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_BM_PORT_GEN_CFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_e1e_rphy
	movq	_BM_WUC_HOST_WU_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movl	%edx, -44(%rbp)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_e1e_wphy
	movq	%r15, %rdi
	callq	_e1000_phy_hw_reset_ich8lan
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_12
LBB0_8:
	movq	%r15, %rdi
	callq	*16(%r15)
	movq	%rax, %r14
	xorl	%edi, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	callq	_er32
	movq	_E1000_TXDCTL_WTHRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_E1000_TXDCTL_FULL_TX_DESC_WB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_E1000_TXDCTL_PTHRESH@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	notl	%ebx
	andl	%ecx, %ebx
	movq	_E1000_TXDCTL_MAX_TX_DESC_PREFETCH@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	xorl	%edi, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movl	$1, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	callq	_er32
	movq	_E1000_TXDCTL_WTHRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_E1000_TXDCTL_FULL_TX_DESC_WB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%r12), %ebx
	notl	%ebx
	andl	%ecx, %ebx
	orl	(%r13), %ebx
	movl	$1, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movq	8(%r15), %rax
	movq	_e1000_ich8lan@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.10:
	movq	_PCIE_ICH8_SNOOP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_11
LBB0_9:
	movq	_PCIE_NO_SNOOP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
LBB0_11:
	movq	%r15, %rdi
	callq	_e1000e_set_pcie_no_snoop
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_EXT_RO_DIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movq	%r15, %rdi
	callq	_e1000_clear_hw_cntrs_ich8lan
LBB0_12:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error initializing identification LED\n"

L_.str.1:                               ## @.str.1
	.asciz	"Zeroing the MTA\n"

	.comm	_E1000_MTA,4,2                  ## @E1000_MTA
	.comm	_e1000_phy_82578,8,3            ## @e1000_phy_82578
	.comm	_BM_PORT_GEN_CFG,4,2            ## @BM_PORT_GEN_CFG
	.comm	_BM_WUC_HOST_WU_BIT,4,2         ## @BM_WUC_HOST_WU_BIT
	.comm	_E1000_TXDCTL_WTHRESH,4,2       ## @E1000_TXDCTL_WTHRESH
	.comm	_E1000_TXDCTL_FULL_TX_DESC_WB,4,2 ## @E1000_TXDCTL_FULL_TX_DESC_WB
	.comm	_E1000_TXDCTL_PTHRESH,4,2       ## @E1000_TXDCTL_PTHRESH
	.comm	_E1000_TXDCTL_MAX_TX_DESC_PREFETCH,4,2 ## @E1000_TXDCTL_MAX_TX_DESC_PREFETCH
	.comm	_e1000_ich8lan,8,3              ## @e1000_ich8lan
	.comm	_PCIE_ICH8_SNOOP_ALL,4,2        ## @PCIE_ICH8_SNOOP_ALL
	.comm	_PCIE_NO_SNOOP_ALL,8,3          ## @PCIE_NO_SNOOP_ALL
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_E1000_CTRL_EXT_RO_DIS,4,2      ## @E1000_CTRL_EXT_RO_DIS
	.no_dead_strip	_e1000_init_hw_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_init_hw_ich8lan
_e1000_init_hw_ich8lan:                 ; @e1000_init_hw_ich8lan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_e1000_initialize_hw_bits_ich8lan
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
LBB0_2:
	ldr	w1, [x19, #36]
	mov	x0, x19
	bl	_e1000e_init_rx_addrs
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dbg
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w20, #0
Lloh4:
	adrp	x21, _E1000_MTA@GOTPAGE
Lloh5:
	ldr	x21, [x21, _E1000_MTA@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_E1000_WRITE_REG_ARRAY
	add	w20, w20, #1
	ldr	w8, [x19, #32]
	cmp	w20, w8
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	str	w20, [sp, #12]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _e1000_phy_82578@GOTPAGE
Lloh7:
	ldr	x9, [x9, _e1000_phy_82578@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh9:
	adrp	x20, _BM_PORT_GEN_CFG@GOTPAGE
Lloh10:
	ldr	x20, [x20, _BM_PORT_GEN_CFG@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
Lloh11:
	adrp	x8, _BM_WUC_HOST_WU_BIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BM_WUC_HOST_WU_BIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_e1e_wphy
	mov	x0, x19
	bl	_e1000_phy_hw_reset_ich8lan
	mov	x20, x0
	cbnz	x0, LBB0_9
LBB0_8:
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	mov	w0, #0
	bl	_TXDCTL
	bl	_er32
Lloh14:
	adrp	x22, _E1000_TXDCTL_WTHRESH@GOTPAGE
Lloh15:
	ldr	x22, [x22, _E1000_TXDCTL_WTHRESH@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w8, w0, w8
Lloh16:
	adrp	x23, _E1000_TXDCTL_FULL_TX_DESC_WB@GOTPAGE
Lloh17:
	ldr	x23, [x23, _E1000_TXDCTL_FULL_TX_DESC_WB@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
Lloh18:
	adrp	x24, _E1000_TXDCTL_PTHRESH@GOTPAGE
Lloh19:
	ldr	x24, [x24, _E1000_TXDCTL_PTHRESH@GOTPAGEOFF]
	ldr	w9, [x24]
	bic	w8, w8, w9
Lloh20:
	adrp	x25, _E1000_TXDCTL_MAX_TX_DESC_PREFETCH@GOTPAGE
Lloh21:
	ldr	x25, [x25, _E1000_TXDCTL_MAX_TX_DESC_PREFETCH@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w21, w8, w9
	mov	w0, #0
	bl	_TXDCTL
	mov	x1, x21
	bl	_ew32
	mov	w0, #1
	bl	_TXDCTL
	bl	_er32
	ldr	w8, [x22]
	bic	w8, w0, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x24]
	bic	w8, w8, w9
	ldr	w9, [x25]
	orr	w21, w8, w9
	mov	w0, #1
	bl	_TXDCTL
	mov	x1, x21
	bl	_ew32
	ldr	x8, [x19, #8]
Lloh22:
	adrp	x9, _e1000_ich8lan@GOTPAGE
Lloh23:
	ldr	x9, [x9, _e1000_ich8lan@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x10, _PCIE_ICH8_SNOOP_ALL@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PCIE_ICH8_SNOOP_ALL@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _PCIE_NO_SNOOP_ALL@GOTPAGE
Lloh29:
	ldr	x11, [x11, _PCIE_NO_SNOOP_ALL@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	cmp	x8, x9
	csinv	w1, w10, w11, eq
	mov	x0, x19
	bl	_e1000e_set_pcie_no_snoop
Lloh31:
	adrp	x21, _CTRL_EXT@GOTPAGE
Lloh32:
	ldr	x21, [x21, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
Lloh33:
	adrp	x8, _E1000_CTRL_EXT_RO_DIS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _E1000_CTRL_EXT_RO_DIS@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x21]
	bl	_ew32
	mov	x0, x19
	bl	_e1000_clear_hw_cntrs_ich8lan
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error initializing identification LED\n"

l_.str.1:                               ; @.str.1
	.asciz	"Zeroing the MTA\n"

	.comm	_E1000_MTA,4,2                  ; @E1000_MTA
	.comm	_e1000_phy_82578,8,3            ; @e1000_phy_82578
	.comm	_BM_PORT_GEN_CFG,4,2            ; @BM_PORT_GEN_CFG
	.comm	_BM_WUC_HOST_WU_BIT,4,2         ; @BM_WUC_HOST_WU_BIT
	.comm	_E1000_TXDCTL_WTHRESH,4,2       ; @E1000_TXDCTL_WTHRESH
	.comm	_E1000_TXDCTL_FULL_TX_DESC_WB,4,2 ; @E1000_TXDCTL_FULL_TX_DESC_WB
	.comm	_E1000_TXDCTL_PTHRESH,4,2       ; @E1000_TXDCTL_PTHRESH
	.comm	_E1000_TXDCTL_MAX_TX_DESC_PREFETCH,4,2 ; @E1000_TXDCTL_MAX_TX_DESC_PREFETCH
	.comm	_e1000_ich8lan,8,3              ; @e1000_ich8lan
	.comm	_PCIE_ICH8_SNOOP_ALL,4,2        ; @PCIE_ICH8_SNOOP_ALL
	.comm	_PCIE_NO_SNOOP_ALL,8,3          ; @PCIE_NO_SNOOP_ALL
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_E1000_CTRL_EXT_RO_DIS,4,2      ; @E1000_CTRL_EXT_RO_DIS
	.no_dead_strip	_e1000_init_hw_ich8lan
.subsections_via_symbols
