	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_remove
_e1000_remove:                          ## @e1000_remove
	.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	_pci_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	___E1000_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%rbx), %r12
	movq	%r12, %rsi
	callq	_test_bit
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_e1000e_ptp_remove
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.1:
	movq	___E1000_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
LBB0_2:
	leaq	84(%rbx), %rdi
	callq	_del_timer_sync
	leaq	80(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	76(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	72(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	68(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	64(%rbx), %rdi
	callq	_cancel_delayed_work
	movl	60(%rbx), %edi
	callq	_flush_workqueue
	movl	60(%rbx), %edi
	callq	_destroy_workqueue
	movq	_FLAG_HAS_HW_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	addq	$56, %rdi
	callq	_cancel_work_sync
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_dev_consume_skb_any
	movq	$0, 48(%rbx)
LBB0_5:
	testl	%r13d, %r13d
	jne	LBB0_7
## %bb.6:
	movq	___E1000_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_clear_bit
LBB0_7:
	movq	%r14, %rdi
	callq	_unregister_netdev
	movq	%r15, %rdi
	callq	_pci_dev_run_wake
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_pm_runtime_get_noresume
LBB0_9:
	movq	%rbx, %rdi
	callq	_e1000e_release_hw_control
	movq	%rbx, %rdi
	callq	_e1000e_reset_interrupt_capability
	movl	36(%rbx), %edi
	callq	_kfree
	movl	32(%rbx), %edi
	callq	_kfree
	movq	24(%rbx), %rdi
	callq	_iounmap
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	movq	16(%rbx), %rax
	movq	_e1000_pch_spt@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_12
## %bb.11:
	callq	_iounmap
LBB0_12:
	movq	%r15, %rdi
	callq	_pci_release_mem_regions
	movq	%r14, %rdi
	callq	_free_netdev
	movq	%r15, %rdi
	callq	_pci_disable_pcie_error_reporting
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_disable_device             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___E1000_DOWN,4,2               ## @__E1000_DOWN
	.comm	_FLAG_HAS_HW_TIMESTAMP,4,2      ## @FLAG_HAS_HW_TIMESTAMP
	.comm	_e1000_pch_spt,8,3              ## @e1000_pch_spt
	.no_dead_strip	_e1000_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_remove
_e1000_remove:                          ; @e1000_remove
	.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	_pci_get_drvdata
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x24, ___E1000_DOWN@GOTPAGE
Lloh1:
	ldr	x24, [x24, ___E1000_DOWN@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x22, x21, #40
	mov	x1, x22
	bl	_test_bit
	mov	x23, x0
	mov	x0, x21
	bl	_e1000e_ptp_remove
	cbnz	w23, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	mov	x1, x22
	bl	_set_bit
LBB0_2:
	add	x0, x21, #84
	bl	_del_timer_sync
	add	x0, x21, #80
	bl	_cancel_work_sync
	add	x0, x21, #76
	bl	_cancel_work_sync
	add	x0, x21, #72
	bl	_cancel_work_sync
	add	x0, x21, #68
	bl	_cancel_work_sync
	add	x0, x21, #64
	bl	_cancel_delayed_work
	ldr	w0, [x21, #60]
	bl	_flush_workqueue
	ldr	w0, [x21, #60]
	bl	_destroy_workqueue
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _FLAG_HAS_HW_TIMESTAMP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLAG_HAS_HW_TIMESTAMP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	add	x0, x21, #56
	bl	_cancel_work_sync
	ldr	x0, [x21, #48]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_dev_consume_skb_any
	str	xzr, [x21, #48]
LBB0_5:
	cbnz	w23, LBB0_7
; %bb.6:
	ldr	w0, [x24]
	mov	x1, x22
	bl	_clear_bit
LBB0_7:
	mov	x0, x20
	bl	_unregister_netdev
	mov	x0, x19
	bl	_pci_dev_run_wake
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_pm_runtime_get_noresume
LBB0_9:
	mov	x0, x21
	bl	_e1000e_release_hw_control
	mov	x0, x21
	bl	_e1000e_reset_interrupt_capability
	ldr	w0, [x21, #36]
	bl	_kfree
	ldr	w0, [x21, #32]
	bl	_kfree
	ldr	x0, [x21, #24]
	bl	_iounmap
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x8, [x21, #16]
Lloh5:
	adrp	x9, _e1000_pch_spt@GOTPAGE
Lloh6:
	ldr	x9, [x9, _e1000_pch_spt@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.11:
	bl	_iounmap
LBB0_12:
	mov	x0, x19
	bl	_pci_release_mem_regions
	mov	x0, x20
	bl	_free_netdev
	mov	x0, x19
	bl	_pci_disable_pcie_error_reporting
	mov	x0, x19
	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
	b	_pci_disable_device
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	___E1000_DOWN,4,2               ; @__E1000_DOWN
	.comm	_FLAG_HAS_HW_TIMESTAMP,4,2      ; @FLAG_HAS_HW_TIMESTAMP
	.comm	_e1000_pch_spt,8,3              ; @e1000_pch_spt
	.no_dead_strip	_e1000_remove
.subsections_via_symbols
