	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_initialize_hw_bits_82571
_e1000_initialize_hw_bits_82571:        ## @e1000_initialize_hw_bits_82571
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	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
	movl	%eax, %ebx
	andl	$-2013265921, %ebx              ## imm = 0x87FFFFFF
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_3
## %bb.1:
	addl	$-131, %eax
	cmpl	$1, %eax
	ja	LBB0_4
## %bb.2:
	orl	$125829120, %ebx                ## imm = 0x7800000
	jmp	LBB0_4
LBB0_3:
	orl	$67108864, %ebx                 ## imm = 0x4000000
LBB0_4:
	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
	movl	(%r14), %eax
	leal	-131(%rax), %ecx
	cmpl	$1, %ecx
	ja	LBB0_6
## %bb.5:
	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	$-2000683009, %ebx              ## imm = 0x88BFFFFF
	shll	$28, %edx
	addl	%edx, %ebx
	addl	$121634816, %ebx                ## imm = 0x7400000
	movl	$1, %edi
	callq	_TARC
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movl	(%r14), %eax
LBB0_6:
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	ja	LBB0_9
## %bb.7:
	movq	_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	andl	$-536870913, %eax               ## imm = 0xDFFFFFFF
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	ja	LBB0_9
## %bb.8:
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
                                        ## kill: def $eax killed $eax def $rax
	andl	$-12582913, %eax                ## imm = 0xFF3FFFFF
	leal	4194304(%rax), %esi
	movl	(%rbx), %edi
	callq	_ew32
	movl	(%r14), %eax
LBB0_9:
	cmpl	$132, %eax
	jne	LBB0_11
## %bb.10:
	movq	_PBA_ECC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_PBA_ECC_CORR_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movl	(%r14), %eax
LBB0_11:
	leal	-131(%rax), %ecx
	cmpl	$1, %ecx
	ja	LBB0_13
## %bb.12:
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_EXT_DMA_DYN_CLK_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_ew32
	movl	(%r14), %eax
LBB0_13:
	cmpl	$130, %eax
	jg	LBB0_15
## %bb.14:
	movq	_RFCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_RFCTL_IPV6_EX_DIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RFCTL_NEW_IPV6_EXT_DIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movl	(%r14), %eax
LBB0_15:
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_16
## %bb.17:
	movq	_GCR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	orl	$4194304, %eax                  ## imm = 0x400000
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ew32
	movq	_GCR2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	orl	$1, %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCTL,4,2                       ## @TCTL
	.comm	_E1000_TCTL_MULR,4,2            ## @E1000_TCTL_MULR
	.comm	_CTRL,4,2                       ## @CTRL
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_PBA_ECC,4,2                    ## @PBA_ECC
	.comm	_E1000_PBA_ECC_CORR_EN,4,2      ## @E1000_PBA_ECC_CORR_EN
	.comm	_E1000_CTRL_EXT_DMA_DYN_CLK_EN,4,2 ## @E1000_CTRL_EXT_DMA_DYN_CLK_EN
	.comm	_RFCTL,4,2                      ## @RFCTL
	.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	_GCR,4,2                        ## @GCR
	.comm	_GCR2,4,2                       ## @GCR2
	.no_dead_strip	_e1000_initialize_hw_bits_82571
.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_82571
_e1000_initialize_hw_bits_82571:        ; @e1000_initialize_hw_bits_82571
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	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
	and	w8, w0, #0x87ffffff
	ldr	w9, [x19]
	sub	w10, w9, #128
	orr	w11, w8, #0x4000000
	sub	w9, w9, #131
	orr	w12, w8, #0x7800000
	cmp	w9, #1
	csel	w8, w8, w12, hi
	cmp	w10, #2
	csel	w20, w11, w8, lo
	mov	w0, #0
	bl	_TARC
	mov	x1, x20
	bl	_ew32
	mov	w0, #1
	bl	_TARC
	bl	_er32
	ldr	w8, [x19]
	sub	w9, w8, #131
	cmp	w9, #1
	b.hi	LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _TCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_er32
