	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_close                    ## -- Begin function e1000_close
	.p2align	4, 0x90
_e1000_close:                           ## @e1000_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, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_E1000_CHECK_RESET_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %r12
	addq	$16, %r12
	movq	___E1000_RESETTING@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.2:
	decl	%ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_test_bit
	subl	$1, %ebx
	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	(%r13), %edi
	movq	%r12, %rsi
	callq	_test_bit
	movq	%rax, %rdi
	callq	_WARN_ON
	movq	%r15, %rdi
	callq	_e1000_down
	movq	%r15, %rdi
	callq	_e1000_power_down_phy
	movq	%r15, %rdi
	callq	_e1000_free_irq
	movq	%r15, %rdi
	callq	_e1000_free_all_tx_resources
	movq	%r15, %rdi
	callq	_e1000_free_all_rx_resources
	movq	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r15)
	je	LBB0_8
## %bb.6:
	movl	(%r15), %edi
	movq	8(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_e1000_vlan_rx_kill_vid
LBB0_8:
	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_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT,4,2 ## @E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_close                    ; -- Begin function e1000_close
	.p2align	2
_e1000_close:                           ; @e1000_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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _E1000_CHECK_RESET_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_CHECK_RESET_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	add	x21, x0, #16
Lloh3:
	adrp	x22, ___E1000_RESETTING@GOTPAGE
Lloh4:
	ldr	x22, [x22, ___E1000_RESETTING@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	cmp	x0, #0
	ccmp	w23, #0, #4, ne
	b.eq	LBB0_3
; %bb.1:
	sub	w23, w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	cmp	x0, #0
	ccmp	w23, #0, #4, ne
	sub	w23, w23, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	bl	_WARN_ON
	mov	x0, x20
	bl	_e1000_down
	mov	x0, x20
	bl	_e1000_power_down_phy
	mov	x0, x20
	bl	_e1000_free_irq
	mov	x0, x20
	bl	_e1000_free_all_tx_resources
	mov	x0, x20
	bl	_e1000_free_all_rx_resources
	ldr	w8, [x20, #20]
Lloh5:
	adrp	x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	w0, [x20]
	ldr	x1, [x20, #8]
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_e1000_vlan_rx_kill_vid
LBB0_6:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_CHECK_RESET_COUNT,4,2    ; @E1000_CHECK_RESET_COUNT
	.comm	___E1000_RESETTING,4,2          ; @__E1000_RESETTING
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT,4,2 ; @E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
.subsections_via_symbols
