	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac_mace_device_remove
_mac_mace_device_remove:                ## @mac_mace_device_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
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_unregister_netdev
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	_free_irq
	movq	_IRQ_MAC_MACE_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_free_irq
	movq	_N_RX_RING@GOTPCREL(%rip), %rax
	movq	_MACE_BUFF_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	imull	(%rax), %esi
	movl	16(%rbx), %edx
	movl	8(%rbx), %edi
	movl	12(%rbx), %ecx
	callq	_dma_free_coherent
	movl	8(%rbx), %edi
	movq	_N_TX_RING@GOTPCREL(%rip), %rax
	movl	(%r15), %esi
	imull	(%rax), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	callq	_dma_free_coherent
	movq	%r14, %rdi
	callq	_free_netdev
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_MAC_MACE_DMA,4,2           ## @IRQ_MAC_MACE_DMA
	.comm	_N_RX_RING,4,2                  ## @N_RX_RING
	.comm	_MACE_BUFF_SIZE,4,2             ## @MACE_BUFF_SIZE
	.comm	_N_TX_RING,4,2                  ## @N_TX_RING
	.no_dead_strip	_mac_mace_device_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac_mace_device_remove
_mac_mace_device_remove:                ; @mac_mace_device_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
	bl	_platform_get_drvdata
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x19
	bl	_unregister_netdev
	ldr	w0, [x19]
	mov	x1, x19
	bl	_free_irq
Lloh0:
	adrp	x8, _IRQ_MAC_MACE_DMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_MAC_MACE_DMA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_free_irq
Lloh3:
	adrp	x8, _N_RX_RING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _N_RX_RING@GOTPAGEOFF]
Lloh5:
	adrp	x21, _MACE_BUFF_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MACE_BUFF_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x21]
	mul	w1, w9, w8
	ldp	w3, w2, [x20, #12]
	ldr	w0, [x20, #8]
	bl	_dma_free_coherent
Lloh8:
	adrp	x8, _N_TX_RING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _N_TX_RING@GOTPAGEOFF]
	ldp	w2, w0, [x20, #4]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x21]
	mul	w1, w9, w8
	ldr	w3, [x20]
	bl	_dma_free_coherent
	mov	x0, x19
	bl	_free_netdev
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_MAC_MACE_DMA,4,2           ; @IRQ_MAC_MACE_DMA
	.comm	_N_RX_RING,4,2                  ; @N_RX_RING
	.comm	_MACE_BUFF_SIZE,4,2             ; @MACE_BUFF_SIZE
	.comm	_N_TX_RING,4,2                  ; @N_TX_RING
	.no_dead_strip	_mac_mace_device_remove
.subsections_via_symbols