Lloh3:
	adrp	x8, _E1000_TCTL_MULR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_TCTL_MULR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #-2000683009
	and	w9, w20, w9
	tst	w8, w0
	mov	w8, #121634816
	mov	w10, #390070272
	csel	w8, w10, w8, eq
	orr	w20, w8, w9
	mov	w0, #1
	bl	_TARC
	mov	x1, x20
	bl	_ew32
	ldr	w8, [x19]
LBB0_2:
	sub	w9, w8, #128
	cmp	w9, #2
	b.hi	LBB0_5
; %bb.3:
Lloh6:
	adrp	x20, _CTRL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _CTRL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
	and	w1, w0, #0xdfffffff
	ldr	w0, [x20]
	bl	_ew32
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hi	LBB0_5
; %bb.4:
Lloh8:
	adrp	x20, _CTRL_EXT@GOTPAGE
Lloh9:
	ldr	x20, [x20, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
	and	w8, w0, #0xff3fffff
	orr	w1, w8, #0x400000
	ldr	w0, [x20]
	bl	_ew32
	ldr	w8, [x19]
LBB0_5:
	cmp	w8, #132
	b.ne	LBB0_7
; %bb.6:
Lloh10:
	adrp	x20, _PBA_ECC@GOTPAGE
Lloh11:
	ldr	x20, [x20, _PBA_ECC@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh12:
	adrp	x8, _E1000_PBA_ECC_CORR_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_PBA_ECC_CORR_EN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x20]
	bl	_ew32
	ldr	w8, [x19]
LBB0_7:
	sub	w9, w8, #131
	cmp	w9, #1
	b.hi	LBB0_9
; %bb.8:
Lloh15:
	adrp	x20, _CTRL_EXT@GOTPAGE
Lloh16:
	ldr	x20, [x20, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh17:
	adrp	x8, _E1000_CTRL_EXT_DMA_DYN_CLK_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E1000_CTRL_EXT_DMA_DYN_CLK_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_ew32
	ldr	w8, [x19]
LBB0_9:
	cmp	w8, #130
	b.gt	LBB0_11
; %bb.10:
Lloh20:
	adrp	x20, _RFCTL@GOTPAGE
Lloh21:
	ldr	x20, [x20, _RFCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh22:
	adrp	x8, _E1000_RFCTL_IPV6_EX_DIS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _E1000_RFCTL_IPV6_EX_DIS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _E1000_RFCTL_NEW_IPV6_EXT_DIS@GOTPAGE
Lloh26:
	ldr	x9, [x9, _E1000_RFCTL_NEW_IPV6_EXT_DIS@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w1, w8, w9
	ldr	w0, [x20]
	bl	_ew32
	ldr	w8, [x19]
LBB0_11:
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.12:
Lloh28:
	adrp	x19, _GCR@GOTPAGE
Lloh29:
	ldr	x19, [x19, _GCR@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
	orr	w1, w0, #0x400000
	ldr	w0, [x19]
	bl	_ew32
Lloh30:
	adrp	x19, _GCR2@GOTPAGE
Lloh31:
	ldr	x19, [x19, _GCR2@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
	orr	w1, w0, #0x1
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ew32
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_TCTL,4,2                       ; @TCTL
	.comm	_E1000_TCTL_MULR,4,2            ; @E1000_TCTL_MULR
	.comm	_CTRL,4,2                       ; @CTRL
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_PBA_ECC,4,2                    ; @PBA_ECC
	.comm	_E1000_PBA_ECC_CORR_EN,4,2      ; @E1000_PBA_ECC_CORR_EN
	.comm	_E1000_CTRL_EXT_DMA_DYN_CLK_EN,4,2 ; @E1000_CTRL_EXT_DMA_DYN_CLK_EN
	.comm	_RFCTL,4,2                      ; @RFCTL
	.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	_GCR,4,2                        ; @GCR
	.comm	_GCR2,4,2                       ; @GCR2
	.no_dead_strip	_e1000_initialize_hw_bits_82571
.subsections_via_symbols
