	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_remove_card            ## -- Begin function mwifiex_remove_card
	.p2align	4, 0x90
_mwifiex_remove_card:                   ## @mwifiex_remove_card
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	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
	callq	_mwifiex_uninit_sw
	cmpq	$0, (%rbx)
	js	LBB0_3
## %bb.2:
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	callq	_device_init_wakeup
LBB0_3:
	movq	_INFO@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_mwifiex_dbg
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_5:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_mwifiex_dbg
	movq	%rbx, %rdi
	callq	_mwifiex_free_adapter
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_6:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: unregister device\n"

L_.str.1:                               ## @.str.1
	.asciz	"info: free adapter\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_remove_card            ; -- Begin function mwifiex_remove_card
	.p2align	2
_mwifiex_remove_card:                   ; @mwifiex_remove_card
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	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
	bl	_mwifiex_uninit_sw
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
	mov	w1, #0
	bl	_device_init_wakeup
LBB0_3:
Lloh0:
	adrp	x20, _INFO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _INFO@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
	ldr	w1, [x20]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	x0, x19
	bl	_mwifiex_free_adapter
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: unregister device\n"

l_.str.1:                               ; @.str.1
	.asciz	"info: free adapter\n"

.subsections_via_symbols
