	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_remove
_ixgbe_remove:                          ## @ixgbe_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	24(%rax), %r14
	movq	%rax, %rdi
	callq	_ixgbe_dbg_adapter_exit
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_cancel_work_sync
	movq	%r14, %rdi
	callq	_ixgbe_del_sanmac_netdev
	movq	(%r14), %rax
	movq	_NETREG_REGISTERED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_unregister_netdev
LBB0_2:
	movq	%rbx, %rdi
	callq	_ixgbe_clear_interrupt_scheme
	movq	%rbx, %rdi
	callq	_ixgbe_release_hw_control
	movl	4(%rbx), %edi
	callq	_iounmap
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pci_select_bars
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_release_selected_regions
	leaq	L_.str(%rip), %rdi
	callq	_e_dev_info
	movq	%r14, %rdi
	callq	_free_netdev
	movq	%r15, %rdi
	callq	_pci_disable_pcie_error_reporting
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_disable_device             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___IXGBE_DOWN,4,2               ## @__IXGBE_DOWN
	.comm	_NETREG_REGISTERED,8,3          ## @NETREG_REGISTERED
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"complete\n"

	.comm	_IXGBE_DCA_CTRL,4,2             ## @IXGBE_DCA_CTRL
	.comm	_IXGBE_FLAG_DCA_ENABLED,4,2     ## @IXGBE_FLAG_DCA_ENABLED
	.comm	_max_vfs,8,3                    ## @max_vfs
	.no_dead_strip	_ixgbe_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_remove
_ixgbe_remove:                          ; @ixgbe_remove
	.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
	bl	_pci_get_drvdata
	mov	x21, x0
	ldr	x20, [x0, #24]
	bl	_ixgbe_dbg_adapter_exit
Lloh0:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #20
	bl	_set_bit
	add	x0, x21, #16
	bl	_cancel_work_sync
	mov	x0, x20
	bl	_ixgbe_del_sanmac_netdev
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _NETREG_REGISTERED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETREG_REGISTERED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_unregister_netdev
LBB0_2:
	mov	x0, x21
	bl	_ixgbe_clear_interrupt_scheme
	mov	x0, x21
	bl	_ixgbe_release_hw_control
	ldr	w0, [x21, #4]
	bl	_iounmap
Lloh6:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pci_select_bars
	mov	x1, x0
	mov	x0, x19
	bl	_pci_release_selected_regions
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dev_info
	mov	x0, x20
	bl	_free_netdev
	mov	x0, x19
	bl	_pci_disable_pcie_error_reporting
	mov	x0, 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	_pci_disable_device
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	___IXGBE_DOWN,4,2               ; @__IXGBE_DOWN
	.comm	_NETREG_REGISTERED,8,3          ; @NETREG_REGISTERED
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"complete\n"

	.comm	_IXGBE_DCA_CTRL,4,2             ; @IXGBE_DCA_CTRL
	.comm	_IXGBE_FLAG_DCA_ENABLED,4,2     ; @IXGBE_FLAG_DCA_ENABLED
	.comm	_max_vfs,8,3                    ; @max_vfs
	.no_dead_strip	_ixgbe_remove
.subsections_via_symbols
