	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_unregister_common
_cw1200_unregister_common:              ## @cw1200_unregister_common
	.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
	movq	(%rdi), %rbx
	callq	_ieee80211_unregister_hw
	leaq	40(%rbx), %rdi
	callq	_del_timer_sync
	movq	%rbx, %rdi
	callq	_cw1200_unregister_bh
	movq	%rbx, %rdi
	callq	_cw1200_debug_release
	leaq	36(%rbx), %rdi
	callq	_mutex_destroy
	leaq	32(%rbx), %rdi
	callq	_wsm_buf_deinit
	movq	24(%rbx), %rdi
	callq	_destroy_workqueue
	movq	$0, 24(%rbx)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_release_firmware
	movq	$0, 16(%rbx)
LBB0_2:
	movq	8(%rbx), %rdi
	callq	_cw1200_queue_deinit
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	callq	_cw1200_queue_deinit
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	callq	_cw1200_queue_deinit
	movq	8(%rbx), %rdi
	addq	$12, %rdi
	callq	_cw1200_queue_deinit
	addq	$4, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cw1200_queue_stats_deinit      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cw1200_unregister_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_unregister_common
_cw1200_unregister_common:              ; @cw1200_unregister_common
	.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
	ldr	x19, [x0]
	bl	_ieee80211_unregister_hw
	add	x0, x19, #40
	bl	_del_timer_sync
	mov	x0, x19
	bl	_cw1200_unregister_bh
	mov	x0, x19
	bl	_cw1200_debug_release
	add	x0, x19, #36
	bl	_mutex_destroy
	add	x0, x19, #32
	bl	_wsm_buf_deinit
	ldr	x0, [x19, #24]
	bl	_destroy_workqueue
	str	xzr, [x19, #24]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_release_firmware
	str	xzr, [x19, #16]
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_cw1200_queue_deinit
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	bl	_cw1200_queue_deinit
	ldr	x8, [x19, #8]
	add	x0, x8, #8
	bl	_cw1200_queue_deinit
	ldr	x8, [x19, #8]
	add	x0, x8, #12
	bl	_cw1200_queue_deinit
	add	x0, x19, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cw1200_queue_stats_deinit
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cw1200_unregister_common
.subsections_via_symbols
