	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_close                   ## -- Begin function e1000e_close
	.p2align	4, 0x90
_e1000e_close:                          ## @e1000e_close
	.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, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movq	40(%rax), %r12
	movq	_E1000_CHECK_RESET_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	8(%r15), %r13
	movq	___E1000_RESETTING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.2:
	decl	%r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_test_bit
	subl	$1, %r14d
	setb	%cl
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%cl, %cl
	je	LBB0_3
LBB0_5:
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%rax, %rdi
	callq	_WARN_ON
	movq	%r12, %rdi
	callq	_pm_runtime_get_sync
	movq	___E1000_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_e1000e_down
	movq	%r15, %rdi
	callq	_e1000_free_irq
	movq	32(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
LBB0_7:
	leaq	28(%r15), %rdi
	callq	_napi_disable
	movl	24(%r15), %edi
	callq	_e1000e_free_tx_resources
	movl	20(%r15), %edi
	callq	_e1000e_free_rx_resources
	movq	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r15)
	je	LBB0_9
## %bb.8:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	12(%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_e1000_vlan_rx_kill_vid
LBB0_9:
	movq	_FLAG_HAS_AMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_12
## %bb.10:
	movq	___E1000_TESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_e1000e_release_hw_control
LBB0_12:
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_pm_qos_remove_request
	movq	%r12, %rdi
	callq	_pm_runtime_put_sync
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_CHECK_RESET_COUNT,4,2    ## @E1000_CHECK_RESET_COUNT
	.comm	___E1000_RESETTING,4,2          ## @__E1000_RESETTING
	.comm	___E1000_DOWN,4,2               ## @__E1000_DOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s NIC Link is Down\n"

	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN,4,2 ## @E1000_MNG_DHCP_COOKIE_STATUS_VLAN
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_FLAG_HAS_AMT,4,2               ## @FLAG_HAS_AMT
	.comm	___E1000_TESTING,4,2            ## @__E1000_TESTING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_close                   ; -- Begin function e1000e_close
	.p2align	2
_e1000e_close:                          ; @e1000e_close
	.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	x22, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _E1000_CHECK_RESET_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_CHECK_RESET_COUNT@GOTPAGEOFF]
	ldr	x19, [x0, #40]
Lloh2:
	ldr	w24, [x8]
	add	x21, x0, #8
Lloh3:
	adrp	x23, ___E1000_RESETTING@GOTPAGE
Lloh4:
	ldr	x23, [x23, ___E1000_RESETTING@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cmp	x0, #0
	ccmp	w24, #0, #4, ne
	b.eq	LBB0_3
; %bb.1:
	sub	w24, w24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cmp	x0, #0
	ccmp	w24, #0, #4, ne
	sub	w24, w24, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	bl	_WARN_ON
	mov	x0, x19
	bl	_pm_runtime_get_sync
Lloh5:
	adrp	x8, ___E1000_DOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___E1000_DOWN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #1
	bl	_e1000e_down
	mov	x0, x20
	bl	_e1000_free_irq
	ldr	x8, [x20, #32]
	ldr	w1, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_5:
	add	x0, x20, #28
	bl	_napi_disable
	ldr	w0, [x20, #24]
	bl	_e1000e_free_tx_resources
	ldr	w0, [x20, #20]
	bl	_e1000e_free_rx_resources
	ldr	w8, [x20, #16]
Lloh10:
	adrp	x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	ldr	w2, [x20, #12]
	mov	x0, x22
	bl	_e1000_vlan_rx_kill_vid
LBB0_7:
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _FLAG_HAS_AMT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FLAG_HAS_AMT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
Lloh19:
	adrp	x8, ___E1000_TESTING@GOTPAGE
Lloh20:
	ldr	x8, [x8, ___E1000_TESTING@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_e1000e_release_hw_control
LBB0_10:
	add	x0, x20, #4
	bl	_pm_qos_remove_request
	mov	x0, x19
	bl	_pm_runtime_put_sync
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_CHECK_RESET_COUNT,4,2    ; @E1000_CHECK_RESET_COUNT
	.comm	___E1000_RESETTING,4,2          ; @__E1000_RESETTING
	.comm	___E1000_DOWN,4,2               ; @__E1000_DOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s NIC Link is Down\n"

	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN,4,2 ; @E1000_MNG_DHCP_COOKIE_STATUS_VLAN
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_FLAG_HAS_AMT,4,2               ; @FLAG_HAS_AMT
	.comm	___E1000_TESTING,4,2            ; @__E1000_TESTING
.subsections_via_symbols
