	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_free_hw                 ## -- Begin function wlcore_free_hw
	.p2align	4, 0x90
_wlcore_free_hw:                        ## @wlcore_free_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	120(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	$-1, (%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_wlcore_sysfs_free
	movq	112(%rbx), %rdi
	callq	_kfree
	movq	104(%rbx), %rdi
	callq	_kfree
	movq	96(%rbx), %rdi
	callq	_free_page
	movl	88(%rbx), %edi
	callq	_dev_kfree_skb
	movq	80(%rbx), %r14
	movl	72(%rbx), %edi
	callq	_get_order
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_free_pages
	movq	%rbx, %rdi
	callq	_wl1271_debugfs_exit
	movq	64(%rbx), %rdi
	callq	_vfree
	movq	$0, 64(%rbx)
	movq	_WL12XX_FW_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	48(%rbx), %rdi
	callq	_kfree
	movq	$0, 48(%rbx)
	movq	40(%rbx), %rdi
	callq	_kfree
	movq	32(%rbx), %rdi
	callq	_kfree
	movq	24(%rbx), %rdi
	callq	_kfree
	movl	16(%rbx), %edi
	callq	_destroy_workqueue
	movq	8(%rbx), %rdi
	callq	_kfree
	movl	4(%rbx), %edi
	callq	_ieee80211_free_hw
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL12XX_FW_TYPE_NONE,4,2        ## @WL12XX_FW_TYPE_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_free_hw                 ; -- Begin function wlcore_free_hw
	.p2align	2
_wlcore_free_hw:                        ; @wlcore_free_hw
	.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
	mov	x19, x0
	add	x20, x0, #120
	mov	x0, x20
	bl	_mutex_lock
	mov	w8, #-1
	str	w8, [x19]
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_wlcore_sysfs_free
	ldr	x0, [x19, #112]
	bl	_kfree
	ldr	x0, [x19, #104]
	bl	_kfree
	ldr	x0, [x19, #96]
	bl	_free_page
	ldr	w0, [x19, #88]
	bl	_dev_kfree_skb
	ldr	x20, [x19, #80]
	ldr	w0, [x19, #72]
	bl	_get_order
	mov	x1, x0
	mov	x0, x20
	bl	_free_pages
	mov	x0, x19
	bl	_wl1271_debugfs_exit
	ldr	x0, [x19, #64]
	bl	_vfree
	str	xzr, [x19, #64]
Lloh0:
	adrp	x8, _WL12XX_FW_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WL12XX_FW_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	ldr	x0, [x19, #48]
	bl	_kfree
	str	xzr, [x19, #48]
	ldr	x0, [x19, #40]
	bl	_kfree
	ldr	x0, [x19, #32]
	bl	_kfree
	ldr	x0, [x19, #24]
	bl	_kfree
	ldr	w0, [x19, #16]
	bl	_destroy_workqueue
	ldr	x0, [x19, #8]
	bl	_kfree
	ldr	w0, [x19, #4]
	bl	_ieee80211_free_hw
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WL12XX_FW_TYPE_NONE,4,2        ; @WL12XX_FW_TYPE_NONE
.subsections_via_symbols
