	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_unregister
_mwifiex_unregister:                    ## @mwifiex_unregister
	.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, %r14
	movq	56(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	*%rax
LBB0_2:
	leaq	48(%r14), %rdi
	callq	_del_timer_sync
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_mwifiex_free_curr_bcn
	movq	40(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_kfree
	movq	(%r14), %rax
	jmp	LBB0_6
LBB0_7:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	cmpq	$0, 8(%rdi)
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rdi), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_kfree
	incq	%rbx
	movq	24(%r14), %rdi
	cmpq	8(%rdi), %rbx
	jb	LBB0_10
LBB0_11:
	callq	_kfree
	movq	$0, 24(%r14)
LBB0_12:
	movq	16(%r14), %rdi
	callq	_kfree
	movq	%r14, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mwifiex_unregister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_unregister
_mwifiex_unregister:                    ; @mwifiex_unregister
	.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
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	add	x0, x19, #48
	bl	_del_timer_sync
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	cmp	x20, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #40]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_mwifiex_free_curr_bcn
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x20, lsl #3]
	bl	_kfree
	ldr	x8, [x19]
	b	LBB0_4
LBB0_7:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_11
; %bb.9:
	mov	x20, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0, #32]
	ldr	x0, [x8, x20, lsl #3]
	bl	_kfree
	add	x20, x20, #1
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	cmp	x20, x8
	b.lo	LBB0_10
LBB0_11:
	bl	_kfree
	str	xzr, [x19, #24]
LBB0_12:
	ldr	x0, [x19, #16]
	bl	_kfree
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mwifiex_unregister
.subsections_via_symbols
