	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_remove
_rocker_remove:                         ## @rocker_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	_rocker_switchdev_blocking_notifier@GOTPCREL(%rip), %rdi
	callq	_unregister_switchdev_blocking_notifier
	movq	_rocker_switchdev_notifier@GOTPCREL(%rip), %rdi
	callq	_unregister_switchdev_notifier
	leaq	12(%rbx), %rdi
	callq	_unregister_fib_notifier
	movq	%rbx, %rdi
	callq	_rocker_remove_ports
	movq	_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCKER_CONTROL_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rocker_write32
	movl	8(%rbx), %edi
	callq	_destroy_workqueue
	movq	_ROCKER_MSIX_VEC_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rocker_msix_vector
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	_ROCKER_MSIX_VEC_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rocker_msix_vector
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	%rbx, %rdi
	callq	_rocker_dma_rings_fini
	movq	%rbx, %rdi
	callq	_rocker_msix_fini
	movl	4(%rbx), %edi
	callq	_iounmap
	movl	(%rbx), %edi
	callq	_pci_release_regions
	movl	(%rbx), %edi
	callq	_pci_disable_device
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rocker_switchdev_blocking_notifier,4,2 ## @rocker_switchdev_blocking_notifier
	.comm	_rocker_switchdev_notifier,4,2  ## @rocker_switchdev_notifier
	.comm	_CONTROL,4,2                    ## @CONTROL
	.comm	_ROCKER_CONTROL_RESET,4,2       ## @ROCKER_CONTROL_RESET
	.comm	_ROCKER_MSIX_VEC_EVENT,4,2      ## @ROCKER_MSIX_VEC_EVENT
	.comm	_ROCKER_MSIX_VEC_CMD,4,2        ## @ROCKER_MSIX_VEC_CMD
	.no_dead_strip	_rocker_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_remove
_rocker_remove:                         ; @rocker_remove
	.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
	bl	_pci_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x0, _rocker_switchdev_blocking_notifier@GOTPAGE
Lloh1:
	ldr	x0, [x0, _rocker_switchdev_blocking_notifier@GOTPAGEOFF]
	bl	_unregister_switchdev_blocking_notifier
Lloh2:
	adrp	x0, _rocker_switchdev_notifier@GOTPAGE
Lloh3:
	ldr	x0, [x0, _rocker_switchdev_notifier@GOTPAGEOFF]
	bl	_unregister_switchdev_notifier
	add	x0, x19, #12
	bl	_unregister_fib_notifier
	mov	x0, x19
	bl	_rocker_remove_ports
Lloh4:
	adrp	x8, _CONTROL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONTROL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _ROCKER_CONTROL_RESET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ROCKER_CONTROL_RESET@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rocker_write32
	ldr	w0, [x19, #8]
	bl	_destroy_workqueue
Lloh10:
	adrp	x8, _ROCKER_MSIX_VEC_EVENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ROCKER_MSIX_VEC_EVENT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_msix_vector
	mov	x1, x19
	bl	_free_irq
Lloh13:
	adrp	x8, _ROCKER_MSIX_VEC_CMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ROCKER_MSIX_VEC_CMD@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_msix_vector
	mov	x1, x19
	bl	_free_irq
	mov	x0, x19
	bl	_rocker_dma_rings_fini
	mov	x0, x19
	bl	_rocker_msix_fini
	ldr	w0, [x19, #4]
	bl	_iounmap
	ldr	w0, [x19]
	bl	_pci_release_regions
	ldr	w0, [x19]
	bl	_pci_disable_device
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rocker_switchdev_blocking_notifier,4,2 ; @rocker_switchdev_blocking_notifier
	.comm	_rocker_switchdev_notifier,4,2  ; @rocker_switchdev_notifier
	.comm	_CONTROL,4,2                    ; @CONTROL
	.comm	_ROCKER_CONTROL_RESET,4,2       ; @ROCKER_CONTROL_RESET
	.comm	_ROCKER_MSIX_VEC_EVENT,4,2      ; @ROCKER_MSIX_VEC_EVENT
	.comm	_ROCKER_MSIX_VEC_CMD,4,2        ; @ROCKER_MSIX_VEC_CMD
	.no_dead_strip	_rocker_remove
.subsections_via_symbols
