	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_initialize_hw_bits_ich8lan
_e1000_initialize_hw_bits_ich8lan:      ## @e1000_initialize_hw_bits_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	(%r14), %rdx
	movq	_e1000_pchlan@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rdx
	jl	LBB0_2
## %bb.1:
	movq	_E1000_CTRL_EXT_PHYPDEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	%ecx, %eax
	orl	$4194304, %eax                  ## imm = 0x400000
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	xorl	%edi, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	callq	_er32
	movl	%eax, %ebx
	orl	$4194304, %ebx                  ## imm = 0x400000
	xorl	%edi, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movl	$1, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	callq	_er32
	movl	%eax, %ebx
	orl	$4194304, %ebx                  ## imm = 0x400000
	movl	$1, %edi
	callq	_TXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%edi, %edi
	callq	_TARC
	movl	%eax, %edi
	callq	_er32
	movq	(%r14), %rcx
	movq	_e1000_ich8lan@GOTPCREL(%rip), %r15
	movl	%eax, %ebx
	orl	$805306368, %ebx                ## imm = 0x30000000
	cmpq	(%r15), %rcx
	cmovnel	%eax, %ebx
	orl	$226492416, %ebx                ## imm = 0xD800000
	xorl	%edi, %edi
	callq	_TARC
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movl	$1, %edi
	callq	_TARC
	movl	%eax, %edi
	callq	_er32
	movl	%eax, %ebx
	movq	_TCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_TCTL_MULR@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	sete	%dl
	andl	$-1426063361, %ebx              ## imm = 0xAAFFFFFF
	shll	$28, %edx
	addl	%edx, %ebx
	addl	$1157627904, %ebx               ## imm = 0x45000000
	movl	$1, %edi
	callq	_TARC
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:
	movq	_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
LBB0_4:
	movq	_RFCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_RFCTL_NFSW_DIS@GOTPCREL(%rip), %rcx
	movq	_E1000_RFCTL_NFSR_DIS@GOTPCREL(%rip), %r8
	movq	_E1000_RFCTL_IPV6_EX_DIS@GOTPCREL(%rip), %rsi
	movq	_E1000_RFCTL_NEW_IPV6_EXT_DIS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rsi), %edi
	movq	(%r14), %rdx
	xorl	%esi, %esi
	cmpq	(%r15), %rdx
	cmovel	%edi, %esi
	orl	(%rcx), %eax
	orl	(%r8), %eax
	orl	%eax, %esi
	movl	(%rbx), %edi
	callq	_ew32
	movq	(%r14), %rax
	movq	_e1000_pch_lpt@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_PBECCSTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_PBECCSTS_ECC_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movq	_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_MEHE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_e1000_pchlan,8,3               ## @e1000_pchlan
	.comm	_E1000_CTRL_EXT_PHYPDEN,4,2     ## @E1000_CTRL_EXT_PHYPDEN
	.comm	_e1000_ich8lan,8,3              ## @e1000_ich8lan
	.comm	_TCTL,4,2                       ## @TCTL
	.comm	_E1000_TCTL_MULR,4,2            ## @E1000_TCTL_MULR
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_RFCTL,4,2                      ## @RFCTL
	.comm	_E1000_RFCTL_NFSW_DIS,4,2       ## @E1000_RFCTL_NFSW_DIS
	.comm	_E1000_RFCTL_NFSR_DIS,4,2       ## @E1000_RFCTL_NFSR_DIS
	.comm	_E1000_RFCTL_IPV6_EX_DIS,4,2    ## @E1000_RFCTL_IPV6_EX_DIS
	.comm	_E1000_RFCTL_NEW_IPV6_EXT_DIS,4,2 ## @E1000_RFCTL_NEW_IPV6_EXT_DIS
	.comm	_e1000_pch_lpt,8,3              ## @e1000_pch_lpt
	.comm	_PBECCSTS,4,2                   ## @PBECCSTS
	.comm	_E1000_PBECCSTS_ECC_ENABLE,4,2  ## @E1000_PBECCSTS_ECC_ENABLE
	.comm	_CTRL,4,2                       ## @CTRL
	.comm	_E1000_CTRL_MEHE,4,2            ## @E1000_CTRL_MEHE
	.no_dead_strip	_e1000_initialize_hw_bits_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_initialize_hw_bits_ich8lan
_e1000_initialize_hw_bits_ich8lan:      ; @e1000_initialize_hw_bits_ich8lan
	.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	x19, x0
Lloh0:
	adrp	x20, _CTRL_EXT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _e1000_pchlan@GOTPAGE
Lloh3:
	ldr	x9, [x9, _e1000_pchlan@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _E1000_CTRL_EXT_PHYPDEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _E1000_CTRL_EXT_PHYPDEN@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, wzr, w10, lt
	orr	w8, w0, w8
	orr	w1, w8, #0x400000
	ldr	w0, [x20]
	bl	_ew32
	mov	w0, #0
	bl	_TXDCTL
	bl	_er32
	orr	w20, w0, #0x400000
	mov	w0, #0
	bl	_TXDCTL
	mov	x1, x20
	bl	_ew32
	mov	w0, #1
	bl	_TXDCTL
	bl	_er32
	orr	w20, w0, #0x400000
	mov	w0, #1
	bl	_TXDCTL
	mov	x1, x20
	bl	_ew32
	mov	w0, #0
	bl	_TARC
	bl	_er32
	ldr	x8, [x19]
Lloh8:
	adrp	x21, _e1000_ich8lan@GOTPAGE
Lloh9:
	ldr	x21, [x21, _e1000_ich8lan@GOTPAGEOFF]
	ldr	x9, [x21]
	orr	w10, w0, #0x30000000
	cmp	x8, x9
	csel	w8, w10, w0, eq
	mov	w9, #226492416
	orr	w20, w8, w9
	mov	w0, #0
	bl	_TARC
	mov	x1, x20
	bl	_ew32
	mov	w0, #1
	bl	_TARC
	bl	_er32
	mov	x20, x0
Lloh10:
	adrp	x8, _TCTL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TCTL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_er32
Lloh13:
	adrp	x8, _E1000_TCTL_MULR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_TCTL_MULR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, eq
	and	w9, w20, #0xefffffff
	orr	w8, w9, w8, lsl #28
	mov	w9, #1157627904
	orr	w20, w8, w9
	mov	w0, #1
	bl	_TARC
	mov	x1, x20
	bl	_ew32
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh16:
	adrp	x20, _STATUS@GOTPAGE
Lloh17:
	ldr	x20, [x20, _STATUS@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
	and	w1, w0, #0x7fffffff
	ldr	w0, [x20]
	bl	_ew32
LBB0_2:
Lloh18:
	adrp	x20, _RFCTL@GOTPAGE
Lloh19:
	ldr	x20, [x20, _RFCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh20:
	adrp	x8, _E1000_RFCTL_NFSW_DIS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E1000_RFCTL_NFSW_DIS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _E1000_RFCTL_NFSR_DIS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _E1000_RFCTL_NFSR_DIS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	ldr	x10, [x19]
Lloh26:
	adrp	x11, _E1000_RFCTL_IPV6_EX_DIS@GOTPAGE
Lloh27:
	ldr	x11, [x11, _E1000_RFCTL_IPV6_EX_DIS@GOTPAGEOFF]
	ldr	x12, [x21]
Lloh28:
	ldr	w11, [x11]
Lloh29:
	adrp	x13, _E1000_RFCTL_NEW_IPV6_EXT_DIS@GOTPAGE
Lloh30:
	ldr	x13, [x13, _E1000_RFCTL_NEW_IPV6_EXT_DIS@GOTPAGEOFF]
Lloh31:
	ldr	w13, [x13]
	orr	w11, w13, w11
	cmp	x10, x12
	csel	w10, w11, wzr, eq
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w1, w8, w10
	ldr	w0, [x20]
	bl	_ew32
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _e1000_pch_lpt@GOTPAGE
Lloh33:
	ldr	x9, [x9, _e1000_pch_lpt@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh35:
	adrp	x19, _PBECCSTS@GOTPAGE
Lloh36:
	ldr	x19, [x19, _PBECCSTS@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
Lloh37:
	adrp	x8, _E1000_PBECCSTS_ECC_ENABLE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _E1000_PBECCSTS_ECC_ENABLE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x19]
	bl	_ew32
Lloh40:
	adrp	x19, _CTRL@GOTPAGE
Lloh41:
	ldr	x19, [x19, _CTRL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
Lloh42:
	adrp	x8, _E1000_CTRL_MEHE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _E1000_CTRL_MEHE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x19]
	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	_ew32
LBB0_4:
	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 AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_e1000_pchlan,8,3               ; @e1000_pchlan
	.comm	_E1000_CTRL_EXT_PHYPDEN,4,2     ; @E1000_CTRL_EXT_PHYPDEN
	.comm	_e1000_ich8lan,8,3              ; @e1000_ich8lan
	.comm	_TCTL,4,2                       ; @TCTL
	.comm	_E1000_TCTL_MULR,4,2            ; @E1000_TCTL_MULR
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_RFCTL,4,2                      ; @RFCTL
	.comm	_E1000_RFCTL_NFSW_DIS,4,2       ; @E1000_RFCTL_NFSW_DIS
	.comm	_E1000_RFCTL_NFSR_DIS,4,2       ; @E1000_RFCTL_NFSR_DIS
	.comm	_E1000_RFCTL_IPV6_EX_DIS,4,2    ; @E1000_RFCTL_IPV6_EX_DIS
	.comm	_E1000_RFCTL_NEW_IPV6_EXT_DIS,4,2 ; @E1000_RFCTL_NEW_IPV6_EXT_DIS
	.comm	_e1000_pch_lpt,8,3              ; @e1000_pch_lpt
	.comm	_PBECCSTS,4,2                   ; @PBECCSTS
	.comm	_E1000_PBECCSTS_ECC_ENABLE,4,2  ; @E1000_PBECCSTS_ECC_ENABLE
	.comm	_CTRL,4,2                       ; @CTRL
	.comm	_E1000_CTRL_MEHE,4,2            ; @E1000_CTRL_MEHE
	.no_dead_strip	_e1000_initialize_hw_bits_ich8lan
.subsections_via_symbols
